yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #27691
[Bug 1418408] [NEW] Name should be a positional argument in glance image-create
Public bug reported:
Currently glance image-create works successfully with no parameters and
a image is created with a name None.
:~ glance image-create
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | None |
| container_format | None |
| created_at | 2015-02-05T07:26:05 |
| deleted | False |
| deleted_at | None |
| disk_format | None |
| id | 6b05b4f1-5727-4a1a-95a8-3cfb21d3a626 |
| is_public | False |
| min_disk | 0 |
| min_ram | 0 |
| name | None |
| owner | 4e35fb2b68224f26880672c618b8dae3 |
| protected | False |
| size | 0 |
| status | queued |
| updated_at | 2015-02-05T07:26:05 |
| virtual_size | None |
+------------------+--------------------------------------+
This can lead to confusion as multiple runs of "glance image-create" command will create multiple images all with a name None.
So to end the confusion "name" should be added as a positional argument.
** Affects: python-glanceclient
Importance: Undecided
Status: New
** Project changed: glance => python-glanceclient
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1418408
Title:
Name should be a positional argument in glance image-create
Status in Python client library for Glance:
New
Bug description:
Currently glance image-create works successfully with no parameters
and a image is created with a name None.
:~ glance image-create
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | None |
| container_format | None |
| created_at | 2015-02-05T07:26:05 |
| deleted | False |
| deleted_at | None |
| disk_format | None |
| id | 6b05b4f1-5727-4a1a-95a8-3cfb21d3a626 |
| is_public | False |
| min_disk | 0 |
| min_ram | 0 |
| name | None |
| owner | 4e35fb2b68224f26880672c618b8dae3 |
| protected | False |
| size | 0 |
| status | queued |
| updated_at | 2015-02-05T07:26:05 |
| virtual_size | None |
+------------------+--------------------------------------+
This can lead to confusion as multiple runs of "glance image-create" command will create multiple images all with a name None.
So to end the confusion "name" should be added as a positional argument.
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-glanceclient/+bug/1418408/+subscriptions
Follow ups
References