Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

'superuser' privilege required for ci-user #74

Open
bbcmicrocomputer opened this issue Feb 14, 2017 · 0 comments
Open

'superuser' privilege required for ci-user #74

bbcmicrocomputer opened this issue Feb 14, 2017 · 0 comments
Labels

Comments

@bbcmicrocomputer
Copy link

When using proxy servers with Juju, e.g.:

juju bootstrap --config ~/controller-config.yaml --model-default ~/controller-config.yaml --to bootstrap.maas maas maas-controller

where 'controller-config.yaml' contains:

http-proxy: http://x.x.x.x:yyyy
https-proxy: http://x.x.x.x:yyyy
no-proxy: localhost,127.0.0.1

The 'add-model' privilege ('juju grant ciuser add-model') isn't enough for registered controllers in cwr to read model-defaults and thus don't use proxy variables when deploying.

I had to grant a registered controller 'superuser' privilege within Juju to make proxy variables work, e.g.:

juju grant ciuser superuser

Docs need updating to reflect this (perhaps even make 'superuser' the default permission to grant).

@johnsca johnsca added the high label Mar 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants