api crash when flavor id contains dash caracters

Bug #1358377 reported by Kevin Pouget
This bug report is a duplicate of:  Bug #1333852: Trove does not support flavor UUIDs. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
New
Undecided
Unassigned

Bug Description

 When one creates a new flavor, it gets an id as an UUID (like aaaaaaaa-bbbb-cccc-0000-0123456789ab).

That makes the "trove list" command crash because of the line (https://github.com/openstack/trove/blob/master/trove/flavor/views.py#L32) :

    'id': int(self.flavor.id),

That works with the predefined flavors as they have the 1, 2, 3, ... ids.

Revision history for this message
Denis M. (dmakogon) wrote :

This bug report is a duplicate of https://bugs.launchpad.net/trove/+bug/1333852

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.