← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1535104] Re: "Unexpected API Error" when I try to create a VM on cinder volume

 

[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]

** Changed in: nova
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1535104

Title:
  "Unexpected API Error" when I try to create a VM on cinder volume

Status in OpenStack Compute (nova):
  Expired

Bug description:
  1. Exact version of Nova/OpenStack you are running:
  ============================================================================================
  ii  nova-api                            2:12.0.0-0ubuntu2~cloud0              all          OpenStack Compute - API frontend
  ii  nova-cert                           2:12.0.0-0ubuntu2~cloud0              all          OpenStack Compute - certificate management
  ii  nova-common                         2:12.0.0-0ubuntu2~cloud0              all          OpenStack Compute - common files
  ii  nova-conductor                      2:12.0.0-0ubuntu2~cloud0              all          OpenStack Compute - conductor service
  ii  nova-consoleauth                    2:12.0.0-0ubuntu2~cloud0              all          OpenStack Compute - Console Authenticator
  ii  nova-novncproxy                     2:12.0.0-0ubuntu2~cloud0              all          OpenStack Compute - NoVNC proxy
  ii  nova-scheduler                      2:12.0.0-0ubuntu2~cloud0              all          OpenStack Compute - virtual machine scheduler
  ii  python-nova                         2:12.0.0-0ubuntu2~cloud0              all          OpenStack Compute Python libraries
  ii  python-novaclient                   2:2.30.1-1~cloud0                     all          client library for OpenStack Compute API
  ============================================================================================

  2. nova-api.log from Controller:
  ============================================================================================
  2016-01-17 20:08:00.550 3855 INFO nova.osapi_compute.wsgi.server [req-467662af-7838-4886-841f-e0ad97230115 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0514350
  2016-01-17 20:08:00.634 3854 INFO nova.osapi_compute.wsgi.server [req-5bdbabbd-25e2-4774-8947-7e411d37065b 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0407341
  2016-01-17 20:08:01.008 3855 INFO nova.osapi_compute.wsgi.server [req-282edcd1-c98c-45ab-a1e0-39eb73665d89 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0434740
  2016-01-17 20:08:01.194 3854 INFO nova.osapi_compute.wsgi.server [req-c51c2f49-1261-4249-933c-0eef747adb1a 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/os-keypairs HTTP/1.1" status: 200 len: 729 time: 0.0119770
  2016-01-17 20:08:01.795 3855 INFO nova.osapi_compute.wsgi.server [req-6ecdf975-751a-41bf-9c51-53e2c653bce8 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/limits HTTP/1.1" status: 200 len: 708 time: 0.0339658
  2016-01-17 20:08:21.068 3855 INFO nova.osapi_compute.wsgi.server [req-b38b2f0e-ae61-440e-9b93-035f3afddca6 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0460811
  2016-01-17 20:08:21.102 3855 INFO nova.osapi_compute.wsgi.server [req-80660e6c-41d0-4478-a335-7272b6baa838 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0300660
  2016-01-17 20:08:21.416 3855 INFO nova.osapi_compute.wsgi.server [req-2a42297c-54ee-4ab5-b347-5915e61731ca 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0462930
  2016-01-17 20:08:21.448 3854 INFO nova.osapi_compute.wsgi.server [req-0656658e-631a-4290-ad4e-971ebdf66c7a 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/os-quota-sets/9eeb811576a2420ea6c18ab34ed052ca HTTP/1.1" status: 200 len: 568 time: 0.0165391
  2016-01-17 20:08:22.990 3855 INFO nova.osapi_compute.wsgi.server [req-0fe09f84-39e0-4894-8b06-bfba8834a69c 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/servers/detail?all_tenants=True&tenant_id=9eeb811576a2420ea6c18ab34ed052ca HTTP/1.1" status: 200 len: 211 time: 0.0640318
  2016-01-17 20:08:32.282 3854 INFO nova.osapi_compute.wsgi.server [req-6cd7c3bd-13a7-4c50-a975-1a90c0b9eb38 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/os-keypairs HTTP/1.1" status: 200 len: 729 time: 0.0079331
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions [req-d5059dfa-f8f3-4897-bb76-376d4a0df44a 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] Unexpected exception in API method
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 611, in create
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     **create_kwargs)
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 149, in inner
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1581, in create
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1181, in _create_instance
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     auto_disk_config, reservation_id, max_count)
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 940, in _validate_and_build_base_options
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     image_meta = objects.ImageMeta.from_dict(boot_meta)
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/objects/image_meta.py", line 105, in from_dict
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     image_meta.get("properties", {}))
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/objects/image_meta.py", line 456, in from_dict
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     obj._set_attr_from_legacy_names(image_props)
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/objects/image_meta.py", line 387, in _set_attr_from_legacy_names
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     setattr(self, new_key, image_props[legacy_key])
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 71, in setter
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     field_value = field.coerce(self, name, value)
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/oslo_versionedobjects/fields.py", line 189, in coerce
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     return self._type.coerce(obj, attr, value)
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/objects/fields.py", line 87, in coerce
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions     raise ValueError(msg)
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions ValueError: Architecture name 'x64' is not valid
  2016-01-17 20:08:33.572 3854 ERROR nova.api.openstack.extensions
  2016-01-17 20:08:33.580 3854 INFO nova.api.openstack.wsgi [req-d5059dfa-f8f3-4897-bb76-376d4a0df44a 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <type 'exceptions.ValueError'>
  2016-01-17 20:08:33.586 3854 INFO nova.osapi_compute.wsgi.server [req-d5059dfa-f8f3-4897-bb76-376d4a0df44a 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "POST /v2/9eeb811576a2420ea6c18ab34ed052ca/os-volumes_boot HTTP/1.1" status: 500 len: 425 time: 1.0844750
  2016-01-17 20:08:33.694 3855 INFO nova.osapi_compute.wsgi.server [req-89151ef9-8201-4d51-aca3-04985be27797 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/servers/detail?limit=21&project_id=9eeb811576a2420ea6c18ab34ed052ca HTTP/1.1" status: 200 len: 211 time: 0.0741069
  2016-01-17 20:08:33.773 3854 INFO nova.osapi_compute.wsgi.server [req-b8c37a7d-371a-4e52-a85c-19e69bac55dc 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0467329
  2016-01-17 20:08:33.839 3855 INFO nova.osapi_compute.wsgi.server [req-c3461f3e-9087-4759-847c-e1fb5724c1d6 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0339561
  2016-01-17 20:08:33.882 3854 INFO nova.osapi_compute.wsgi.server [req-4286f1fe-8dc7-4ad1-a11e-5b016e847c07 416016ac0fe143d2ba34e12a06edf863 9eeb811576a2420ea6c18ab34ed052ca - - -] 192.168.1.91 "GET /v2/9eeb811576a2420ea6c18ab34ed052ca/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0341840
  ============================================================================================

  3. reproduce steps:
  3.1 I loaded an ISO image of Ubuntu 14.04.03 LTS to OpenStack images.
  3.2 I did an volume at 22 GBs.
  3.3 I tried to lunch an instance from a created volume with Ubuntu OS.
  3.4 I got an error message.

  Expected result:
  * successfully created virtual machine with its own virtual storage device.

  Actual result:
  * An error message.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1535104/+subscriptions


References