Worker not authenticating to API in upload_leases

Bug #1041158 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Jeroen T. Vermeulen

Bug Description

The upload_leases task's POST to update_leases on the API is not getting through.

It looks as if the request gets redirected to the login page, which can't be good: http://paste.ubuntu.com/1164321/

Related branches

summary: - Worker not authenticating to API in upload_leases?
+ Worker not authenticating to API in upload_leases
description: updated
Changed in maas:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Gavin Panella (allenap) wrote :

I think it's using the wrong URL. It's POSTing to /nodegroups/master/ - note, no /api/... in front.

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Yup! That explains why the request wasn't hitting piston's auth code at all.

Changed in maas:
assignee: nobody → Jeroen T. Vermeulen (jtv)
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → 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.