Nova plugin should listen to compute.instance.suspend events

Bug #1531267 reported by Steve McLellan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Searchlight
Fix Released
Low
Itisha Dewan

Bug Description

Spying on nova's notifications, suspend (or resume) follows this order:

  compute.instance.[suspend,resume].start
  compute.instance.update
  compute.instance.[suspend,resume].end

We currently watch update events (and poweron/poweroff) but not suspend/resume (and this might be why we've had occasions where suspend/resume isn't represented well in the index. These additional events can map to update_or_create (though in actual fact they should only alter the running state).

Revision history for this message
Steve McLellan (sjmc7) wrote :

This might not actually be such a great idea while we hit the API on every event. At the very least wait until https://blueprints.launchpad.net/searchlight/+spec/optionally-disable-some-events is implemented.

sai (saigandham467)
Changed in searchlight:
assignee: nobody → sai (saigandham467)
sai (saigandham467)
Changed in searchlight:
assignee: sai (saigandham467) → nobody
Revision history for this message
Travis Tripp (travis-tripp) wrote :

This should be implemented so that callbacks to nova are not required.

Changed in searchlight:
milestone: none → mitaka-rc1
Changed in searchlight:
assignee: nobody → Lakshmi N Sampath (lakshmi-sampath)
Revision history for this message
Steve McLellan (sjmc7) wrote :

Lakshmi - looks like https://review.openstack.org/#/c/289599 addresses this?

Revision history for this message
Lakshmi N Sampath (lakshmi-sampath) wrote :

Looks like itisha started working on this at the same time I added this to bugsmash without assigning to herself. I can assign this bug to her.

Changed in searchlight:
assignee: Lakshmi N Sampath (lakshmi-sampath) → Itisha Dewan (ishadewan07)
Changed in searchlight:
status: New → In Progress
Changed in searchlight:
milestone: mitaka-rc1 → newton-1
Revision history for this message
Steve McLellan (sjmc7) wrote :

Moving this to n-1 because the current behavior while not ideal doesn't warrant a change at this stage. Once we can move to notification-only updates we can bring this in since it does represent the transient state change (resuming/suspending).

Revision history for this message
Steve McLellan (sjmc7) wrote :

This was fixed during newton.

Changed in searchlight:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on searchlight (master)

Change abandoned by Steve McLellan (<email address hidden>) on branch: master
Review: https://review.openstack.org/289599
Reason: This was added as part of the rework for nova status notifications

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.