← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1244018] Re: update security group raise HttpError500 exception

 

** Changed in: nova/havana
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1244018

Title:
  update security group raise HttpError500 exception

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) havana series:
  Fix Released

Bug description:
  1.Set the item "security_group_api=nova" in nova.conf
  2.Restart nova
  3.Create a security group
  4.Update the security group
     PUT http://192.168.83.241:8774/v2/99a7b3d4bd6540aaaceae89ac74bfab6/os-security-groups/7
     {
      "security_group": {
          "name": "huangtianhua",
          "description":"for test"
          }
     }
  5.The server raises exception as bellow:
     {
      "computeFault": {
          "message": "The server has either erred or is incapable of performing the requested operation.",
          "code": 500
         }
     }
  6.I think it's a bug.When traversal the rules of the group before returning throws error:
     "DetachedInstanceError: Parent instance <SecurityGroup at 0x789eed0> is not bound to a Session; lazy load operation of        attribute 'rules' cannot proceed."

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1244018/+subscriptions