Ask Your Question
0

Error: Unable to retrieve network quota information.

asked 2014-12-31 11:51:51 -0500

1885 gravatar image

updated 2014-12-31 19:35:08 -0500

9lives gravatar image

Test server: Hardware - Lenovo y50 - 16GB RAM - /boot swap (32GB) / (root about 50 GB) /home 120GB duel boot with window 8.1


Error from admin user: Error: Unable to retrieve network quota information. Errors from demo user: Error: Unable to retrieve list of security groups Error: Unable to retrieve networks.


When I try to start a test instance I get these errors: Danger: There was an error submitting the form. Please try again. Error: Unable to retrieve networks. Error: Unable to retrieve list of security groups


My network is: 192.168.1.0/24

Here is the nova-compute.log

 2014-12-31 11:30:47.818 6277 INFO nova.compute.resource_tracker [-] Compute_service record updated for vita.io:vita.io
2014-12-31 11:31:47.792 6277 ERROR nova.compute.manager [-] [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8] An error occurred while refreshing the network cache.
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8] Traceback (most recent call last):
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 5345, in _heal_instance_info_cache
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]     self._get_instance_nw_info(context, instance, use_slave=True)
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1231, in _get_instance_nw_info
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]     instance)
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 598, in get_instance_nw_info
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]     port_ids)
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 612, in _get_instance_nw_info
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]     port_ids)
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1353, in _build_network_info_model
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]     data = client.list_ports(**search_opts)
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/__init__.py", line 84, in wrapper
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]     ret = obj(*args, **kwargs)
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 98, in with_params
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]     ret = self.function(instance, *args, **kwargs)
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 312, in list_ports
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]     **_params)
2014-12-31 11:31:47.792 6277 TRACE nova.compute.manager [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8]   File "/usr ...
(more)
edit retag flag offensive close merge delete

Comments

I'm afraid you need to provide more details if you wish to receive an answer. Edit the question, check the logs and add more details as you go on learning.

smaffulli gravatar imagesmaffulli ( 2014-12-31 12:26:40 -0500 )edit

thank you

enter code here2014-12-31 11:30:47.818 6277 INFO nova.compute.resource_tracker [-] Compute_service record updated for vita.io:vita.io

2014-12-31 11:31:47.792 6277 ERROR nova.compute.manager [-] [instance: f90392b0-2b8b-490a-b0b5-e66a471af2a8] An error occurred while refreshing the net

1885 gravatar image1885 ( 2014-12-31 13:36:33 -0500 )edit

Also pls use the code tag when posting TRACE messages. Select the stacktrace and click the button w/ the 1s and 0s.

neerbeer gravatar imageneerbeer ( 2014-12-31 17:11:49 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
2

answered 2014-12-31 17:10:56 -0500

neerbeer gravatar image

"ConnectionFailed: Connection to neutron failed: HTTPConnectionPool(host='192.168.1.118', port=9696):" Is neutron up/running and reachable from controller ?

edit flag offensive delete link more

Comments

Wow. My services were not running. I am running centos7 and I ran "packstack --allinone". this generated a new admin and demo login. Now I get this error when I try to run an instance from admin. Error: Failed to launch instance "demo": Please try again later [Error: No valid host was found. ]

1885 gravatar image1885 ( 2015-01-01 10:19:55 -0500 )edit
0

answered 2015-01-03 09:03:49 -0500

1885 gravatar image

Solved the problem. The following services were not started.

systemctl restart openstack-nova-consoleauth ; systemctl restart openstack-nova-scheduler ; systemctl restart openstack-nova-conductor ; systemctl restart openstack-nova-compute ; systemctl restart openstack-nova-cert ;

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-12-31 11:51:51 -0500

Seen: 5,157 times

Last updated: Jan 03 '15