2016-11-07 05:25:19 |
moose |
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 ? |
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] |
|