Compute Manager uses Objects (Juno Work)
Compute manager should use objects instead of conductor API and raw dicts wherever possible. Continuation of the work started in icehouse:
https:/
Blueprint information
- Status:
- Complete
- Approver:
- John Garbutt
- Priority:
- High
- Drafter:
- Dan Smith
- Direction:
- Approved
- Assignee:
- Dan Smith
- Definition:
- Approved
- Series goal:
- Accepted for juno
- Implementation:
- Implemented
- Milestone target:
- 2014.2
- Started by
- John Garbutt
- Completed by
- John Garbutt
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Propose Compute Manager Objects Support
Addressed by: https:/
Make detach_volume() use objects
Dan, I guess the plan is for Juno-1 at first? Or will it likely take longer? --johnthetubaguy
Addressed by: https:/
Finish _delete_instance() object conversion
Addressed by: https:/
Make _get_compute_info() use objects
Addressed by: https:/
Add with_compute_node to service_get()
Addressed by: https:/
Add get_by_service() method to ComputeNodeList object
Addressed by: https:/
Make update_
Addressed by: https:/
Convert poll_rescued_
Addressed by: https:/
Make aggregate host operations use Aggregate object
Addressed by: https:/
Return to using network_api directly for migrations
Addressed by: https:/
Convert instance_
Addressed by: https:/
Deprecate aggregate_host_* operations in conductor
Addressed by: https:/
Deprecate network_
Addressed by: https:/
Deprecate instance_destroy() from conductor
Gerrit topic: https:/
Addressed by: https:/
Remove instance_
Addressed by: https:/
Deprecate compute_unrescue() from conductor
Addressed by: https:/
Deprecate instance_
Addressed by: https:/
Deprecate instance_
Addressed by: https:/
Make _is_multi_host() use objects
Addressed by: https:/
Drop support for conductor 1.x rpc interface
Addressed by: https:/
Enable live migration use instance object
Adding to Juno-1 for now, to unblock this work --johnthetubaguy 28th April 2014
Addressed by: https:/
Make live_migration use instance objects
Addressed by: https:/
Remove conductor usage from compute.
Addressed by: https:/
Deprecate action_event_*() from conductor
Addressed by: https:/
Drop support for scheduler 2.x rpc interface
Addressed by: https:/
Add Instance Object add_security_
Addressed by: https:/
Make security_group add_to_instance and remove_
Addressed by: https:/
Fix default want_result value for event_finish_
Addressed by: https:/
Enable InstanceActionE
Gerrit topic: https:/
Addressed by: https:/
Use objects through the run_instance() path
Gerrit topic: https:/
Addressed by: https:/
WIP: Treat instance objects as objects in rescue API flow
Addressed by: https:/
Add Instance Object add_security_
Addressed by: https:/
Treat instance objects as objects in unrescue API flow
Gerrit topic: https:/
Addressed by: https:/
Refactor test_rescue_
Addressed by: https:/
Make SecurityGroupAPI use Instance object
Addressed by: https:/
Make metadata password routines use Instance object
Addressed by: https:/
Deprecate instance_
Addressed by: https:/
Make Evacuate API use Instance objects.
Gerrit topic: https:/
Addressed by: https:/
WIP: Treat instance objects like objects in set_admin_password flow
Addressed by: https:/
Move set_admin_password tests from test_compute.py to api/mgr modules
Addressed by: https:/
Use _set_instance_
Addressed by: https:/
Pass instance to _error_
Addressed by: https:/
Pass instance to _set_instance_
Addressed by: https:/
Make get_console_
Addressed by: https:/
Pass instance to _reschedule rather than instance_uuid
Addressed by: https:/
Remove unused code from test_compute_cells
Addressed by: https:/
Remove bdms from run_instance RPC conductor call
Addressed by: https:/
Initialize objects field in ObjectsListBase class
Addressed by: https:/
Add append and extend method to ObjectListBase
Addressed by: https:/
Improve BlockDeviceMapping object cells awareness
Addressed by: https:/
Make cells rpc bdm_update_
Addressed by: https:/
Add 'anon' kwarg to FakeDbBlockDevi
Addressed by: https:/
Make NovaObjectSeria
Addressed by: https:/
Add update_or_create flag to BDM objects create()
Addressed by: https:/
Make compute API create() use BDM objects
Addressed by: https:/
Make BDM dict __init__ behave more like a dict
Addressed by: https:/
Make check_instance_
Addressed by: https:/
Make remove_
Addressed by: https:/
Remove duplicate code in Objects create() function
Addressed by: https:/
Add bulk create/destroy functionality to FloatingIP
Addressed by: https:/
Completely object-ify the floating_ips_bulk V2 extension
Addressed by: https:/
Move the fixed_ips APIv2 extension to use objects
Addressed by: https:/
Object-ify server_password APIv2 extension
Addressed by: https:/
Object-ify server_password APIv3 extension
Addressed by: https:/
move the cloudpipe_update API v2 extension to use objects
Addressed by: https:/
Fix Flavor object extra_specs and projects handling
Addressed by: https:/
Object-ify APIv2 flavorextraspecs extension
Addressed by: https:/
Object-ify APIv3 flavor_extraspecs extension
Addressed by: https:/
Don't replace instance object with dict in _allocate_network()
Addressed by: https:/
Pass instance object into _shutdown_
Addressed by: https:/
Object-ify APIv3 availability_zone extension
Addressed by: https:/
Add Agent object
Addressed by: https:/
Object-ify xenapi driver use of VirtAPI.
Addressed by: https:/
Deprecate and remove agent_build_
Addressed by: https:/
Object-ify APIv2 agents extension
Addressed by: https:/
Object-ify APIv3 agents extension
Addressed by: https:/
object-ify API v2 availability_zone extension
Addressed by: https:/
Pass instance to _instance_update rather than uuid
Addressed by: https:/
Add missing create() method on SecurityGroup object
Addressed by: https:/
add aggregated metadata gets to Aggregate object
Addressed by: https:/
object-ify availability_zones
Addressed by: https:/
Add bandwidth usage object
Addressed by: https:/
Added serialization datetime.datetime
Addressed by: https:/
Fix update agent return agent_id with string for os-agents v3
Addressed by: https:/
Fix agent_id with string type in API samples files for os-agents v2
Gerrit topic: https:/
Gerrit topic: https:/
Addressed by: https:/
Fix run_instance() rpc method to pass instance object
Addressed by: https:/
Update compute rpcapi tests to use instance object instead of dict
Addressed by: https:/
Be explicit about objects in _shutdown_
Addressed by: https:/
Add missing create() method on SecurityGroupRule object
Addressed by: https:/
Add quota limit create/update methods to Quotas object
Addressed by: https:/
Make quotas APIv2 extension use Quotas object for create/update
Addressed by: https:/
Make quotas APIv3 extension use Quotas object for create/update
Addressed by: https:/
Convert network/api.py get calls to use Network object
Addressed by: https:/
Convert network/api.py fixedip calls to use FixedIP object
Addressed by: https:/
Make network/api.py use Network object for associations
Addressed by: https:/
Correct some IPAddress DB interaction in objects
Addressed by: https:/
Convert network/api.py to use FloatingIP object
Addressed by: https:/
object-ify flavors
Addressed by: https:/
Convert last use of direct database instance fetching from network api
Addressed by: https:/
Convert network/api.py uses of vif database functions to objects
Addressed by: https:/
Treat instance like an object in _start_building
Addressed by: https:/
Treat instance like an object in _prebuild_instance
Addressed by: https:/
Treat instance like object in _validate_
Addressed by: https:/
nova-network: treat instance like object in allocate_
Addressed by: https:/
neutronv2: treat instance like object in allocate_
Addressed by: https:/
Treat instance like an object in _default_
Addressed by: https:/
Remove _instance_update usage in _default_
Addressed by: https:/
Treat instance like an object in _build_instance
Addressed by: https:/
Remove _instance_update usage in _build_instance
Addressed by: https:/
neutronv2: treat instance as object in deallocate_
Addressed by: https:/
Objectify last uses of direct db access in network/
Addressed by: https:/
Objectify association in neutronapi
Addressed by: https:/
Make neutronapi get_all() return NetworkList of Network objects
Addressed by: https:/
Make neutronapi get_floating*() methods return objects
Addressed by: https:/
Give the FloatingIP object an external_id field, because neutron