ERROR juju-log The call within manager.py failed with the error: 'The request you have made requires authentication. (HTTP 401)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Keystone Charm |
Triaged
|
High
|
Unassigned |
Bug Description
During a gate test for a different charm for release combination xenial-ocata:
Traceback (most recent call last):
File "/tmp/tmp.
sys.
File "/tmp/tmp.
bundle=
File "/tmp/tmp.
run_
File "/tmp/tmp.
config_
File "/tmp/tmp.
run_
File "/tmp/tmp.
utils.
File "/tmp/tmp.
_v3()
File "/usr/lib/
next(self.gen)
File "/tmp/tmp.
model.
File "/tmp/tmp.
return run(_run_it())
File "/tmp/tmp.
return task.result()
File "/usr/lib/
raise self._exception
File "/usr/lib/
result = coro.send(None)
File "/tmp/tmp.
return await f(*args, **kwargs)
File "/tmp/tmp.
raise UnitError(
zaza.model.
/var/log/
2019-11-13 00:12:32 INFO juju-log Registered config file: /etc/keystone/
2019-11-13 00:12:32 INFO juju-log Registered config file: /etc/keystone/
2019-11-13 00:12:32 INFO juju-log Registered config file: /etc/haproxy/
2019-11-13 00:12:32 INFO juju-log Registered config file: /etc/apache2/
2019-11-13 00:12:32 INFO juju-log Registered config file: /etc/keystone/
2019-11-13 00:12:33 INFO juju-log Registered config file: /etc/cron.
2019-11-13 00:12:33 INFO juju-log Registered config file: /etc/cron.
2019-11-13 00:12:33 INFO juju-log Registered config file: /etc/apache2/
2019-11-13 00:12:33 INFO juju-log Registered config file: /etc/memcached.conf
2019-11-13 00:12:35 DEBUG juju-log Hardening function 'config_changed'
2019-11-13 00:12:35 DEBUG juju-log No hardening applied to 'config_changed'
2019-11-13 00:12:36 DEBUG juju-log Hardening function 'config_
2019-11-13 00:12:36 DEBUG juju-log No hardening applied to 'config_
2019-11-13 00:12:39 INFO juju-log Installing [] with options: ['--option=
2019-11-13 00:12:39 DEBUG config-changed Reading package lists...
2019-11-13 00:12:39 DEBUG config-changed Building dependency tree...
2019-11-13 00:12:39 DEBUG config-changed Reading state information...
2019-11-13 00:12:39 DEBUG config-changed 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
2019-11-13 00:12:39 DEBUG config-changed inactive
2019-11-13 00:12:40 DEBUG config-changed none
2019-11-13 00:12:40 INFO juju-log Configuring Keystone to use a random admin token.
2019-11-13 00:12:40 INFO juju-log Loading a previously generated admin token from /var/lib/
2019-11-13 00:12:40 INFO juju-log Loaded template from templates/
2019-11-13 00:12:40 INFO juju-log Rendering from template: /etc/apache2/
2019-11-13 00:12:40 INFO juju-log Wrote template /etc/apache2/
2019-11-13 00:12:41 INFO juju-log Checking no pids for apache2 exist
2019-11-13 00:12:41 DEBUG config-changed 31513
2019-11-13 00:12:41 DEBUG config-changed 31516
2019-11-13 00:12:41 DEBUG config-changed 31517
2019-11-13 00:12:41 INFO juju-log Retrying 'check_pids_gone' 5 more times (delay=3)
2019-11-13 00:12:44 INFO juju-log Checking no pids for apache2 exist
2019-11-13 00:12:52 INFO juju-log Installing [] with options: ['--option=
2019-11-13 00:12:52 DEBUG config-changed Reading package lists...
2019-11-13 00:12:52 DEBUG config-changed Building dependency tree...
2019-11-13 00:12:52 DEBUG config-changed Reading state information...
2019-11-13 00:12:52 DEBUG config-changed 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
2019-11-13 00:12:52 DEBUG config-changed none
2019-11-13 00:12:53 INFO juju-log Configuring Keystone to use a random admin token.
2019-11-13 00:12:53 INFO juju-log Loading a previously generated admin token from /var/lib/
2019-11-13 00:12:53 INFO juju-log Loaded template from templates/
2019-11-13 00:12:53 INFO juju-log Rendering from template: /etc/apache2/
2019-11-13 00:12:53 INFO juju-log Wrote template /etc/apache2/
2019-11-13 00:12:54 INFO juju-log Configuring Keystone to use a random admin token.
2019-11-13 00:12:54 INFO juju-log Loading a previously generated admin token from /var/lib/
2019-11-13 00:12:54 DEBUG config-changed ERROR no relation id specified
2019-11-13 00:12:54 INFO juju-log HAProxy context is incomplete, this unit has no peers.
2019-11-13 00:12:54 DEBUG config-changed none
2019-11-13 00:12:54 DEBUG juju-log 0 section(s) found
2019-11-13 00:12:54 INFO juju-log Loaded template from templates/
2019-11-13 00:12:54 INFO juju-log Rendering from template: /etc/keystone/
2019-11-13 00:12:54 INFO juju-log Wrote template /etc/keystone/
2019-11-13 00:12:55 INFO juju-log Loaded template from templates/
2019-11-13 00:12:55 INFO juju-log Rendering from template: /etc/apache2/
2019-11-13 00:12:55 INFO juju-log Wrote template /etc/apache2/
2019-11-13 00:12:55 INFO juju-log Configuring Keystone to use a random admin token.
2019-11-13 00:12:55 INFO juju-log Loading a previously generated admin token from /var/lib/
2019-11-13 00:12:55 INFO juju-log Loaded template from templates/
2019-11-13 00:12:55 INFO juju-log Rendering from template: /etc/keystone/
2019-11-13 00:12:55 INFO juju-log Wrote template /etc/keystone/
2019-11-13 00:12:55 INFO juju-log Loaded template from templates/
2019-11-13 00:12:55 INFO juju-log Rendering from template: /etc/cron.
2019-11-13 00:12:55 INFO juju-log Wrote template /etc/cron.
2019-11-13 00:12:56 INFO juju-log Loaded template from templates/
2019-11-13 00:12:56 INFO juju-log Rendering from template: /etc/cron.
2019-11-13 00:12:56 INFO juju-log Wrote template /etc/cron.
2019-11-13 00:12:56 INFO juju-log Loaded template from /var/lib/
2019-11-13 00:12:56 INFO juju-log Rendering from template: /etc/memcached.conf
2019-11-13 00:12:56 INFO juju-log Wrote template /etc/memcached.
2019-11-13 00:12:56 DEBUG juju-log Ensuring haproxy enabled in /etc/default/
2019-11-13 00:12:57 INFO juju-log HAProxy context is incomplete, this unit has no peers.
2019-11-13 00:12:57 INFO juju-log Loaded template from /var/lib/
2019-11-13 00:12:57 INFO juju-log Rendering from template: /etc/haproxy/
2019-11-13 00:12:57 INFO juju-log Wrote template /etc/haproxy/
2019-11-13 00:12:57 INFO juju-log Loaded template from templates/
2019-11-13 00:12:57 INFO juju-log Rendering from template: /etc/keystone/
2019-11-13 00:12:57 INFO juju-log Wrote template /etc/keystone/
2019-11-13 00:12:57 DEBUG config-changed none
2019-11-13 00:12:57 INFO juju-log Configuring Keystone to use a random admin token.
2019-11-13 00:12:57 INFO juju-log Loading a previously generated admin token from /var/lib/
2019-11-13 00:12:57 INFO juju-log Configuring Keystone to use a random admin token.
2019-11-13 00:12:58 INFO juju-log Loading a previously generated admin token from /var/lib/
2019-11-13 00:12:58 DEBUG config-changed Site openstack_
2019-11-13 00:12:58 INFO juju-log Updating NRPE configuration
2019-11-13 00:12:58 INFO juju-log Installing python-dbus with options: ['--option=
2019-11-13 00:12:58 DEBUG config-changed Reading package lists...
2019-11-13 00:12:58 DEBUG config-changed Building dependency tree...
2019-11-13 00:12:58 DEBUG config-changed Reading state information...
2019-11-13 00:12:58 DEBUG config-changed python-dbus is already the newest version (1.2.0-3).
2019-11-13 00:12:58 DEBUG config-changed 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
2019-11-13 00:12:58 INFO juju-log Check command not found: check_systemd.py
2019-11-13 00:12:59 INFO juju-log Check command not found: check_systemd.py
2019-11-13 00:12:59 INFO juju-log Check command not found: check_systemd.py
2019-11-13 00:12:59 INFO juju-log Nagios user not set up, nrpe checks not updated
2019-11-13 00:12:59 DEBUG config-changed none
2019-11-13 00:12:59 INFO juju-log Configuring Keystone to use a random admin token.
2019-11-13 00:12:59 INFO juju-log Loading a previously generated admin token from /var/lib/
2019-11-13 00:12:59 INFO juju-log Loaded template from templates/
2019-11-13 00:12:59 INFO juju-log Rendering from template: /etc/apache2/
2019-11-13 00:12:59 INFO juju-log Wrote template /etc/apache2/
2019-11-13 00:12:59 INFO juju-log Configuring Keystone to use a random admin token.
2019-11-13 00:12:59 INFO juju-log Loading a previously generated admin token from /var/lib/
2019-11-13 00:13:00 INFO juju-log HAProxy context is incomplete, this unit has no peers.
2019-11-13 00:13:00 DEBUG config-changed none
2019-11-13 00:13:00 DEBUG juju-log 0 section(s) found
2019-11-13 00:13:00 INFO juju-log Loaded template from templates/
2019-11-13 00:13:00 INFO juju-log Rendering from template: /etc/keystone/
2019-11-13 00:13:00 INFO juju-log Wrote template /etc/keystone/
2019-11-13 00:13:00 INFO juju-log Loaded template from templates/
2019-11-13 00:13:00 INFO juju-log Rendering from template: /etc/apache2/
2019-11-13 00:13:00 INFO juju-log Wrote template /etc/apache2/
2019-11-13 00:13:00 INFO juju-log Configuring Keystone to use a random admin token.
2019-11-13 00:13:00 INFO juju-log Loading a previously generated admin token from /var/lib/
2019-11-13 00:13:01 INFO juju-log Loaded template from templates/
2019-11-13 00:13:01 INFO juju-log Rendering from template: /etc/keystone/
2019-11-13 00:13:01 INFO juju-log Wrote template /etc/keystone/
2019-11-13 00:13:01 INFO juju-log Loaded template from templates/
2019-11-13 00:13:01 INFO juju-log Rendering from template: /etc/cron.
2019-11-13 00:13:01 INFO juju-log Wrote template /etc/cron.
2019-11-13 00:13:01 INFO juju-log Loaded template from templates/
2019-11-13 00:13:01 INFO juju-log Rendering from template: /etc/cron.
2019-11-13 00:13:01 INFO juju-log Wrote template /etc/cron.
2019-11-13 00:13:01 INFO juju-log Loaded template from /var/lib/
2019-11-13 00:13:01 INFO juju-log Rendering from template: /etc/memcached.conf
2019-11-13 00:13:01 INFO juju-log Wrote template /etc/memcached.
2019-11-13 00:13:02 DEBUG juju-log Ensuring haproxy enabled in /etc/default/
2019-11-13 00:13:02 INFO juju-log HAProxy context is incomplete, this unit has no peers.
2019-11-13 00:13:02 INFO juju-log Loaded template from /var/lib/
2019-11-13 00:13:02 INFO juju-log Rendering from template: /etc/haproxy/
2019-11-13 00:13:02 INFO juju-log Wrote template /etc/haproxy/
2019-11-13 00:13:03 INFO juju-log Loaded template from templates/
2019-11-13 00:13:03 INFO juju-log Rendering from template: /etc/keystone/
2019-11-13 00:13:03 INFO juju-log Wrote template /etc/keystone/
2019-11-13 00:13:03 DEBUG juju-log Database is initialised
2019-11-13 00:13:04 DEBUG config-changed /usr/lib/
2019-11-13 00:13:04 DEBUG config-changed warnings.
2019-11-13 00:13:04 DEBUG juju-log Tenant 'admin' already exists.
2019-11-13 00:13:04 DEBUG juju-log Tenant 'services' already exists.
2019-11-13 00:13:04 DEBUG juju-log Creating service credentials for 'admin'
2019-11-13 00:13:04 DEBUG config-changed Traceback (most recent call last):
2019-11-13 00:13:04 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:04 DEBUG config-changed result = {'result': _callable(
2019-11-13 00:13:04 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:04 DEBUG config-changed if manager.
2019-11-13 00:13:04 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:04 DEBUG config-changed for user in self.api.
2019-11-13 00:13:04 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:04 DEBUG config-changed return f(*args, **kwargs)
2019-11-13 00:13:04 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:04 DEBUG config-changed return wrapped(*args, **kwargs)
2019-11-13 00:13:04 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:04 DEBUG config-changed **kwargs)
2019-11-13 00:13:04 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:04 DEBUG config-changed return f(*args, **new_kwargs)
2019-11-13 00:13:04 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:04 DEBUG config-changed self.collection
2019-11-13 00:13:04 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:04 DEBUG config-changed resp, body = self.client.
2019-11-13 00:13:04 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:04 DEBUG config-changed return self.request(url, 'GET', **kwargs)
2019-11-13 00:13:04 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:04 DEBUG config-changed resp = super(LegacyJso
2019-11-13 00:13:04 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:04 DEBUG config-changed return self.session.
2019-11-13 00:13:04 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:04 DEBUG config-changed return wrapped(*args, **kwargs)
2019-11-13 00:13:04 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:04 DEBUG config-changed raise exceptions.
2019-11-13 00:13:04 DEBUG config-changed Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-6320c658-
2019-11-13 00:13:04 ERROR juju-log The call within manager.py failed with the error: 'The request you have made requires authentication. (HTTP 401) (Request-ID: req-6320c658-
2019-11-13 00:13:04 INFO juju-log Retrying '_ensure_
2019-11-13 00:13:07 DEBUG juju-log Tenant 'admin' already exists.
2019-11-13 00:13:07 DEBUG juju-log Tenant 'services' already exists.
2019-11-13 00:13:08 DEBUG juju-log Creating service credentials for 'admin'
2019-11-13 00:13:08 DEBUG config-changed Traceback (most recent call last):
2019-11-13 00:13:08 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:08 DEBUG config-changed result = {'result': _callable(
2019-11-13 00:13:08 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:08 DEBUG config-changed if manager.
2019-11-13 00:13:08 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:08 DEBUG config-changed for user in self.api.
2019-11-13 00:13:08 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:08 DEBUG config-changed return f(*args, **kwargs)
2019-11-13 00:13:08 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:08 DEBUG config-changed return wrapped(*args, **kwargs)
2019-11-13 00:13:08 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:08 DEBUG config-changed **kwargs)
2019-11-13 00:13:08 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:08 DEBUG config-changed return f(*args, **new_kwargs)
2019-11-13 00:13:08 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:08 DEBUG config-changed self.collection
2019-11-13 00:13:08 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:08 DEBUG config-changed resp, body = self.client.
2019-11-13 00:13:08 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:08 DEBUG config-changed return self.request(url, 'GET', **kwargs)
2019-11-13 00:13:08 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:08 DEBUG config-changed resp = super(LegacyJso
2019-11-13 00:13:08 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:08 DEBUG config-changed return self.session.
2019-11-13 00:13:08 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:08 DEBUG config-changed return wrapped(*args, **kwargs)
2019-11-13 00:13:08 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:08 DEBUG config-changed raise exceptions.
2019-11-13 00:13:08 DEBUG config-changed Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-7d41850e-
2019-11-13 00:13:08 ERROR juju-log The call within manager.py failed with the error: 'The request you have made requires authentication. (HTTP 401) (Request-ID: req-7d41850e-
2019-11-13 00:13:08 INFO juju-log Retrying '_ensure_
2019-11-13 00:13:14 DEBUG juju-log Tenant 'admin' already exists.
2019-11-13 00:13:14 DEBUG juju-log Tenant 'services' already exists.
2019-11-13 00:13:14 DEBUG juju-log Creating service credentials for 'admin'
2019-11-13 00:13:14 DEBUG config-changed Traceback (most recent call last):
2019-11-13 00:13:14 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:14 DEBUG config-changed result = {'result': _callable(
2019-11-13 00:13:14 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:14 DEBUG config-changed if manager.
2019-11-13 00:13:14 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:14 DEBUG config-changed for user in self.api.
2019-11-13 00:13:14 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:14 DEBUG config-changed return f(*args, **kwargs)
2019-11-13 00:13:14 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:14 DEBUG config-changed return wrapped(*args, **kwargs)
2019-11-13 00:13:14 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:14 DEBUG config-changed **kwargs)
2019-11-13 00:13:14 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:14 DEBUG config-changed return f(*args, **new_kwargs)
2019-11-13 00:13:14 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:14 DEBUG config-changed self.collection
2019-11-13 00:13:14 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:14 DEBUG config-changed resp, body = self.client.
2019-11-13 00:13:14 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:14 DEBUG config-changed return self.request(url, 'GET', **kwargs)
2019-11-13 00:13:14 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:14 DEBUG config-changed resp = super(LegacyJso
2019-11-13 00:13:14 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:14 DEBUG config-changed return self.session.
2019-11-13 00:13:14 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:14 DEBUG config-changed return wrapped(*args, **kwargs)
2019-11-13 00:13:14 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:14 DEBUG config-changed raise exceptions.
2019-11-13 00:13:14 DEBUG config-changed Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-e22a9021-
2019-11-13 00:13:14 ERROR juju-log The call within manager.py failed with the error: 'The request you have made requires authentication. (HTTP 401) (Request-ID: req-e22a9021-
2019-11-13 00:13:14 INFO juju-log Retrying '_ensure_
2019-11-13 00:13:24 DEBUG juju-log Tenant 'admin' already exists.
2019-11-13 00:13:24 DEBUG juju-log Tenant 'services' already exists.
2019-11-13 00:13:24 DEBUG juju-log Creating service credentials for 'admin'
2019-11-13 00:13:24 DEBUG config-changed Traceback (most recent call last):
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed result = {'result': _callable(
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed if manager.
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed for user in self.api.
2019-11-13 00:13:24 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:24 DEBUG config-changed return f(*args, **kwargs)
2019-11-13 00:13:24 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:24 DEBUG config-changed return wrapped(*args, **kwargs)
2019-11-13 00:13:24 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:24 DEBUG config-changed **kwargs)
2019-11-13 00:13:24 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:24 DEBUG config-changed return f(*args, **new_kwargs)
2019-11-13 00:13:24 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:24 DEBUG config-changed self.collection
2019-11-13 00:13:24 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:24 DEBUG config-changed resp, body = self.client.
2019-11-13 00:13:24 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:24 DEBUG config-changed return self.request(url, 'GET', **kwargs)
2019-11-13 00:13:24 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:24 DEBUG config-changed resp = super(LegacyJso
2019-11-13 00:13:24 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:24 DEBUG config-changed return self.session.
2019-11-13 00:13:24 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:24 DEBUG config-changed return wrapped(*args, **kwargs)
2019-11-13 00:13:24 DEBUG config-changed File "/usr/lib/
2019-11-13 00:13:24 DEBUG config-changed raise exceptions.
2019-11-13 00:13:24 DEBUG config-changed Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-4f2193e5-
2019-11-13 00:13:24 ERROR juju-log The call within manager.py failed with the error: 'The request you have made requires authentication. (HTTP 401) (Request-ID: req-4f2193e5-
2019-11-13 00:13:24 DEBUG config-changed Traceback (most recent call last):
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed main()
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed hooks.execute(
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed self._hooks[
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed stopstart, restart_functions)
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed r = lambda_f()
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed (lambda: f(*args, **kwargs)), __restart_
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed return f(*args, **kwargs)
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed config_
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed stopstart, restart_functions)
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed r = lambda_f()
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed (lambda: f(*args, **kwargs)), __restart_
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed return f(*args, **kwargs)
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed ensure_
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed return _ensure_
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed return f(*args, **kwargs)
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed new_roles=
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed if user_exists(user, domain=domain):
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed return manager.
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed return _proxy_
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed return f(*args, **kwargs)
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed raise e
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed raise RuntimeError(s)
2019-11-13 00:13:24 DEBUG config-changed RuntimeError: The call within manager.py failed with the error: 'The request you have made requires authentication. (HTTP 401) (Request-ID: req-4f2193e5-
2019-11-13 00:13:24 DEBUG config-changed /var/lib/
2019-11-13 00:13:24 DEBUG config-changed /var/lib/
2019-11-13 00:13:24 DEBUG config-changed /var/lib/
2019-11-13 00:13:24 DEBUG config-changed /var/lib/
2019-11-13 00:13:24 DEBUG config-changed Traceback (most recent call last):
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed uds_client.
2019-11-13 00:13:24 DEBUG config-changed File "/var/lib/
2019-11-13 00:13:24 DEBUG config-changed raise UDSException(
2019-11-13 00:13:24 DEBUG config-changed uds_comms.
2019-11-13 00:13:24 ERROR juju.worker.
description: | updated |
Changed in charm-keystone: | |
status: | New → Triaged |
importance: | Undecided → High |
These happen when the underlying keystone service has restarted but the manager.py hasn't noticed/been restarted itself. I think there probably needs to be some logic in the manager.py to read the PID of the local keystone service when the manager.py first connects, and then if this error occurs during a an attempt to use the keystone API and the PID has changed, to re-connect to the new service, using the existing credentials. Thoughts?