VM resize failed by "No valid host was found"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
zhipeng liu |
Bug Description
Brief Description
-----------------
Resizing VM to a different flavor failed by RROR (BadRequest): No valid host was found. No valid host found for resize (HTTP 400)
Severity
--------
Major
Steps to Reproduce
------------------
1. boot up VM with original flavor (--ephemeral 1 --swap 512 flavor auto 1024 4 1)
2. touch a file on VM
3. Create a new flavor (--ephemeral 2 --swap 1024 flavor-1 auto 1024 5 1)
....
TC-name: /nova/test_
Expected Behavior
------------------
resize success
Actual Behavior
----------------
resize failed
Reproducibility
---------------
Reproducible
100%
System Configuration
-------
One node system
Lab-name: SM_2
Branch/Pull Time/Commit
-------
stx master as of 20190411T013000Z
Last Pass
---------
20190410T013000Z
Timestamp/Logs
--------------
[2019-04-11 18:23:07,139] 262 DEBUG MainThread ssh.send :: Send 'nova --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-11 18:23:08,663] 387 DEBUG MainThread ssh.expect :: Output:
+------
| ID | Name | Memory_MiB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | Description |
+------
| 7f736025-
+------
[2019-04-11 18:24:23,850] 262 DEBUG MainThread ssh.send :: Send 'nova --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-11 18:24:32,144] 262 DEBUG MainThread ssh.send :: Send 'nova --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-11 18:24:33,822] 387 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | active |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2019-04-
| description | - |
| flavor:disk | 4 |
| flavor:ephemeral | 1 |
| flavor:extra_specs | {"hw:mem_
| flavor:
| flavor:ram | 1024 |
| flavor:swap | 512 |
| flavor:vcpus | 1 |
| hostId | 40faf9a30b1a46e
| host_status | UP |
| id | 71b1bcc9-
| image | tis-centos-guest (85620fd5-
| key_name | keypair-tenant2 |
| locked | False |
| metadata | {} |
| name | tenant2-vm-8 |
| os-extended-
| progress | 0 |
| security_groups | default |
| server_groups | [] |
| status | ACTIVE |
| tags | [] |
| tenant2-mgmt-net network | 192.168.251.85 |
| tenant2-net2 network | 172.18.2.173 |
| tenant_id | 0ba9533d53d34da
| trusted_
| updated | 2019-04-
| user_id | f026d657c2124fb
+------
controller-0:~$
[2019-04-11 18:24:33,823] 262 DEBUG MainThread ssh.send :: Send 'echo $?'
[2019-04-11 18:24:33,928] 387 DEBUG MainThread ssh.expect :: Output:
0
controller-0:~$
[2019-04-11 18:24:33,928] 1313 INFO MainThread vm_helper.
[2019-04-11 18:24:33,929] 1335 DEBUG MainThread ssh.get_
[2019-04-11 18:24:33,929] 423 DEBUG MainThread ssh.exec_cmd:: Executing command...
[2019-04-11 18:24:33,929] 262 DEBUG MainThread ssh.send :: Send 'nova --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-04-11 18:24:38,303] 387 DEBUG MainThread ssh.expect :: Output:
ERROR (BadRequest): No valid host was found. No valid host found for resize (HTTP 400) (Request-ID: req-6f3c3a0f-
controller-0:~$
Test Activity
-------------
Regression Testing
Changed in starlingx: | |
assignee: | Bruce Jones (brucej) → Ada Cabrales (acabrale) |
Changed in starlingx: | |
assignee: | Ada Cabrales (acabrale) → Bruce Jones (brucej) |
Changed in starlingx: | |
assignee: | Bruce Jones (brucej) → Cindy Xie (xxie1) |
Changed in starlingx: | |
assignee: | Cindy Xie (xxie1) → zhipeng liu (zhipengs) |
Changed in starlingx: | |
status: | Triaged → Incomplete |
Changed in starlingx: | |
status: | Incomplete → Triaged |
Changed in starlingx: | |
status: | Triaged → Incomplete |
Changed in starlingx: | |
status: | Incomplete → In Progress |
Marking as release gating until further investigation. This maybe a nova issue and would require follow-up with upstream.