Moving various reads to slave db handle (partial?)

Registered by Michael H Wilson on 2014-03-04

This is a blueprint for slaveification tasks for the Juno development cycle. Icehouse focused on getting more periodic tasks slaveified, we will continue down that path where we are able. This blueprint should also cover other appropriate areas where reading from a slave is appropriate. See the specification wiki link for more info on how we decide what goes to slaves and what doesn't.

NOTE: This blueprint should encompass all "slaveification" work except any slaveification that has potential to affect the API. If there is any work to be done on that in the Juno cycle it will be addressed in a seperate blueprint.

More info:
https://wiki.openstack.org/wiki/Slave_usage

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Low
Drafter:
Michael H Wilson
Direction:
Approved
Assignee:
Michael H Wilson
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
Michael H Wilson on 2014-06-11
Completed by
John Garbutt on 2014-09-08

Related branches

Sprints

Whiteboard

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguyRemoved from next, as next is now reserved for near misses from the last milestone --johnthetubaguy

If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

Gerrit topic: https://review.openstack.org/#q,topic:juno-slaveification,n,z

Addressed by: https://review.openstack.org/92492
    Send more reads from periodic tasks to slave

Updated URL to point to spec, and added into Juno. Need to see code up for review, and a milestone picked before we can approve this blueprint --johnthetubaguy (30th May 2014)

Gerrit topic: https://review.openstack.org/#q,topic:bp/juno-slaveification,n,z

Addressed by: https://review.openstack.org/99393
    Allow four periodic tasks to hit slave

Addressed by: https://review.openstack.org/99920
    WIP: Initial work with bw_usage_object

Addressed by: https://review.openstack.org/103064
    Allow periodic task to hit slave

Not all the reviews have +2s and are not all are close to approval, so moving to juno-3. But please move this back to juno-2, should you get your patches approved in time. --johnthetubaguy 21st July 2014

Addressed by: https://review.openstack.org/113270
    Move decorator serialize_args to nova.objects.base

Addressed by: https://review.openstack.org/115335
    Let update_available_resource hit slave

Some patches in the gate, leaving in juno for now. --johnthetubaguy 2nd September 2014

Marking as complete, but defering remaining patch, as not got FFE yet. --johnthetubaguy 5th September

Moving back to "needs code review" because the final patch is now granted a FFE. --mikalstill, 7th September

(?)

Work Items

Work items:
update_available_resource: DONE
_instance_usage_audit: DONE
_poll_bandwidth_usage: DONE
_poll_volume_usage: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.