Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in firewall check on second run #4

Open
vitkhab opened this issue Dec 1, 2017 · 0 comments
Open

Error in firewall check on second run #4

vitkhab opened this issue Dec 1, 2017 · 0 comments

Comments

@vitkhab
Copy link

vitkhab commented Dec 1, 2017

On second run of ansible-playbook playbook.yml I'm getting error

TASK [Ensure firewall rule for kubernetes-the-hard-way internal is present] *****************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Unexpected response: ('<' not supported between instances of 'NoneType' and 'NoneType'). Detail: Traceback (most recent call last):\n  File \"/var/folders/9k/_2g7xmxs0yj6dkr5gj8h33km0000gn/T/ansible_0_o1mapd/ansible_module_gce_net.py\", line 440, in main\n    if allowed_list and (sorted_allowed_list(allowed_list) != sorted_allowed_list(fw.allowed)):\n  File \"/var/folders/9k/_2g7xmxs0yj6dkr5gj8h33km0000gn/T/ansible_0_o1mapd/ansible_module_gce_net.py\", line 318, in sorted_allowed_list\n    return sorted(allowed_by_protocol, key=lambda y: y.get('ports', []).sort())\nTypeError: '<' not supported between instances of 'NoneType' and 'NoneType'\n"}

Looks like it's a bug of gce_net module but workaround would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant