Nova - Novncproxy - Console opens to an incorrect VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Description
===========
After deploying several instances of Virtual machines (some of them using heat) some instances console are pointing to a different instance.
We tried to shut off all the instances and start them again, but the issue is still exists.
Steps to reproduce
==================
At the moment I don't have any information since we are using the instances I cannot delete all of them and re-create them...
But as we remember the following happened:
- Deployed 33 Win2k3 instances with "Launch instance and Count 33"
- Deployed 33 Win2k8 instances with "Launch instance and count 33"
- Deployed 33 Win2k12 instances with heat template -> We noticed the problem
- Stack deleted with all the instances
- Deployed 33 Win2k12 instances with "Launch instance and count 33" -> The problem is still there
root@openstackc
ii nova-common 2:13.0.
ii nova-compute 2:13.0.
ii nova-compute-kvm 2:13.0.
ii nova-compute-
ii python-nova 2:13.0.
ii python-novaclient 2:3.3.1-2~cloud0 all client library for OpenStack Compute API - Python 2.7
Description
===========
After deploying several instances of Virtual machines (some of them using heat) some instances console are pointing to a different instance.
We tried to shut off all the instances and start them again, but the issue is still exists.
Steps to reproduce
==================
At the moment I don't have any information since we are using the instances I cannot delete all of them and re-create them...
But as we remember the following happened:
- Deployed 33 Win2k3 instances with "Launch instance and Count 33"
- Deployed 33 Win2k8 instances with "Launch instance and count 33"
- Deployed 33 Win2k12 instances with heat template -> We noticed the problem
- Stack deleted with all the instances
- Deployed 33 Win2k12 instances with "Launch instance and count 33" -> The problem is still there
Steps:
- Open OPenstack dashboard
- Click the instance name
- Change to console tab
- Open console
or
- nova get-vnc-console Windows_
Expected result
===============
We have a console to an another instance
Environment
===========
Control node:
root@openstack1
ii nova-api 2:13.0.0-0ubuntu2 all OpenStack Compute - API frontend
ii nova-cells 2:13.0.0-0ubuntu2 all Openstack Compute - cells
ii nova-cert 2:13.0.0-0ubuntu2 all OpenStack Compute - certificate management
ii nova-common 2:13.0.0-0ubuntu2 all OpenStack Compute - common files
ii nova-conductor 2:13.0.0-0ubuntu2 all OpenStack Compute - conductor service
ii nova-consoleauth 2:13.0.0-0ubuntu2 all OpenStack Compute - Console Authenticator
ii nova-novncproxy 2:13.0.0-0ubuntu2 all OpenStack Compute - NoVNC proxy
ii nova-scheduler 2:13.0.0-0ubuntu2 all OpenStack Compute - virtual machine scheduler
ii python-nova 2:13.0.0-0ubuntu2 all OpenStack Compute Python libraries
ii python-novaclient 2:3.3.1-2 all client library for OpenStack Compute API - Python 2.7
Compute node1:
root@openstackc
ii nova-common 2:13.0.
ii nova-compute 2:13.0.
ii nova-compute-kvm 2:13.0.
ii nova-compute-
ii python-nova 2:13.0.
ii python-novaclient 2:3.3.1-2~cloud0 all client library for OpenStack Compute API - Python 2.7
Compute node2:
root@openstackc
ii nova-common 2:13.0.
ii nova-compute 2:13.0.
ii nova-compute-kvm 2:13.0.
ii nova-compute-
ii python-nova 2:13.0.
ii python-novaclient 2:3.3.1-2~cloud0 all client library for OpenStack Compute API - Python 2.7
Compute node3:
root@openstackc
ii nova-common 2:13.0.0-0ubuntu2 all OpenStack Compute - common files
ii nova-compute 2:13.0.0-0ubuntu2 all OpenStack Compute - compute node base
ii nova-compute-kvm 2:13.0.0-0ubuntu2 all OpenStack Compute - compute node (KVM)
ii nova-compute-
ii python-nova 2:13.0.0-0ubuntu2 all OpenStack Compute Python libraries
ii python-novaclient 2:3.3.1-2 all client library for OpenStack Compute API - Python 2.7
Hypervisors:
KVM + Libvirt on all compute nodes
Storage:
CEPH, iSCSI and FC using Netapp
CEPH version - the same on all storage nodes
ii ceph 10.2.0-
ii ceph-common 10.2.0-
ii ceph-deploy 1.5.32-0ubuntu1 all Deployment and configuration of Ceph.
ii ceph-mds 10.2.0-
ii libcephfs1 10.2.0-
ii python-cephfs 10.2.0-
Networking
Neutron networking with Openvswitch
----
Example process flow:
Instance information:
+------
| Field | Value |
+------
| OS-DCF:diskConfig | AUTO |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | active |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| addresses | net-10.
| config_drive | |
| created | 2016-06-
| flavor | CCL-Win2k12 (b383ddeb-
| hostId | c340bdd941f659c
| id | fe3f9980-
| image | Windows 2012 R2 X64 (86612cca-
| key_name | CCLTests |
| name | Windows_
| os-extended-
| progress | 0 |
| project_id | 6d0fa2c2b45a4f6
| properties | |
| security_groups | [{u'name': u'CCL'}] |
| status | ACTIVE |
| updated | 2016-06-
| user_id | 75f412ba1601457
+------
Get the console link:
root@openstack1
+------
| Type | Url |
+------
| novnc | http://
+------
Consoleauth log:
2016-06-17 11:23:37.555 20844 WARNING nova.consoleaut
2016-06-17 11:23:37.557 20844 WARNING nova.consoleaut
2016-06-17 11:23:37.558 20844 INFO nova.consoleaut
If I check the IP of the host it is 192.168.5.56 which belongs to openstackcompute2 and the instance is running on openstackcompute3
2016-06-17 11:23:35.834 20775 DEBUG keystoneauth.
RESP BODY: {"token": {"methods": ["password"], "roles": [{"id": "2588e57d4cb44a
_http_log_response /usr/lib/
2016-06-17 11:23:35.841 20775 INFO nova.osapi_
2016-06-17 11:23:35.854 20775 DEBUG nova.api.
2016-06-17 11:23:35.856 20775 INFO nova.osapi_
2016-06-17 11:23:36.283 20775 DEBUG nova.api.
2016-06-17 11:23:36.286 20775 DEBUG nova.compute.api [req-9c97f92b-
2016-06-17 11:23:36.402 20775 INFO nova.osapi_
2016-06-17 11:23:36.414 20775 DEBUG nova.api.
2016-06-17 11:23:36.416 20775 DEBUG nova.compute.api [req-2bf0aad5-
2016-06-17 11:23:36.543 20775 DEBUG nova.policy [req-2bf0aad5-
2016-06-17 11:23:36.557 20775 DEBUG keystoneauth.
2016-06-17 11:23:37.269 20775 DEBUG keystoneauth.
RESP BODY: {"ports": [{"status": "ACTIVE", "binding:host_id": "openstackcompu
_http_log_response /usr/lib/
2016-06-17 11:23:37.272 20775 DEBUG keystoneauth.
2016-06-17 11:23:37.342 20775 DEBUG keystoneauth.
RESP BODY: {"security_groups": [{"tenant_id": "6d0fa2c2b45a4f
_http_log_response /usr/lib/
2016-06-17 11:23:37.347 20775 DEBUG nova.objects.
2016-06-17 11:23:37.430 20775 INFO nova.osapi_
2016-06-17 11:23:37.440 20775 DEBUG nova.api.
2016-06-17 11:23:37.443 20775 DEBUG nova.compute.api [req-8fb95c6e-
2016-06-17 11:23:37.564 20775 INFO nova.osapi_
If you need any other information I can provide.
tags: | added: console |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in nova: | |
status: | Confirmed → Fix Released |
Added sosreport from control node.
The file edited and SSL parts removed.