Public bug reported:

shelved_offload_time -1 means instance will remain in the SHELVED state until 
user unshelves it.
Current behavior of _poll_shelved_instances periodic task is not considering 
shelved_offload_time is configured as -1 and offloading all the instances which 
are in 'SHELVED' state.


Stpes to reproduce:
1. set shelved_offload_time to -1 and restart nova-compute service.
2. create instance and shelve it using command, "nova shelve <instance_id>"
3. verify instance is in SHELVED state and instance files are present in 
instance path.
4. wait until  _poll_shelved_instances periodic task executes (default is 3600 
seconds, you can change it to 120 seconds)
5. Once _poll_shelved_instances periodic task is executed, instance state 
changes to SHELVED_OFFLOADED and instance files are deleted from instance path.

** Affects: nova
     Importance: Undecided
     Assignee: Abhishek Kekane (abhishek-kekane)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Abhishek Kekane (abhishek-kekane)

-- 
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/1472946

Title:
  _poll_shelved_instances periodic task is offloading instances even if
  shelved_offload_time is -1

Status in OpenStack Compute (Nova):
  New

Bug description:
  shelved_offload_time -1 means instance will remain in the SHELVED state until 
user unshelves it.
  Current behavior of _poll_shelved_instances periodic task is not considering 
shelved_offload_time is configured as -1 and offloading all the instances which 
are in 'SHELVED' state.

  
  Stpes to reproduce:
  1. set shelved_offload_time to -1 and restart nova-compute service.
  2. create instance and shelve it using command, "nova shelve <instance_id>"
  3. verify instance is in SHELVED state and instance files are present in 
instance path.
  4. wait until  _poll_shelved_instances periodic task executes (default is 
3600 seconds, you can change it to 120 seconds)
  5. Once _poll_shelved_instances periodic task is executed, instance state 
changes to SHELVED_OFFLOADED and instance files are deleted from instance path.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1472946/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to