openstack image create "cirros" --file cirros-0.3.5-x86_64-disk.img --disk-format qcow2 --container-format bare --public | failed with error | 503 Service Unavailable: The server is currently unavailable. Please try again at a later time.(HTTP 503)

asked 2018-04-06 11:30:45 -0500

vjeet gravatar image

Deploying Queens for learning purpose on my laptop on VM. While doing this i am following the http://docs.openstack.org guide for minimal deployment for Queens. Till glance installation everything works fine but while verifying the image creation it failed.

#

From keystone

#

provider=fernet key_repository=/etc/keystone/fernet-keys/

glance-api.conf

[keystone_authtoken]

auth_uri = http://controller:5000 auth_url = http://controller:5000 memcached_servers = controller:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = glance password = start

logs

glance-api.log

2018-04-05 23:34:14.873 6119 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}: Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-2c322963-6cc1-49bd-8957-ef805c2c07a0) 2018-04-05 23:34:15.307 6119 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}: Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-b7c1ae5d-8526-48b2-9ca6-18d0c06653a5) 2018-04-05 23:34:15.307 6119 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Identity server rejected authorization necessary to fetch token data: ServiceErr or: Identity server rejected authorization necessary to fetch token data 2018-04-05 23:34:15.313 6119 INFO eventlet.wsgi.server [-] 10.0.0.11 - - [05/Apr/2018 23:34:15] "GET /v2/schemas/image HTTP/1.1" 503 370 0.841884

keystone-wsgi-public.log

2018-04-05 23:34:13.366 6213 INFO keystone.common.wsgi [req-773a8763-ed63-4b19-8a3f-a9cb30efcdca - - - - -] GET http://controller:5000/v3/ 2018-04-05 23:34:13.417 6210 INFO keystone.common.wsgi [req-223e5c63-bb38-4053-9767-f79d821aa22a - - - - -] POST http://controller:5000/v3/auth/tokens 2018-04-05 23:34:13.974 6210 WARNING keystone.common.token_utils [req-223e5c63-bb38-4053-9767-f79d821aa22a - - - - -] key_repository is world readable: /etc/keystone/fernet-keys/ 2018-04-05 23:34:13.993 6212 INFO keystone.common.wsgi [req-99667301-347d-408f-b85b-08c140c98aa3 - - - - -] POST http://controller:5000/v3/auth/tokens 2018-04-05 23:34:14.465 6212 WARNING keystone.common.token_utils [req-99667301-347d-408f-b85b-08c140c98aa3 - - - - -] key_repository is world readable: /etc/keystone/fernet-keys/ 2018-04-05 23:34:14.475 6209 INFO keystone.common.wsgi [req-2c322963-6cc1-49bd-8957-ef805c2c07a0 - - - - -] POST http://controller:5000/v3/auth/tokens 2018-04-05 23:34:14.872 6209 WARNING keystone.common.wsgi [req-2c322963-6cc1-49bd-8957-ef805c2c07a0 - - - - -] Authorization failed. The request you have made requires authentication. from 10.0.0.11: Unauthorized: The request you have made requires authentication. 2018-04-05 23:34:14.879 6211 INFO keystone.common.wsgi [req-b7c1ae5d-8526-48b2-9ca6-18d0c06653a5 - - - - -] POST http://controller:5000/v3/auth/tokens 2018-04-05 23:34:15.305 6211 WARNING keystone.common.wsgi [req-b7c1ae5d-8526-48b2-9ca6-18d0c06653a5 - - - - -] Authorization failed. The request you have made requires authentication. from 10.0.0.11: Unauthorized: The request you have made requires authentication.

edit retag flag offensive close merge delete