Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "dovetail: dovetail run against ZTE-pod1 od-odl_l2-nofeature-ha scenario"
[releng.git]
/
prototypes
/
puppet-infracloud
/
README.md
diff --git
a/prototypes/puppet-infracloud/README.md
b/prototypes/puppet-infracloud/README.md
index
f3bd672
..
37d575c
100644
(file)
--- a/
prototypes/puppet-infracloud/README.md
+++ b/
prototypes/puppet-infracloud/README.md
@@
-11,7
+11,7
@@
Once all the hardware is provisioned, enter in controller and compute nodes and
2. Copy hiera to the right place::
2. Copy hiera to the right place::
- cp /opt/releng/prototypes/puppet-infracloud/hiera/common.yaml /var/lib/hiera
/
+ cp /opt/releng/prototypes/puppet-infracloud/hiera/common.yaml /var/lib/hiera
3. Install modules::
3. Install modules::
@@
-21,7
+21,7
@@
Once all the hardware is provisioned, enter in controller and compute nodes and
4. Apply the infracloud manifest::
cd /opt/releng/prototypes/puppet-infracloud
4. Apply the infracloud manifest::
cd /opt/releng/prototypes/puppet-infracloud
- puppet apply
--
manifests/site.pp --modulepath=/etc/puppet/modules:/opt/releng/prototypes/puppet-infracloud/modules
+ puppet apply manifests/site.pp --modulepath=/etc/puppet/modules:/opt/releng/prototypes/puppet-infracloud/modules
5. Once you finish this operation on controller and compute nodes, you will have a functional OpenStack cloud.
5. Once you finish this operation on controller and compute nodes, you will have a functional OpenStack cloud.
@@
-31,7
+31,7
@@
In jumphost, follow that steps:
git clone https://gerrit.opnfv.org/gerrit/releng /opt/releng
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
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/
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
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
export OS_CLOUD=opnfv
-
6
. Start using it::
+
8
. Start using it::
- openstack serv
er
list
+ openstack serv
ice
list