Comment 0 for bug 1496518

Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

Steps to reproduce:

1) Create CG

2) Try create share specifying CG

Result:

CommandError: No consistencygroup with a name or ID of 'ebfdc863-b635-410b-b9c9-702696ce6d76' exists.

When

$ manila cg-list
+--------------------------------------+------+-------------+-----------+
| id | name | description | status |
+--------------------------------------+------+-------------+-----------+
| ebfdc863-b635-410b-b9c9-702696ce6d76 | cg1 | None | available |
+--------------------------------------+------+-------------+-----------+

Expected: successful creation of the share.

=======

Reason: CG API is "experimental" and requires appropriate header, but it is not set when called shell function "do_create", it does not have decorator that exists for "cg" functions like "do_cg_create" or "do_cg_update".