maas-spaces2 bootstrap failure unrecognised signature

Bug #1548813 reported by Martin Packman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Invalid
High
Unassigned

Bug Description

The maas-spaces2 feature branch fails to bootstrap on maas 1.9 in CI with:

ERROR cmd supercommand.go:448 failed to bootstrap model: cannot start bootstrap instance: gomaasapi: got error back from server: 400 BAD REQUEST (Unrecognised signature: method=GET op=list)

<http://reports.vapour.ws/releases/issue/56cc5b80749a5678ace390b3>

Martin Packman (gz)
Changed in juju-core:
importance: High → Undecided
status: Triaged → Invalid
Revision history for this message
John George (jog) wrote :
Revision history for this message
Andrew McDermott (frobware) wrote :

We merged latest master changes into maas-spaces2 this morning:

    Merge master e13ffd1c into maas-spaces2

    The commit was blessed: http://reports.vapour.ws/releases/3655

I'm inclined to wait for the next CI run to see if this was either a) transient or b) fixed by the merge.

Revision history for this message
Andrew McDermott (frobware) wrote :

Just confirming the root cause from IRC:

<dimitern> voidspace, bootstrap error is due to spaces discovery indeed: "GET /MAAS/api/1.0/spaces/?op=list HTTP/1.1" 400 276 "-" "Go-http-client/1.1"
<dimitern> here's the line causing it https://github.com/juju/juju/compare/maas-spaces2#diff-9f2d224cfe3d5b5450772b51d95b625aR67

Should be 'read', not 'list'.

Revision history for this message
Andrew McDermott (frobware) wrote :
Revision history for this message
Michael Foord (mfoord) wrote :

Fix landing.

Revision history for this message
Dimiter Naydenov (dimitern) wrote :

Since this will affect master once maas-spaces2 gets merged into it, I'll backport the fix to master.

Changed in juju-core:
status: Invalid → In Progress
importance: Undecided → High
assignee: nobody → Dimiter Naydenov (dimitern)
milestone: none → 2.0-beta2
Revision history for this message
Andrew McDermott (frobware) wrote :

I'm confused why we're backporting as it's a) not a problem in master and b) we'll carry the fix through when we merge maas-spaces2 into master.

Revision history for this message
Dimiter Naydenov (dimitern) wrote :

It wasn't strictly necessary, but since I started working on a fix for bug 1549545 for master, I needed up-to-date gomaaasapi in master to be able to test.

Revision history for this message
Dimiter Naydenov (dimitern) wrote :

As I commented on bug 1549545, I'm putting the fix for this bug on hold for the same reasons.

Changed in juju-core:
status: In Progress → Triaged
assignee: Dimiter Naydenov (dimitern) → nobody
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta2 → 2.0-beta3
Curtis Hovey (sinzui)
Changed in juju-core:
status: Triaged → Invalid
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta3 → none
milestone: none → 2.0-beta3
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.