From: Denis V. Meltsaykin Date: Fri, 17 Jun 2016 12:12:29 +0000 (+0300) Subject: [jenkins] added an access rule X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F04%2F22204%2F3;p=tools%2Fsustaining.git [jenkins] added an access rule As starting from 9.0 the access to the Fuel node with SSH is restricted to the PXE/Admin network only, it is necessary to add an access rule after the Fuel node bootstrap. This will let everyone to access Fuel from everywhere. Also updated the jenkins job configuration. Change-Id: Ic829b6bdd2c963ca8033450b1483e9050ba28f92 --- diff --git a/jenkins/build_cluster/build_cluster.py b/jenkins/build_cluster/build_cluster.py index 841eb32..b8dfb6b 100755 --- a/jenkins/build_cluster/build_cluster.py +++ b/jenkins/build_cluster/build_cluster.py @@ -524,6 +524,7 @@ def configure_nailgun(): "{usr}@{admip}".format(usr=cfg["FUEL_SSH_USERNAME"], admip=str(cfg["ADMIN_SUBNET"].ip + 2)), "sed -i -e'/^ListenAddress.*$/d' /etc/ssh/sshd_config ; service sshd reload;" + "iptables -I INPUT -p tcp -m tcp --dport 22 -j ACCEPT;" "/usr/bin/fuel env -c --name {name} --release {release} {ha} {network};" "/usr/bin/fuel settings --env-id 1 --download;" "/usr/bin/fuel network --env-id 1 -d; {sed}" diff --git a/jenkins/build_cluster/config.xml b/jenkins/build_cluster/config.xml index 8e9eca8..2731ecd 100644 --- a/jenkins/build_cluster/config.xml +++ b/jenkins/build_cluster/config.xml @@ -4,6 +4,9 @@ When choosing parameters please remember that srv## slaves have 32G of RAM and 12 CPUs, while cz7377 has 256G RAM and 12 CPUs. false + + false + @@ -58,6 +61,7 @@ neutron_vlan neutron_gre + neutron_tun nova @@ -85,7 +89,7 @@ Label of Slave You can choose where to deploy your cluster by typing exact slave label here. - build-slave-1 || build-slave-2 || build-slave-3 || build-slave-4 || build-slave-5 + build-slave false allCases @@ -98,13 +102,14 @@ - build-slave-1 || build-slave-2 || build-slave-3 || build-slave-4 || build-slave-5 + build-slave false false false false true + DEPLOY_CLUSTER set -x @@ -145,7 +150,7 @@ python build_cluster.py --destroy - css + xterm