Public bug reported:

openstack with master branch configure to use ironic

running 
stack@r-dcs88:~/ironic-inspector$ nova hypervisor-show 
98f78cb6-a157-4580-bbc7-7b0f9ea03245                        
ERROR (ClientException): 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-0820f738-e07b-47f7-8f11-1399554e22d2)

the nova-api log show

^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mTraceback (most recent call last):
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/opt/stack/nova/nova/api/openstack/extensions.py", line 
338, in wrapped
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    return f(*args, **kwargs)
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File 
"/opt/stack/nova/nova/api/openstack/compute/hypervisors.py", line 132, in detail
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    return self._detail(req)
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File 
"/opt/stack/nova/nova/api/openstack/compute/hypervisors.py", line 148, in 
_detail
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    True, req) for hyp in compute_nodes]
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File 
"/opt/stack/nova/nova/api/openstack/compute/hypervisors.py", line 72, in 
_view_hypervisor
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    hyp_dict['cpu_info'] = jsonutils.loads(hypervisor.cpu_info)
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File 
"/usr/local/lib/python2.7/dist-packages/oslo_serialization/jsonutils.py", line 
235, in loads
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    return json.loads(encodeutils.safe_decode(s, encoding), 
**kwargs)
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    return _default_decoder.decode(s)
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/usr/lib/python2.7/json/decoder.py", line 384, in 
raw_decode
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    raise ValueError("No JSON object could be decoded")
^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mValueError: No JSON object could be decoded

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  nova hypervisor-show is broken when hypervisor_type is ironic is
  ironic type

Status in OpenStack Compute (nova):
  New

Bug description:
  openstack with master branch configure to use ironic

  running 
  stack@r-dcs88:~/ironic-inspector$ nova hypervisor-show 
98f78cb6-a157-4580-bbc7-7b0f9ea03245                        
  ERROR (ClientException): 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-0820f738-e07b-47f7-8f11-1399554e22d2)

  the nova-api log show

  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mTraceback (most recent call last):
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/opt/stack/nova/nova/api/openstack/extensions.py", line 
338, in wrapped
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    return f(*args, **kwargs)
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File 
"/opt/stack/nova/nova/api/openstack/compute/hypervisors.py", line 132, in detail
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    return self._detail(req)
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File 
"/opt/stack/nova/nova/api/openstack/compute/hypervisors.py", line 148, in 
_detail
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    True, req) for hyp in compute_nodes]
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File 
"/opt/stack/nova/nova/api/openstack/compute/hypervisors.py", line 72, in 
_view_hypervisor
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    hyp_dict['cpu_info'] = jsonutils.loads(hypervisor.cpu_info)
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File 
"/usr/local/lib/python2.7/dist-packages/oslo_serialization/jsonutils.py", line 
235, in loads
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    return json.loads(encodeutils.safe_decode(s, encoding), 
**kwargs)
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    return _default_decoder.decode(s)
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/usr/lib/python2.7/json/decoder.py", line 384, in 
raw_decode
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m    raise ValueError("No JSON object could be decoded")
  ^[[01;31m2016-07-27 14:00:36.008 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mValueError: No JSON object could be decoded

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to