Closed ryan-beisner closed 5 years ago
It looks like the .admin_token file needs to be owned by jenkins. Once I set that, the above errors went away and I could log into the Jenkins web UI with the configured user/pass. I've not proposed or modified the charm. That was just an exercise to confirm that is the issue.
-rw------- 1 jenkins jenkins 32 Apr 12 18:27 .admin_token
@ryan-beisner its this https://jenkins.io/blog/2018/07/02/new-api-token-system/
Closing this out, as #47 is now resolved.
_make_client exhausts retries until urllib.error.HTTPError: HTTP Error 401: Invalid password/token for user: ubuntu
This occurs with cs:xenial/jenkins-4 and cs:xenial/jenkins-2.