
This patch is for supporting deploying multiple instances of zun-compute to multiple hosts. In particular, if a container is created, it will be scheduled to a host picked by a scheduler. The host was recorded at the container object. Later, container life-cycle operations will call/cast to the host, to which the container was scheduled. The list of changes of this commit is as following: * Add a basic scheduler framework. The default scheduler is a basic scheduler that randomly choose a host. * In RPC, add support for sending message to specified host. * In compute, add APIs to schedule a container. * In context, add a method to elevate to admin privilege * In Nova driver, force the nova instance to be created in the scheduled host. This requires to elevate context before calling Nova APIs. * In objects and dbapi, add a method to list Zun services with specified binary. * In setup.cfg, add a scheduler entry point. * In cmd, use hostname as the rpc server ID (instead of a generated short ID). * In conf, use hostname as default value of CONF.host. Implements: blueprint support-multiple-hosts Implements: blueprint basic-container-scheduler Change-Id: I6955881e3087c488eb9cd857cbbd19f49f6318fc
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://github.com/openstack/zun/blob/master/doc/source/dev/quickstart.rst
- Documentation: http://docs.openstack.org/developer/zun
- Source: http://git.openstack.org/cgit/openstack/zun
- Bugs: http://bugs.launchpad.net/zun
- Blueprints:** https://blueprints.launchpad.net/zun
- REST Client:** http://git.openstack.org/cgit/openstack/python-zunclient
Features
- TODO
Description
Languages
Python
99.3%
Shell
0.7%