[Openstack] Savanna error

Sagar Shimpi sshimpi at expedia.com
Fri Sep 20 12:05:17 UTC 2013


Hi team

I am using -
Redhat 6.4 64-bit
RDO -> rdo-release-grizzly-3.noarch

I installed RDO grizzly on my desktop and I am able to login to the dashboard. Also I am able to create Vm's and login into the VM's.

I tried to install Savanna following guidelines given on  - https://savanna.readthedocs.org/en/latest/userdoc/installation.guide.html

I completed the steps given in -  "To install into a virtual environment"
I am able to see the "SAVANNA" tab in Openstack dashboard, but when I click the savanna tab I am getting error saying "Something went wrong!"


Following are my logs -
------------------------------
tail -f /var/log/keystone/keystone.log

2013-09-20 17:22:08  WARNING [keystone.common.wsgi] Authorization failed. The request you have made requires authentication. from 172.26.35.81
2013-09-20 17:22:57  WARNING [keystone.common.wsgi] Authorization failed. The request you have made requires authentication. from 172.26.35.81
2013-09-20 17:23:46  WARNING [keystone.common.wsgi] Authorization failed. The request you have made requires authentication. from 172.26.35.81
2013-09-20 17:24:35  WARNING [keystone.common.wsgi] Authorization failed. The request you have made requires authentication. from 172.26.35.81
2013-09-20 17:26:19  WARNING [keystone.common.wsgi] Authorization failed. The request you have made requires authentication. from 172.26.35.81
2013-09-20 17:27:08  WARNING [keystone.common.wsgi] Authorization failed. The request you have made requires authentication. from 172.26.35.81
2013-09-20 17:27:57  WARNING [keystone.common.wsgi] Authorization failed. The request you have made requires authentication. from 172.26.35.81
2013-09-20 17:28:46  WARNING [keystone.common.wsgi] Authorization failed. The request you have made requires authentication. from 172.26.35.81
2013-09-20 17:29:35  WARNING [keystone.common.wsgi] Authorization failed. The request you have made requires authentication. from 172.26.35.81
2013-09-20 17:30:42  WARNING [keystone.common.wsgi] Authorization failed. The request you have made requires authentication. from 127.0.0.1
2013-09-20 17:31:19  WARNING [keystone.common.wsgi] Authorization failed. The request you have made requires authentication. from 172.26.35.81

------------------------------
tail -f /var/log/savanna.log

2013-09-20 17:32:03.721 31415 DEBUG keystoneclient.middleware.auth_token [-] Authenticating user token __call__ /root/savanna-venv/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py:445
2013-09-20 17:32:03.721 31415 DEBUG keystoneclient.middleware.auth_token [-] Removing headers from request environment: X-Identity-Status,X-Domain-Id,X-Domain-Name,X-Project-Id,X-Project-Name,X-Project-Domain-Id,X-Project-Domain-Name,X-User-Id,X-User-Name,X-User-Domain-Id,X-User-Domain-Name,X-Roles,X-Service-Catalog,X-User,X-Tenant-Id,X-Tenant-Name,X-Tenant,X-Role _remove_auth_headers /root/savanna-venv/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py:503
2013-09-20 17:32:03.767 31415 WARNING keystoneclient.middleware.auth_token [-] Unexpected response from keystone service: {u'error': {u'message': u'The request you have made requires authentication.', u'code': 401, u'title': u'Not Authorized'}}
2013-09-20 17:32:03.767 31415 DEBUG keystoneclient.middleware.auth_token [-] Token validation failure. _validate_user_token /root/savanna-venv/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py:704
2013-09-20 17:32:03.767 31415 TRACE keystoneclient.middleware.auth_token Traceback (most recent call last):
2013-09-20 17:32:03.767 31415 TRACE keystoneclient.middleware.auth_token   File "/root/savanna-venv/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 699, in _validate_user_token
2013-09-20 17:32:03.767 31415 TRACE keystoneclient.middleware.auth_token     data = self.verify_uuid_token(user_token, retry)
2013-09-20 17:32:03.767 31415 TRACE keystoneclient.middleware.auth_token   File "/root/savanna-venv/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 995, in verify_uuid_token
2013-09-20 17:32:03.767 31415 TRACE keystoneclient.middleware.auth_token     headers = {'X-Auth-Token': self.get_admin_token()}
2013-09-20 17:32:03.767 31415 TRACE keystoneclient.middleware.auth_token   File "/root/savanna-venv/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 554, in get_admin_token
2013-09-20 17:32:03.767 31415 TRACE keystoneclient.middleware.auth_token     self.admin_token_expiry) = self._request_admin_token()
2013-09-20 17:32:03.767 31415 TRACE keystoneclient.middleware.auth_token   File "/root/savanna-venv/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 674, in _request_admin_token
2013-09-20 17:32:03.767 31415 TRACE keystoneclient.middleware.auth_token     raise ServiceError('invalid json response')
2013-09-20 17:32:03.767 31415 TRACE keystoneclient.middleware.auth_token ServiceError: invalid json response
2013-09-20 17:32:03.767 31415 TRACE keystoneclient.middleware.auth_token
2013-09-20 17:32:03.768 31415 DEBUG keystoneclient.middleware.auth_token [-] Marking token bc895966e9bab6912fdb7befb4e99590 as unauthorized in memcache _cache_store_invalid /root/savanna-venv/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py:965
2013-09-20 17:32:03.768 31415 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token bc895966e9bab6912fdb7befb4e99590
2013-09-20 17:32:03.769 31415 INFO keystoneclient.middleware.auth_token [-] Invalid user token - rejecting request
------------------------------

[root at openstack ]# cat /root/savanna-venv/etc/savanna.conf
[DEFAULT]

# REST API config
port=8386

# Address and credentials that will be used to check auth tokens
os_auth_host=172.26.35.81
os_auth_port=35357
os_admin_username=admin
os_admin_password=openstack
os_admin_tenant_name=admin

# When set to false, Savanna uses only internal IP of VMs.
# When set to true, Savanna expects OpenStack to auto-
# assign floating IPs to cluster nodes. Internal IPs will
# be used for inter-cluster communication, while floating
# ones will be used by Savanna to configure nodes. Also
# floating IPs will be exposed in service URLs.
#use_floating_ips=True

# The suffix of the node's FQDN. In nova-network that is
# dhcp_domain config parameter (string value)
#node_domain=novalocal

# List of plugins to be loaded. Savanna preserves the order of
# the list when returning it. (list value)
plugins=vanilla,hdp


[plugin:vanilla]
plugin_class=savanna.plugins.vanilla.plugin:VanillaProvider

[plugin:hdp]
plugin_class=savanna.plugins.hdp.ambariplugin:AmbariPlugin

[database]

# URL for sqlalchemy database (string value)
connection=sqlite:////tmp/savanna-server.db

------------------------------

[root at openstack]# cat /root/keystonerc_admin
export OS_USERNAME=admin
export OS_TENANT_NAME=admin
export OS_PASSWORD=openstack
export OS_AUTH_URL=http://172.26.35.81:35357/v2.0/
export PS1='[\u@\h \W(keystone_admin)]\$ '
[root at openstack ]#
-------------------------------------------------------------------------------------------

Can you please guide me where it is gng wrong ?



Sagar Shimpi
Expedia India
22nd Floor, DLF Building 5C, DLF Cyber City Phase III Gurgaon 122002, Haryana India
DDI: 0124 6170828 | Mobile: +91 <tel:%2B91%2098738%2039565> 8800911665
E-mail:  sshimpi at expedia.com<mailto:tlodha at expedia.com>
[cid:C550160C-7357-49B1-B1EB-4908C4313442]<http://www.expediajobs.com/>[cid:EAE35D86-53BE-4F11-84D8-A785E02960AF]<http://twitter.com/expedia_jobs>[cid:F65E3D87-1826-4FB0-B7BB-6FFE7CB336DB]<http://www.facebook.com/expedia>[cid:75A13A2F-1F3B-4542-ABD7-C96E58EAD311]<http://www.youtube.com/watch?v=BYvroQMbWBk>
Please consider the environment before printing this e-mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130920/d652e86e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4223BBED-DF84-4DDA-AB29-210CCCD59880[4].png
Type: image/png
Size: 5013 bytes
Desc: 4223BBED-DF84-4DDA-AB29-210CCCD59880[4].png
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130920/d652e86e/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BBCDF80E-DFE8-4510-BD03-18DF646CD01C[4].png
Type: image/png
Size: 4681 bytes
Desc: BBCDF80E-DFE8-4510-BD03-18DF646CD01C[4].png
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130920/d652e86e/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DCAFB94A-5382-40E0-A922-97A3F70D405C[4].png
Type: image/png
Size: 4315 bytes
Desc: DCAFB94A-5382-40E0-A922-97A3F70D405C[4].png
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130920/d652e86e/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: F766545D-BD07-4D8D-8F6E-AFAC7952B680[4].png
Type: image/png
Size: 4437 bytes
Desc: F766545D-BD07-4D8D-8F6E-AFAC7952B680[4].png
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130920/d652e86e/attachment-0003.png>


More information about the Openstack mailing list