instance actions doesn't work with cells

Bug #1132935 reported by Andrew Laski
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Andrew Laski

Bug Description

The new instance actions feature and API extension are not designed to work with a cells setup. For example, on a server create:

1. An action is recorded at the global cell level when the request comes in.

2. The request is eventually routed to the cell level scheduler.

3. The scheduler will attempt to look up the action in order to record the schedule event, but because the action was recorded at the global level it will fail to find it and scheduling will error out.

In the same vein, API requests for a list of actions will query the global db for them, not the cell db. These requests and responses need to be routed to the child cell and back.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/22886

Changed in nova:
assignee: nobody → Andrew Laski (alaski)
status: New → In Progress
Changed in nova:
milestone: none → grizzly-rc1
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/22886
Committed: http://github.com/openstack/nova/commit/ab2920726c0e2633c033a31a324f30a97fdce6bd
Submitter: Jenkins
Branch: master

commit ab2920726c0e2633c033a31a324f30a97fdce6bd
Author: Andrew Laski <email address hidden>
Date: Thu Feb 21 17:30:06 2013 -0500

    Rework instance actions to work with cells

    In a cells setup an instance action is recorded at the global cell level
    while events try to get recorded in a child cell compute node or
    scheduler. The event recording fails because it can't find an action to
    link to. This patch adds the recording of actions at the child cell
    level, and changes the API extension to query the db in a child cell for
    the record of actions and events.

    This does not address the fact that an action is recorded at the global
    cell level.

    Bug 1132935
    Change-Id: I5831f146397e7afa2d93d26c5d6f9abb9bc6670d

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-rc1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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