[Openstack] OpenStack kilo with Ubuntu 14.04 keystone error ConnectionRefused: Unable to establish connection to http://controller:35357/v2.0/OS-KSADM/services

Guohua Li heavenkong at gmail.com
Sat Dec 19 10:50:31 UTC 2015


*I just stopped the firewall, and can not connet to http://controller:35357
<http://controller:35357>, please help !*


root at controller:~# openstack service create --debug  --name keystone
--description "OpenStack Identity" identity

DEBUG: openstackclient.shell clean_up CreateService

DEBUG: openstackclient.shell got an error: Unable to establish connection
to http://controller:35357/v2.0/OS-KSADM/services

ERROR: openstackclient.shell Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line
176, in run

    return super(OpenStackShell, self).run(argv)

  File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 238, in run

    result = self.run_subcommand(remainder)

  File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in
run_subcommand

    result = cmd.run(parsed_args)

  File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run

    column_names, data = self.take_action(parsed_args)

  File
"/usr/lib/python2.7/dist-packages/openstackclient/identity/v2_0/service.py",
line 88, in take_action

    parsed_args.description)

  File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/services.py",
line 43, in create

    return self._create("/OS-KSADM/services", body, "OS-KSADM:service")

  File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 151,
in _create

    return self._post(url, body, response_key, return_raw, **kwargs)

  File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 165,
in _post

    resp, body = self.client.post(url, body=body, **kwargs)

  File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line
170, in post

    return self.request(url, 'POST', **kwargs)

  File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line
200, in request

    resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)

  File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line
89, in request

    return self.session.request(url, method, **kwargs)

  File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line
318, in inner

    return func(*args, **kwargs)

  File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line
374, in request

    resp = send(**kwargs)

  File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line
417, in _send_request

    raise exceptions.ConnectionRefused(msg)

ConnectionRefused: Unable to establish connection to
http://controller:35357/v2.0/OS-KSADM/services

영원히 살 것 처럼 꿈꾸고 내일 죽을 것 처럼 살자 !
This too shall pass away !

※ 리국화 LI GUOHUA
※ 건국대학교 대학원 신기술융합학과 박사과정
※ 융합 컴퓨팅 연구실 (IC Lab)
※ iIT, Department of Advanced Technology Fusion, Konkuk University
※ Industry-University Cooperation Bldg. 805
※ KonKuk University, Hwayang-dong, Gwangjin-Gu, Seoul 143-701 South Korea
※ Cell Phone: +82) 10-3666-8263
※ E-mail: heavenkong at gmail.com <heavenkong at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20151219/a7fbb7a4/attachment.html>


More information about the Openstack mailing list