← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1536501] Re: type 'exceptions.ValueError'> (HTTP 500)

 

@BM Shukla:

Bug skimming result
===================
See the line:

    Architecture name 'CentOS-7-x86_64' is not valid

You tried to use "CentOS-7-x86_64" as a name for an architecture.
I guess it's clear that it is not. You find valid architecture names
in [1].


I'm changing the status of this report to "Invalid".

Nevertheless, for new bug reports, please consider using a template [2].

References
==========
[1] https://github.com/openstack/nova/blob/master/nova/compute/arch.py
[2] https://www.redhat.com/archives/libvirt-users/2015-January/msg00042.html

** Changed in: nova
       Status: New => Invalid

-- 
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/1536501

Title:
  type 'exceptions.ValueError'> (HTTP 500)

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  Error: Unexpected API Error. Please report this at
  http://bugs.launchpad.net/nova/ and attach the Nova API log if
  possible. <type 'exceptions.ValueError'> (HTTP 500) (Request-ID: req-
  bbc92040-0851-4ed3-aa6b-b9dbee31937e)

  Nova API  Log==================
  2016-01-21 12:47:36.713 2240 INFO nova.osapi_compute.wsgi.server [-] 10.0.0.24 "OPTIONS / HTTP/1.0" status: 200 len: 495 time: 0.0003982
  2016-01-21 12:47:37.682 2240 INFO nova.osapi_compute.wsgi.server [req-0127a895-ddd0-4830-ac16-3b95d54d0da4 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] 10.0.0.13,10.0.0.24 "GET /v2/ec098278ee4145a3be4cf528e7ca41e9/os-availability-zone HTTP/1.1" status: 200 len: 288 time: 0.0212719
  2016-01-21 12:47:37.697 2240 INFO nova.osapi_compute.wsgi.server [req-1cf91ceb-1d8b-4855-97e4-fe2aaf6e4636 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] 10.0.0.13,10.0.0.24 "GET /v2/ec098278ee4145a3be4cf528e7ca41e9/flavors/detail HTTP/1.1" status: 200 len: 2262 time: 0.0129042
  2016-01-21 12:47:37.855 2235 INFO nova.osapi_compute.wsgi.server [req-cb6c2139-55c5-41e9-b211-4254f231ce82 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] 10.0.0.13,10.0.0.24 "GET /v2/ec098278ee4145a3be4cf528e7ca41e9/os-quota-sets/ec098278ee4145a3be4cf528e7ca41e9 HTTP/1.1" status: 200 len: 563 time: 0.0082810
  2016-01-21 12:47:38.156 2236 INFO nova.osapi_compute.wsgi.server [req-c0964f0d-5b79-415b-8ccc-49ec1d37fe0f 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] 10.0.0.13,10.0.0.24 "GET /v2/ec098278ee4145a3be4cf528e7ca41e9/servers/detail?project_id=ec098278ee4145a3be4cf528e7ca41e9&tenant_id=ec098278ee4145a3be4cf528e7ca41e9 HTTP/1.1" status: 200 len: 12359 time: 0.2918830
  2016-01-21 12:47:38.434 2234 INFO nova.osapi_compute.wsgi.server [req-eefdfa88-6ab4-46ab-811a-cdf11b8ecfdb 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] 10.0.0.13,10.0.0.24 "GET /v2/ec098278ee4145a3be4cf528e7ca41e9/os-keypairs HTTP/1.1" status: 200 len: 721 time: 0.0051420
  2016-01-21 12:47:38.552 2234 INFO nova.osapi_compute.wsgi.server [-] 10.0.0.23 "OPTIONS / HTTP/1.0" status: 200 len: 495 time: 0.0004861
  2016-01-21 12:47:38.583 2240 INFO nova.osapi_compute.wsgi.server [req-12be44b8-4f53-467e-b884-c277278eb302 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] 10.0.0.13,10.0.0.24 "GET /v2/ec098278ee4145a3be4cf528e7ca41e9/extensions HTTP/1.1" status: 200 len: 21875 time: 0.0242469
  2016-01-21 12:47:38.714 2235 INFO nova.osapi_compute.wsgi.server [-] 10.0.0.24 "OPTIONS / HTTP/1.0" status: 200 len: 495 time: 0.0004449
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions [req-bbc92040-0851-4ed3-aa6b-b9dbee31937e 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] Unexpected exception in API method
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 611, in create
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     **create_kwargs)
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 149, in inner
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1581, in create
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1181, in _create_instance
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     auto_disk_config, reservation_id, max_count)
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 940, in _validate_and_build_base_options
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     image_meta = objects.ImageMeta.from_dict(boot_meta)
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/objects/image_meta.py", line 105, in from_dict
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     image_meta.get("properties", {}))
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/objects/image_meta.py", line 457, in from_dict
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     obj._set_attr_from_legacy_names(image_props)
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/objects/image_meta.py", line 388, in _set_attr_from_legacy_names
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     setattr(self, new_key, image_props[legacy_key])
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 71, in setter
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     field_value = field.coerce(self, name, value)
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/fields.py", line 189, in coerce
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     return self._type.coerce(obj, attr, value)
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/objects/fields.py", line 87, in coerce
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions     raise ValueError(msg)
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions ValueError: Architecture name 'CentOS-7-x86_64' is not valid
  2016-01-21 12:47:38.990 2240 ERROR nova.api.openstack.extensions
  2016-01-21 12:47:38.992 2240 INFO nova.api.openstack.wsgi [req-bbc92040-0851-4ed3-aa6b-b9dbee31937e 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] 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-21 12:47:38.993 2240 INFO nova.osapi_compute.wsgi.server [req-bbc92040-0851-4ed3-aa6b-b9dbee31937e 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] 10.0.0.13,10.0.0.24 "POST /v2/ec098278ee4145a3be4cf528e7ca41e9/servers HTTP/1.1" status: 500 len: 420 time: 0.4045019
  2016-01-21 12:47:39.224 2236 INFO nova.osapi_compute.wsgi.server [req-fe640ff6-bac8-41d2-9db6-3749c94f2916 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] 10.0.0.13,10.0.0.24 "GET /v2/ec098278ee4145a3be4cf528e7ca41e9/servers/detail?limit=21&project_id=ec098278ee4145a3be4cf528e7ca41e9 HTTP/1.1" status: 200 len: 12359 time: 0.2134531
  2016-01-21 12:47:39.622 2240 INFO nova.osapi_compute.wsgi.server [req-ddc11967-847f-4c9b-9876-1b050ad5da69 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] 10.0.0.13,10.0.0.24 "GET /v2/ec098278ee4145a3be4cf528e7ca41e9/flavors/detail HTTP/1.1" status: 200 len: 2262 time: 0.0152431
  2016-01-21 12:47:39.693 2236 INFO nova.osapi_compute.wsgi.server [req-fa20afde-1ebd-4bbd-888c-4331f3929fa8 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] 10.0.0.13,10.0.0.24 "GET /v2/ec098278ee4145a3be4cf528e7ca41e9/extensions HTTP/1.1" status: 200 len: 21875 time: 0.0239611
  2016-01-21 12:47:39.720 2240 INFO nova.osapi_compute.wsgi.server [req-32172a8e-d920-4748-bf10-9501bde791be 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] 10.0.0.13,10.0.0.24 "GET /v2/ec098278ee4145a3be4cf528e7ca41e9/limits?reserved=1 HTTP/1.1" status: 200 len: 706 time: 0.0134971
  2016-01-21 12:47:40.106 2240 INFO nova.osapi_compute.wsgi.server [req-2637fa5a-6415-490e-b894-f48ffc1d2fb8 00dc39936ac247c8a47d4c38845b7a28 ec098278ee4145a3be4cf528e7ca41e9 - - -] 10.0.0.13,10.0.0.24 "GET /v2/ec098278ee4145a3be4cf528e7ca41e9/limits?reserved=1 HTTP/1.1" status: 200 len: 706 time: 0.0149391
  2016-01-21 12:47:40.554 2235 INFO nova.osapi_compute.wsgi.server [-] 10.0.0.23 "OPTIONS / HTTP/1.0" status: 200 len: 495 time: 0.0004711
  2016-01-21 12:47:40.715 2236 INFO nova.osapi_compute.wsgi.server [-] 10.0.0.24 "OPTIONS / HTTP/1.0" status: 200 len: 495 time: 0.0004098

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


References