Unified Objects work for Icehouse

Registered by Dan Smith

The effort started in unified-object model and compute-api-objects will continue in Icehouse

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
Dan Smith
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Dan Smith
Completed by
John Garbutt

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/52546
    Add obj_make_compatible()

Addressed by: https://review.openstack.org/52547
    Make Instance object compatible with older compute nodes

Addressed by: https://review.openstack.org/57747
    Add block device mapping objects implementation

Addressed by: https://review.openstack.org/57748
    Move compute API is_volume_backed to BDM objects

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

Addressed by: https://review.openstack.org/58914
    Fix a tiny double quote matching in field obj model

Addressed by: https://review.openstack.org/58950
    Add IPAddress field type in object models

Addressed by: https://review.openstack.org/58199
    Correct and add missing attributes in ComputeNode object

Addressed by: https://review.openstack.org/59033
    Make volume_snapshot_{create,delete} use objects

Addressed by: https://review.openstack.org/59034
    Make snapshot_volume_backed use new-world objects

Addressed by: https://review.openstack.org/59128
    Add UUID verification and UUID test case in object fields

Addressed by: https://review.openstack.org/59641
    Clean up the test cases to use the real UUID

Addressed by: https://review.openstack.org/60824
    Use objects internally in DriverBlockDevice class

Addressed by: https://review.openstack.org/61691
    Add unit test for ListOfStrings field in object model

Addressed by: https://review.openstack.org/61692
    Fix init of pci_stats in resource tracker

Addressed by: https://review.openstack.org/61693
    Don't check if allow_missing is missing or not

Addressed by: https://review.openstack.org/63161
    Cleanup object usage in the delete path

Addressed by: https://review.openstack.org/63178
    Cleanup object usage in the rebuild path

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

Addressed by: https://review.openstack.org/63257
    Use objects in compute HostAPI

Addressed by: https://review.openstack.org/63610
    Convert spawning to use an instance object

Addressed by: https://review.openstack.org/63611
    Convert build_and_run_instance to objects

Addressed by: https://review.openstack.org/63612
    Convert restore_instance to objects

Addressed by: https://review.openstack.org/63613
    Convert set_admin_password to objects

Addressed by: https://review.openstack.org/63614
    Convert rescue_instance to objects

Addressed by: https://review.openstack.org/63615
    Convert unrescue_instance to objects

Addressed by: https://review.openstack.org/63616
    Convert add_fixed_ip_to_instance to objects

Addressed by: https://review.openstack.org/63617
    Convert remove_fixed_ip_to_instance to objects

Addressed by: https://review.openstack.org/63618
    Convert post_live_migration_at_destination to objects

Addressed by: https://review.openstack.org/63660
    Use the dictonary get() function in _from_db_object

Addressed by: https://review.openstack.org/63827
    Make volume attach use objects

Addressed by: https://review.openstack.org/63995
    Handle dict in object serialization

Addressed by: https://review.openstack.org/63881
    Add equality check into NovaObject and ObjectList

Addressed by: https://review.openstack.org/63882
    Make nova/compute/flavors.py use flavor objects

Addressed by: https://review.openstack.org/64043
    Make scheduler rpcapi use object serializer

Addressed by: https://review.openstack.org/63888
    Add Metric Object in ComputeNode Object

Addressed by: https://review.openstack.org/64124
    Clean up _make_*_list in object models to use base.obj_make_list

Addressed by: https://review.openstack.org/64125
    Add HexInteger field type in object models

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

Addressed by: https://review.openstack.org/64405
    Add compute_node_stats in compute node obj

Addressed by: https://review.openstack.org/64493
    Add Instance add_security_group() and remove_security_group()

Addressed by: https://review.openstack.org/64494
    update SecurityGroup fields and add ensure()

Addressed by: https://review.openstack.org/59655
    Replace SecurityGroup related tradiditonal API with Object

Addressed by: https://review.openstack.org/60729
    update SecurityGroupRule fields and add several functions

Addressed by: https://review.openstack.org/65030
    Make id auto-generate in compute node obj create and add more checks

Addressed by: https://review.openstack.org/65038
    Add Instance Object functions

Addressed by: https://review.openstack.org/65220
    Prevent caller from specifying id during Service.create()

Addressed by: https://review.openstack.org/65221
    Prevent caller from specifying id during KeyPair.create()

Addressed by: https://review.openstack.org/65222
    Prevent caller from specifying id during Migration.create()

Addressed by: https://review.openstack.org/65223
    Prevent caller from specifying id during PciDevice.create()

Addressed by: https://review.openstack.org/65224
    Prevent caller from specifying id during Aggregate.create()

Addressed by: https://review.openstack.org/65427
    Convert quota use keypair object

Addressed by: https://review.openstack.org/65440
    Make nova/cmd/manage use security_group objects

Addressed by: https://review.openstack.org/65441
    Make nova/cloudpipe/pipelib use security_group objects

Addressed by: https://review.openstack.org/65442
    Make nova/quota use security_group objects

Addressed by: https://review.openstack.org/65691
    Pass instance UUID to add_instance_fault_from_exc instaed of instance

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

Addressed by: https://review.openstack.org/67205
    Add sort() method to ObjectListBase

Addressed by: https://review.openstack.org/67380
    Added base obj_upgrade(Work In Progress)

Addressed by: https://review.openstack.org/67515
    Make block device objects handle nothing in the db

Addressed by: https://review.openstack.org/67693
    Implement metrics object obj_upgrade(WorkInProgress)

Addressed by: https://review.openstack.org/68563
    Make DataTime field contains microsecond

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

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

Addressed by: https://review.openstack.org/70135
    Move some compute methods to BDM objects

Addressed by: https://review.openstack.org/70136
    Move rebuild to BDM objects

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

Addressed by: https://review.openstack.org/70311
    Move all shelve code pathd to BDM objects

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

Addressed by: https://review.openstack.org/72341
    Remove compute API get_instance_bdms method

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

Addressed by: https://review.openstack.org/72346
    Remove compute virtapi BDM methods

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/72382
    Make compute manager refresh_instance_security_rules() take objects

Addressed by: https://review.openstack.org/72383
    Remove unused db api method

Addressed by: https://review.openstack.org/75921
    Use instance object for delete

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

Addressed by: https://review.openstack.org/76544
    Clean up _from_db_object() in object models to reuse the base one

Topics with remaining patches:
========================

https://review.openstack.org/#/q/topic:bp/icehouse-objects,n,z
https://review.openstack.org/#/q/topic:bp/compute-manager-objects,n,z

Apologies, this missed the deadline for Feature Freeze. Marking this one as Implemented, so please open a new blueprint for the remaining patches. Please rebase patches as soon as Juno opens, and we will try to get this in during that period. --johnthetubaguy (5th March 2014)

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

Addressed by: https://review.openstack.org/71066
    Move _poll_volume_usage periodic task to BDM objects

Addressed by: https://review.openstack.org/71067
    Move live migration callbacks to BDM objects

Addressed by: https://review.openstack.org/71479
    Move run_instance compute to BDM objects

Addressed by: https://review.openstack.org/71064
    Make swap_volume code path use BDM objects

Addressed by: https://review.openstack.org/71065
    Move instance_resize code paths to BDM objects

(?)

Work Items

Work items:
Security Groups in compute/api: TODO

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.