Worker not authenticating to API in upload_leases
Bug #1041158 reported by
Jeroen T. Vermeulen
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://
Related branches
lp:~jtv/maas/bug-1041158
- Gavin Panella (community): Approve
-
Diff: 91 lines (+19/-14)3 files modifiedsrc/maasserver/tests/test_api.py (+18/-0)
src/provisioningserver/dhcp/leases.py (+1/-1)
src/provisioningserver/dhcp/tests/test_leases.py (+0/-13)
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 |
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.
I think it's using the wrong URL. It's POSTing to /nodegroups/master/ - note, no /api/... in front.