unable to list magnum service

Bug #1639683 reported by moose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
New
Undecided
Unassigned

Bug Description

i followed this tutorial to install magnum(http://docs.openstack.org/project-install-guide/container-infrastructure-management/newton/install-rdo.html), but when i list magnum service(> magnum service-list), it shows:

DEBUG (session:337) REQ: curl -g -i -X GET http://controller:9511/v1/mservices -H "OpenStack-API-Version: container-infra latest" -H "X-Auth-Token: {SHA1}7b1dad82d80be1a47944b2468b1b340ded821c34" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: None"
INFO (connectionpool:213) Starting new HTTP connection (1): controller
DEBUG (connectionpool:395) "GET /v1/mservices HTTP/1.1" 500 59
DEBUG (session:366) RESP: [500] Date: Mon, 07 Nov 2016 03:10:18 GMT Server: WSGIServer/0.1 Python/2.7.5 Content-Type: text/plain Content-Length: 59
RESP BODY: A server error occurred. Please contact the administrator.

DEBUG (shell:694) Internal Server Error (HTTP 500)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/magnumclient/shell.py", line 691, in main
    OpenStackMagnumShell().main(map(encodeutils.safe_decode, sys.argv[1:]))
  File "/usr/lib/python2.7/site-packages/magnumclient/shell.py", line 633, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/site-packages/magnumclient/v1/mservices_shell.py", line 22, in do_service_list
    mservices = cs.mservices.list()
  File "/usr/lib/python2.7/site-packages/magnumclient/v1/mservices.py", line 68, in list
    return self._list(self._path(path), "mservices")
  File "/usr/lib/python2.7/site-packages/magnumclient/common/base.py", line 121, in _list
    resp, body = self.api.json_request('GET', url)
  File "/usr/lib/python2.7/site-packages/magnumclient/common/httpclient.py", line 366, in json_request
    resp = self._http_request(url, method, **kwargs)
  File "/usr/lib/python2.7/site-packages/magnumclient/common/httpclient.py", line 350, in _http_request
    error_json.get('debuginfo'), method, url)
InternalServerError: Internal Server Error (HTTP 500)
ERROR: Internal Server Error (HTTP 500)

does anyone knowns why ?

-------------------------------------------------------------------------------------
[root@controller ~]# cat magnum.conf
[DEFAULT]

[api]
host = controller

[barbican_client]

[certificates]
cert_manager_type = x509keypair

[cinder_client]
region_name = RegionOne

[cluster]

[cluster_heat]

[cluster_template]

[conductor]

[cors]

[cors.subdomain]

[database]
connection = mysql+pymysql://magnum:MAGNUM_DBPASS@controller/magnum

[docker]

[docker_registry]

[glance_client]

[heat_client]

[keystone_auth]

[keystone_authtoken]
memcached_servers = controller:11211
auth_version = v3
auth_uri = http://controller:5000/v3
project_domain_id = default
project_name = service
user_domain_id = default
password = magnum
username = magnum
auth_url = http://controller:35357
auth_type = password

[magnum_client]

[matchmaker_redis]

[neutron_client]

[nova_client]

[oslo_concurrency]
lock_path = /var/lib/magnum/tmp

[oslo_messaging_amqp]

[oslo_messaging_notifications]
driver = messaging

[oslo_messaging_rabbit]
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = rabbit

[oslo_policy]

[trust]
trustee_domain_name = magnum
trustee_domain_admin_name = magnum_domain_admin
trustee_domain_admin_password = magnum_domain

[x509]

Revision history for this message
yatin (yatinkarel) wrote :

@moose, can you share magnum-api logs and your magnum.conf, may be then it can be understood the reason of error.

moose (bspeng922-q)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.