dd5e21858db8ca282890ea9670a130d79622c096
The container's host needs to be synced periodically because the value of the host is mutable (in config file). If the value of a host is changed but it is not synced to containers, the rpc request will send to the old host which will fail. In order to squeeze the logic of syncing host, the existing periodic task was re-written because the original task was mainly designed to sync a single container state (i.e. status). This commit re-wrote the implementation make it generic and can be leveraged to sync various container states (i.e. host, status). In addition, this commit moved the implementation to container driver since syncing container states seems to be driver-specific. Change-Id: I998af06989363b5329ae1f853dd01388ddaeb1cc
Team and repository tags
Zun
Container Management service for OpenStack
Please fill here a long description which must be at least 3 lines wrapped on 80 cols, so that distribution package maintainers can use it in their packages. Note that this is a hard requirement.
- Free software: Apache license
- Get Started: https://docs.openstack.org/developer/zun/dev/quickstart.html
- Documentation: https://docs.openstack.org/developer/zun
- Source: https://git.openstack.org/cgit/openstack/zun
- Bugs: https://bugs.launchpad.net/zun
- Blueprints:** https://blueprints.launchpad.net/zun
- REST Client:** https://git.openstack.org/cgit/openstack/python-zunclient
Features
- TODO
Description
Languages
Python
99.3%
Shell
0.7%