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.
Reviewed: https:/ /review. openstack. org/53489 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b9b55935cb6 1cc1726525b1c49 63e352a3a81ea9
Committed: https:/
Submitter: Jenkins
Branch: master
commit b9b55935cb61cc1 726525b1c4963e3 52a3a81ea9
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 d90f75968778bf3 34915e8349c
Change-Id: Ie07879ac22e4ad