Skip to content

Commit 37ab891

Browse files
dulekEmilienM
authored andcommitted
Adapt to latest changes in dev-install
Also decrease number of workers and their flavor to allow deploying on smaller boxes.
1 parent 52d70c9 commit 37ab891

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

tools/dsal/dsal_helper/dsal_helper.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@ def dev_install_cfg(self, args):
152152
vars['host_ip'] = socket.gethostbyname(args.hostname)
153153

154154
range = netaddr.IPRange(args.fip_pool_start, args.fip_pool_end)
155-
vars['control_plane_ip'] = range[0]
156-
vars['external_start'] = range[1]
155+
vars['external_start'] = range[0]
157156
vars['external_end'] = range[-1]
158157

159158
self._create_dir('dev-install')

tools/dsal/dsal_helper/templates/install-config.yaml.tpl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ compute:
66
openstack:
77
zones: []
88
additionalNetworkIDs: []
9-
replicas: 3
9+
type: m1.large
10+
replicas: 2
1011
controlPlane:
1112
name: master
1213
platform:
1314
openstack:
1415
zones: []
16+
type: m1.xlarge
1517
replicas: 3
1618
metadata:
1719
name: "ostest"
@@ -27,7 +29,7 @@ platform:
2729
cloud: "{{ cloud }}"
2830
externalNetwork: "external"
2931
region: "regionOne"
30-
computeFlavor: "m1.xlarge"
32+
computeFlavor: "m1.xlarge"
3133
lbFloatingIP: "{{ api_fip }}"
3234
ingressFloatingIP: "{{ ingress_fip }}"
3335
externalDNS: ["1.1.1.1"]

tools/dsal/dsal_helper/templates/local-overrides-16.2.yaml.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Override default variables by putting them in this file
22
standalone_host: {{ hostname }}
33
public_api: {{ host_ip }}
4-
control_plane_ip: {{ control_plane_ip }}
54
external_cidr: 10.1.8.0/22
65
external_gateway: 10.1.11.254
76
external_fip_pool_start : {{ external_start }}

tools/dsal/scripts/get-latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash -x
22

33
version=$1
4-
latest_nightly=$(curl -s https://openshift-release-artifacts.apps.ci.l2s4.p1.openshiftapps.com/ | awk "match(\$0, /($version.0-0.nightly[-0-9]+)/, a) {print a[1]}" | tail -1)
4+
latest_nightly=$(curl -s https://openshift-release-artifacts.apps.ci.l2s4.p1.openshiftapps.com/ | awk "match(\$0, /($version.0-0.nightly-[-0-9]+)/, a) {print a[1]}" | tail -1)
55
wget "https://openshift-release-artifacts.apps.ci.l2s4.p1.openshiftapps.com/$latest_nightly/openshift-install-linux-${latest_nightly}.tar.gz"
66
mkdir $latest_nightly
77
tar -C $latest_nightly -xvzf openshift-install-linux-${latest_nightly}.tar.gz openshift-install

tools/dsal/scripts/open-ping.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash -x
2+
3+
sgs=`openstack security group list -f value | grep OpenShift | cut -f 1 -d " "`
4+
5+
for sg in $sgs; do
6+
openstack security group rule create --dst-port 22 --protocol tcp $sg
7+
done

0 commit comments

Comments
 (0)