Manila authentication

asked 2016-11-29 02:44:36 -0500

Matt303 gravatar image

Hello @ll,

I am using openstack in a test environment and it is version 2.3.0 (I think Newton). I am using debian 8as OS and I am following the guide on www.openstack.org.

At the moment I have issues with manila authentication. I have checked if I had executed the commands of the openstack guide a second time but I was unable to get manila to work.

I am using this commando for verifying:

manila service list

And as a result:

ERROR: Service Unavailable

And in /var/log/manila/manila-api.log:

2016-11-29 08:50:42.794 5759 DEBUG eventlet.wsgi.server [-] (5759) accepted ('::ffff:10.0.0.204', 48910, 0, 0) server /usr/lib/python2.7/dist-packages/eventlet/wsgi.py:867
2016-11-29 08:50:42.797 5759 INFO manila.api.openstack.wsgi [-] GET http://controller:8786/
2016-11-29 08:50:42.798 5759 DEBUG manila.api.openstack.wsgi [-] Unrecognized Content-Type provided in request get_body /usr/lib/python2.7/dist-packages/manila/api/openstack/wsgi.py:642
2016-11-29 08:50:42.799 5759 DEBUG manila.api.openstack.wsgi [-] Calling method '<bound method VersionsController.all of <manila.api.versions.VersionsController object at 0x7fdd6eaf0b50>>' _process_stack /usr/lib/python2.7/dist-packages/manila/api/openstack/wsgi.py:790
2016-11-29 08:50:42.800 5759 INFO manila.api.openstack.wsgi [-] http://controller:8786/ returned with HTTP 300
2016-11-29 08:50:42.805 5759 INFO eventlet.wsgi.server [-] ::ffff:10.0.0.204 - - [29/Nov/2016 08:50:42] "GET / HTTP/1.1" 300 890 0.008196
2016-11-29 08:50:43.092 5759 DEBUG eventlet.wsgi.server [-] (5759) accepted ('::ffff:10.0.0.204', 48912, 0, 0) server /usr/lib/python2.7/dist-packages/eventlet/wsgi.py:867
2016-11-29 08:50:43.113 5759 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
2016-11-29 08:50:43.132 5759 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
2016-11-29 08:50:43.133 5759 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Identity server rejected authorization necessary to fetch token data
2016-11-29 08:50:43.139 5759 INFO eventlet.wsgi.server [-] ::ffff:10.0.0.204 - - [29/Nov/2016 08:50:43] "GET /v2/ca77a1956ef2426195fb3eb73785229e/services HTTP/1.1" 503 335 0.045052

I had also checked the mysql login with manila. That worked. There is also manila listening on port 8786. In "openstack user list" is manila.

This is manila.conf on the controller:

[DEFAULT]
debug = True
transport_url = rabbit://openstack:PASS@controller
default_share_type = default_share_type
share_name_template = share-%s
rootwrap_config = /etc/manila/rootwrap.conf
api_paste_config = /etc/manila/api-paste.ini
auth_strategy = keystone
my_ip = 10.0.0.204
[cinder]
[cors]
[cors.subdomain]
[database]
connection = mysql+pymysql://manila:PASS@controller/manila
[keystone_authtoken]
memcached_servers = controller:11211
auth_uri = http://controller:5000
auth_url = http://controller:35357
auth_type = password
project_domain_id = default
user_domain_id = default
project_name = service
username = manila
password = PASS
admin_token=4b443ae69956a373c73f
auth_token=4b443ae69956a373c73f
[matchmaker_redis]
[neutron]
[nova]
[oslo_concurrency]
lock_path = /var/lock/manila
[oslo_messaging_amqp]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_middleware]
[oslo_policy]

Maybe ... (more)

edit retag flag offensive close merge delete