]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: set MTU to 1400 on test node interfaces
authorAndrew Schoen <aschoen@redhat.com>
Wed, 22 Mar 2017 21:44:29 +0000 (16:44 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 22 Mar 2017 21:44:29 +0000 (16:44 -0500)
In the environment we were testing on, MTU was set to 1500 which causes
download failures of our yum repos. There might be a better way to set
this instead of doing it here in ansible.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
tests/functional/rhcs_setup.yml

index 93055b435cb1bb42c8d4df8ee6ac4f0f2f08f199..4618a72a6b5211c620ef4b32c1673e2ecd868b9e 100644 (file)
         group: root
       when: not is_atomic
 
+    - name: set MTU on eth0
+      command: "ifconfig eth0 mtu 1400 up"
+
+    - name: set MTU on eth1
+      command: "ifconfig eth1 mtu 1400 up"
+
 - hosts: mons
   gather_facts: false
   become: yes
@@ -65,6 +71,9 @@
       when:
         - not is_atomic
 
+    - name: set MTU on eth2
+      command: "ifconfig eth2 mtu 1400 up"
+
 - hosts: mdss:rgws:clients 
   gather_facts: false
   become: yes