Tests for rOPS modules/paas_docker.py fail since D2862 / bbc48f9eb26d88737ef040cf036f36655bf25dcc (Salt Tower).
The method get_subnets is used to configure the firewall.
$ cd _tests $ ./modules/test_paas_docker.py ......EE... ====================================================================== ERROR: test_get_subnets (__main__.Testinstance) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/home/dereckson/dev/nasqueron/operations/ops-trivial/_tests/./modules/test_paas_docker.py", line 68, in test_get_subnets self.assertEqual(expected, docker.get_subnets()) File "../_modules/paas_docker.py", line 61, in get_subnets subnets = [network["subnet"] for network in networks.values()] File "../_modules/paas_docker.py", line 61, in <listcomp> subnets = [network["subnet"] for network in networks.values()] KeyError: 'subnet' ====================================================================== ERROR: test_get_subnets_when_none_are_defined (__main__.Testinstance) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/home/dereckson/dev/nasqueron/operations/ops-trivial/_tests/./modules/test_paas_docker.py", line 75, in test_get_subnets_when_none_are_defined self.assertEqual(expected, docker.get_subnets()) File "../_modules/paas_docker.py", line 61, in get_subnets subnets = [network["subnet"] for network in networks.values()] File "../_modules/paas_docker.py", line 61, in <listcomp> subnets = [network["subnet"] for network in networks.values()] KeyError: 'subnet' ---------------------------------------------------------------------- Ran 11 tests in 0.015s FAILED (errors=2)