← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1171410] Re: "NotFound raised: Security group juju-openstack_ec2 not found for project" and security_group_api=quantum

 

Ok i was wrong. I always have to run juju bootstap twice. I think it is
another issue.


** Changed in: nova
       Status: New => Invalid

-- 
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/1171410

Title:
  "NotFound raised: Security group juju-openstack_ec2 not  found for
  project" and security_group_api=quantum

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  cloud.py raises exception.SecurityGroupNotFound because it uses
  db.security_group_get_by_name instead of self.security_group_api.get
  in line 595.

  I change the code and the juju -bootstrap seems to work.

  --- /root/cloud.py	2013-04-22 12:57:12.659109579 +0200
  +++ cloud.py	2013-04-22 12:54:55.489421203 +0200
  @@ -592,7 +592,7 @@
               source_project_id = self._get_source_project_id(context,
                   source_security_group_owner_id)
   
  -            source_security_group = db.security_group_get_by_name(
  +            source_security_group = self.security_group_api.get(
                       context.elevated(),
                       source_project_id,
                       source_security_group_name)

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