Juju migrate failed with "permission denied"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Committed
|
High
|
Ian Booth |
Bug Description
I bootstrapped 2 Juju controllers versions 2.9.45 and 3.1.6 with candid as identity backend. In the candid side, I use static identity provider (username / password) as documented at https:/
I granted my telescreen@external account superuser privilege in juju3 side while granted login/add-model in juju2 side.
$ juju controllers
Use --refresh option with this command to see the latest information.
Controller Model User Access Cloud/Region Models Nodes HA Version
juju2* test telescreen@external login stsstack/stsstack 1 1 none 2.9.45
juju3 admin/controller telescreen@external superuser - 1 none 3.1.6
$ juju models
Controller: juju2
Model Cloud/Region Type Status Access Last connection
test* stsstack/stsstack openstack available - never connected
$ juju show-model test
test:
name: telescreen@
short-name: test
model-uuid: c232e506-
model-type: iaas
controller-uuid: 0a2287d9-
controller-name: juju2
is-controller: false
owner: telescreen@external
cloud: stsstack
region: stsstack
type: openstack
life: alive
status:
current: available
since: 33 minutes ago
users:
telescreen@
display-name: telescreen
access: admin
last-
sla: unsupported
agent-version: 2.9.45
credential:
name: telescreen@external
owner: telescreen@external
cloud: stsstack
validity-check: valid
supported-
- name: juju
description: the version of Juju used by the model
version: 2.9.45
As the show-model shows, I have admin access to the test model and admin privilege in juju3 controller side. Yet, when juju always shows "permission denied" when I try to migrate the test model.
$ juju migrate test juju3
ERROR permission denied (unauthorized access)
$
$ juju migrate telescreen@
ERROR permission denied (unauthorized access)
Changed in juju: | |
milestone: | 3.1.7 → 2.9.46 |
I attached juju controllers machine-0.log