Merge lp:~soren/nova/eager-load-network into lp:~hudson-openstack/nova/trunk
Proposed by
Soren Hansen
Status: | Merged |
---|---|
Approved by: | Devin Carlen |
Approved revision: | 584 |
Merged at revision: | 587 |
Proposed branch: | lp:~soren/nova/eager-load-network |
Merge into: | lp:~hudson-openstack/nova/trunk |
Diff against target: |
20 lines (+2/-1) 1 file modified
nova/db/sqlalchemy/api.py (+2/-1) |
To merge this branch: | bzr merge lp:~soren/nova/eager-load-network |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Devin Carlen (community) | Approve | ||
Jay Pipes (community) | Approve | ||
Eric Day (community) | Approve | ||
Review via email: mp+46841@code.launchpad.net |
Commit message
Eagerly load fixed_ip.network in instance_get_by_id.
Description of the change
Eagerly load fixed_ip.network in instance_get_by_id. Without this, sometimes tests (correctly!) fail. It seems to involve a race somewhere. Nevertheless, stuff needs the network attribute, so we need to joinedload it.
To post a comment you must log in.
lgtm