← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1527108] [NEW] cells:Instance Console can not access in cells

 

Public bug reported:

There has one api cell and two child cell and four compute nodes, I boot
an instance, but  the instance console in dashboard  is unavailable .

[root@sbcj-chenling-slot12 ~(keystone_admin)]# nova get-vnc-console 69f74657-ba6e-4939-a7c6-e9dc3811baa5 novnc
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-cd7f3267-5b6f-4568-a0c3-df487e0ff901)

the api cells nova-api.log is:
http://paste.openstack.org/show/482158/

Nova-api error log:Exception during message handling: 'dict' object has
no attribute 'uuid'

The reason is that on the child cell, nova-cell calls  the get vnc
connection rpc interfaces to get connection information, passing
parameters instance is nova.db.sqlalchemy.models.Instance objects, not
nova.objects.instance.Instance objects.

I added code to determine the type of instance , if it is not a
objects.instance.Instance objects,  it will be transformed into a
objects.instance.Instance objects. Then I can get vnc console.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: cells console vnc

** Tags added: cells console vnc

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

Title:
  cells:Instance Console can not access in cells

Status in OpenStack Compute (nova):
  New

Bug description:
  There has one api cell and two child cell and four compute nodes, I
  boot an instance, but  the instance console in dashboard  is
  unavailable .

  [root@sbcj-chenling-slot12 ~(keystone_admin)]# nova get-vnc-console 69f74657-ba6e-4939-a7c6-e9dc3811baa5 novnc
  ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-cd7f3267-5b6f-4568-a0c3-df487e0ff901)

  the api cells nova-api.log is:
  http://paste.openstack.org/show/482158/

  Nova-api error log:Exception during message handling: 'dict' object
  has no attribute 'uuid'

  The reason is that on the child cell, nova-cell calls  the get vnc
  connection rpc interfaces to get connection information, passing
  parameters instance is nova.db.sqlalchemy.models.Instance objects, not
  nova.objects.instance.Instance objects.

  I added code to determine the type of instance , if it is not a
  objects.instance.Instance objects,  it will be transformed into a
  objects.instance.Instance objects. Then I can get vnc console.

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


Follow ups