cold migrate not reject for server group set VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Invalid
|
Medium
|
Zhang Kunpeng |
Bug Description
Brief Description
-----------------
Create a server group with policy set to affinity, Boot VMs with flavor in the server group. Tried to cold_migrate VMs, cold migrate was not rejected. VMs status stays in "ACTIVE", not in "'VERIFY_RESIZE'or 'ERROR' status as expected.
Severity
--------
Major
Steps to Reproduce
------------------
Create a server group with policy set to affinity,
Boot VMs with flavor in the server group.
cold_migrate VMs
Check whether cold migrate was rejected
and check whether VMs status is in "'VERIFY_RESIZE'or 'ERROR'
TC-name: nova/test_
Expected Behavior
------------------
cold migrate was rejected
or VMs status is in "'VERIFY_RESIZE'or 'ERROR'
Actual Behavior
----------------
cold_migrate was not rejected
Reproducibility
---------------
Reproducible
System Configuration
-------
Two node system
Lab-name: WCP_76-77
Branch/Pull Time/Commit
-------
20200127T000002Z
Last Pass
---------
unknown
Timestamp/Logs
--------------
[2020-02-05 14:11:59,220] 314 DEBUG MainThread ssh.send :: Send 'nova --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
[2020-02-05 14:13:02,271] 436 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | building |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| adminPass | b5eNmaKnuAvA |
| config_drive | |
| created | 2020-02-
| description | - |
| flavor:disk | 2 |
| flavor:ephemeral | 0 |
| flavor:extra_specs | {"hw:mem_
| flavor:
| flavor:ram | 1024 |
| flavor:swap | 0 |
| flavor:vcpus | 1 |
| hostId | |
| id | 0f33d4ce-
| image | Attempt to boot from volume - no image supplied |
| key_name | keypair-tenant1 |
| locked | False |
| metadata | {} |
| name | tenant1-srv_grp-10 |
| os-extended-
| progress | 0 |
| security_groups | default |
| server_groups | ["d76975f0-
| status | BUILD |
| tags | [] |
| tenant_id | 0b140400d577473
| trusted_
| updated | 2020-02-
| user_id | dc37f4165583417
+------
[2020-02-05 14:13:17,645] 479 DEBUG MainThread ssh.exec_cmd:: Executing command...
[2020-02-05 14:13:17,645] 314 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2020-02-05 14:13:22,819] 436 DEBUG MainThread ssh.expect :: Output:
+------
| Field | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| 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 | tenant1-
| config_drive | |
| created | 2020-02-
| flavor | srv_grp (d92b00d2-
| hostId | 76834791a7f376d
| id | 0f33d4ce-
| image | |
| key_name | keypair-tenant1 |
| name | tenant1-srv_grp-10 |
| progress | 0 |
| project_id | 0b140400d577473
| properties | |
| security_groups | name='default' |
| | name='default' |
| status | ACTIVE |
| updated | 2020-02-
| user_id | dc37f4165583417
| volumes_attached | id='9b8b6ae6-
+------
[sysadmin@
[2020-02-05 14:18:11,010] 314 DEBUG MainThread ssh.send :: Send 'nova --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2020-02-05 14:23:34,529] 314 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2020-02-05 14:23:43,582] 436 DEBUG MainThread ssh.expect :: Output:
+------
| Field | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| 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 | tenant1-
| config_drive | |
| created | 2020-02-
| flavor | srv_grp (d92b00d2-
| hostId | 76834791a7f376d
| id | 0f33d4ce-
| image | |
| key_name | keypair-tenant1 |
| name | tenant1-srv_grp-10 |
| progress | 0 |
| project_id | 0b140400d577473
| properties | |
| security_groups | name='default' |
| | name='default' |
| status | ACTIVE |
| updated | 2020-02-
| user_id | dc37f4165583417
| volumes_attached | id='9b8b6ae6-
+------
Test Activity
-------------
Sanity
Changed in starlingx: | |
assignee: | yong hu (yhu6) → Zhang Kunpeng (zhangkunpeng) |
Changed in starlingx: | |
status: | New → Incomplete |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.4.0 |
tags: | added: stx.5.0 |
tags: | removed: stx.retestneeded |
Log @ /bugs.launchpad .net/starlingx/ +bug/1862060
https:/