31e7e04294
Occassionally the unit test congress.tests.datasources.json_ingester. test_exec_api.TestExecApiManager.test_execute_exec_api_rows fails inside eventlet code even though the eventlet call is mocked out. This patch adds a new mock path because eventlet.spawn_n somehow redirects there. Hopefully it resolves the occassional instability gets. Sample error: File "/home/zuul/src/git.openstack.org/openstack/congress/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenpool.py", line 115, in spawn_n function, args, kwargs, True) File "/home/zuul/src/git.openstack.org/openstack/congress/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 1062, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/home/zuul/src/git.openstack.org/openstack/congress/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 1128, in _mock_call ret_val = effect(*args, **kwargs) File "congress/tests/datasources/json_ingester/test_exec_api.py", line 27, in mock_spawn_execute return func(*args, **kwargs) File "/home/zuul/src/git.openstack.org/openstack/congress/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenpool.py", line 99, in _spawn_n_impl self._spawn_done(coro) File "/home/zuul/src/git.openstack.org/openstack/congress/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenpool.py", line 131, in _spawn_done self.coroutines_running.remove(coro) KeyError: <greenlet.greenlet object at 0x7fd975681cd0> Change-Id: I72e11a67cf1cd3ff3fbc574f2d6e91df17d63d9c |
||
---|---|---|
antlr3runtime | ||
bin | ||
congress | ||
contrib/nova | ||
devstack | ||
doc | ||
etc | ||
examples | ||
library | ||
releasenotes | ||
scripts | ||
thirdparty | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
Makefile | ||
README.rst | ||
babel.cfg | ||
bindep.txt | ||
future-features.txt | ||
lower-constraints.txt | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
thirdparty-requirements.txt | ||
tox.ini |
README.rst
Welcome to Congress
Congress is an open policy framework for the cloud. With Congress, a cloud operator can declare, monitor, enforce, and audit "policy" in a heterogeneous cloud environment. Congress gets inputs from a cloud's various cloud services; for example in OpenStack, Congress fetches information about VMs from Nova, and network state from Neutron, etc. Congress then feeds input data from those services into its policy engine where Congress verifies that the cloud's actual state abides by the cloud operator's policies. Congress is designed to work with any policy and any cloud service.
- Free software: Apache license
- Documentation: https://docs.openstack.org/congress/latest/
- Wiki: https://wiki.openstack.org/wiki/Congress
- Source: https://github.com/openstack/Congress
- Bugs: https://bugs.launchpad.net/congress
- Blueprints: https://blueprints.launchpad.net/congress
Installing Congress
Please refer to the installation guide >>>>>>> Add wiki Source Bugs and Blueprints notes link to README.rst