** Also affects: nova/juno
   Importance: Undecided
       Status: New

** Also affects: nova/kilo
   Importance: Undecided
       Status: New

** Changed in: nova/juno
       Status: New => In Progress

** Changed in: nova/kilo
       Status: New => In Progress

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

** Changed in: nova/kilo
     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):
  Fix Released
Status in OpenStack Compute (nova) juno series:
  In Progress
Status in OpenStack Compute (nova) kilo series:
  In Progress

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     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to