From: Fatih Degirmenci Date: Fri, 2 Sep 2016 11:08:20 +0000 (+0200) Subject: Fix problems and add missing info to puppet-infracloud instructions X-Git-Tag: 6.0.0~482 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=41f0a4a8a94fe309cf851c6d34d7559f538c1198;p=releng-xci.git 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 --- diff --git a/puppet-infracloud/README.md b/puppet-infracloud/README.md index dd9e7bb9..37d575c3 100644 --- a/puppet-infracloud/README.md +++ b/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