@@ -9,6 +9,78 @@ OpenShift Installer OpenStack Dev Scripts
9
9
10
10
# Instructions
11
11
12
+ ## 0) Pre installation
13
+
14
+ Enable the appropriate openstack repo, by looking at the output of
15
+
16
+ ` sudo yum search release-openstack `
17
+
18
+ and installing the desired repositories for the release you want to use. For example:
19
+
20
+ ` sudo yum install centos-release-openstack-rocky `
21
+
22
+ Install OpenStack client
23
+
24
+ ` sudo yum install python2-openstackclient `
25
+
26
+ Install git
27
+
28
+ ` sudo yum install git `
29
+
30
+ Configure stack user to use the correct version of ansible.
31
+
32
+ For example, 2.9 does not support the "failed" filter, so you might have to switch to a lower version.
33
+
34
+ Do it at the root level because some of the playbooks run
35
+ under root, so just changing it at the user level will not be enough.
36
+
37
+ ` sudo pip uninstall ansible `
38
+
39
+ ` sudo pip install "ansible==2.8.7" `
40
+
41
+ ` ansible --version `
42
+
43
+ Clone this repository:
44
+
45
+ ` cd <to_wherever_you_want_this_source_code_to_live `
46
+
47
+ ` git clone <this repos address> `
48
+
49
+
50
+ CD to repo
51
+
52
+ ` cd ocp-doit `
53
+
54
+ Get the lastest artifacts hash for the tripleo if you want to use it, and set it in common.sh.
55
+ You can get it from:
56
+
57
+ ` https://trunk.rdoproject.org/centos7/current-tripleo/commit.yaml `
58
+
59
+ by joining the ` commit_hash ` and the first 8 characters of the ` distro_hash ` with a ` _ ` .
60
+ For example:
61
+
62
+ commit_hash: 38c4e3104abdeb4699cfbe7a78fa2f37d7a863b4
63
+ distgit_dir: /home/centos-master-uc/data/puppet-manila_distro/
64
+ distro_hash: 93bde36c78d20a482068674c1391725cdf89b6d9
65
+
66
+ becomes:
67
+
68
+ ` 38c4e3104abdeb4699cfbe7a78fa2f37d7a863b4_93bde36c `
69
+
70
+ Install and configure a dns server on the host machine (The machine with the LOCAL_IP address). The LOCAL_IP
71
+ address is used as the forwarder for the Neutron dnsmasq and other dns services.
72
+
73
+ Dnsmasq is probably a good enough solution.
74
+
75
+ Example of /etc/dnsmasq.conf on LOCAL_IP machine, which makes machine use 192.168.122.1 as a forwarder
76
+
77
+ domain-needed
78
+ bogus-priv
79
+ server=192.168.122.1
80
+ conf-dir=/etc/dnsmasq.d,.rpmnew,.rpmsave,.rpmo
81
+
82
+ Now the LOCAL_IP machine will respond to DNS queries using dnsmasq, and it will forward requests to 192.168.122.1 if needed.
83
+
12
84
## 1) Create local config
13
85
14
86
Create a config file based on the example and set values appropriate for your
0 commit comments