From eec6831fff96147f442935c5d0050974fbed349b Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Fri, 15 Nov 2019 12:01:47 +0000 Subject: [PATCH] Remove OpenDaylight role Opendaylight support has been deprecated in Train - time to remove it. Change-Id: I3a61bfbcbf366c327ea3e25d2424bc3fedca29f0 --- ansible/group_vars/all.yml | 32 +-- ansible/inventory/all-in-one | 3 - ansible/inventory/multinode | 3 - ansible/roles/common/tasks/config.yml | 2 - .../conf/input/08-opendaylight.conf.j2 | 10 - .../cron-logrotate-opendaylight.conf.j2 | 3 - ansible/roles/common/templates/cron.json.j2 | 1 - ansible/roles/neutron/defaults/main.yml | 16 +- .../roles/neutron/templates/dhcp_agent.ini.j2 | 4 - .../roles/neutron/templates/ml2_conf.ini.j2 | 18 +- .../neutron/templates/neutron-server.json.j2 | 2 +- .../roles/neutron/templates/neutron.conf.j2 | 7 +- ansible/roles/opendaylight/defaults/main.yml | 68 ------ ansible/roles/opendaylight/handlers/main.yml | 17 -- ansible/roles/opendaylight/meta/main.yml | 3 - .../opendaylight/tasks/check-containers.yml | 18 -- ansible/roles/opendaylight/tasks/check.yml | 1 - ansible/roles/opendaylight/tasks/config.yml | 197 ------------------ .../opendaylight/tasks/deploy-containers.yml | 2 - ansible/roles/opendaylight/tasks/deploy.yml | 5 - .../roles/opendaylight/tasks/loadbalancer.yml | 7 - ansible/roles/opendaylight/tasks/main.yml | 2 - ansible/roles/opendaylight/tasks/precheck.yml | 112 ---------- ansible/roles/opendaylight/tasks/pull.yml | 11 - .../roles/opendaylight/tasks/reconfigure.yml | 2 - ansible/roles/opendaylight/tasks/stop.yml | 6 - ansible/roles/opendaylight/tasks/upgrade.yml | 5 - .../templates/10-rest-connector.xml.j2 | 42 ---- .../roles/opendaylight/templates/akka.conf.j2 | 33 --- .../templates/custom.properties.j2 | 47 ----- .../roles/opendaylight/templates/jetty.xml.j2 | 90 -------- .../templates/module-shards.conf.j2 | 59 ------ .../opendaylight/templates/modules.conf.j2 | 20 -- .../netvirt-aclservice-config.xml.j2 | 4 - ...irt-impl-config_netvirt-impl-config.xml.j2 | 7 - .../templates/opendaylight.json.j2 | 96 --------- .../org.apache.karaf.features.cfg.j2 | 28 --- .../org.opendaylight.ovsdb.library.cfg.j2 | 7 - .../templates/org.ops4j.pax.logging.cfg.j2 | 52 ----- .../templates/org.ops4j.pax.url.mvn.cfg.j2 | 34 --- .../roles/opendaylight/templates/setenv.j2 | 24 --- .../roles/opendaylight/templates/start-odl.j2 | 3 - .../templates/tomcat-server.xml.j2 | 46 ---- .../roles/openvswitch/templates/start-ovs.j2 | 9 - ansible/roles/ovs-dpdk/defaults/main.yml | 4 +- .../skydive/templates/skydive-agent.conf.j2 | 6 +- ansible/site.yml | 17 -- doc/source/reference/networking/index.rst | 1 - .../reference/networking/opendaylight.rst | 57 ----- etc/kolla/globals.yml | 9 +- etc/kolla/passwords.yml | 5 - .../remove-opendaylight-4caac9fbf25b8015.yaml | 5 + tests/templates/inventory.j2 | 3 - 53 files changed, 23 insertions(+), 1242 deletions(-) delete mode 100644 ansible/roles/common/templates/conf/input/08-opendaylight.conf.j2 delete mode 100644 ansible/roles/common/templates/cron-logrotate-opendaylight.conf.j2 delete mode 100644 ansible/roles/opendaylight/defaults/main.yml delete mode 100644 ansible/roles/opendaylight/handlers/main.yml delete mode 100644 ansible/roles/opendaylight/meta/main.yml delete mode 100644 ansible/roles/opendaylight/tasks/check-containers.yml delete mode 100644 ansible/roles/opendaylight/tasks/check.yml delete mode 100644 ansible/roles/opendaylight/tasks/config.yml delete mode 100644 ansible/roles/opendaylight/tasks/deploy-containers.yml delete mode 100644 ansible/roles/opendaylight/tasks/deploy.yml delete mode 100644 ansible/roles/opendaylight/tasks/loadbalancer.yml delete mode 100644 ansible/roles/opendaylight/tasks/main.yml delete mode 100644 ansible/roles/opendaylight/tasks/precheck.yml delete mode 100644 ansible/roles/opendaylight/tasks/pull.yml delete mode 100644 ansible/roles/opendaylight/tasks/reconfigure.yml delete mode 100644 ansible/roles/opendaylight/tasks/stop.yml delete mode 100644 ansible/roles/opendaylight/tasks/upgrade.yml delete mode 100644 ansible/roles/opendaylight/templates/10-rest-connector.xml.j2 delete mode 100644 ansible/roles/opendaylight/templates/akka.conf.j2 delete mode 100644 ansible/roles/opendaylight/templates/custom.properties.j2 delete mode 100644 ansible/roles/opendaylight/templates/jetty.xml.j2 delete mode 100644 ansible/roles/opendaylight/templates/module-shards.conf.j2 delete mode 100644 ansible/roles/opendaylight/templates/modules.conf.j2 delete mode 100644 ansible/roles/opendaylight/templates/netvirt-aclservice-config.xml.j2 delete mode 100644 ansible/roles/opendaylight/templates/netvirt-impl-config_netvirt-impl-config.xml.j2 delete mode 100644 ansible/roles/opendaylight/templates/opendaylight.json.j2 delete mode 100644 ansible/roles/opendaylight/templates/org.apache.karaf.features.cfg.j2 delete mode 100644 ansible/roles/opendaylight/templates/org.opendaylight.ovsdb.library.cfg.j2 delete mode 100644 ansible/roles/opendaylight/templates/org.ops4j.pax.logging.cfg.j2 delete mode 100644 ansible/roles/opendaylight/templates/org.ops4j.pax.url.mvn.cfg.j2 delete mode 100644 ansible/roles/opendaylight/templates/setenv.j2 delete mode 100644 ansible/roles/opendaylight/templates/start-odl.j2 delete mode 100644 ansible/roles/opendaylight/templates/tomcat-server.xml.j2 delete mode 100644 doc/source/reference/networking/opendaylight.rst create mode 100644 releasenotes/notes/remove-opendaylight-4caac9fbf25b8015.yaml diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index 000e53df37..2558bb086c 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -212,7 +212,7 @@ migration_interface_address: "{{ 'migration' | kolla_address }}" tunnel_interface_address: "{{ 'tunnel' | kolla_address }}" octavia_network_interface_address: "{{ 'octavia_network' | kolla_address }}" -# Valid options are [ openvswitch, linuxbridge, vmware_nsxv, vmware_nsxv3, vmware_dvs, opendaylight ] +# Valid options are [ openvswitch, linuxbridge, vmware_nsxv, vmware_nsxv3, vmware_dvs ] neutron_plugin_agent: "openvswitch" # Valid options are [ internal, infoblox ] @@ -470,20 +470,6 @@ zookeeper_quorum_port: "3888" zun_api_port: "9517" zun_wsproxy_port: "6784" -opendaylight_clustering_port: "2550" -opendaylight_restconf_port: "8087" -opendaylight_restconf_port_backup: "8182" -opendaylight_haproxy_restconf_port: "8088" -opendaylight_haproxy_restconf_port_backup: "8183" -opendaylight_jetty_conf_port: "8543" -opendaylight_jetty_conf2_port: "8443" -opendaylight_tomcat_port: "8282" -opendaylight_tomcat_redirect_port: "8663" -opendaylight_karaf_ssh_port: "8101" -opendaylight_openflow_port: "6653" -opendaylight_ovsdb_port: "6641" -opendaylight_websocket_port: "8185" - vitrage_api_port: "8999" public_protocol: "{{ 'https' if kolla_enable_tls_external | bool else 'http' }}" @@ -649,7 +635,6 @@ enable_nova_serialconsole_proxy: "no" enable_nova_ssh: "yes" enable_octavia: "no" enable_onos: "no" -enable_opendaylight: "no" enable_openvswitch: "{{ enable_neutron | bool and neutron_plugin_agent != 'linuxbridge' }}" enable_ovs_dpdk: "no" enable_osprofiler: "no" @@ -906,7 +891,7 @@ neutron_tenant_network_types: "vxlan" # valid values: ["dvr", "dvr_no_external"] neutron_compute_dvr_mode: "dvr" -computes_need_external_bridge: "{{ enable_neutron_dvr | bool and neutron_compute_dvr_mode == 'dvr' or enable_neutron_provider_networks | bool or enable_opendaylight | bool and neutron_plugin_agent != 'vmware_dvs' and not enable_onos | bool }}" +computes_need_external_bridge: "{{ (enable_neutron_dvr | bool and neutron_compute_dvr_mode == 'dvr') or enable_neutron_provider_networks | bool }}" # Default DNS resolvers for virtual networks neutron_dnsmasq_dns_servers: "1.1.1.1,8.8.8.8,8.8.4.4" @@ -1044,19 +1029,6 @@ vmware_vcenter_host_username: "username" vmware_vcenter_cluster_name: "cluster-1" vmware_vcenter_insecure: "True" -###################### -# OpenDaylight -###################### -opendaylight_mechanism_driver: "opendaylight_v2" -opendaylight_l3_service_plugin: "odl-router_v2" -opendaylight_acl_impl: "learn" -enable_opendaylight_qos: "no" -enable_opendaylight_l3: "{{ enable_opendaylight }}" -enable_opendaylight_legacy_netvirt_conntrack: "no" -opendaylight_port_binding_type: "pseudo-agentdb-binding" -opendaylight_features: "odl-mdsal-apidocs,odl-netvirt-openstack" -opendaylight_allowed_network_types: '"flat", "vlan", "vxlan"' - ####################################### # XenAPI - Support XenAPI for XenServer ####################################### diff --git a/ansible/inventory/all-in-one b/ansible/inventory/all-in-one index 50ffb89d9e..2445019e92 100644 --- a/ansible/inventory/all-in-one +++ b/ansible/inventory/all-in-one @@ -118,9 +118,6 @@ network compute manila-share -[opendaylight:children] -network - [cinder:children] control diff --git a/ansible/inventory/multinode b/ansible/inventory/multinode index 94f3af02fb..a3bf77aec7 100644 --- a/ansible/inventory/multinode +++ b/ansible/inventory/multinode @@ -143,9 +143,6 @@ network compute manila-share -[opendaylight:children] -network - [cinder:children] control diff --git a/ansible/roles/common/tasks/config.yml b/ansible/roles/common/tasks/config.yml index 2da793ba33..12e9115576 100644 --- a/ansible/roles/common/tasks/config.yml +++ b/ansible/roles/common/tasks/config.yml @@ -93,7 +93,6 @@ - "05-libvirt" - "06-zookeeper" - "07-kafka" - - "08-opendaylight" - "09-monasca" notify: - Restart fluentd container @@ -317,7 +316,6 @@ - { name: "neutron", enabled: "{{ enable_neutron }}" } - { name: "nova", enabled: "{{ enable_nova }}" } - { name: "octavia", enabled: "{{ enable_octavia }}" } - - { name: "opendaylight", enabled: "{{ enable_opendaylight }}" } - { name: "outward-rabbitmq", enabled: "{{ enable_outward_rabbitmq }}" } - { name: "panko", enabled: "{{ enable_panko }}" } - { name: "qinling", enabled: "{{ enable_qinling }}" } diff --git a/ansible/roles/common/templates/conf/input/08-opendaylight.conf.j2 b/ansible/roles/common/templates/conf/input/08-opendaylight.conf.j2 deleted file mode 100644 index 43879c918f..0000000000 --- a/ansible/roles/common/templates/conf/input/08-opendaylight.conf.j2 +++ /dev/null @@ -1,10 +0,0 @@ - - @type tail - path /var/log/kolla/opendaylight/karaf.log - pos_file /var/run/{{ fluentd_binary }}/opendaylight.pos - tag infra.opendaylight - format multiline - format_firstline /\d{4}-\d{2}-\d{2}/ - format1 /^(?