← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1445235] Re: [Launch Instance Fix] Security Group error when launching an instance with new wizard

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

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

Title:
  [Launch Instance Fix] Security Group error when launching an instance
  with new wizard

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Dashboard (Horizon) kilo series:
  Fix Released

Bug description:
  With Nova Networking (not Neutron), Creating an instance with new
  launch instance Errors with "Error: unable to create the server."

  It appears to be that Nova expects security group name while neutron
  expects security group ID.

  with
  LOG.error("******************** -> %s" % security_groups) before line 578 in nova.py

  Here is the Log:

  ******************** -> [3]
  REQ: curl -g -i 'http://10.0.2.15:8774/v2/f013e957495e47118dce6c0a87bd4690/servers' -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Project-Id: f013e957495e47118dce6c0a87bd4690" -H "X-Auth-Token: {SHA1}0ed0cb9ce78afdde4aedde8d415b3962fb3b782b" -d '{"server": {"name": "ins_111", "imageRef": "c62db24e-0735-45bc-a6d7-0a3896b93c54", "availability_zone": "nova", "key_name": "KP_1", "flavorRef": "42", "OS-DCF:diskConfig": "AUTO", "max_count": 1, "min_count": 1, "security_groups": [{"name": 3}]}}'
  RESP: [400] {'date': 'Thu, 16 Apr 2015 21:55:30 GMT', 'connection': 'keep-alive', 'content-type': 'application/json; charset=UTF-8', 'content-length': '116', 'x-compute-request-id': 'req-92aa65af-603b-4fec-afad-e7e7edab9839'}
  RESP BODY: null

  [16/Apr/2015 21:55:30] "POST /api/nova/servers/ HTTP/1.1" 400 140

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


References