<div dir="ltr">Hi,<br><br clear="all"><div>I'm trying to install keystone for my swift cluster. <br></div><div>I followed this document for install and configuration:<br><a href="https://docs.openstack.org/keystone/pike/install/">https://docs.openstack.org/keystone/pike/install/</a><br><br></div><div>However, I'm getting this error for a command:<br># openstack user create --domain default --password-prompt swift<br>The request you have made requires authentication. (HTTP 401) (Request-ID: req-8f888754-1cf5-4c24-81b6-7481c9c0dfb8)<br><br># tail /var/log/keystone/keystone.log<br>2018-04-11 22:45:10.895 29335 INFO keystone.common.wsgi [req-147f239e-2205-40b5-8aea-40604c99b695 - - - - -] GET <a href="http://20.20.20.7:35357/v3/">http://20.20.20.7:35357/v3/</a><br>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<br>2018-04-11 22:45:10.908 29335 INFO keystone.common.wsgi [req-8f888754-1cf5-4c24-81b6-7481c9c0dfb8 - - - - -] POST <a href="http://20.20.20.7:35357/v3/auth/tokens">http://20.20.20.7:35357/v3/auth/tokens</a><br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers [req-8f888754-1cf5-4c24-81b6-7481c9c0dfb8 - - - - -] Could not find domain: Default<br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers Traceback (most recent call last):<br>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<br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers     domain_name)<br>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<br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers     __ret_val = __f(*args, **kwargs)<br>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<br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers     should_cache_fn)<br>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<br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers     async_creator) as value:<br>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__<br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers     return self._enter()<br>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<br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers     generated = self._enter_create(createdtime)<br>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<br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers     created = self.creator()<br>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<br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers     created_value = creator()<br>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<br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers     return fn(*arg, **kw)<br>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<br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers     raise exception.DomainNotFound(domain_id=domain_name)<br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers DomainNotFound: Could not find domain: Default<br>2018-04-11 22:45:11.011 29335 ERROR keystone.auth.controllers <br>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<br>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<br><br></div><div>Can someone please tell me what's going on?<br></div><div>Thanks in advance for your replies.<br></div><div><br></div><div>-- <br><div class="gmail_signature">-Shyam</div>
</div></div>