Ask Your Question
0

Dashboard log in failure [closed]

asked 2013-11-20 11:51:13 -0600

bgyako gravatar image

updated 2013-11-21 14:35:05 -0600

RESOLVED>>>>>>>

Please Help new to linux and openstack... Using grizzly clean install. Was working, but I had to re-install nova-conductor because I was not getting the smiley face. Once re-installed all the components had smiley faces, but I could no longer log into Dashboard. Using keystone for authentication. Do not see any traffic in apache2 error log, access log does show activity no errors. No errors in keystone log as well. Not sure where to go from here, Please help.

Distributor ID: Ubuntu Description: Ubuntu 12.04.3 LTS Release: 12.04 Codename: precise

For Install instructions used: http://docs.openstack.org/grizzly/basic-install/apt/content/index.html

Adding Additional error info with debug enabled: ConnectionError at /admin/ [Errno 111] Connection refused Request Method: GET Request URL: http://130.245.186.100/horizon/admin/ Django Version: 1.4.5 Exception Type: ConnectionError Exception Value:
[Errno 111] Connection refused Exception Location: /usr/lib/python2.7/dist-packages/requests/adapters.py in send, line 243 Python Executable: /usr/bin/python Python Version: 2.7.3 Python Path:
['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/share/openstack-dashboard/', '/usr/share/openstack-dashboard/openstack_dashboard'] Server time: Wed, 20 Nov 2013 22:11:45 +0000

Adding Nova.conf:

[DEFAULT] dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge=/usr/bin/nova-dhcpbridge logdir=/var/log/nova state_path=/var/lib/nova lock_path=/var/lock/nova force_dhcp_release=True iscsi_helper=tgtadm libvirt_use_virtio_for_bridges=True connection_type=libvirt root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf verbose=True ec2_private_dns_show_ip=True api_paste_config=/etc/nova/api-paste.ini volumes_path=/var/lib/nova/volumes enabled_apis=ec2,osapi_compute, metadata

sql_connection=mysql://nova:password@localhost/nova my_ip=10.10.10.10 rabbit_password=password auth_strategy=keystone

Networking

network_api_class=nova.network.quantumv2.api.API quantum_url=http://10.10.10.10:9696 quantum_auth_strategy=keystone quantum_admin_tenant_name=service quantum_admin_username=quantum quantum_admin_password=password quantum_admin_auth_url=http://10.10.10.10:35357/v2.0 libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver

Security Groups

firewall_driver=nova.virt.firewall.NoopFirewallDriver security_group_api=quantum

Metadata

quantum_metadata_proxy_shared_secret=password service_quantum_metadata_proxy=true metadata_listen = 10.10.10.10 metadata_listen_port = 8775

Cinder

volume_api_class=nova.volume.cinder.API

Glance

glance_api_servers=10.10.10.10:9292 image_service=nova.image.glance.GlanceImageService

novnc

novnc_enable=true novncproxy_port=6080 novncproxy_host=130.245.186.100 vncserver_listen=0.0.0.0

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2013-11-21 23:07:24.307494

Comments

After double checking all config files and rebooting the server Apache2 log shows below error with incorrect time stamp. error: [error] [client 130.245.189.38] File does not exist: /var/www/favicon.ico

bgyako gravatar imagebgyako ( 2013-11-20 15:24:55 -0600 )edit

Keystone error: Keystone Log: 2013-11-20 15:38:54 DEBUG [keystone.common.wsgi] {"access": {"token": {"issued_at": "2013-11-20T20:38:54.795409", "expires": "2013-11-21T20:38:54Z", "id": , "tenant": {"description": "", "enabled": true, "id": "b5590f420a0a4e09a0f52415da8188df", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://10.10.10.10:8774/v2/b5590f420a0a4e09a0f52415da8188df", "region": "RegionOne", "internalURL": "http://10.10.10.10:8774/v2/b5590f420a0a4e09a0f52415da8188df", "id": "16b14765a4964ee1a067e4495918b377", "publicURL": http://10.10.10.10:8774/v2/b5590f420a0a4e09a0f52415da8188df%22%7D] (http://10.10.10.10:8774/v2/b5590f420a0a4e09a0f52415da8188df"}]), "endpoints_links": [], "type":

bgyako gravatar imagebgyako ( 2013-11-20 15:28:14 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-11-20 13:19:43 -0600

smaffulli gravatar image

You're starting on Linux the hard way :) There are lots of reasons why you can't login anymore, especially if you don't see traffic coming in from Apache. Please edit your question adding more details, like the OS you're using and the method you've followed to install OpenStack. You may want to start over, too: it will give you more chances to learn about Linux and OpenStack while you do things over and over again.

edit flag offensive delete link more

Comments

I also confirmed all services (cinder, keystone, etc) are working. Confirmed keystone DB mappings. Here is the Keystone log and no errors.

bgyako gravatar imagebgyako ( 2013-11-20 14:57:35 -0600 )edit

I enabled debug and received more info from apache2 log.. Can you guide me in the right direction at least. [Wed Nov 20 22:11:45 2013] [error] REQ: curl -i http://10.10.10.10:8774/v2/b5590f420a0a4e09a0f52415da8188df/os-simple-tenant-usage?start=2013-11-01T00:00:00&end=2013-11-20T22:11:45.128450&detailed=1 -X GET -H "X-Auth-Project-Id: b5590f420a0a4e09a0f52415da8188df" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 5bdae067f3e8087aa89fe6537ee9db15" [Wed Nov 20 22:11:45 2013] [error] [Wed Nov 20 22:11:45 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 10.10.10.10 [Wed Nov 20 22:11:45 2013] [error] ERROR:django.request:Internal Server Error: /horizon/admin/ [Wed Nov 20 22:11:45 2013] [error] Traceback (most recent call last): [Wed Nov 20 22:11:45 2013] [error] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response [Wed Nov 20 22 ...(more)

bgyako gravatar imagebgyako ( 2013-11-20 16:19:46 -0600 )edit

[Wed Nov 20 22:11:45 2013] [error] File "/usr/lib/python2.7/dist-packages/requests/api.py", line 44, in request [Wed Nov 20 22:11:45 2013] [error] return session.request(method=method, url=url, **kwargs) [Wed Nov 20 22:11:45 2013] [error] File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 354, in request [Wed Nov 20 22:11:45 2013] [error] resp = self.send(prep, **send_kwargs) [Wed Nov 20 22:11:45 2013] [error] File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 460, in send [Wed Nov 20 22:11:45 2013] [error] r = adapter.send(request, **kwargs) [Wed Nov 20 22:11:45 2013] [error] File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 243, in send [Wed Nov 20 22:11:45 2013] [error] raise ConnectionError(sockerr) [Wed Nov 20 22:11:45 2013] [error] ConnectionError: [Errno 111] Connection refused

bgyako gravatar imagebgyako ( 2013-11-20 16:20:38 -0600 )edit

I see connection refused error message here. Can you look at more details on this connection refused ? Can you check your keystone is working fine ? like executing 'keystone user-list' etc Does you box has multiple interfaces ? Can you ensure that both the interfaces are up. What are the service endpoints ? Can you list them. I have seen the errors where service end point 'compute' was giving issue. By changing the same to 'Compute'(C is upper case) it started working fine.

dheeru gravatar imagedheeru ( 2013-11-20 23:18:13 -0600 )edit

Confirmed Keystone is working check other services like nova, all seem to be working returning responses. Box has 2 interfaces one public one private for compute hosts to communicate to and both are up..

bgyako gravatar imagebgyako ( 2013-11-21 08:36:16 -0600 )edit
0

answered 2013-11-21 09:17:24 -0600

bgyako gravatar image

Looks like nova-manage commands work as root, BUT nova list or any nova command fails ERROR: [Errno 111] Connection refused..

edit flag offensive delete link more

Comments

Issue resolved, found that nova-api was not running. When I tried starting the service it was nowhere to be found. Ended up install nova-api again and it is working.

bgyako gravatar imagebgyako ( 2013-11-21 14:33:51 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-11-20 11:51:13 -0600

Seen: 1,804 times

Last updated: Nov 21 '13