Ask Your Question
0

Mitaka installation issue on glance get an "The service catalog is empty" on openstack user create --domain default --password-prompt glance

asked 2016-10-25 14:00:26 -0500

keith.hui gravatar image

updated 2016-11-04 15:38:53 -0500

rbowen gravatar image

Follow the instruction on installing Mitaka and on the part on image, follow the instruction on create glance database then process to .admin-openrc. When input command "openstack user create --domain default --password-prompt glance", I got a return "The service catalog is empty"! please help below is the debug message

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 108, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 255, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 374, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 92, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/dist-packages/openstackclient/common/utils.py", line 45, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openstackclient/identity/v3/user.py", line 107, in take_action
    parsed_args.domain).id
  File "/usr/lib/python2.7/dist-packages/openstackclient/identity/common.py", line 55, in find_domain
    domains.Domain)
  File "/usr/lib/python2.7/dist-packages/openstackclient/identity/common.py", line 117, in _find_identity_resource
    name_or_id, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openstackclient/common/utils.py", line 106, in find_resource
    return manager.find(**kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 75, in func
    return f(*args, **new_kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 430, in find
    self.collection_key)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 124, in _list
    resp, body = self.client.get(url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 170, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 206, in request
    resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 95, in request
    return self.session.request(url, method, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openstackclient/common/session.py", line 40, in request
    resp = super(TimingSession, self).request(url, method, **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 325, in request
    base_url = self.get_endpoint(auth, **endpoint_filter)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 660, in get_endpoint
    return auth.get_endpoint(self, **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 319, in get_endpoint
    service_name=service_name)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py", line 255, in url_for
    raise exceptions.EmptyCatalog(_('The service catalog is empty.'))
EmptyCatalog: The service catalog is empty.

END return value: 1

Thanks for your help in advance, Keith

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-05 07:37:24 -0500

theque42 gravatar image

And what is the output from openstack catalog list? You have created all service endpoints? And keystone is up and running properly?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2016-10-25 14:00:26 -0500

Seen: 558 times

Last updated: Nov 05 '16