charm-store not acessible from osci-task -- not logged in: no push to charmstore happening

Bug #1859439 reported by Alex Kavanagh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Charm Test Infra
Fix Released
Undecided
Unassigned

Bug Description

Logs:

++ charm push /var/lib/jenkins/workspace/charm_pusher_nova-cloud-controller_master/nova-cloud-controller '~openstack-charmers-next/nova-cloud-controller'
Opening an authorization web page in your browser.
If it does not open, please open this URL:
https://api.jujucharms.com/identity/login?did=<snipped>
Couldn't find a suitable web browser!
Set the BROWSER environment variable to your desired browser.
ERROR cannot log in: cannot retrieve the authentication macaroon: cannot get discharge from "https://api.jujucharms.com/identity": cannot acquire discharge token: cannot unmarshal error response (status 502 Proxy Error): unexpected content type text/html; want application/json; content: 502 Proxy Error; Proxy Error; The proxy server received an invalid response from an upstream server; The proxy server could not handle the request; GET /identity/wait-token; Reason:; Error reading from remote server; Apache/2.4.7 (Ubuntu) Server at api.jujucharms.com Port 443
++ set +x
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording fingerprints
No emails were triggered.
Finished: FAILURE

And also:

$ juju run --app=osci-task "sudo -u jenkins /snap/bin/charm whoami"
- Stderr: ""
  Stdout: |
    not logged into https://api.jujucharms.com/charmstore
  UnitId: osci-task/0
- Stderr: ""
  Stdout: |
    not logged into https://api.jujucharms.com/charmstore
  UnitId: osci-task/1
- Stderr: ""
  Stdout: |
    not logged into https://api.jujucharms.com/charmstore
  UnitId: osci-task/2
- Stderr: ""
  Stdout: |
    not logged into https://api.jujucharms.com/charmstore
  UnitId: osci-task/3

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Ryan Beisner logged the affected units back in. This has resolved the issue.

Changed in charm-test-infra:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.