2016-05-11 18:01:24 -04:00
|
|
|
[metadata]
|
2016-06-07 13:12:22 +05:30
|
|
|
name = zun
|
2016-05-11 18:01:24 -04:00
|
|
|
summary = Container Management service for OpenStack
|
|
|
|
description-file =
|
|
|
|
README.rst
|
|
|
|
author = OpenStack
|
|
|
|
author-email = openstack-dev@lists.openstack.org
|
2016-10-03 17:56:10 +05:30
|
|
|
home-page = https://wiki.openstack.org/wiki/Zun
|
2016-05-11 18:01:24 -04:00
|
|
|
classifier =
|
|
|
|
Environment :: OpenStack
|
|
|
|
Intended Audience :: Information Technology
|
|
|
|
Intended Audience :: System Administrators
|
|
|
|
License :: OSI Approved :: Apache Software License
|
|
|
|
Operating System :: POSIX :: Linux
|
|
|
|
Programming Language :: Python
|
|
|
|
Programming Language :: Python :: 2
|
|
|
|
Programming Language :: Python :: 2.7
|
|
|
|
Programming Language :: Python :: 3
|
2017-02-08 17:23:22 +00:00
|
|
|
Programming Language :: Python :: 3.5
|
2016-05-11 18:01:24 -04:00
|
|
|
|
|
|
|
[files]
|
2017-09-22 13:37:09 +05:30
|
|
|
data_files =
|
|
|
|
etc/zun =
|
|
|
|
etc/zun/api-paste.ini
|
2016-05-11 18:01:24 -04:00
|
|
|
packages =
|
2016-06-07 13:12:22 +05:30
|
|
|
zun
|
2016-05-11 18:01:24 -04:00
|
|
|
|
|
|
|
[build_sphinx]
|
|
|
|
source-dir = doc/source
|
|
|
|
build-dir = doc/build
|
|
|
|
all_files = 1
|
2017-07-11 11:26:51 +05:30
|
|
|
warning-is-error = 1
|
2016-05-11 18:01:24 -04:00
|
|
|
|
|
|
|
[upload_sphinx]
|
|
|
|
upload-dir = doc/build/html
|
|
|
|
|
|
|
|
[compile_catalog]
|
2016-06-07 13:12:22 +05:30
|
|
|
directory = zun/locale
|
|
|
|
domain = zun
|
2016-05-11 18:01:24 -04:00
|
|
|
|
|
|
|
[update_catalog]
|
2016-06-07 13:12:22 +05:30
|
|
|
domain = zun
|
|
|
|
output_dir = zun/locale
|
|
|
|
input_file = zun/locale/zun.pot
|
2016-05-11 18:01:24 -04:00
|
|
|
|
|
|
|
[extract_messages]
|
|
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
|
|
mapping_file = babel.cfg
|
2016-06-07 13:12:22 +05:30
|
|
|
output_file = zun/locale/zun.pot
|
2016-05-16 18:17:45 +08:00
|
|
|
|
|
|
|
[entry_points]
|
2016-05-18 13:58:57 +09:00
|
|
|
console_scripts =
|
2016-06-07 13:12:22 +05:30
|
|
|
zun-api = zun.cmd.api:main
|
2016-06-13 05:51:39 +00:00
|
|
|
zun-compute = zun.cmd.compute:main
|
2016-06-07 13:12:22 +05:30
|
|
|
zun-db-manage = zun.cmd.db_manage:main
|
2017-05-04 14:51:01 +08:00
|
|
|
zun-wsproxy = zun.cmd.wsproxy:main
|
2017-08-02 02:20:12 +00:00
|
|
|
wsgi_scripts =
|
|
|
|
zun-api-wsgi = zun.api.wsgi:init_application
|
2016-05-18 13:58:57 +09:00
|
|
|
|
2016-05-16 18:17:45 +08:00
|
|
|
oslo.config.opts =
|
2016-06-07 13:12:22 +05:30
|
|
|
zun = zun.opts:list_opts
|
2016-10-27 14:19:43 +00:00
|
|
|
zun.conf = zun.conf.opts:list_opts
|
2016-05-31 10:40:05 +05:30
|
|
|
|
2016-08-19 13:19:10 +08:00
|
|
|
oslo.config.opts.defaults =
|
2016-08-23 22:29:32 -05:00
|
|
|
zun = zun.common.config:set_cors_middleware_defaults
|
2016-08-19 13:19:10 +08:00
|
|
|
|
2017-10-02 19:03:54 +00:00
|
|
|
oslo.policy.policies =
|
|
|
|
zun = zun.common.policies:list_rules
|
|
|
|
|
2016-06-07 13:12:22 +05:30
|
|
|
zun.database.migration_backend =
|
|
|
|
sqlalchemy = zun.db.sqlalchemy.migration
|
2016-05-31 10:40:05 +05:30
|
|
|
|
Support multiple compute hosts
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
2017-01-11 10:21:32 -06:00
|
|
|
zun.scheduler.driver =
|
|
|
|
chance_scheduler = zun.scheduler.chance_scheduler:ChanceScheduler
|
|
|
|
fake_scheduler = zun.tests.unit.scheduler.fake_scheduler:FakeScheduler
|
2017-03-14 16:56:21 +08:00
|
|
|
filter_scheduler = zun.scheduler.filter_scheduler:FilterScheduler
|
Support multiple compute hosts
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
2017-01-11 10:21:32 -06:00
|
|
|
|
2017-01-21 07:45:54 +00:00
|
|
|
zun.image.driver =
|
|
|
|
glance = zun.image.glance.driver:GlanceDriver
|
|
|
|
docker = zun.image.docker.driver:DockerDriver
|
|
|
|
|
2017-04-05 00:42:04 +00:00
|
|
|
zun.network.driver =
|
|
|
|
kuryr = zun.network.kuryr_network:KuryrNetwork
|
|
|
|
|
2017-08-30 22:49:16 +00:00
|
|
|
zun.volume.driver =
|
|
|
|
cinder = zun.volume.driver:Cinder
|
|
|
|
|
2017-03-13 16:52:33 +08:00
|
|
|
[extras]
|
|
|
|
osprofiler =
|
2017-03-20 22:41:23 +00:00
|
|
|
osprofiler>=1.4.0 # Apache-2.0
|