8dc6c870f2
This is used to serialize all access to an individual provider (nova client). One ProviderManager is created for every provider defined in the configuration. Any actions that require interaction with nova submit a task to the manager which processes them serially with an appropriate delay to ensure that rate limits are not hit. This solves not only rate-limit problems, but also ends multi-threaded access to a single novaclient Client object. Change-Id: I0cdaa747dac08cdbe4719cb6c9c220678b7a0320 |
||
---|---|---|
nodepool | ||
tools | ||
.gitignore | ||
.gitreview | ||
README | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README
Developer setup: mysql -u root mysql> create database nodepool; mysql> GRANT ALL ON nodepool.* TO 'nodepool'@'localhost'; mysql> flush privileges; nodepool -d -c tools/fake.yaml After each run (the fake nova provider is only in-memory): mysql> delete from snapshot_image; delete from node;