Merge "Remove obsolete Ceph tags"
authorTim Rozet <trozet@redhat.com>
Thu, 26 Jul 2018 19:01:30 +0000 (19:01 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 26 Jul 2018 19:01:30 +0000 (19:01 +0000)
apex/builders/overcloud_builder.py
apex/tests/test_apex_overcloud_builder.py
lib/ansible/playbooks/post_deploy_overcloud.yml
setup.cfg

index d2a3100..d6f03eb 100644 (file)
@@ -42,7 +42,8 @@ def inject_opendaylight(odl_version, image, tmp_dir, uc_ip,
         {con.VIRT_UPLOAD: "{}:/etc/puppet/modules/".format(archive)},
         {con.VIRT_RUN_CMD: 'rm -rf /etc/puppet/modules/opendaylight'},
         {con.VIRT_RUN_CMD: "cd /etc/puppet/modules/ && tar xvf "
-                           "puppet-opendaylight.tar"}
+                           "puppet-opendaylight.tar"},
+        {con.VIRT_INSTALL: "java-1.8.0-openjdk"}
     ]
     if docker_tag:
         docker_cmds = [
index 46b5f87..8bed3d7 100644 (file)
@@ -43,6 +43,7 @@ class TestOvercloudBuilder(unittest.TestCase):
             {con.VIRT_RUN_CMD: 'rm -rf /etc/puppet/modules/opendaylight'},
             {con.VIRT_RUN_CMD: "cd /etc/puppet/modules/ && tar xvf "
                                "puppet-opendaylight.tar"},
+            {con.VIRT_INSTALL: "java-1.8.0-openjdk"},
             {con.VIRT_INSTALL: 'opendaylight'}
         ]
         oc_builder.inject_opendaylight(con.DEFAULT_ODL_VERSION, 'dummy.qcow2',
@@ -65,6 +66,7 @@ class TestOvercloudBuilder(unittest.TestCase):
             {con.VIRT_RUN_CMD: 'rm -rf /etc/puppet/modules/opendaylight'},
             {con.VIRT_RUN_CMD: "cd /etc/puppet/modules/ && tar xvf "
                                "puppet-opendaylight.tar"},
+            {con.VIRT_INSTALL: "java-1.8.0-openjdk"},
         ]
         oc_builder.inject_opendaylight('oxygen', 'dummy.qcow2',
                                        '/dummytmp/', uc_ip='192.0.2.2',
index af743b2..372aea4 100644 (file)
       when:
         - "'compute' in ansible_hostname"
         - os_version == 'pike'
+    - name: Update ODL container restart policy to always
+      shell: "docker update --restart=always opendaylight_api"
+      become: yes
+      when:
+        - sdn == 'opendaylight'
+        - "'controller' in ansible_hostname"
+    - name: Open port 8101 (karaf shell) for ODL
+      iptables:
+        chain: INPUT
+        action: insert
+        protocol: tcp
+        destination_port: 8101
+        jump: ACCEPT
+        rule_num: 1
+      become: yes
+      when:
+        - sdn == 'opendaylight'
+        - "'controller' in ansible_hostname"
+    - name: save iptables
+      command: service iptables save
+      become: yes
index 83f0e77..f19bd03 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -38,6 +38,7 @@ data_files =
         build/kubernetes-environment.yaml
         build/nics-template.yaml.jinja2
         build/csit-environment.yaml
+        build/csit-queens-environment.yaml
         build/virtual-environment.yaml
         build/baremetal-environment.yaml
         build/domain.xml