From 763e94df5d391004b5ac3e5e740ef8161dd80b71 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Fri, 2 Sep 2016 13:08:20 +0200 Subject: [PATCH] Fix problems and add missing info to puppet-infracloud instructions The instructions in README file will be automated later on so they are just documented for the timebeing in order to prevent others from facing issues while they try to follow the steps. Change-Id: I38fe2609da6389a1cd120075f8eea243edd28e58 Signed-off-by: Fatih Degirmenci --- prototypes/puppet-infracloud/README.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/prototypes/puppet-infracloud/README.md b/prototypes/puppet-infracloud/README.md index dd9e7bb9f..37d575c33 100644 --- a/prototypes/puppet-infracloud/README.md +++ b/prototypes/puppet-infracloud/README.md @@ -31,7 +31,7 @@ In jumphost, follow that steps: git clone https://gerrit.opnfv.org/gerrit/releng /opt/releng -2. Create OpenStack clouds config directory: +2. Create OpenStack clouds config directory:: mkdir -p /root/.config/openstack @@ -39,14 +39,23 @@ In jumphost, follow that steps: cp /opt/releng/prototypes/puppet-infracloud/creds/clouds.yaml /root/.config/openstack/ -4. Install openstack-client: +4. Install python-dev package as the installation of python-openstackclient depends on it + + apt-get install -y python-dev + +5. Install openstack-client. (version 3.2.0 is known to work):: pip install python-openstackclient -5. Export the desired cloud:: +6. Update /etc/hosts and add controller00:: + + 192.168.122.3 controller00 + 192.168.122.3 controller00.opnfvlocal controller00 + +7. Export the desired cloud:: export OS_CLOUD=opnfv -6. Start using it:: +8. Start using it:: - openstack server list + openstack service list -- 2.16.6