Error Unable To Retrieve Details For Instance Openstack
Contents |
following error message when you try error unable to retrieve usage information dashboard to access to an OpenStack instance: This openstack unable to retrieve instances is a generic error that sometimes is related with the metadata of
Error Unable To Retrieve Hypervisor Information
the affected instance. A good practice is to check what is the current status of the instance: $ nova
Devstack Unable To Retrieve Usage Information
show 99fd0970-d348-495b-a9ed-39555e839c9e If you find that there is a volume attached more than once: ... os-extended-volumes:volumes_attached | [{"id": "d83a67dd-df9e-4a6e-bbfd-8dbb08483c44"}, {"id": "3abba94a-cb3f-4b25-82e0-1197f9f0c365"}, {"id": "3abba94a-cb3f-4b25-82e0-1197f9f0c365"}, {"id": "3abba94a-cb3f-4b25-82e0-1197f9f0c365"}, {"id": "2594fa29-a144-4c4d-b2ae-b9eed6d6ec7c"}] ... You have found the problem. This is a very odd situation, but if you had messaging problems, maybe you can reach this situation. In fact, you can reach another “ugly” situation if you realize that the volume doesn’t exist yet: $ cinder list --all-tenants | grep 3abba94a-cb3f-4b25-82e0-1197f9f0c365 $ In order to fix this problem, you have two alternatives: * The easy way. * The ninja way. The affected table is “block_device_mapping” belonging to Nova database. The easy way Check how many entries already have this status: MariaDB [nova]> select id,instance_uuid,volume_id,deleted from nova.block_device_mapping where volume_id in (select id from cinder.volumes where status='deleted') and deleted=0; And fix it: Maria
-0500 S.Bharath 32 ●14 ●15 ●19 updated 2014-09-08 08:49:53 -0500 Hi, UPDATE1: Keystone logs this message every time i get
Unable To Get Nova Services List
the unable to retrieve message, funny thing is I have added the openstack error unable to retrieve images project to the flavor and the user is associated to that project so it should inherit the permission error: unable to retrieve network quota information. but its not doing that and expects to have admin permission for the user to retrieve the flavor details. 2014-09-08 19:14:27.647 4069 WARNING keystone.common.wsgi [-] You are not authorized to http://blog.carlos-spitzer.com/openstack-horizon-retrieve-instance-details/ perform the requested action, admin_required. UPDATE: If i set the user's role as "admin" login as that user it will retrieve the flavor without any errors but this cannot be exercised as the user cannot have admin rights but i did this only for testing, problem still remains :(. I was given a requirement to create 30 VM's, that https://ask.openstack.org/en/question/46978/http-exception-thrown-the-resource-could-not-be-found/ is 1 VM for each user and total 30 users, they shouldn't see each other's VMs so one way i knew of doing was to create project, a user and assign user to that project and the project is added to a Flavor, while there was no issue initially but after deploying around 20 VMs...whenever i log into users between 1 to 20 up on clicking Instances from the left panel it throws the below errors;- Error: Unable to retrieve details for instance "77521784-86a1-40e0-a083-ad0b560779dc and Error: Unable to retrieve instance size information. It seems the user's instance list fails to fetch the flavor and then tries to get it via nova-api and that also fails, from the code's logic if it cannot fetch flavor then don't even allow to drill down to instance or show console, below is the exception given in nova-api if anyone can help identify if this is a BUG, if it is fixed. Apache2 log is also giving similar error of resource cannot be found. 2014-09-08 17:44:13.564 4902 INFO nova.osapi_compute.wsgi.server [req-43c1e991-f6a6-4a70-835c-76f6f7b0f25e 3f1474d0b016486c869e488b048ef5bb ab48d34b
2015-03-18 10:24:17 -0500 HK 29 ●17 ●19 ●23 I have installed openstack having one https://ask.openstack.org/en/question/63291/errors-post-successful-installation-of-openstack/ controller and 2 compute nodes on centos 7. After successful https://ask.openstack.org/en/question/86236/error-unable-to-retrieve-usage-information-dashboard/ installation of openstack when i open dashboard it shows the following errors: Error: Unauthorized: Unable to retrieve network quota information. Error: Unauthorized: Unable to retrieve networks. Error: Unauthorized: Unable to retrieve list of security groups How do i resolve these unable to ? edit retag flag offensive close merge delete Comments1Verify that the services are running. Go to the CLI on the controller node, check the status of neutron,nova, keystone, and glance. Depending on you distro some tools to use are# openstack-status# openstack-service statusor just look at the individual services.jdexter( 2015-03-18 11:09:55 unable to retrieve -0500 )edit1That's correct# source keystonerc_admin # openstack-status # systemctl | grep openstack # systemctl | grep neutron dbaxps( 2015-03-18 11:26:42 -0500 )editopenstack-nova-compute: inactive (disabled on boot) openstack-nova-network: inactive (disabled on boot) neutron-lbaas-agent: inactive (disabled on boot) openstack-ceilometer-compute: inactive (disabled on bootHK( 2015-03-18 12:21:31 -0500 )editEverything else except for the services mentioned above a active and running.HK( 2015-03-18 12:25:58 -0500 )edit1Check your logs, auth is done through keystone (/var/log/keystone/keystone.log) Neutron is /var/log/neutron/server.log and horizon is /var/log/horizon/horizon.log THey may be able to get give a better reasonjdexter( 2015-03-18 13:11:22 -0500 )editadd a comment see more comments 2 answers Sort by » oldest newest most voted 1 answered 2015-03-19 11:44:06 -0500 dbaxps 9913 ●56 ●102 ●209 http://bderzhavets.blo... As a respond to most recent question ( as comment) Getting this Error: Failed to launch instance "XYZ": Please try again later [Error: Unexpected error while running command. Command: ssh 172.16.32.* mkdir -p /var/lib/nova/instances/520c1
nag 15 ●4 ●9 ●13 updated 2015-12-16 00:11:48 -0500 Bipin 561 ●9 ●17 ●26 http://stackbees.com/ Hi all, Every time i browse or launch instance and when try to create / attach the volume. I am seeing this error. error unable to retrieve usage information dashboard [root@controller opt]# cinder-manage service list /usr/lib/python2.7/site-packages/cinder/openstack/common/service.py:38: DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_config instead. from oslo.config import cfg No handlers could be found for logger "oslo_config.cfg" Binary Host Zone Status State Updated At cinder-scheduler controller nova enabled :-) 2015-12-16 06:09:04 cinder-volume cinder01@lvm nova enabled :-) 2015-12-16 06:09:00 cinder-volume controller nova enabled :-) 2015-12-16 06:09:01 Let me know if you need any information. Thanks, edit retag flag offensive close merge delete Commentscinder-volume is not not suppose to be in controller. its a mistake and now trying delete this record from database, but its recreating iby itself.nag( 2015-12-16 00:15:59 -0500 )editIf I remember correctly cinder-api is a service which accepts requests for cinder commands... I don't see cinder-api service in your output ... is it installed ?Prateek K( 2015-12-16 00:25:07 -0500 )editMy bad I totally forgot that wont come in this output ....From the output although some cinder services are missing but still they are enough to launch a volume.... Can you try creating a volume via command and then attach it to an instance.Prateek K( 2015-12-16 00:30:23 -0500 )editi am able to create and attach volumes.. sometimes in bw i could see that msg on top right. My current issue is able to ssh to cirros image, but could not ssh to ubuntu image using keypair: ssh -i keypair.pem ubuntu@