nova/nova/objects
Davanum Srinivas 6df6ad3ff3 Omnibus stable/liberty fix
There are currently 3 different blocking issues in stable/liberty due
to library releases: webob 1.5, oslo.db 3.0.0, and
oslo.versionedobjects 0.11.0. This is a squashed fix for all of them
as none can land without the others.

Issue #1 - oslo.db

Add testresources used by oslo.db fixture

If we use oslo.db fixtures, we'll need the package or
the next version of oslo.db release will break us.

(Cherry-picked from 4bcc264878)

Closes-Bug: #1503501

Issue #2 - oslo.versionedobjects

Drop unused obj_to_primitive() override

This was a band-aid override until o.vo gained the obj_relationships fix
that this method overrides. That has been in place since o.vo 0.8.0, which
means this is long since no longer necessary (and is actually blocking our
ability to absorb bug fixes to this code in o.vo). Further, we no longer
use this directly because we're doing backports based on version manifests,
which means we no longer consult child_versions _or_ obj_relationships.

(cherry picked from commit 142f1d9cc4)

Issue #3 - webob

Default ConvertedException code to 500

webob 1.5.0 released on 10/11 has change f6c749011 which
strictly enforces status codes in exceptions, and 0 is not
a valid status code so tests fail.

Change the default to 500 to match the default in the parent
class in webob.

Closes-Bug: #1505153
(cherry picked from commit 10438c0fc3)

Change-Id: I1e06e77308a7dd23209124f0807d61fb52470188
2015-10-13 07:57:52 -04:00
..
__init__.py objects: Add MigrationContext object 2015-08-31 20:45:19 +01:00
agent.py cleanup NovaObjectDictCompat from agent 2015-08-26 16:36:25 +05:30
aggregate.py Change List objects to use obj_relationships 2015-07-31 18:49:50 +00:00
bandwidth_usage.py Change List objects to use obj_relationships 2015-07-31 18:49:50 +00:00
base.py Omnibus stable/liberty fix 2015-10-13 07:57:52 -04:00
block_device.py Merge "Remove unused root_metadata method of BlockDeviceMappingList" 2015-09-16 08:59:58 +00:00
cell_mapping.py Move to using ovo's remotable decorators 2015-07-28 10:34:59 -07:00
compute_node.py Merge "Remove/deprecate unused parts of the compute node object" 2015-09-11 14:09:42 +00:00
dns_domain.py Change List objects to use obj_relationships 2015-07-31 18:49:50 +00:00
ec2.py Begin the transition to an explicit object registry 2015-06-08 07:12:34 -07:00
external_event.py cleanup NovaObjectDictCompat from external_event 2015-08-26 17:01:02 +05:30
fields.py objects: convert config drive to use ImageMeta object 2015-09-07 17:11:02 +01:00
fixed_ip.py Set vif and allocated when associating fixed ip 2015-09-10 21:14:55 +00:00
flavor.py Update obj_reset_changes signatures to match 2015-08-21 12:12:09 -04:00
floating_ip.py Set vif and allocated when associating fixed ip 2015-09-10 21:14:55 +00:00
host_mapping.py Move to using ovo's remotable decorators 2015-07-28 10:34:59 -07:00
hv_spec.py cleanup NovaObjectDictCompat from hv_spec 2015-08-20 18:49:19 +00:00
image_meta.py objects: convert config drive to use ImageMeta object 2015-09-07 17:11:02 +01:00
instance.py Fix InstanceV1 backports to use context 2015-10-07 07:40:52 -07:00
instance_action.py Add test to check relations at or below current 2015-08-06 13:46:51 +00:00
instance_fault.py Change List objects to use obj_relationships 2015-07-31 18:49:50 +00:00
instance_group.py Fix RequestSpec.instance_group hydration 2015-09-02 16:47:34 +02:00
instance_info_cache.py Merge "Send Instance object to cells instance_update_at_top" 2015-06-12 01:33:13 +00:00
instance_mapping.py Merge "Move to using ovo's remotable decorators" 2015-08-04 17:34:04 +00:00
instance_numa_topology.py Use compatibility methods from oslo 2015-08-26 13:37:36 -07:00
instance_pci_requests.py pci: Remove objects.InstancePCIRequests.save() 2015-08-19 12:22:00 -04:00
keypair.py Change List objects to use obj_relationships 2015-07-31 18:49:50 +00:00
migration.py rt: generalize claim code to be useful for other move actions 2015-08-26 16:43:35 +01:00
migration_context.py objects: Add MigrationContext object 2015-08-31 20:45:19 +01:00
monitor_metric.py Merge "Fix scheduler code to use monitor metric objects" 2015-08-29 14:30:02 +00:00
network.py Change List objects to use obj_relationships 2015-07-31 18:49:50 +00:00
network_request.py network_request_obj: Clean up outdated code 2015-09-06 03:22:19 +00:00
numa.py Use compatibility methods from oslo 2015-08-26 13:37:36 -07:00
pci_device.py pci: Remove nova.pci.device module 2015-08-19 12:22:00 -04:00
pci_device_pool.py Change List objects to use obj_relationships 2015-07-31 18:49:50 +00:00
quotas.py cleanup NovaObjectDictCompat from quota 2015-08-20 18:48:21 +00:00
request_spec.py Correct Instance type check to work with InstanceV1 2015-09-29 16:09:34 +08:00
security_group.py Change List objects to use obj_relationships 2015-07-31 18:49:50 +00:00
security_group_rule.py Change List objects to use obj_relationships 2015-07-31 18:49:50 +00:00
service.py rebuild: RPC sends additional args and claims are done 2015-09-22 17:41:29 +01:00
tag.py Change List objects to use obj_relationships 2015-07-31 18:49:50 +00:00
task_log.py Change List objects to use obj_relationships 2015-07-31 18:49:50 +00:00
vcpu_model.py Begin the transition to an explicit object registry 2015-06-08 07:12:34 -07:00
virt_cpu_topology.py cleanup NovaObjectDictCompat from virt_cpu_topology 2015-08-05 08:56:30 +05:30
virtual_interface.py Merge "cleanup NovaObjectDictCompat from virtual_interface" 2015-08-05 12:08:07 +00:00
volume_usage.py Add a VolumeUsage object 2015-08-23 18:45:38 +02:00