X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2Fplaybooks%2F03-virl-post-install.yaml;h=1902121b17398be2173de1ab0a54926be37e07e1;hb=218329134a668fb59cd62143a0ea49eabb4cb8a7;hp=b0e857ca57451b79985a3a99d9892b15d84dfe83;hpb=bff480ceb6e7dd9f624f3c8e39f7d7ece1f9248e;p=csit.git diff --git a/resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml b/resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml index b0e857ca57..1902121b17 100644 --- a/resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml +++ b/resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml @@ -17,10 +17,18 @@ shell: ln -s /nfs/scratch /scratch args: creates: /scratch - - name: upate Nova CPU mode + - name: Patch nova scripts + patch: + src: ./files/nova_os_ip.patch + basedir: /usr/lib/python2.7/dist-packages/nova + - name: Upate Nova CPU mode ini_file: dest=/etc/nova/nova.conf section=libvirt option=cpu_mode value=host-passthrough - name: Restart nova-compute service service: name=nova-compute state=restarted + - name: Upate Neutron bridge ageing time + ini_file: dest=/etc/neutron/neutron.conf section=DEFAULT option=network_bridge_ageing value=0 + - name: Restart neutron-linuxbridge-agent service + service: name=neutron-linuxbridge-agent state=restarted - name: Permit SSH user environment lineinfile: dest=/etc/ssh/sshd_config state=present regexp='PermitUserEnvironment.*' line='PermitUserEnvironment yes' - name: Restart SSH daemon @@ -41,10 +49,6 @@ command: ln -sf /home/jenkins-in/testcase-infra/bin/start-testcase /home/jenkins-in/bin/start-testcase args: creates: /home/jenkins-in/bin/start-testcase - - name: Link start-honeycomb-testcase executable - command: ln -sf /home/jenkins-in/testcase-infra/bin/start-honeycomb-testcase /home/jenkins-in/bin/start-honeycomb-testcase - args: - creates: /home/jenkins-in/bin/start-honeycomb-testcase - name: Link stop-testcase executable command: ln -sf /home/jenkins-in/testcase-infra/bin/stop-testcase /home/jenkins-in/bin/stop-testcase args: @@ -70,7 +74,7 @@ remote_user: virl tasks: - name: Create VIRL project - shell: virl_uwm_client project-create --name tb4-virl --enabled True --user-password Cisco1234 + shell: virl_uwm_client project-create --name tb4-virl --enabled True --user-password Cisco1234 -i 400 -r 1024000 -c 500 ignore_errors: true # - name: Delete VIRL project user # shell: virl_uwm_client user-delete --name tb4-virl