← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1113188] Re: create more than one instance but response only contains one of them

 

*** This bug is a duplicate of bug 1075357 ***
    https://bugs.launchpad.net/bugs/1075357

** This bug has been marked a duplicate of bug 1075357
   Create request single server

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

Title:
  create more than one instance but response only contains one of them

Status in OpenStack Compute (Nova):
  New

Bug description:
  $ curl -v -X POST -H "X-Auth-Token: $my_token" -H "Content-type:
  application/json" -d '{"server": {"name": "xxx-1", "imageRef":
  "b23e8c81-05d9-4158-becd-9235e27e8203", "flavorRef": 6, "min_count":
  2}}' http://114.113.199.11:8774/v2/$my_tenant/servers | python
  -mjson.tool

  {
      "server": {
          "OS-DCF:diskConfig": "MANUAL",
          "adminPass": "pzmN67XPH45E",
          "id": "ff43da5a-37b3-4f3f-b429-24c36cb7f661",
          "links": [
              {
                  "href": "http://114.113.199.11:8774/v2/59304d25b4d54ab8a0f26fde43028ea9/servers/ff43da5a-37b3-4f3f-b429-24c36cb7f661";,
                  "rel": "self"
              },
              {
                  "href": "http://114.113.199.11:8774/59304d25b4d54ab8a0f26fde43028ea9/servers/ff43da5a-37b3-4f3f-b429-24c36cb7f661";,
                  "rel": "bookmark"
              }
          ],
          "security_groups": [
              {
                  "name": "default"
              }
          ]
      }
  }

  'nova list' can show all of them. Although it seems like to response
  one of them by intention, it may be thought as one instance created by
  user.

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