[Openstack] Domain not found error

Shyam Prasad N nspmangalore at gmail.com
Thu Apr 12 08:55:46 UTC 2018


Thanks Eugen :)

On Thu, Apr 12, 2018, 13:57 Eugen Block <eblock at nde.ag> wrote:

> The missing command has been in Newton, Ocata and Pike release. They
> fixed it in Queens again.
>
> I filed a bug report: https://bugs.launchpad.net/keystone/+bug/1763297
>
> Regards
>
>
> Zitat von Shyam Prasad N <nspmangalore at gmail.com>:
>
> > Thanks Eugen. It'll be great if you can do it. (I haven't yet gone
> through
> > the bug reporting documentation)
> > Please add me to the bug's CC list. That way if some info is needed from
> > me, I can provide it.
> >
> > Regards,
> > Shyam
> >
> > On Thu, Apr 12, 2018 at 12:48 PM, Eugen Block <eblock at nde.ag> wrote:
> >
> >> I believe there's something missing in Ocata and Pike docs. If you read
> >> Mitaka install guide [1] you'll find the first step to be creating the
> >> default domain before all other steps regarding projects and users.
> >>
> >> You should run
> >>
> >> openstack domain create --description "Default Domain" default
> >>
> >> and then the next steps should work, at least I hope so.
> >>
> >> Do you want to report this as a bug? I can also report it, I have
> already
> >> filed several reports.
> >>
> >> Regards
> >>
> >>
> >> [1] https://docs.openstack.org/mitaka/install-guide-obs/keystone
> >> -users.html
> >>
> >>
> >>
> >> Zitat von Shyam Prasad N <nspmangalore at gmail.com>:
> >>
> >> Hi,
> >>>
> >>> Please read my replies inline below...
> >>>
> >>> On Thu, Apr 12, 2018 at 12:10 PM, Eugen Block <eblock at nde.ag> wrote:
> >>>
> >>> Hi,
> >>>>
> >>>> can you paste the credentials you're using?
> >>>>
> >>>>  # cat admin-rc
> >>> export OS_USERNAME=admin
> >>> export OS_PASSWORD=abcdef
> >>> export OS_PROJECT_NAME=admin
> >>> export OS_USER_DOMAIN_NAME=Default
> >>> export OS_PROJECT_DOMAIN_NAME=Default
> >>> export OS_AUTH_URL=http://20.20.20.7:35357/v3
> >>> export OS_IDENTITY_API_VERSION=3
> >>>
> >>> The config values (e.g. domain) are case sensitive, the ID of the
> default
> >>>
> >>>> domain is usually "domain", its name is "Default". But if you're
> sourcing
> >>>> the credentials with ID "Default" this would go wrong, although I'm
> not
> >>>> sure if this would be the expected error message.
> >>>>
> >>>> Just a couple of weeks ago there was someone on ask.openstack.org who
> >>>> ignored case-sensitive options and failed to operate his cloud.
> >>>>
> >>>> Did the keystone-manage bootstrap command work?
> >>>>
> >>>> Yes. It did not throw any errors.
> >>>
> >>>
> >>>> Regards
> >>>>
> >>>>
> >>>> Zitat von Shyam Prasad N <nspmangalore at gmail.com>:
> >>>>
> >>>>
> >>>> Hi,
> >>>>
> >>>>>
> >>>>> I'm trying to install keystone for my swift cluster.
> >>>>> I followed this document for install and configuration:
> >>>>> https://docs.openstack.org/keystone/pike/install/
> >>>>>
> >>>>> However, I'm getting this error for a command:
> >>>>> # openstack user create --domain default --password-prompt swift
> >>>>> The request you have made requires authentication. (HTTP 401)
> >>>>> (Request-ID:
> >>>>> req-8f888754-1cf5-4c24-81b6-7481c9c0dfb8)
> >>>>>
> >>>>> # tail /var/log/keystone/keystone.log
> >>>>> 2018-04-11 22:45:10.895 29335 INFO keystone.common.wsgi
> >>>>> [req-147f239e-2205-40b5-8aea-40604c99b695 - - - - -] GET
> >>>>> http://20.20.20.7:35357/v3/
> >>>>> 2018-04-11 22:45:10.898 29335 INFO eventlet.wsgi.server
> >>>>> [req-147f239e-2205-40b5-8aea-40604c99b695 - - - - -] 20.20.20.7 - -
> >>>>> [11/Apr/2018 22:45:10] "GET /v3 HTTP/1.1" 200 493 0.062545
> >>>>> 2018-04-11 22:45:10.908 29335 INFO keystone.common.wsgi
> >>>>> [req-8f888754-1cf5-4c24-81b6-7481c9c0dfb8 - - - - -] POST
> >>>>> http://20.20.20.7:35357/v3/auth/tokens
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
> >>>>> [req-8f888754-1cf5-4c24-81b6-7481c9c0dfb8 - - - - -] Could not find
> >>>>> domain:
> >>>>> Default
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
> Traceback
> >>>>> (most recent call last):
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers   File
> >>>>> "/usr/lib/python2.7/dist-packages/keystone/auth/controllers.py", line
> >>>>> 185,
> >>>>> in _lookup_domain
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
> >>>>> domain_name)
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers   File
> >>>>> "/usr/lib/python2.7/dist-packages/keystone/common/manager.py", line
> >>>>> 124,
> >>>>> in
> >>>>> wrapped
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
> >>>>>  __ret_val
> >>>>> = __f(*args, **kwargs)
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers   File
> >>>>> "/usr/lib/python2.7/dist-packages/dogpile/cache/region.py", line
> 1053,
> >>>>> in
> >>>>> decorate
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
> >>>>> should_cache_fn)
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers   File
> >>>>> "/usr/lib/python2.7/dist-packages/dogpile/cache/region.py", line 657,
> >>>>> in
> >>>>> get_or_create
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
> >>>>> async_creator) as value:
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers   File
> >>>>> "/usr/lib/python2.7/dist-packages/dogpile/core/dogpile.py", line 158,
> >>>>> in
> >>>>> __enter__
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
>  return
> >>>>> self._enter()
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers   File
> >>>>> "/usr/lib/python2.7/dist-packages/dogpile/core/dogpile.py", line 98,
> in
> >>>>> _enter
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
> >>>>>  generated
> >>>>> = self._enter_create(createdtime)
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers   File
> >>>>> "/usr/lib/python2.7/dist-packages/dogpile/core/dogpile.py", line 149,
> >>>>> in
> >>>>> _enter_create
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
> >>>>>  created
> >>>>> =
> >>>>> self.creator()
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers   File
> >>>>> "/usr/lib/python2.7/dist-packages/dogpile/cache/region.py", line 625,
> >>>>> in
> >>>>> gen_value
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
> >>>>> created_value = creator()
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers   File
> >>>>> "/usr/lib/python2.7/dist-packages/dogpile/cache/region.py", line
> 1049,
> >>>>> in
> >>>>> creator
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
>  return
> >>>>> fn(*arg, **kw)
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers   File
> >>>>> "/usr/lib/python2.7/dist-packages/keystone/resource/core.py", line
> 720,
> >>>>> in
> >>>>> get_domain_by_name
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
>  raise
> >>>>> exception.DomainNotFound(domain_id=domain_name)
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
> >>>>> DomainNotFound: Could not find domain: Default
> >>>>> 2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers
> >>>>> 2018-04-11 22:45:11.016 29335 WARNING keystone.common.wsgi
> >>>>> [req-8f888754-1cf5-4c24-81b6-7481c9c0dfb8 - - - - -] Authorization
> >>>>> failed.
> >>>>> The request you have made requires authentication. from 20.20.20.7
> >>>>> 2018-04-11 22:45:11.018 29335 INFO eventlet.wsgi.server
> >>>>> [req-8f888754-1cf5-4c24-81b6-7481c9c0dfb8 - - - - -] 20.20.20.7 - -
> >>>>> [11/Apr/2018 22:45:11] "POST /v3/auth/tokens HTTP/1.1" 401 425
> 0.113822
> >>>>>
> >>>>> Can someone please tell me what's going on?
> >>>>> Thanks in advance for your replies.
> >>>>>
> >>>>> --
> >>>>> -Shyam
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>> --
> >>>> Eugen Block                             voice   : +49-40-559 51 75
> >>>> NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
> >>>> Postfach 61 03 15
> >>>> D-22423 Hamburg                         e-mail  : eblock at nde.ag
> >>>>
> >>>>         Vorsitzende des Aufsichtsrates: Angelika Mozdzen
> >>>>           Sitz und Registergericht: Hamburg, HRB 90934
> >>>>                   Vorstand: Jens-U. Mozdzen
> >>>>                    USt-IdNr. DE 814 013 983
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Mailing list: http://lists.openstack.org/cgi
> >>>> -bin/mailman/listinfo/openstac
> >>>> k
> >>>> Post to     : openstack at lists.openstack.org
> >>>> Unsubscribe : http://lists.openstack.org/cgi
> >>>> -bin/mailman/listinfo/openstac
> >>>> k
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> -Shyam
> >>>
> >>
> >>
> >>
> >> --
> >> Eugen Block                             voice   : +49-40-559 51 75
> >> NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
> >> Postfach 61 03 15
> >> D-22423 Hamburg                         e-mail  : eblock at nde.ag
> >>
> >>         Vorsitzende des Aufsichtsrates: Angelika Mozdzen
> >>           Sitz und Registergericht: Hamburg, HRB 90934
> >>                   Vorstand: Jens-U. Mozdzen
> >>                    USt-IdNr. DE 814 013 983
> >>
> >>
> >
> >
> > --
> > -Shyam
>
>
>
> --
> Eugen Block                             voice   : +49-40-559 51 75
> NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
> Postfach 61 03 15
> D-22423 Hamburg                         e-mail  : eblock at nde.ag
>
>          Vorsitzende des Aufsichtsrates: Angelika Mozdzen
>            Sitz und Registergericht: Hamburg, HRB 90934
>                    Vorstand: Jens-U. Mozdzen
>                     USt-IdNr. DE 814 013 983
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180412/785b5b75/attachment.html>


More information about the Openstack mailing list