yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #67719
[Bug 1718190] [NEW] Instance could not be created/launched
Public bug reported:
During creation of instance through CLI or dashboard, i am getting
Unexpected error in logs. please find command and other related
openstack command outputs
Command and error
____________________
#openstack server create --flavor 73c42e28-0d38-4bc4-ad32-61b08474cdfa
--image Roka-New --nic net-id=a973a522-3893-4f0a-a643-95cae029744a
--security-group default --key-name mykey instance-1 --debug
POST call to compute for http://172.168.1.129:8774/v2/e6da88076d2847aca65e41b1d2093396/servers used request id req-c809d780-5615-4521-8647-bcbfe24b3f26
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-c809d780-5615-4521-8647-bcbfe24b3f26)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/display.py", line 112, in run
column_names, data = self.take_action(parsed_args)
File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 627, in take_action
server = compute_client.servers.create(*boot_args, **boot_kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1416, in create
**boot_kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 779, in _boot
return_raw=return_raw, **kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 361, in _create
resp, body = self.api.client.post(url, body=body)
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 223, in post
return self.request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 80, in request
raise exceptions.from_response(resp, body, url, method)
other related command results
_____________________________
[root@controller ~]# . /home/admin-openrc
[root@controller ~]# openstack flavor list
+----+---------+-----+------+-----------+-------+-----------+
| ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public |
+----+---------+-----+------+-----------+-------+-----------+
| 0 | m1.nano | 64 | 1 | 0 | 1 | True |
+----+---------+-----+------+-----------+-------+-----------+
[root@controller log]# openstack project list
+----------------------------------+----------+
| ID | Name |
+----------------------------------+----------+
| 2cf19b21164e432fb84cfed281481737 | service |
| 82df21eecb184130b15fbf337e3fcfbf | Roka2017 |
| e6da88076d2847aca65e41b1d2093396 | demo |
| f045d9ebb6f64ef0bfa580b3bc7a312e | admin |
+----------------------------------+----------+
[root@controller log]# openstack network list
+--------------------------------------+----------+--------------------------------------+
| ID | Name | Subnets |
+--------------------------------------+----------+--------------------------------------+
| 3cb5b804-f585-4455-92a4-360cefbb96f8 | outside | d014432c-ec96-48c8-9a83-adb69d18d943 |
| a973a522-3893-4f0a-a643-95cae029744a | demo-net | ec178c3e-8f99-428c-871c-3bb02c572d9d |
+--------------------------------------+----------+--------------------------------------+
[root@controller log]# openstack keypair list
+-------+-------------------------------------------------+
| Name | Fingerprint |
+-------+-------------------------------------------------+
| mykey | e9:74:b4:0b:bb:7f:68:5f:8d:ab:9e:ed:18:f5:7e:58 |
+-------+-------------------------------------------------+
[root@controller log]# openstack image list
+--------------------------------------+----------+--------+
| ID | Name | Status |
+--------------------------------------+----------+--------+
| c7f1f1b3-4ad8-4eb1-ac31-5e1171fa4593 | New-one | active |
| 3195c8b9-cddb-40cd-be63-e09117308a84 | RHEL7 | active |
| fdbb6f71-e22f-4fb0-bdf6-3826a0a729c8 | Roka-New | active |
+--------------------------------------+----------+--------+
[root@controller ~]# . /home/demo-openrc
[root@controller ~]# openstack flavor list
+--------------------------------------+-----------+------+------+-----------+-------+-----------+
| ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public |
+--------------------------------------+-----------+------+------+-----------+-------+-----------+
| 0 | m1.nano | 64 | 1 | 0 | 1 | True |
| 73c42e28-0d38-4bc4-ad32-61b08474cdfa | flavor-1G | 1024 | 1 | 0 | 1 | False |
+--------------------------------------+-----------+------+------+-----------+-------+-----------+
** Affects: nova
Importance: Undecided
Status: New
** Attachment added: "neutron-nova-glance-cinder LOGS"
https://bugs.launchpad.net/bugs/1718190/+attachment/4952804/+files/First-Deployment.rar
--
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/1718190
Title:
Instance could not be created/launched
Status in OpenStack Compute (nova):
New
Bug description:
During creation of instance through CLI or dashboard, i am getting
Unexpected error in logs. please find command and other related
openstack command outputs
Command and error
____________________
#openstack server create --flavor 73c42e28-0d38-4bc4-ad32-61b08474cdfa
--image Roka-New --nic net-id=a973a522-3893-4f0a-a643-95cae029744a
--security-group default --key-name mykey instance-1 --debug
POST call to compute for http://172.168.1.129:8774/v2/e6da88076d2847aca65e41b1d2093396/servers used request id req-c809d780-5615-4521-8647-bcbfe24b3f26
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-c809d780-5615-4521-8647-bcbfe24b3f26)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/display.py", line 112, in run
column_names, data = self.take_action(parsed_args)
File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 627, in take_action
server = compute_client.servers.create(*boot_args, **boot_kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1416, in create
**boot_kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 779, in _boot
return_raw=return_raw, **kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 361, in _create
resp, body = self.api.client.post(url, body=body)
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 223, in post
return self.request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 80, in request
raise exceptions.from_response(resp, body, url, method)
other related command results
_____________________________
[root@controller ~]# . /home/admin-openrc
[root@controller ~]# openstack flavor list
+----+---------+-----+------+-----------+-------+-----------+
| ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public |
+----+---------+-----+------+-----------+-------+-----------+
| 0 | m1.nano | 64 | 1 | 0 | 1 | True |
+----+---------+-----+------+-----------+-------+-----------+
[root@controller log]# openstack project list
+----------------------------------+----------+
| ID | Name |
+----------------------------------+----------+
| 2cf19b21164e432fb84cfed281481737 | service |
| 82df21eecb184130b15fbf337e3fcfbf | Roka2017 |
| e6da88076d2847aca65e41b1d2093396 | demo |
| f045d9ebb6f64ef0bfa580b3bc7a312e | admin |
+----------------------------------+----------+
[root@controller log]# openstack network list
+--------------------------------------+----------+--------------------------------------+
| ID | Name | Subnets |
+--------------------------------------+----------+--------------------------------------+
| 3cb5b804-f585-4455-92a4-360cefbb96f8 | outside | d014432c-ec96-48c8-9a83-adb69d18d943 |
| a973a522-3893-4f0a-a643-95cae029744a | demo-net | ec178c3e-8f99-428c-871c-3bb02c572d9d |
+--------------------------------------+----------+--------------------------------------+
[root@controller log]# openstack keypair list
+-------+-------------------------------------------------+
| Name | Fingerprint |
+-------+-------------------------------------------------+
| mykey | e9:74:b4:0b:bb:7f:68:5f:8d:ab:9e:ed:18:f5:7e:58 |
+-------+-------------------------------------------------+
[root@controller log]# openstack image list
+--------------------------------------+----------+--------+
| ID | Name | Status |
+--------------------------------------+----------+--------+
| c7f1f1b3-4ad8-4eb1-ac31-5e1171fa4593 | New-one | active |
| 3195c8b9-cddb-40cd-be63-e09117308a84 | RHEL7 | active |
| fdbb6f71-e22f-4fb0-bdf6-3826a0a729c8 | Roka-New | active |
+--------------------------------------+----------+--------+
[root@controller ~]# . /home/demo-openrc
[root@controller ~]# openstack flavor list
+--------------------------------------+-----------+------+------+-----------+-------+-----------+
| ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public |
+--------------------------------------+-----------+------+------+-----------+-------+-----------+
| 0 | m1.nano | 64 | 1 | 0 | 1 | True |
| 73c42e28-0d38-4bc4-ad32-61b08474cdfa | flavor-1G | 1024 | 1 | 0 | 1 | False |
+--------------------------------------+-----------+------+------+-----------+-------+-----------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1718190/+subscriptions
Follow ups