← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1276154] [NEW] suspending a paused instance

 

Public bug reported:

Is there a compelling reason why we don't support suspending a paused
instance? At the moment we only allow 'active' and 'rescued' states to
be suspended.

In compute/api:

@check_instance_state(vm_state=[vm_states.ACTIVE, vm_states.RESCUED])

Trying to suspend a paused instance results in:

nova suspend b10f8175-1663-41b2-8533-0b0606f369ff
ERROR: Cannot 'suspend' while instance is in vm_state paused (HTTP 409) (Request-ID: req-7349d554-ff48-4155-a62b-967f0813c59c)

I haven't tested with other hypervisors, but as far as libvirt/kvm is
concerned it suspends (virsh managedsave) both states ('running',
'paused') and resumes (virsh start) a suspended instance to the pre-
suspended state.

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

  Is there a particular reason why we don't support suspending a paused
  instance? At the moment we only allow 'active' and 'rescued' states to
  be suspended.
  
  In compute/api:
  
  @check_instance_state(vm_state=[vm_states.ACTIVE, vm_states.RESCUED])
  
  Trying to suspend a paused instance results in:
  
  nova suspend b10f8175-1663-41b2-8533-0b0606f369ff
  ERROR: Cannot 'suspend' while instance is in vm_state paused (HTTP 409) (Request-ID: req-7349d554-ff48-4155-a62b-967f0813c59c)
  
  I haven't tested with other hypervisors, but as far as libvirt/kvm is
- concerned it resumes a suspended instance to the pre-suspended state.
+ concerned it suspends (virsh managedsave) both states ('running',
+ 'paused') and resumes (virsh start) a suspended instance to the pre-
+ suspended state.

** Description changed:

- Is there a particular reason why we don't support suspending a paused
+ Is there a compelling reason why we don't support suspending a paused
  instance? At the moment we only allow 'active' and 'rescued' states to
  be suspended.
  
  In compute/api:
  
  @check_instance_state(vm_state=[vm_states.ACTIVE, vm_states.RESCUED])
  
  Trying to suspend a paused instance results in:
  
  nova suspend b10f8175-1663-41b2-8533-0b0606f369ff
  ERROR: Cannot 'suspend' while instance is in vm_state paused (HTTP 409) (Request-ID: req-7349d554-ff48-4155-a62b-967f0813c59c)
  
  I haven't tested with other hypervisors, but as far as libvirt/kvm is
  concerned it suspends (virsh managedsave) both states ('running',
  'paused') and resumes (virsh start) a suspended instance to the pre-
  suspended state.

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

Title:
  suspending a paused instance

Status in OpenStack Compute (Nova):
  New

Bug description:
  Is there a compelling reason why we don't support suspending a paused
  instance? At the moment we only allow 'active' and 'rescued' states to
  be suspended.

  In compute/api:

  @check_instance_state(vm_state=[vm_states.ACTIVE, vm_states.RESCUED])

  Trying to suspend a paused instance results in:

  nova suspend b10f8175-1663-41b2-8533-0b0606f369ff
  ERROR: Cannot 'suspend' while instance is in vm_state paused (HTTP 409) (Request-ID: req-7349d554-ff48-4155-a62b-967f0813c59c)

  I haven't tested with other hypervisors, but as far as libvirt/kvm is
  concerned it suspends (virsh managedsave) both states ('running',
  'paused') and resumes (virsh start) a suspended instance to the pre-
  suspended state.

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


Follow ups

References