yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #31696
[Bug 1368378] Re: Cannot run "nova shelve-offload" command
[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]
** Changed in: nova
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1368378
Title:
Cannot run "nova shelve-offload" command
Status in OpenStack Compute (Nova):
Expired
Bug description:
OpenStack version: Icehouse
Setup: 3-node, namely Controller, Compute and Network
Issue: cannot run "nova shelve-offload <server>" command
Steps to reproduce:
1. Create an instance.
2. Verify instance is running/active: nova list
3. Run command: nova shelve <server>
4. Verify instance: nova list
5. Note that the instance is in "SHELVED_OFFLOADED" state.
6. Run command: nova shelve-offload <server>
7. Note the error.
root@Controller:/home/guest# nova boot --image cirros-0.3.3 --flavor 1 --nic net-id=75375f9b-0f26-4e1a-aedc-24457192f265 vm-1
+--------------------------------------+-----------------------------------------------------+
| Property | Value |
+--------------------------------------+-----------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | - |
| OS-EXT-SRV-ATTR:hypervisor_hostname | - |
| OS-EXT-SRV-ATTR:instance_name | instance-00000055 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | SMaVcJpBZh2u |
| config_drive | |
| created | 2014-09-11T17:41:11Z |
| flavor | m1.tiny (1) |
| hostId | |
| id | d2fa95b3-a4da-43a3-bc12-e0fe7f9bdc34 |
| image | cirros-0.3.3 (4e164335-1fc6-4702-b2c6-9a87327a8b90) |
| key_name | - |
| metadata | {} |
| name | vm-1 |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | 73a095bf078443c9b340d871deaabcc3 |
| updated | 2014-09-11T17:41:11Z |
| user_id | 77bdd3f911744f72af7038d40d722439 |
+--------------------------------------+-----------------------------------------------------+
root@Controller:/home/guest# nova list
+--------------------------------------+------+--------+------------+-------------+---------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+---------------------+
| d2fa95b3-a4da-43a3-bc12-e0fe7f9bdc34 | vm-1 | ACTIVE | - | Running | int-net=172.16.1.60 |
+--------------------------------------+------+--------+------------+-------------+---------------------+
root@Controller:/home/guest# nova shelve vm-1
root@Controller:/home/guest# nova list
+--------------------------------------+------+-------------------+------------+-------------+---------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+-------------------+------------+-------------+---------------------+
| d2fa95b3-a4da-43a3-bc12-e0fe7f9bdc34 | vm-1 | SHELVED_OFFLOADED | - | Shutdown | int-net=172.16.1.60 |
+--------------------------------------+------+-------------------+------------+-------------+---------------------+
root@Controller:/home/guest# nova help shelve-offload
usage: nova shelve-offload <server>
Remove a shelved server from the compute node.
Positional arguments:
<server> Name or ID of server.
root@Controller:/home/guest# nova shelve-offload vm-1
ERROR: Cannot 'shelveOffload' while instance is in vm_state shelved_offloaded (HTTP 409) (Request-ID: req-4b03df0c-16f6-4e93-a89d-10a5bfa3d987)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1368378/+subscriptions
References