Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
provider/lxd: add interactive auth-type #6941
Conversation
| + | ||
| +Until support is added for verifying and authenticating to remote LXD hosts, | ||
| +you must generate the credential by hand, adding the certificate to LXD using | ||
| +the "lxc config trust" command. |
wallyworld
Feb 8, 2017
Owner
Can we point the user to online doc here, just like we do in other cases, eg how to properly configure lxd kernel params.
The text tells to user something needs to be done but doesn't show them how etc. Online we can walk them through the steps. When to run autoload-credential? When to choose interactive vs certificate etc. Describe the main usage scenarios.
|
Additional QA step:
|
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
$$merge$$ |
|
Build failed: Generating tarball failed |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
axw commentedFeb 8, 2017
Description of change
Add the "interactive" auth-type for LXD, which is
used in add-credential for interactively adding a
credential for a LXD cloud. Currently we only
support generating credentials for local LXD;
later we will extend this to support generating
credentials for remote, untrusted LXD by prompting
the user to verify the certificate fingerprint and
enter a trust password.
QA steps
Documentation changes
There is a change in workflow, but probably unusual enough that it doesn't need documenting?
Bug reference
Does not fix any bugs, but hopefully alleviates some of the pain caused by https://bugs.launchpad.net/juju/+bug/1662587.