No feedback provided when unshelving Vms on systems with no capacity to unshelve
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
Description
===========
User is not provided any feedback that unshelving of a VM is failing due to lack of capacity on the cloud. In fact there is no status that an error occurred resulting in the end user assuming that the openstack CLI/API may have issues executing the request.
Steps to reproduce
=================
Attempt unshelve command on system with no capacity to place the VM.
Expected result
===============
Provide feedback to end users that command failed. Either via CLI output or via the openstack server show command.
Actual result
=============
After command: openstack server unshelve is executed. We get the following status.
From nova cloud controller logs after unshelve of VM is requested via openstack CLI.
juju ssh nova-cloud-
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
However status of server does not indicate failure of unshelve command:
openstack server show dc587e54-
+------
| Field | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | shelved_offloaded |
| OS-SRV-
| OS-SRV-
...
| status | SHELVED_OFFLOADED |
| updated | 2024-06-
Environment
===========
dpkg -l | grep nova
ii nova-api-os-compute 2:21.2.4-0ubuntu2.6 all OpenStack Compute - OpenStack Compute API frontend
ii nova-common 2:21.2.4-0ubuntu2.6 all OpenStack Compute - common files
ii nova-conductor 2:21.2.4-0ubuntu2.6 all OpenStack Compute - conductor service
ii nova-scheduler 2:21.2.4-0ubuntu2.6 all OpenStack Compute - virtual machine scheduler
ii nova-spiceproxy 2:21.2.4-0ubuntu2.6 all OpenStack Compute - spice html5 proxy
ii python3-nova 2:21.2.4-0ubuntu2.6 all OpenStack Compute Python 3 libraries
ii python3-novaclient 2:17.0.0-0ubuntu1 all client library for OpenStack Compute API - 3.x
Feature Request
+++++++++++++++
Request feature to provide feedback to the end user when an unshelve command fails at least in the specific case of capacity limits causing the request to fail. |