Bug 1710049
| Summary: | [RHOS 15] Tempest test failure: test_resize_server_confirm_from_stopped | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Archit Modi <amodi> | ||||
| Component: | openstack-nova | Assignee: | Artom Lifshitz <alifshit> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | OSP DFG:Compute <osp-dfg-compute> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 15.0 (Stein) | CC: | dasmith, eglynn, jhakimra, kchamart, mbooth, sbauza, sgordon, vromanso | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-05-17 12:46:03 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Archit Modi
2019-05-14 19:46:00 UTC
This is weird in tempest, but here's how the flow goes: 1. test_resize_server_confirm_from_stopped() [https://github.com/openstack/tempest/blob/20.0.0/tempest/api/compute/servers/test_server_actions.py#L357] 2. _test_resize_server_confirm(... stop=True) [https://github.com/openstack/tempest/blob/20.0.0/tempest/api/compute/servers/test_server_actions.py#L292] 3. <start the server after the test> [https://github.com/openstack/tempest/blob/20.0.0/tempest/api/compute/servers/test_server_actions.py#L318] 4. tearDown() [https://github.com/openstack/tempest/blob/20.0.0/tempest/api/compute/servers/test_server_actions.py#L61] 5. <wait for server ACTIVE from 3> [https://github.com/openstack/tempest/blob/20.0.0/tempest/api/compute/base.py#L200] 5 is the part that failed. 3's request ID to start the server is req-93ccce31-1d79-47a7-933a-c9fadde37460. In the Nova logs we see: 2019-05-11 21:16:04.648 [./controller-0/var/log/containers/nova/nova-api.log] 21 DEBUG nova.api.openstack.wsgi [req-93ccce31-1d79-47a7-933a-c9fadde37460 2e0cd1029f94430aa692fbaf536afbf1 59e8e567688941f89efae0bbf6a0d3a6 - default default] Action: 'action', calling method: <bound method ServersController._start_server of <nova.api.openstack.compute.servers.ServersController object at 0x7ff527d14c18>>, body: {"os-start": {}} _process_stack /usr/lib/python3.6/site-packages/nova/api/openstack/wsgi.py:520 2019-05-11 21:16:08.546 [./compute-0/var/log/containers/nova/nova-compute.log] 8 ERROR nova.virt.libvirt.driver [req-93ccce31-1d79-47a7-933a-c9fadde37460 2e0cd1029f94430aa692fbaf536afbf1 59e8e567688941f89efae0bbf6a0d3a6 - default default] [instance: fc272b73-ff3e-4448-ab85-49bcec47546e] Failed to start libvirt guest: libvirt.libvirtError: Cannot access storage file '/var/lib/nova/instances/fc272b73-ff3e-4448-ab85-49bcec47546e/disk' (as uid:107, gid:107): Permission denied 2019-05-11 21:16:08.764 [./compute-0/var/log/containers/nova/nova-compute.log] 8 ERROR oslo_messaging.rpc.server [req-93ccce31-1d79-47a7-933a-c9fadde37460 2e0cd1029f94430aa692fbaf536afbf1 59e8e567688941f89efae0bbf6a0d3a6 - default default] Exception during message handling: libvirt.libvirtError: Cannot access storage file '/var/lib/nova/instances/fc272b73-ff3e-4448-ab85-49bcec47546e/disk' (as uid:107, gid:107): Permission denied So to me this smells deployment-y... *** This bug has been marked as a duplicate of bug 1710034 *** |