← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1665857] [NEW] Instance creation failed: Unable to create the server.

 

Public bug reported:

Followed the steps present in below link to create a instance
https://docs.openstack.org/newton/install-guide-rdo/launch-instance-selfservice.html

When tried to create an instance it throws Unexpected API Error. Please
help.

Attached the nova-api.log for your reference

[root@controller etc]# openstack flavor list
+----+---------+------+------+-----------+-------+-----------+
| ID | Name    |  RAM | Disk | Ephemeral | VCPUs | Is Public |
+----+---------+------+------+-----------+-------+-----------+
| 0  | m1.nano | 2048 |   10 |         0 |     1 | True      |
+----+---------+------+------+-----------+-------+-----------+
[root@controller etc]# openstack image list
+--------------------------------------+--------+--------+
| ID                                   | Name   | Status |
+--------------------------------------+--------+--------+
| 035b1118-5b11-40b1-b86b-de316b18dd34 | centos | active |
| 20d44d5f-4547-418e-a964-84f38682e4cd | cirros | active |
+--------------------------------------+--------+--------+
[root@controller etc]# openstack network list
+--------------------------------------+-------------+--------------------------------------+
| ID                                   | Name        | Subnets                              |
+--------------------------------------+-------------+--------------------------------------+
| 18770c07-7aa6-41a8-b3cf-4396cee203eb | provider    | 5355ef76-7424-4c84-bfb1-bcc6cc6db215 |
| 9339a6a8-661b-4072-9332-edcde242217f | selfservice | e33704ba-ed18-42b2-a312-1a6e39254e1d |
+--------------------------------------+-------------+--------------------------------------+
[root@controller etc]# openstack server create --flavor m1.nano --image centos --nic net-id=9339a6a8-661b-4072-9332-edcde242217f --security-group default --key-name mykey selfservice-instance
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.TypeError'> (HTTP 500) (Request-ID: req-66ef449b-a92d-46d3-9ab1-7a735b990433)
[root@controller etc]#

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "Nova-api.log"
   https://bugs.launchpad.net/bugs/1665857/+attachment/4821338/+files/nova-api.log

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

Title:
  Instance creation failed: Unable to create the server.

Status in OpenStack Compute (nova):
  New

Bug description:
  Followed the steps present in below link to create a instance
  https://docs.openstack.org/newton/install-guide-rdo/launch-instance-selfservice.html

  When tried to create an instance it throws Unexpected API Error.
  Please help.

  Attached the nova-api.log for your reference

  [root@controller etc]# openstack flavor list
  +----+---------+------+------+-----------+-------+-----------+
  | ID | Name    |  RAM | Disk | Ephemeral | VCPUs | Is Public |
  +----+---------+------+------+-----------+-------+-----------+
  | 0  | m1.nano | 2048 |   10 |         0 |     1 | True      |
  +----+---------+------+------+-----------+-------+-----------+
  [root@controller etc]# openstack image list
  +--------------------------------------+--------+--------+
  | ID                                   | Name   | Status |
  +--------------------------------------+--------+--------+
  | 035b1118-5b11-40b1-b86b-de316b18dd34 | centos | active |
  | 20d44d5f-4547-418e-a964-84f38682e4cd | cirros | active |
  +--------------------------------------+--------+--------+
  [root@controller etc]# openstack network list
  +--------------------------------------+-------------+--------------------------------------+
  | ID                                   | Name        | Subnets                              |
  +--------------------------------------+-------------+--------------------------------------+
  | 18770c07-7aa6-41a8-b3cf-4396cee203eb | provider    | 5355ef76-7424-4c84-bfb1-bcc6cc6db215 |
  | 9339a6a8-661b-4072-9332-edcde242217f | selfservice | e33704ba-ed18-42b2-a312-1a6e39254e1d |
  +--------------------------------------+-------------+--------------------------------------+
  [root@controller etc]# openstack server create --flavor m1.nano --image centos --nic net-id=9339a6a8-661b-4072-9332-edcde242217f --security-group default --key-name mykey selfservice-instance
  Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <type 'exceptions.TypeError'> (HTTP 500) (Request-ID: req-66ef449b-a92d-46d3-9ab1-7a735b990433)
  [root@controller etc]#

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


Follow ups