Browse Source

Merge pull request #3804 from sdodson/bz1436964

Merged by openshift-bot
OpenShift Bot 8 năm trước cách đây
mục cha
commit
1f92278630
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 10 0
      roles/os_firewall/tasks/firewall/firewalld.yml

+ 10 - 0
roles/os_firewall/tasks/firewall/firewalld.yml

@@ -34,6 +34,16 @@
   pause: seconds=10
   when: result | changed
 
+# Fix suspected race between firewalld and polkit BZ1436964
+- name: Wait for polkit action to have been created
+  command: pkaction --action-id=org.fedoraproject.FirewallD1.config.info
+  ignore_errors: true
+  register: pkaction
+  changed_when: false
+  until: pkaction.rc == 0
+  retries: 6
+  delay: 10
+
 - name: Add firewalld allow rules
   firewalld:
     port: "{{ item.port }}"