General objects work for Liberty

Registered by Dan Smith

A few remaining general object conversions and maintenance items exist. This blueprint covers those things.

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
High
Drafter:
Dan Smith
Direction:
Approved
Assignee:
Dan Smith
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 12.0.0
Started by
John Garbutt
Completed by
John Garbutt

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:metadata-use-objects,n,z

Addressed by: https://review.openstack.org/158066
    Replace conductor get_ec2_ids() with new Instance.ec2_ids attribute

Addressed by: https://review.openstack.org/149746
    Add EC2Ids object and link to Instance object as optional attribute

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

Addressed by: https://review.openstack.org/133664
    Remove and deprecate unused conductor service calls

Addressed by: https://review.openstack.org/133665
    Refactor some service tests and make them not require db

Addressed by: https://review.openstack.org/133663
    Convert service and servicegroup to objects

Gerrit topic: https://review.openstack.org/#q,topic:instance-usage-audit-use-objects,n,z

Addressed by: https://review.openstack.org/174242
    Parse objects related datetimes using timeutils.parse_isotime() in db api

Addressed by: https://review.openstack.org/174243
    Make objects serialize_args() handle datetimes in positional args

Addressed by: https://review.openstack.org/174244
    Add a TaskLog object

Addressed by: https://review.openstack.org/174245
    Make instance usage audit use the brand new TaskLog object

Gerrit topic: https://review.openstack.org/#q,topic:vol-usage-update-use-objects,n,z

Addressed by: https://review.openstack.org/180442
    Add a VolumeUsage object

Addressed by: https://review.openstack.org/180443
    Replace conductor proxying calls with the new VolumeUsage object

Gerrit topic: https://review.openstack.org/#q,topic:trigger-members-refresh-use-objects,n,z

Addressed by: https://review.openstack.org/72382
    Make compute_api.trigger_members_refresh() issue a single db call

Addressed by: https://review.openstack.org/72380
    New db api method instance_get_all_by_grantee_security_groups()

Addressed by: https://review.openstack.org/72381
    Add new instance object method get_by_grantee_security_groups()

Addressed by: https://review.openstack.org/182212
    Revert "Make nova-network use conductor for security groups refresh"

Addressed by: https://review.openstack.org/161860
    Make resize api of compute manager to send flavor object

Addressed by: https://review.openstack.org/185068
    Uitlize object directly of instance and flavor

Gerrit topic: https://review.openstack.org/#q,topic:instance-update-use-objects,n,z

Addressed by: https://review.openstack.org/189154
    Make compute manager instance updates use objects

Gerrit topic: https://review.openstack.org/#q,topic:liberty-objects,n,z

Addressed by: https://review.openstack.org/192396
    Support Network objects in set_network_host

Addressed by: https://review.openstack.org/192786
    Support flavor object in migrate_disk_and_power_off

Addressed by: https://review.openstack.org/194565
    Use migration object in compute manager

Addressed by: https://review.openstack.org/194761
    Use flavor object in compute manager

Addressed by: https://review.openstack.org/194791
    Make compute rpc api to send instance object

Addressed by: https://review.openstack.org/194851
    WIP - convert direct db calls to objects

Addressed by: https://review.openstack.org/200656
    cleanup NovaObjectDictCompat subclassing part I

Addressed by: https://review.openstack.org/200823
    cleanup NovaObjectDictCompat from virtual_interface

Addressed by: https://review.openstack.org/201282
    cleanup NovaObjectDictCompat from security_group_rule

Addressed by: https://review.openstack.org/202271
    Convert instance_type to object in prep_resize

Addressed by: https://review.openstack.org/209205
    cleanup NovaObjectDictCompat from virt_cpu_topology

Addressed by: https://review.openstack.org/210480
    cleanup NovaObjectDictCompat from numa object

Addressed by: https://review.openstack.org/210490
    cleanup NovaObjectDictCompat from network object

Addressed by: https://review.openstack.org/210614
    Consolidate _set_instance_error_state() methods

Gerrit topic: https://review.openstack.org/#q,topic:refresh_instance_security_rules,n,z

Addressed by: https://review.openstack.org/187537
    Compute: use instance object for refresh_instance_security_rules

Addressed by: https://review.openstack.org/212026
    cleanup NovaObjectDictCompat from Flavor object

Addressed by: https://review.openstack.org/189155
    Remove/deprecate conductor instance_update()

Addressed by: https://review.openstack.org/180444
    Remove and deprecate unused conductor method vol_usage_update()

Addressed by: https://review.openstack.org/215078
    cleanup NovaObjectDictCompat from quota

Addressed by: https://review.openstack.org/215094
    cleanup NovaObjectDictCompat from hv_spec

Addressed by: https://review.openstack.org/216371
    cleanup NovaObjectDictCompat from agent

Addressed by: https://review.openstack.org/216822
    cleanup NovaObjectDictCompat from external_event

Addressed by: https://review.openstack.org/216825
    cleanup NovaObjectDictCompat from instance_fault

Lets stop adding to this pile now, lets try get this merged before we make the cut for liberty. -johnthetubaguy 28th August 2015

Remaining patches are all in here, it seems:
https://review.openstack.org/#/q/topic:bp/liberty-objects,n,z

Abandoned the one outstanding patch that we wait for mitaka now. --johnthetubaguy 3rd September 2015

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.