errors when using flavors with uuid

Bug #1226259 reported by Andrey Shestakov
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)
Confirmed
Medium
Andrey Shestakov

Bug Description

{"badRequest": {"message": "Validation error: instance['flavorRef'] u'7b67e99a-4289-48d7-819f-e55875343e05' is not valid under any of the given schemas; u'7b67e99a-4289-48d7-819f-e55875343e05' does not match 'http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\\\\(\\\\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+'; u'7b67e99a-4289-48d7-819f-e55875343e05' is too long; u'7b67e99a-4289-48d7-819f-e55875343e05' is not of type 'integer'", "code": 400}}

on flavor list:

2013-09-16 16:33:14.262 31148 ERROR trove.common.wsgi [req-e9637cd3-8adb-411d-83d7-3f7e4b2b2030 admin 3a551aeae0d64605a7492ebb5df19f0c] 38a14c08-74cf-421a-b104-6c01b4523abc: invalid literal for int() with base 10: '7b67e99a-4289-48d7-819f-e55875343e05'

Changed in trove:
importance: Undecided → Medium
status: New → Confirmed
Changed in trove:
assignee: nobody → Andrey Shestakov (ashestakov)
Revision history for this message
Justin Hopper (justin-hopper) wrote :

Andrey -

Is our api supposed to support just a UUID...without the full reference? If so, then we just need to add plain UUID format as an option for the flavor_ref. It currently looks like it supports "integer" and "http://host:port/UUID"

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/48735

Changed in trove:
status: Confirmed → In Progress
Changed in trove:
status: In Progress → Confirmed
Revision history for this message
Michael Yu (michayu-c) wrote :

Hi,

I recently joined the Trove community.

I'm still ramping up on the code and wanted to see if I can help out with any Medium and lower priority bugs. Thus, I was looking into this one.

Was Justin's question (see above) answered? Is our api suppose to support just a UUID without the full reference?

Thanks,
Michael Yu

Revision history for this message
rathin049 (rathin049) wrote :

Hi,
I am trying to setup trove on the openstack env, and I am running into the same error. Please could you give a workaround for this? Or is this fix available? If so, how to apply the fix in my current environement?

Thanks
rathin

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.