Error "nova volume-create" - TypeError: %x format: a number is required, not unicode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am running ubuntu 12.04 Folsom 2012.2.
When I run the following command:
nova volume-create --display_name folsomv1 50
The following error occurs:
TypeError: %x format: a number is required, not unicode
Also, the state of the volume create is always seen as "creating".
============== log file snippet =============
2012-10-11 09:44:07 ERROR nova.openstack.
2012-10-11 09:44:07 TRACE nova.openstack.
2012-10-11 09:44:07 TRACE nova.openstack.
2012-10-11 09:44:07 TRACE nova.openstack.
2012-10-11 09:44:07 TRACE nova.openstack.
2012-10-11 09:44:07 TRACE nova.openstack.
2012-10-11 09:44:07 TRACE nova.openstack.
2012-10-11 09:44:07 TRACE nova.openstack.
2012-10-11 09:44:07 TRACE nova.openstack.
2012-10-11 09:44:07 TRACE nova.openstack.
2012-10-11 09:44:07 TRACE nova.openstack.
2012-10-11 09:44:07 TRACE nova.openstack.
2012-10-11 09:44:07 TRACE nova.openstack.
=======
thanks
John
Changed in nova: | |
status: | New → Invalid |
Solved:
In essex we had the following parameter in the nova.conf
#volume_ name_template= volume- %08x
We copied it over to folsom.
Once I pounded out the parameter and restarted nova-volumes I was able to create the volume.
Please close this item. This is not a bug.
I hope this helps other folks.
thanks
John