Fix a lazy-load exception in security_group_update()
When security_group_api is nova, the update_security_group api raises http
500 error: group rules fails with lazy load exception. Because the rule
infos of the security group will be return in response body, but the rule
attribute hasn't been preloaded.
Closes-Bug: #1244018
(cherry picked from commit b9b55935cb61cc1726525b1c4963e352a3a81ea9)
Reviewed: https:/ /review. openstack. org/64521 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=98a2613bbc5 1ec722dab423dde d69586a6efe27d
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit 98a2613bbc51ec7 22dab423dded695 86a6efe27d
Author: huangtianhua <email address hidden>
Date: Thu Oct 24 10:21:50 2013 +0800
Fix a lazy-load exception in security_ group_update( )
When security_group_api is nova, the update_ security_ group api raises http
500 error: group rules fails with lazy load exception. Because the rule
infos of the security group will be return in response body, but the rule
attribute hasn't been preloaded.
Closes-Bug: #1244018 726525b1c4963e3 52a3a81ea9)
(cherry picked from commit b9b55935cb61cc1
Conflicts: tests/api/ openstack/ compute/ contrib/ test_security_ groups. py d90f75968778bf3 34915e8349c
nova/
Change-Id: Ie07879ac22e4ad