1 ===============================
2 How to deploy puppet-infracloud
3 ===============================
4 The manifest and mmodules defined on this repo will deploy an OpenStack cloud based on `Infra Cloud <http://docs.openstack.org/infra/system-config/infra-cloud.html>`_ project.
6 Once all the hardware is provisioned, enter in controller and compute nodes and follow these steps:
10 git clone https://gerrit.opnfv.org/gerrit/releng /opt/releng
12 2. Copy hiera to the right place::
14 cp /opt/releng/prototypes/puppet-infracloud/hiera/common.yaml /var/lib/hiera
18 cd /opt/releng/prototypes/puppet-infracloud
21 4. Apply the infracloud manifest::
23 cd /opt/releng/prototypes/puppet-infracloud
24 puppet apply manifests/site.pp --modulepath=/etc/puppet/modules:/opt/releng/prototypes/puppet-infracloud/modules
26 5. Once you finish this operation on controller and compute nodes, you will have a functional OpenStack cloud.
28 In jumphost, follow that steps:
32 git clone https://gerrit.opnfv.org/gerrit/releng /opt/releng
34 2. Create OpenStack clouds config directory::
36 mkdir -p /root/.config/openstack
38 3. Copy credentials file::
40 cp /opt/releng/prototypes/puppet-infracloud/creds/clouds.yaml /root/.config/openstack/
42 4. Install python-dev package as the installation of python-openstackclient depends on it
44 apt-get install -y python-dev
46 5. Install openstack-client. (version 3.2.0 is known to work)::
48 pip install python-openstackclient
50 6. Update /etc/hosts and add controller00::
52 192.168.122.3 controller00
53 192.168.122.3 controller00.opnfvlocal controller00
55 7. Export the desired cloud::
61 openstack service list