nova boot instance failing

asked 2015-09-01 06:47:07 -0500

ravindert gravatar image

updated 2015-09-01 08:20:12 -0500

 [root@controller ~(keystone)]# nova boot --flavor 1 --image cirros --security_group default --nic net-id=2f4e1e1e-fae9-44fd-8c2d-86e564e9d523  cirros
ERROR (NotFound): The resource could not be found. (HTTP 404) (Request-ID: req-a4fec5a4-5834-4517-8c8c-00aa18d2b666)
[root@controller ~(keystone)]#

[root@controller ~(keystone)]# nova net-list
+--------------------------------------+-----------+-------------+
| ID                                   | Label     | CIDR        |
+--------------------------------------+-----------+-------------+
| ea204113-2046-47a3-a11b-2ba514ee7a1f | network01 | 10.1.0.0/24 |
+--------------------------------------+-----------+-------------+
[root@controller ~(keystone)]# neutron  net-list
+--------------------------------------+------------+-------------------------------------------------------+
| id                                   | name       | subnets                                               |
+--------------------------------------+------------+-------------------------------------------------------+
| cd8a8f69-96e1-40d4-b609-4cdaf4d8c665 | sharednet1 | 9a383b00-5f30-42aa-abe1-8e36c076d73a 10.0.0.0/24      |
| 2f4e1e1e-fae9-44fd-8c2d-86e564e9d523 | int_net    | 046621da-79d0-4b23-bd89-add4f8a19bbc 192.168.100.0/24 |
| d93175a1-d5ca-4f53-ab31-833e8127ccd8 | new_net    | e039824b-08f0-4fee-8ffa-99cc4e98b07c 172.168.100.0/24 |
| 8184320e-e23f-4ffd-b83a-fac1173b0c9a | ext_net    | e31bfab1-643b-4c5b-94f6-c605f7710919 10.0.0.0/24      |
+--------------------------------------+------------+-------------------------------------------------------+


 2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack NoNetworksFound: No networks defined.
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack Traceback (most recent call last):
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack     executor_callback))
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack     executor_callback)
edit retag flag offensive close merge delete

Comments

Have you sourced the admin user or demo user. Some networks are avaiable for demo user and some are not.

Syed Awais Ali gravatar imageSyed Awais Ali ( 2015-09-02 02:48:46 -0500 )edit