After I executed "nova reboot --hard <vm>", I could not access to the vm's serial-console. The problem is able to be recovered by re-executing "nova reboot --hard <vm>". And evey time I execute the command, the accessiblity to serial console is changed alternately. 1. Get Serial Console => I can access it. 2. After 1st "nova reboot --hard" => I cannot access it. 3. After 2nd "nova reboot --hard" => I can access it. 4. After 3rd "nova reboot --hard" => I cannot access it.
Verified as follows, ********** VERSION ********** [root@rhos-compute-node-02 ~(keystone_admin)]# yum list installed | grep openstack-nova openstack-nova-api.noarch 2015.1.4-7.el7ost @RH7-RHOS-7.0 openstack-nova-cert.noarch 2015.1.4-7.el7ost @RH7-RHOS-7.0 openstack-nova-common.noarch 2015.1.4-7.el7ost @RH7-RHOS-7.0 openstack-nova-conductor.noarch 2015.1.4-7.el7ost @RH7-RHOS-7.0 openstack-nova-console.noarch 2015.1.4-7.el7ost @RH7-RHOS-7.0 openstack-nova-novncproxy.noarch 2015.1.4-7.el7ost @RH7-RHOS-7.0 openstack-nova-scheduler.noarch 2015.1.4-7.el7ost @RH7-RHOS-7.0 [root@rhos-compute-node-02 ~(keystone_admin)]# ******* LOGS ******* [root@rhos-compute-node-02 ~(keystone_admin)]# nova get-serial-console vm1 +--------+-----------------------------------------------------------------+ | Type | Url | +--------+-----------------------------------------------------------------+ | serial | ws://10.8.0.50:6083/?token=156f31f5-9dac-4236-a8ed-c186fdda4b92 | +--------+-----------------------------------------------------------------+ [root@rhos-compute-node-02 ~(keystone_admin)]# [root@rhos-compute-node-02 ~(keystone_admin)]# nova reboot --hard vm1 [root@rhos-compute-node-02 ~(keystone_admin)]# nova list +--------------------------------------+------+-------------+---------------------+-------------+---------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+------+-------------+---------------------+-------------+---------------------+ | c16e753b-68f8-41e2-b9ff-2baaf5a05200 | vm1 | HARD_REBOOT | reboot_pending_hard | Running | public=172.24.4.227 | | 0ff9ef1b-56b7-4d08-aff4-87ff26f8430f | vm2 | ACTIVE | - | Running | public=172.24.4.228 | +--------------------------------------+------+-------------+---------------------+-------------+---------------------+ [root@rhos-compute-node-02 ~(keystone_admin)]# nova list +--------------------------------------+------+--------+------------+-------------+---------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+------+--------+------------+-------------+---------------------+ | c16e753b-68f8-41e2-b9ff-2baaf5a05200 | vm1 | ACTIVE | - | Running | public=172.24.4.227 | | 0ff9ef1b-56b7-4d08-aff4-87ff26f8430f | vm2 | ACTIVE | - | Running | public=172.24.4.228 | +--------------------------------------+------+--------+------------+-------------+---------------------+ [root@rhos-compute-node-02 ~(keystone_admin)]# nova get-serial-console vm1 +--------+-----------------------------------------------------------------+ | Type | Url | +--------+-----------------------------------------------------------------+ | serial | ws://10.8.0.50:6083/?token=65914d98-e7a7-4df7-b31d-ef0c25f4be20 | +--------+-----------------------------------------------------------------+ [root@rhos-compute-node-02 ~(keystone_admin)]# [root@rhos-compute-node-02 ~(keystone_admin)]# nova reboot --hard vm1 [root@rhos-compute-node-02 ~(keystone_admin)]# nova list +--------------------------------------+------+-------------+----------------+-------------+---------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+------+-------------+----------------+-------------+---------------------+ | c16e753b-68f8-41e2-b9ff-2baaf5a05200 | vm1 | HARD_REBOOT | rebooting_hard | Running | public=172.24.4.227 | | 0ff9ef1b-56b7-4d08-aff4-87ff26f8430f | vm2 | ACTIVE | - | Running | public=172.24.4.228 | +--------------------------------------+------+-------------+----------------+-------------+---------------------+ [root@rhos-compute-node-02 ~(keystone_admin)]# [root@rhos-compute-node-02 ~(keystone_admin)]# nova list +--------------------------------------+------+--------+------------+-------------+---------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+------+--------+------------+-------------+---------------------+ | c16e753b-68f8-41e2-b9ff-2baaf5a05200 | vm1 | ACTIVE | - | Running | public=172.24.4.227 | | 0ff9ef1b-56b7-4d08-aff4-87ff26f8430f | vm2 | ACTIVE | - | Running | public=172.24.4.228 | +--------------------------------------+------+--------+------------+-------------+---------------------+ [root@rhos-compute-node-02 ~(keystone_admin)]# [root@rhos-compute-node-02 ~(keystone_admin)]# nova get-serial-console vm1 +--------+-----------------------------------------------------------------+ | Type | Url | +--------+-----------------------------------------------------------------+ | serial | ws://10.8.0.50:6083/?token=280a390f-ae1d-4543-9939-963653a06dfc | +--------+-----------------------------------------------------------------+ [root@rhos-compute-node-02 ~(keystone_admin)]# [root@rhos-compute-node-02 ~(keystone_admin)]# [root@rhos-compute-node-02 ~(keystone_admin)]# nova reboot --hard vm1 [root@rhos-compute-node-02 ~(keystone_admin)]# [root@rhos-compute-node-02 ~(keystone_admin)]# nova list +--------------------------------------+------+-------------+---------------------+-------------+---------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+------+-------------+---------------------+-------------+---------------------+ | c16e753b-68f8-41e2-b9ff-2baaf5a05200 | vm1 | HARD_REBOOT | reboot_started_hard | Running | public=172.24.4.227 | | 0ff9ef1b-56b7-4d08-aff4-87ff26f8430f | vm2 | ACTIVE | - | Running | public=172.24.4.228 | +--------------------------------------+------+-------------+---------------------+-------------+---------------------+ [root@rhos-compute-node-02 ~(keystone_admin)]# [root@rhos-compute-node-02 ~(keystone_admin)]# nova list +--------------------------------------+------+--------+------------+-------------+---------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+------+--------+------------+-------------+---------------------+ | c16e753b-68f8-41e2-b9ff-2baaf5a05200 | vm1 | ACTIVE | - | Running | public=172.24.4.227 | | 0ff9ef1b-56b7-4d08-aff4-87ff26f8430f | vm2 | ACTIVE | - | Running | public=172.24.4.228 | +--------------------------------------+------+--------+------------+-------------+---------------------+ [root@rhos-compute-node-02 ~(keystone_admin)]# nova get-serial-console vm1 +--------+-----------------------------------------------------------------+ | Type | Url | +--------+-----------------------------------------------------------------+ | serial | ws://10.8.0.50:6083/?token=597dc533-5d58-49d0-abc1-29591cab2dce | +--------+-----------------------------------------------------------------+ [root@rhos-compute-node-02 ~(keystone_admin)]#
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1313