← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1571142] [NEW] Unable to launch instance

 

Public bug reported:

I tried to launch an instance using the following 
openstack server create --flavor m1.tiny --image cirros   --nic net-id=provider --security-group default   --key-name mykey provider-instance
An exception was returned :2016-04-15 22:14:20.324 18294 ERROR nova.api.openstack.extensions [req-45fd4baf-2b19-46e3-9fdf-b19c0d01361e ab97d10635c04213bb9889845a601fa8 5a68df1d31e1433189a99e097fe65cfb - - -] Unexpected exception in API method
I checked and listed the flavor, network, security to verify the values used in launching the instance and they are fine

Steps to reproduce:
Verify the following options are available

rahmed@controller:~$ openstack network list

+--------------------------------------+----------+---------+
| ID                                   | Name     | Subnets |
+--------------------------------------+----------+---------+
| dff6ba3d-d1d2-4e8a-b5f2-34fe1e7c685f | provider |         |
+--------------------------------------+----------+---------+
rahmed@controller:~$ 
rahmed@controller:~$ openstack security group list
+--------------------------------------+---------+------------------------+----------------------------------+
| ID                                   | Name    | Description            | Project                          |
+--------------------------------------+---------+------------------------+----------------------------------+
| 01ac569e-8f63-4f12-ab88-13b0074d1a81 | default | Default security group | 5a68df1d31e1433189a99e097fe65cfb |
+--------------------------------------+---------+------------------------+----------------------------------+
rahmed@controller:~$ openstack flavor list
+----+-----------+-------+------+-----------+-------+-----------+
| ID | Name      |   RAM | Disk | Ephemeral | VCPUs | Is Public |
+----+-----------+-------+------+-----------+-------+-----------+
| 0  | m1.nano   |    64 |    1 |         0 |     1 | True      |
| 1  | m1.tiny   |   512 |    1 |         0 |     1 | True      |
| 2  | m1.small  |  2048 |   20 |         0 |     1 | True      |
| 3  | m1.medium |  4096 |   40 |         0 |     2 | True      |
| 4  | m1.large  |  8192 |   80 |         0 |     4 | True      |
| 5  | m1.xlarge | 16384 |  160 |         0 |     8 | True      |
+----+-----------+-------+------+-----------+-------+-----------+
rahmed@controller:~$ openstack image  list
+--------------------------------------+--------+--------+
| ID                                   | Name   | Status |
+--------------------------------------+--------+--------+
| d11d504e-9047-4487-94da-75cd620957ba | cirros | active |
+--------------------------------------+--------+--------+

Actual Result:
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'oslo_messaging.exceptions.MessagingTimeout'> (HTTP 500) (Request-ID: req-8b87723d-61fa-472a-8e91-de29c45a497b)
rahmed@controller:~$ openstack server create --flavor m1.tiny --image cirros   --nic net-id=provider --security-group default   --key-name mykey provider-instance

Expected Result:
$ openstack server list
+--------------------------------------+-------------------+--------+---------------------------------+
| ID                                   | Name              | Status | Networks                        |
+--------------------------------------+-------------------+--------+---------------------------------+
| 181c52ba-aebc-4c32-a97d-2e8e82e4eaaf | provider-instance | ACTIVE | provider=203.0.113.103 |
+--------------------------------------+-------------------+--------+---------------------------------+



Environment:
ii  nova-api                             2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - API frontend
ii  nova-cert                            2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - certificate management
ii  nova-common                          2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - common files
ii  nova-conductor                       2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - conductor service
ii  nova-consoleauth                     2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - Console Authenticator
ii  nova-novncproxy                      2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - NoVNC proxy
ii  nova-scheduler                       2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - virtual machine scheduler
ii  python-nova                          2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute Python libraries
ii  python-novaclient                    2:3.3.1-2~cloud0                      all          client library for OpenStack Compute API - Python 2.7

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "sosreport"
   https://bugs.launchpad.net/bugs/1571142/+attachment/4638026/+files/sosreport-controller-20160415223219.tar.xz

** Summary changed:

- Unable to lunch instance
+ Unable to launch instance

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

Title:
  Unable to launch instance

Status in OpenStack Compute (nova):
  New

Bug description:
  I tried to launch an instance using the following 
  openstack server create --flavor m1.tiny --image cirros   --nic net-id=provider --security-group default   --key-name mykey provider-instance
  An exception was returned :2016-04-15 22:14:20.324 18294 ERROR nova.api.openstack.extensions [req-45fd4baf-2b19-46e3-9fdf-b19c0d01361e ab97d10635c04213bb9889845a601fa8 5a68df1d31e1433189a99e097fe65cfb - - -] Unexpected exception in API method
  I checked and listed the flavor, network, security to verify the values used in launching the instance and they are fine

  Steps to reproduce:
  Verify the following options are available

  rahmed@controller:~$ openstack network list

  +--------------------------------------+----------+---------+
  | ID                                   | Name     | Subnets |
  +--------------------------------------+----------+---------+
  | dff6ba3d-d1d2-4e8a-b5f2-34fe1e7c685f | provider |         |
  +--------------------------------------+----------+---------+
  rahmed@controller:~$ 
  rahmed@controller:~$ openstack security group list
  +--------------------------------------+---------+------------------------+----------------------------------+
  | ID                                   | Name    | Description            | Project                          |
  +--------------------------------------+---------+------------------------+----------------------------------+
  | 01ac569e-8f63-4f12-ab88-13b0074d1a81 | default | Default security group | 5a68df1d31e1433189a99e097fe65cfb |
  +--------------------------------------+---------+------------------------+----------------------------------+
  rahmed@controller:~$ openstack flavor list
  +----+-----------+-------+------+-----------+-------+-----------+
  | ID | Name      |   RAM | Disk | Ephemeral | VCPUs | Is Public |
  +----+-----------+-------+------+-----------+-------+-----------+
  | 0  | m1.nano   |    64 |    1 |         0 |     1 | True      |
  | 1  | m1.tiny   |   512 |    1 |         0 |     1 | True      |
  | 2  | m1.small  |  2048 |   20 |         0 |     1 | True      |
  | 3  | m1.medium |  4096 |   40 |         0 |     2 | True      |
  | 4  | m1.large  |  8192 |   80 |         0 |     4 | True      |
  | 5  | m1.xlarge | 16384 |  160 |         0 |     8 | True      |
  +----+-----------+-------+------+-----------+-------+-----------+
  rahmed@controller:~$ openstack image  list
  +--------------------------------------+--------+--------+
  | ID                                   | Name   | Status |
  +--------------------------------------+--------+--------+
  | d11d504e-9047-4487-94da-75cd620957ba | cirros | active |
  +--------------------------------------+--------+--------+

  Actual Result:
  Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'oslo_messaging.exceptions.MessagingTimeout'> (HTTP 500) (Request-ID: req-8b87723d-61fa-472a-8e91-de29c45a497b)
  rahmed@controller:~$ openstack server create --flavor m1.tiny --image cirros   --nic net-id=provider --security-group default   --key-name mykey provider-instance

  Expected Result:
  $ openstack server list
  +--------------------------------------+-------------------+--------+---------------------------------+
  | ID                                   | Name              | Status | Networks                        |
  +--------------------------------------+-------------------+--------+---------------------------------+
  | 181c52ba-aebc-4c32-a97d-2e8e82e4eaaf | provider-instance | ACTIVE | provider=203.0.113.103 |
  +--------------------------------------+-------------------+--------+---------------------------------+



  
  Environment:
  ii  nova-api                             2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - API frontend
  ii  nova-cert                            2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - certificate management
  ii  nova-common                          2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - common files
  ii  nova-conductor                       2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - conductor service
  ii  nova-consoleauth                     2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - Console Authenticator
  ii  nova-novncproxy                      2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - NoVNC proxy
  ii  nova-scheduler                       2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute - virtual machine scheduler
  ii  python-nova                          2:13.0.0-0ubuntu2~cloud0              all          OpenStack Compute Python libraries
  ii  python-novaclient                    2:3.3.1-2~cloud0                      all          client library for OpenStack Compute API - Python 2.7

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


Follow ups