2017-09-06 18:44:34 |
Nicholas Skaggs |
description |
As seen at
http://reports.vapour.ws/releases/issue/564c9f52749a564c5f12e153
An ambiguous case where Juju didn't bring up a replacement bootstrap instance. In debug we can see
06:38:51 ERROR juju.api.backups restore.go:136 could not clean up after failed restore attempt: cannot complete restore: <nil>: juju restore is in progress - API is disabled to prevent data loss
06:38:51 ERROR cmd supercommand.go:458 cannot perform restore: <nil>: restore failed: cannot open state: cannot create index: unauthorized mongo access: not authorized on juju to execute command { createIndexes: "actions", indexes: [ { name: "model-uuid_1_name_1", ns: "juju.actions", key: { model-uuid: 1, name: 1 } } ] } (unauthorized access)
06:38:51 DEBUG cmd supercommand.go:459 (error details: [{github.com/juju/juju/cmd/juju/backups/restore.go:419: } {github.com/juju/juju/api/backups/restore.go:137: cannot perform restore: <nil>} {github.com/juju/juju/api/apiclient.go:754: } {github.com/juju/retry/retry.go:187: } {github.com/juju/juju/rpc/client.go:149: } {restore failed: cannot open state: cannot create index: unauthorized mongo access: not authorized on juju to execute command { createIndexes: "actions", indexes: [ { name: "model-uuid_1_name_1", ns: "juju.actions", key: { model-uuid: 1, name: 1 } } ] } (unauthorized access)}]) |
As seen at
http://qa.jujucharms.com/releases/issue/564c9f52749a564c5f12e153
An ambiguous case where Juju didn't bring up a replacement bootstrap instance. In debug we can see
06:38:51 ERROR juju.api.backups restore.go:136 could not clean up after failed restore attempt: cannot complete restore: <nil>: juju restore is in progress - API is disabled to prevent data loss
06:38:51 ERROR cmd supercommand.go:458 cannot perform restore: <nil>: restore failed: cannot open state: cannot create index: unauthorized mongo access: not authorized on juju to execute command { createIndexes: "actions", indexes: [ { name: "model-uuid_1_name_1", ns: "juju.actions", key: { model-uuid: 1, name: 1 } } ] } (unauthorized access)
06:38:51 DEBUG cmd supercommand.go:459 (error details: [{github.com/juju/juju/cmd/juju/backups/restore.go:419: } {github.com/juju/juju/api/backups/restore.go:137: cannot perform restore: <nil>} {github.com/juju/juju/api/apiclient.go:754: } {github.com/juju/retry/retry.go:187: } {github.com/juju/juju/rpc/client.go:149: } {restore failed: cannot open state: cannot create index: unauthorized mongo access: not authorized on juju to execute command { createIndexes: "actions", indexes: [ { name: "model-uuid_1_name_1", ns: "juju.actions", key: { model-uuid: 1, name: 1 } } ] } (unauthorized access)}]) |
|