It seems like this is a bug in python-novaclient. I believe the recent change to enforce that flavor ids are either int-like or uuid-like may have been made in error. At minimum, I believe it is backwards-incompatible, despite being part of a minor point release (changed from 2.13 to 2.14).
See https://review.openstack.org/#/c/29086/ for the review where this behavior was changed. See also https://bugs.launchpad.net/python-novaclient/+bug/1209060 On Thu, Jul 25, 2013 at 10:36 AM, Vishvananda Ishaya <[email protected]>wrote: > The data type is string. > > Vish > On Jul 24, 2013, at 1:41 AM, "Karajgi, Rohit" <[email protected]> > wrote: > > > Hi, > > > > Referring to https://bugs.launchpad.net/nova/+bug/1202136, it seems > that the novaclient > > validates the flavor ID to be either an integer or a UUID string. This > check does not exist in Nova, so currently strings > > are also accepted as flavor IDs by Nova when direct restful API calls > are made. > > > > What should the data type of a flavor's ID be? > > > > -Rohit > > > > ______________________________________________________________________ > > Disclaimer:This email and any attachments are sent in strictest > confidence for the sole use of the addressee and may contain legally > privileged, confidential, and proprietary data. If you are not the > intended recipient, please advise the sender by replying promptly to this > email and then delete and destroy this email and any attachments without > any further use, copying or forwarding > > > > _______________________________________________ > > OpenStack-dev mailing list > > [email protected] > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > _______________________________________________ > OpenStack-dev mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >
_______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
