You have been subscribed to a public bug:
I hit this in a long running environment hosted on an openstack
deployment.
After a certain period of time (not sure how long) all provisioning
agent calls fail with 401 errors:
2012-08-09 10:55:25,555: juju.openstack@DEBUG: openstack: 401 '401
Unauthorized\n\nThis server could not verify that you are authorized to access
the document you requested. Either you supplied the wrong credentials (e.g.,
bad password), or your browser does not understand how to supply the
credentials required.\n\n Authentication required '
2012-08-09 10:55:25,556: juju.agents.provision@ERROR: Cannot get machine list
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/juju/agents/provision.py", line 175,
in process_machines
provider_machines = yield self.provider.get_machines()
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1043,
in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382,
in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/python2.7/dist-packages/juju/providers/openstack/provider.py",
line 103, in get_machines
instances = yield self.nova.list_servers()
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551,
in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python2.7/dist-packages/juju/providers/openstack/client.py",
line 268, in _json
response.code, body))
ProviderInteractionError: Unexpected 401: '401 Unauthorized\n\nThis server
could not verify that you are authorized to access the document you requested.
Either you supplied the wrong credentials (e.g., bad password), or your browser
does not understand how to supply the credentials required.\n\n Authentication
required '
restarting the provisioning agent on the bootstrap node resolved this
issue.
** Affects: juju
Importance: Critical
Status: Confirmed
** Affects: juju (Ubuntu)
Importance: Undecided
Status: New
--
authentication token expiry with openstack provider
https://bugs.launchpad.net/bugs/1034837
You received this bug notification because you are a member of Ubuntu Server
Team, which is subscribed to juju in Ubuntu.
--
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs