[openstack-dev] [cinder][openstackclient] Required name option for volumes, snapshots and backups

Dean Troyer dtroyer at gmail.com
Mon Mar 28 17:15:15 UTC 2016

On Mon, Mar 28, 2016 at 4:29 AM, Duncan Thomas <duncan.thomas at gmail.com>

> Because it leads to false assumptions, and code that breaks when something
> breaks those assumptions (e.g. somebody creates a volume with no name on
> horizon and breaks all the users of openstackclient that expects one
> because their client suggested it was mandatory

The only place in OSC I can find that _requires_ a name and not allow an ID
is the create commands, and as noted elsewhere, "" is a valid name in the
CLI.  In most cases we make no checks on the contents of name/ID fields and
rely on the REST API/server backend to handle problems there as required.

If you know of anything in OSC that does break due to empty name fields,
that is a bug and I'd love to know about it.



Dean Troyer
dtroyer at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160328/52b944fc/attachment.html>

More information about the OpenStack-dev mailing list