Share cloud credentials on the controller
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Our original machine is configured with an openstack cloud and credentials, which we used to bootstrap the controller.
On the original machine, as the admin user, we ran:
$ juju add-user vpil-01
$ juju grant vpil-01 addmodel
On a different machine which does -not- have openstack cloud or credentials, we register the vpil-01 user and observe that we're not able to create models:
$ juju register MGsTB3ZwaWwtMD...
$ juju add-model test
ERROR no credential specified
However, if we logout and login as admin on that same machine, we can add models with no problem:
$ juju logout
$ juju login admin
$ juju add-model test2
Added 'test2' model on vpil-openstack/
Occurs using Juju 2.0 RC2.
Changed in juju: | |
milestone: | 2.0.0 → 2.0.1 |
assignee: | Anastasia (anastasia-macmood) → nobody |
status: | In Progress → Triaged |
Changed in juju: | |
milestone: | 2.0.1 → none |
Changed in juju: | |
milestone: | none → 2.1-beta2 |
tags: | added: cwr-ci matrix |
Changed in juju: | |
milestone: | 2.2-beta1 → 2.2-beta2 |
Changed in juju: | |
milestone: | 2.2-beta2 → 2.2-beta3 |
Changed in juju: | |
milestone: | 2.2-beta3 → 2.2-beta4 |
Changed in juju: | |
milestone: | 2.2-beta4 → 2.2-rc1 |
tags: | removed: matrix |
This is working as expected.
Users need to be granted permissions to create models.
Admin users have this permission by default.