Browse Source

Merge pull request #8436 from luis5tb/kuryr-netid-precheck

Ensure public net id is configured for Kuryr SDN
OpenShift Merge Robot 6 years ago
parent
commit
fa6f90bb72
1 changed files with 7 additions and 0 deletions
  1. 7 0
      roles/openshift_openstack/tasks/net_vars_check.yaml

+ 7 - 0
roles/openshift_openstack/tasks/net_vars_check.yaml

@@ -12,3 +12,10 @@
   when:
     - openstack_private_data_network_name is defined
     - not openshift_use_flannel|default(False)|bool
+
+- name: Check the kuryr public net configuration
+  fail:
+    msg: "kuryr_openstack_public_net_id must be set when using Kuryr SDN"
+  when:
+    - openshift_use_kuryr|default(False)|bool
+    - not kuryr_openstack_public_net_id is defined