← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1663364] Re: A server creation failed due to "Failed to allocate the network"

 

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

** Also affects: ubuntu
   Importance: Undecided
       Status: New

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

Title:
  A server creation failed due to "Failed to allocate the network"

Status in OpenStack Compute (nova):
  New
Status in Ubuntu:
  New

Bug description:
  On test_create_image_from_deleted_server, Tempest waits for the server creation with pooling nova-api with "Get a server" API.
  The API returned an error response like

  http://logs.openstack.org/59/426459/4/check/gate-tempest-dsvm-neutron-
  full-ubuntu-
  xenial/0222b58/logs/tempest.txt.gz#_2017-02-09_18_16_37_270

  Body: {"server": {"OS-EXT-STS:task_state": null, "addresses": {},
  "links": [{"href":
  "https://198.72.124.211:8774/v2.1/servers/bd439544-a42f-4802-a457-a5fdf5d97e1b";,
  "rel": "self"}, {"href":
  "https://198.72.124.211:8774/servers/bd439544-a42f-4802-a457-a5fdf5d97e1b";,
  "rel": "bookmark"}], "image": {"id": "2dc6d0fb-6371-478e-a0fd-
  05c181fdeb15", "links": [{"href":
  "https://198.72.124.211:8774/images/2dc6d0fb-6371-478e-a0fd-
  05c181fdeb15", "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "error",
  "OS-SRV-USG:launched_at": null, "flavor": {"id": "42", "links":
  [{"href": "https://198.72.124.211:8774/flavors/42";, "rel":
  "bookmark"}]}, "id": "bd439544-a42f-4802-a457-a5fdf5d97e1b",
  "user_id": "ffc3b5a76f264f88b6fb8bea40597379", "OS-DCF:diskConfig":
  "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-
  STS:power_state": 0, "OS-EXT-AZ:availability_zone": "", "metadata":
  {}, "status": "ERROR", "updated": "2017-02-09T18:16:36Z", "hostId":
  "", "OS-SRV-USG:terminated_at": null, "key_name": null, "name":
  "tempest-ImagesNegativeTestJSON-server-483537554", "created":
  "2017-02-09T18:16:34Z", "tenant_id":
  "e3c9cc38bc4d458796351bd05ff199b6", "os-extended-
  volumes:volumes_attached": [], "fault": {"message": "Build of instance
  bd439544-a42f-4802-a457-a5fdf5d97e1b aborted: Failed to allocate the
  network(s), not rescheduling.", "code": 500, "created":
  "2017-02-09T18:16:36Z"}, "config_drive": ""}}

  and the test failed. The "fault" parameter shows
   {"message": "Build of instance bd439544-a42f-4802-a457-a5fdf5d97e1b aborted: Failed to allocate the network(s), not rescheduling.",
    "code": 500,
    "created": "2017-02-09T18:16:36Z"}

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