Comment 0 for bug 1660539

Revision history for this message
Cristian prieto sanchez (crps92) wrote :

After a complete installation of the Orchestration Service, at the moment to obtain the "openstack orchestration service list" I get : "ERROR: None".

I left my command log output.

-- openstack debug orchestration service list (just the error)

Starting new HTTP connection (1): controller
"GET /v1/cd152488db7b4f9088905df3163e4e86/services HTTP/1.1" 503 170
RESP: [503] Content-Length: 170 Content-Type: application/json; charset=UTF-8 X-Openstack-Request-Id: req-59b1fb8b-f9e8-4496-9468-e5f1952e8a58 Date: Tue, 31 Jan 2017 07:19:00 GMT Connection: keep-alive
RESP BODY: {"message": "The server is currently unavailable. Please try again at a later time.<br /><br />\n\n\n", "code": "503 Service Unavailable", "title": "Service Unavailable"}

ERROR: None
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 387, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 100, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/heatclient/osc/v1/service.py", line 37, in take_action
    services = heat_client.services.list()
  File "/usr/lib/python2.7/site-packages/heatclient/v1/services.py", line 33, in list
    return self._list(url, "services")
  File "/usr/lib/python2.7/site-packages/heatclient/openstack/common/apiclient/base.py", line 135, in _list
    body = self.client.get(url).json()
  File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 187, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 318, in request
    raise exc.from_response(resp)
HTTPServiceUnavailable: ERROR: None
clean_up ListService: ERROR: None
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 267, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 180, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 387, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 100, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/heatclient/osc/v1/service.py", line 37, in take_action
    services = heat_client.services.list()
  File "/usr/lib/python2.7/site-packages/heatclient/v1/services.py", line 33, in list
    return self._list(url, "services")
  File "/usr/lib/python2.7/site-packages/heatclient/openstack/common/apiclient/base.py", line 135, in _list
    body = self.client.get(url).json()
  File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 187, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 318, in request
    raise exc.from_response(resp)
HTTPServiceUnavailable: ERROR: None

END return value: 1

-- Keystone log

2017-01-31 08:18:59.274 3165 INFO keystone.common.wsgi [req-a0659be3-4d6c-4b14-808d-afa9387ec255 - - - - -] GET http://controller:35357/v3/
2017-01-31 08:18:59.300 3167 INFO keystone.common.wsgi [req-79f23267-27f9-4915-87e5-e4560cc1a07f - - - - -] POST http://controller:35357/v3/auth/tokens
2017-01-31 08:18:59.631 3169 INFO keystone.common.wsgi [req-90c5a97a-9d56-4399-ada1-cf8ae9ee7f1f - - - - -] POST http://controller:35357/v3/auth/tokens
2017-01-31 08:18:59.960 3167 INFO keystone.common.wsgi [req-6750929e-a65e-4ce1-95fd-fb269a624f25 - - - - -] POST http://controller:35357/v3/auth/tokens
2017-01-31 08:19:00.221 3167 WARNING keystone.common.wsgi [req-6750929e-a65e-4ce1-95fd-fb269a624f25 - - - - -] Authorization failed. The request you have made requires authentication. from 10.0.110.2
2017-01-31 08:19:00.232 3166 INFO keystone.common.wsgi [req-c01da22d-3f37-4a8b-b2d4-e70d85101e5f - - - - -] POST http://controller:35357/v3/auth/tokens
2017-01-31 08:19:00.484 3166 WARNING keystone.common.wsgi [req-c01da22d-3f37-4a8b-b2d4-e70d85101e5f - - - - -] Authorization failed. The request you have made requires authentication. from 10.0.110.2

-- heat.conf

[DEFAULT]
transport_url = rabbit://openstack:RABBITPASS@controller

heat_metadata_server_url = http://controller:8000
heat_waitcondition_server_url = http://controller:8000/v1/waitcondition

stack_domain_admin = heat_domain_admin
stack_domain_admin_password = HEATADMINPASS
stack_user_domain_name = heat

[database]

connection = mysql+pymysql://heat:HEATDBPASS@controller/heat

[clients_keystone]

auth_uri = http://controller:35357

[ec2authtoken]

auth_uri = http://controller:5000

[keystone_authtoken]

auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = heat
password = HEATPASS

[trustee]

auth_type = password
auth_url = http://controller:35357
username = heat
password = HEATPASS
user_domain_name = default

-- And my admin-openrc file

export OS_PROJECT_DOMAIN_NAME=Default
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=ADMINPASS
export OS_AUTH_URL=http://controller:35357/v3
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2

-----------------------------------
Release: 0.1 on 2017-01-31 05:38
SHA: 8b7691bb8f055b2e01c5a134322711e1fb923390
Source: http://git.openstack.org/cgit/openstack/heat/tree/install-guide/source/verify.rst
URL: http://docs.openstack.org/project-install-guide/orchestration/draft/verify.html