Update openstack-on-lxd procedure re: lxc profiles

It is necessary to wait for bootstrapping to be completed
before altering the juju-default profile.

Change-Id: If434edeaa72a5b1ca96b8578e8f97fc23db966b4
This commit is contained in:
Ryan Beisner 2018-09-28 13:57:39 -05:00
parent 3781cbd04d
commit 050d590add
1 changed files with 11 additions and 12 deletions

View File

@ -103,18 +103,6 @@ This should result in a running container you can exec into and back out of:
lxc exec <container-name> bash
exit
Juju Profile Update
~~~~~~~~~~~~~~~~~~~
Juju creates a couple of profiles for the models that it creates by default; these are named juju-default and juju-admin.
.. code:: bash
lxc profile create juju-default 2>/dev/null || echo "juju-default profile already exists"
cat lxd-profile.yaml | lxc profile edit juju-default
This will ensure that containers created by LXD for Juju have the correct permissions to run your OpenStack cloud.
Juju
====
@ -129,6 +117,17 @@ Prior to deploying the OpenStack on LXD bundle, you'll need to bootstrap a contr
Review the contents of the config.yaml prior to running this command and edit as appropriate; this configures some defaults for containers created in the model including setting up things like APT proxy to improve performance of network operations.
Juju Profile Update
~~~~~~~~~~~~~~~~~~~
Juju creates a couple of profiles for the models that it creates by default. After bootstrapping is complete, update the juju-default lxc profile:
.. code:: bash
cat lxd-profile.yaml | lxc profile edit juju-default
This will ensure that containers created by LXD for Juju have the correct permissions to run your OpenStack cloud.
Configure a PowerNV (ppc64el) Host
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~