← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1149526] Re: Multiple create with return_reservation_id=True fails when using XML

 

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

** Changed in: nova
    Milestone: None => grizzly-rc1

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

Title:
  Multiple create with return_reservation_id=True fails when using XML

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When we try to use os-multiple-create  to create one or more server
  instances using XML interface it fails due to a conflict with
  security_group extensions serialization.

  More specifically: 
  With SecurityGroup extension active, in  /opt/stack/nova/nova/api/openstack/compute/contrib/security_groups.py(519)_show()
  we attach SecurityGroupServeTemplate which internally, uses xmlutil.SlaveTemplate which looks for id in the response object.

  Why this happens: 
  Security group looks for a server object in the response to attach server's security group information. In the other hand when using return_reservation_id=True the xml response  requires a root element, happens that root element is also called server, which make security groups try to attach security group information on it, failing.

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