Cannot restore-backup of controller model

Bug #1585851 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Unassigned

Bug Description

As seen at
     http://reports.vapour.ws/releases/issue/5746666c749a56278c06c6f5

The call to restore-backup -m controller quickly fails. The error is like ERROR cmd supercommand.go:448 model local.functional-backup-restore:admin@local:admin not found This was first seen when the admin model was renamed to controller

Changed in juju-core:
importance: High → Critical
tags: added: blocker
Revision history for this message
Ian Booth (wallyworld) wrote :

Marked as duplicate because symptom may be slightly different but the underlying root cause is tied up in the same code and the fix for bug 1576874 will also address this issue.

Revision history for this message
Cheryl Jennings (cherylj) wrote :

This is because of the following lines in cmd/juju/backups/restore.go:

        // Reset current model to admin so first bootstrap succeeds.
        err = store.SetCurrentModel(controllerName, environs.AdminUser, "admin")
        if err != nil {
                return nil, errors.Trace(err)
        }

Changed in juju-core:
status: Triaged → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta8 → none
milestone: none → 2.0-beta8
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.