Brief Description
-----------------
In DX system, boot up few VMs on active controller, then reboot that controler to evacuate the VMs. After all VMs reach "ERROR" or "REBUILD" status, some VMs remains in ERROR after host recovered.
Severity
--------
Major
Steps to Reproduce
------------------
in DX system, booting up 4 VMs in active controller
reboot -f activer controller
wait for host recover
check VMs status
TC-name: functional/mtc/test_evacuate.py::TestTisGuest::()::test_evacuate_vms
Expected Behavior
------------------
All VMs status back to "ACTIVE"
Actual Behavior
----------------
Reproducibility
---------------
Unknown - first time this is seen in sanity, will monitor
System Configuration
--------------------
Two node system
Lab-name: WCP_76-77
Branch/Pull Time/Commit
-----------------------
20191224T000000Z
Last Pass
---------
20191004T013000Z
Timestamp/Logs
--------------
[2019-12-24 11:28:46,325] 181 INFO MainThread host_helper.reboot_hosts:: Rebooting active controller: controller-1
[2019-12-24 11:28:46,325] 311 DEBUG MainThread ssh.send :: Send 'sudo reboot -f'
[2019-12-24 11:31:08,122] 311 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://keystone.openstack.svc.cluster.local/v3 --os-user-domain-name Default --os-project-domain-name Default --os-identity-api-version 3 --os-interface internal --os-region-name RegionOne server list --a'
[2019-12-24 11:31:10,756] 433 DEBUG MainThread ssh.expect :: Output:
+--------------------------------------+------------------------+--------+------------------------------------------------------------+------------------+-----------------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+------------------------+--------+------------------------------------------------------------+------------------+-----------------+
| 7c2f6a94-5527-48f4-93a6-ba9a1d9b003b | tenant1-image_vol-14 | ACTIVE | tenant1-net0=172.16.0.132; tenant2-mgmt-net=192.168.241.68 | tis-centos-guest | flv_nolocaldisk |
| be351b26-1cc6-4e35-8d68-b780cdd17051 | tenant1-image_novol-13 | ACTIVE | tenant1-net0=172.16.0.238; tenant2-mgmt-net=192.168.241.83 | tis-centos-guest | flv_nolocaldisk |
| ade5e0d7-d0e7-4e6d-aa95-34b5893c292e | tenant1-vol_local-12 | ACTIVE | tenant1-net0=172.16.0.220; tenant2-mgmt-net=192.168.241.92 | | flv_localdisk |
| 3c4b2e77-7efe-4075-aff8-7bc40444a0f1 | tenant1-vol_nolocal-11 | ACTIVE | tenant1-net0=172.16.0.163; tenant2-mgmt-net=192.168.241.77 | | flv_nolocaldisk |
+--------------------------------------+------------------------+--------+------------------------------------------------------------+------------------+-----------------+
controller-0:~$
[2019-12-24 11:31:10,757] 311 DEBUG MainThread ssh.send :: Send 'echo $?'
[2019-12-24 11:31:10,861] 433 DEBUG MainThread ssh.expect :: Output:
0
controller-0:~$
[2019-12-24 11:31:13,865] 1599 DEBUG MainThread ssh.get_active_controller:: Getting active controller client for wcp_76_77
[2019-12-24 11:31:13,865] 476 DEBUG MainThread ssh.exec_cmd:: Executing command...
[2019-12-24 11:31:13,865] 311 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://keystone.openstack.svc.cluster.local/v3 --os-user-domain-name Default --os-project-domain-name Default --os-identity-api-version 3 --os-interface internal --os-region-name RegionOne server list --a'
[2019-12-24 11:31:16,793] 433 DEBUG MainThread ssh.expect :: Output:
+--------------------------------------+------------------------+---------+------------------------------------------------------------+------------------+-----------------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+------------------------+---------+------------------------------------------------------------+------------------+-----------------+
| 7c2f6a94-5527-48f4-93a6-ba9a1d9b003b | tenant1-image_vol-14 | ERROR | tenant1-net0=172.16.0.132; tenant2-mgmt-net=192.168.241.68 | tis-centos-guest | flv_nolocaldisk |
| be351b26-1cc6-4e35-8d68-b780cdd17051 | tenant1-image_novol-13 | ERROR | tenant1-net0=172.16.0.238; tenant2-mgmt-net=192.168.241.83 | tis-centos-guest | flv_nolocaldisk |
| ade5e0d7-d0e7-4e6d-aa95-34b5893c292e | tenant1-vol_local-12 | REBUILD | tenant1-net0=172.16.0.220; tenant2-mgmt-net=192.168.241.92 | | flv_localdisk |
| 3c4b2e77-7efe-4075-aff8-7bc40444a0f1 | tenant1-vol_nolocal-11 | ERROR | tenant1-net0=172.16.0.163; tenant2-mgmt-net=192.168.241.77 | | flv_nolocaldisk |
+--------------------------------------+------------------------+---------+------------------------------------------------------------+------------------+-----------------+
[2019-12-24 11:41:15,652] 311 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://keystone.openstack.svc.cluster.local/v3 --os-user-domain-name Default --os-project-domain-name Default --os-identity-api-version 3 --os-interface internal --os-region-name RegionOne server list --a'
[2019-12-24 11:41:18,325] 433 DEBUG MainThread ssh.expect :: Output:
+--------------------------------------+------------------------+--------+------------------------------------------------------------+------------------+-----------------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+------------------------+--------+------------------------------------------------------------+------------------+-----------------+
| 7c2f6a94-5527-48f4-93a6-ba9a1d9b003b | tenant1-image_vol-14 | ACTIVE | tenant1-net0=172.16.0.132; tenant2-mgmt-net=192.168.241.68 | tis-centos-guest | flv_nolocaldisk |
| be351b26-1cc6-4e35-8d68-b780cdd17051 | tenant1-image_novol-13 | ERROR | tenant1-net0=172.16.0.238; tenant2-mgmt-net=192.168.241.83 | tis-centos-guest | flv_nolocaldisk |
| ade5e0d7-d0e7-4e6d-aa95-34b5893c292e | tenant1-vol_local-12 | ACTIVE | tenant1-net0=172.16.0.220; tenant2-mgmt-net=192.168.241.92 | | flv_localdisk |
| 3c4b2e77-7efe-4075-aff8-7bc40444a0f1 | tenant1-vol_nolocal-11 | ERROR | tenant1-net0=172.16.0.163; tenant2-mgmt-net=192.168.241.77 | | flv_nolocaldisk |
+--------------------------------------+------------------------+--------+------------------------------------------------------------+------------------+-----------------+
controller-0:~$
Test Activity
-------------
Sanity
Assigning to the distro.openstack PL for review/triage