We are pumped to announce the release of: magnum 3.0.0: Container Management project for OpenStack This release is part of the newton release series. With source available at: ** http://git.openstack.org/cgit/openstack/magnum Please report issues through launchpad: ** http://bugs.launchpad.net/magnum For more details, please see below. 3.0.0 ^^^^^ New Features ************ * Add docker-storage-driver parameter to baymodel to allow user select from the supported drivers. Until now, only devicemapper was supported. This release adds support for OverlayFS on Fedora Atomic hosts with kernel version >= 3.18 (Fedora 22 or higher) resulting significant performance improvement. To use OverlayFS, SELinux must be enabled and in enforcing mode on the physical machine, but must be disabled in the container. Thus, if you select overlay for docker-storage-driver SELinux will be disable inside the containers. * Current implementation of magnum bay operations are synchronous and as a result API requests are blocked until response from HEAT service is received. This release adds support for asynchronous bay operations (bay-create, bay-update, and bay-delete). Please note that with this change, bay-create, bay-update API calls will return bay uuid instead of bay object and also return HTTP status code 202 instead of 201. Microversion 1.2 is added for new behavior. * Add Microversion 1.3 to support Magnum bay rollback, user can enable rollback on bay update failure by setting 'OpenStack-API- Version' to 'container-infra 1.3' in request header and passing 'rollback=True' param in bay update request. Upgrade Notes ************* * Magnum bay operations API default behavior changed from synchronous to asynchronous. User can specify OpenStack-API-Version 1.1 in request header for synchronous bay operations. * Magnum default service type changed from "container" to "container- infra". It is recommended to update the service type at Keystone service catalog accordingly. Changes in magnum 2.0.0..3.0.0 ------------------------------ 50bc376 Include version info in bay/cluster show operation 23b2610 Fix bay status: after bay-delete status is not DELETE_IN_PROGRESS 5c5bc5f Fix incorrect reference to bay-template-example.html 272903f Revert "Update mesos slave to mesos agent" 77c4f50 Updated from global requirements cdd14f2 Init api-ref structure and requirements 4d545d6 Compare test coverage with the master branch 08dc69e Removed not required style.css file 433eeb8 To use cinder with rexray downgrade to version: 0.3.3 584380f Rename Bay to Cluster in docs 8aed31a Add cluster to cert commands 06d5bb5 Add history for API versions supported by magnum b4b3226 Make templates env path be const variable 2cc25ab Allow k8s cluster without Floating IP 4a35781 Bay to Cluster api cleanup 3ee2965 Openvswitch image build d82d8b2 Get mandatory patch attrs from WSME properties 52224c5 Simplify test_create_list_sign_delete_clusters() tempest test 52328aa Updated from global requirements 802f137 Revert "Use symlinks for common template files" c520085 Add Mesos labels and summary for labels eaddb94 Rename Bay to Cluster in api f9e8c70 Updates k8s example rc to use correct label f984638 Use upper constraints for all jobs in tox.ini 26370a2 Add floating_ip_enabled field to baymodel 9d6045c Increase in UT coverage 017ac4a Fix tempest.conf generation 6cb748d Align k8s CoreOS with atomic: add proxy config 0e175f3 Update to User Guide 63b5c21 Rollback bay on update failure 52f3092 Set bay status: DELETE_IN_PROGRESS before updated by poll fb0057c Add i18n translation for Log messages e2d320d Increase test coverage c827039 Fix an issue on kube-proxy in CoreOS bay d81b2df Fix the CoreOS fragment write-kubeconfig.yaml 883ce8e Correct the get_file patch in CoreOS template 9fe81ba Increased UT of magnum/api/app.py ca1f9e6 Updated from global requirements 8486667 Add test for update baymodel public 81771f6 Improve unit test coverage for cmd/conductor.py 1f18d9e Improve unit test coverage for cmd/api.py c0604fb Improve unit test coverage for common/service.py 28d8eca Change stacks:global_index heat policy to context_is_admin bf30b9b Support for async bay operations 1dff798 Fix indentation and if expressions in make-cert 62a4676 Use memory mode for sqlite in db test 4e14a3d Functional: validate OpenStack resources 748cf13 Use symlinks for common template files e6a29fb Remove ReplicationController object b5d05fc Add openSUSE driver support to Magnum 1f1a4c8 Increased test coverage 3fa4179 Remove Invalid README.md for k8s fddf1a3 Makes config file generation reproducible 83e0d8d Add functional test for k8s ironic 08531c1 Fix ironic template d5616dc Re: Remove dependency of metadata service 4b87c57 Support HA for k8s coreos bay 7a12d94 Pass missing variables to heat-params 1095699 Updated from global requirements 8cd71a6 Use kubelet-wrapper provided by CoreOS 83d1546 Remove kube-user.yaml 7963f20 Fix copying logs from nodes e76ca36 Fix for enum type docker_storage_driver cb1d8f5 Updated from global requirements e6a71b9 Add microversioning support for methods db03470 Correct hyperlink syntax in userguide 42ef3dc Restricted Magnum service state to 'up' and 'down' bfaea6c Add support for master elected component b658392 Drop MANIFEST.in - it's not needed by pbr e4a8242 API: restrict length of bay's name to 242 1c28c93 Updated from global requirements 40aa655 Remove container object 797f942 Add TLS section to User Guide 2e54b73 Add functional test for public baymodel 28c8014 Add hacking rule for explicit import of _ function 960448c Add functional test for image/flavor validation b3de592 Create a base class for tempest tests 5239869 Add Bay section to User Guide 0f3ebe9 Remove unnecessary code 4eca907 Consolidate heat fragments 828aff6 Fix some simple mistake c898296 Bay name must start with alphabets only f081cf1 k8s_coreos_driver: cleanup file naming f895b2b Fix global stack list in periodic task cff9ef5 De-duplicate the decouple-LBaaS-related files 8495098 Corrected import module in gmr.rst c07a1f6 k8s: Remove unused volume mount for kube-proxy 5c2fc0b Added hacking check to ensure LOG.warn is not used ee201a9 Fix typo in baymodel param 966e6d9 Move common/fragments into templates directory 7a5cd24 Pass private ip address to scale manager 921e3f8 Updated from global requirements fb8425e fix bug for configure-kubernetes-minion.sh 4427374 Fix the permission of these files -rwxr-xr-x 3b3d337 Add Mesos section to User Guide 9c093da Set swarm api_address protocol to tcp on all cases. f33ca29 Correction in heat template description 635e79e Add check on docker_volume_size 2f1a1f6 [install] Add debian and ubunutu IGs f645514 [install] Refactor configuration in IG cd6cbc2 Updated from global requirements 097ae91 Removed unwanted files 514dc58 add hacking for assertIsNotNone 5f55ef6 Fix wrong COE name in template 48db85c modify test_assert_is_not_none 54ce2d2 Formatting userguide. 1b3ab81 Remove repeated WaitConditionHandle resource 15162ce Update mesos slave to mesos agent a295500 Updated from global requirements f3f0f9f Add i18n support for some ERROR message ec729d6 Replace "LOG.info(_" with "LOG.info(_LI" 1726957 Fix for k8s bay creation stall 7df7439 Allow swarm cluster without LBaaS a76097e Fix bug for write-kube-os-config.sh 3214c6e Support the OpenStack-API-Version header 830db91 Updated from global requirements f71968f Allow mesos cluster without LBaaS 6789c71 Replace assertEqual(None, *) with assertIsNone in tests b16b4b6 Correction in kube-ui-service.sh script 3ca2eb3 Fix OS::stack_id is set as stack id instead of private ip 9dd1018 Remove unused LOG to keep code clean fec5622 Nit documentation formatting 0a56f55 Add Python 3.5 classifier and venv 21a3b21 Update default version of heat template 894f03b Correct the rest of the reraising of exception f09f314 k8s coreos bay driver a5ae8b3 Bay driver: k8s Fedora Atomic dca691d Add "WAIT_CURL" parameter to the template of swarm 40e341d tempest: Allow the old-style name project name b04659c Nit document formatted deb10d3 Updates microversion root and error messages 833392e Remove dependency of metadata service d6e8753 Add description to the output_key of stack. 85a2fdd Correct reraising of exception c93df2a Move common bay drivers fragments in common dir 1e82948 tempest: Don't hardcode external network id f9c662e Fix string declaration in periodic.py c73a44a Misspelled text corresponding to method 'get_template_definition' is commited 20029b6 Change the type of flannel_network_subnetlen to 'number' 3ac8704 Delete unused discovery_url for swarm 2ea72d7 Allow k8s cluster without LBaaS 242cbe0 Mesos-Ubuntu bay driver implementation 4080d4a Bay driver implementation 2f2971b Move Initialization of variables inside if/else ae0b77a Improve validation for the external network parameter 16d8842 Add a explanatory text when flavor is None f515007 Bay_create_timeout should be set to 60 default 15841b2 Fix typos for Magnum 4ce7177 Fixed typo for Availability 316089d Fix typos in resource-quotas.rst 1f1aa5a Add Bay Drivers section in user guide 4c2b1cc Updated from global requirements 899fbdd Change service name from "magnum" to "container-infra" e31ef64 Delete certs when deleting bay 62c75e5 Add fixed_subnet field to baymodel 91d8aa4 Improve unit test coverage 253f0ce Validate discovery url when create a bay f1c33e5 Fix typo in create-trustee-user-for-each-bay.rst 47502d3 Fix typo in async-container-operation.rst c18019e Add Baymodel section to User Guide b6df29c [install] Add obs install-guide 3e43fbd Fix file permission in dib elements 6d10dbf Add master_lb_enabled field to baymodel db61da3 Allow Bay templates to include Heat environments 8a5acbd Pass some common cert related arguments to clients cfc92b2 Fix DIB dependencies for >= Fedora 22 3d611db Fix docker storage drivers configuration d3ab838 Updated from global requirements bd0b3ec Delete unused cert_group variable b456cf7 Modify mesos template to support removal policy 5f193f2 Add x509keypair_cert_manager to store certs in DB 936dd11 [install] Add install guide from template for rdo e9956d4 Add Swarm section to User Guide 51b1f30 Remove K8sResourceBase ca85bd9 Updated from global requirements 2981bce Make 'signing csr' accept Unicode CA Private key b7971db Updated from global requirements 91ff3ef Modify the manual-devstack document for copying api-paste.ini a43616a Wrong parameter in InvalidName exception message dae88dd Auto generate Bay/BayModel name d4fa259 Use kojipkgs for diskimage-builder eb2110a Moving feroda atomic image to the bay driver folder. 3c93163 Fix typo in open-dcos.rst file aad2fe3 Load heat-params before setting nounset c30cb97 Updated from global requirements ce04aa6 Remove unused POT files 1527445 Add Kubernetes section to User Guide 3961e3c Gate: fix the credential object type error df9a4ab Change here doc limit strings to fix EOF in EOF. b4ab661 Fix cli usage to get ca.crt and client.crt c01420e Set 'nested_depth=2' when calling heat.resources.list 942be36 Updated from global requirements f9bdc4e Run the unit tests to test magnum objects a482ce8 First check whether output_value is None 275d6f5 Duplicated parameter definition in template 678f74c Put fault info of bay resources into bay-show outputs af07380 Delete duplicate statement 1d74849 Support trustee_domain_name in config file 820603b Fix get_coe_valodator() clear unused Validator d4747fe Fix indentation in install-guide 905757f Updated from global requirements 7c239bf [install] Add install guide from source 2b3c4a0 Update microversion header to include service type magnum c3491ad Fix string format in cmd/conductor 3e02840 Remove service object 034aaf4 Spec for Open DC/OS and Magnum Integration. dec85b5 Add docker-storage-driver attribute to baymodel ed392bd Update swarm templates to use Heat resources 12da197 Fix Kubernetes-related deprecation in quickstart 6e39cbb Update for Swarm Bay quickstart docs 88bbe8a Add Bay Drivers specification d9428fe Updated from global requirements 303d14d X509keypair cleanup 88124be Delete unused _admin_client variable 41b9ae6 Updated from global requirements 9641afd Support using insecure registry for k8s COE 96c0286 Fix an EndpointNotFound error c1e5444 Updated from global requirements c06b4f4 Use fixtures.TempDir in unit tests d20e5ef Remove pod object d8a3e64 Remove redundant utils code 0b2fefa devstack: fix magnum service name in is_magnum_enabled 8d09bd6 Fix spelling error on get_docker_quantity method 586b249 Use oslo_utils.is_int_like support 45ed383 Use oslo_utils.uuidutils support 490ddee Remove redundant exceptions code c68e6c3 Add accidentally deleted test_hooks.py 0d0cbb0 Gate: fix tempest config error 754233c Update Magnum service name and description 493c3f2 Updated from global requirements b6a98b0 Document usage of notifications 7b1e0ec Add insecure_registry column to baymoddel 82f477b Remove k8s APIs pod, rcs, svc and container API c7b0a8c Register k8s node but make it unschedulable 3bd8d5e Add mesos_slave_executor_env_variables validate 0fc8f43 Fix the swarm test for gate e136f36 Add Storage section in user guide d37a9be Updated from global requirements 4c62436 Emit notifications when bay operations get executed 2534a15 Fix two issues on k8s bay 158b339 Update Image section in user guide e5b320d Added "Choosing a COE" to user guide 6e082e9 Move k8s specific terms to k8s section e280b03 Code refactoring in conductor/k8s_api.py f0a3487 Honor insecure and cafile options in a trustee session 98c84cd Updated from global requirements 4b643ba Fix the quickstart guide for using kubectl a96216b Updated from global requirements 69971ce Correct attribute name in TestListBayModel 33464e6 Update documentation to use native APIs 6e5d28b Updated from global requirements c348154 Cleanup in Mesos template e9ced7f Add troubleshooting steps for trustee creation 66cbd8c Always expand Baymodel fields f921112 Correct parameter order for assertEqual() method f23be29 Add mesos_slave_image_providers validate 958d1e5 Corrected spelling mistake in quickstart.rst 4ffe3c9 Revert "Remove KUBE_API_PUBLIC_ADDRESS" 9f40bef Updated from global requirements bb05385 Enable TLS support for k8s CoreOS 89db1b6 Use the latest atomic image name fd0974e Start using fedora atomic images that live in our mirrors f7f78f6 Add mesos_slave_isolation validate c52e5be Add tox test for k8s coreos bay df977f9 Updated from global requirements 9ff8e23 Fix parameter mismatch in CoreOS templates d126338 Copy logs if test failed and bay nodes existed ec8bf13 Remove KUBE_API_PUBLIC_ADDRESS 08b6018 Update docs to use the latest image link d560cbd Replace tempest-lib with tempest.lib 7d8d090 Add docker registry support for swarm a8da56e Updated from global requirements 1a77e5a [Trivial] Remove executable privilege of doc/source/conf.py e4258cb Updated from global requirements 114c18a Functional: Add prefix when copy logs on failure 99f646a Update outdated doc index file 0a7cde5 Cleanup some validation functions 08d41a2 Healthcheck Middleware 7ed343c Add script to validate fedora atomic images e232c7f Heat params are different in swarm master and swarm node 9c5199b Grab heat-params for debugging 309095c Updated from global requirements 84e724e Enable Mesos Bay export more slave flags dffbabc Log copy for failed functional tests cannot be disabled 3fe3e46 devstack: Use magnum-api and magnum-cond for services 2b667eb Fix container-create memory not passed 39f7a4b Imported Translations from Zanata 816caea Fix specs reference rst format 5364356 Remove constraints envs from tox.ini e3fef84 Fix post jobs 42e3657 Imported Translations from Zanata a665065 Use k8sclient library f575ef7 Gate: Remove neutron-lbaas devstack plugin 9712370 Functional tests should support DNS nameserver config e57511f Fix bashisms in k8s conf minion template fragment. 40b11d2 Fix bashisms in k8s os config template fragment. 71c97b9 Docs: switch to neutron-lbaas plugin 11b8800 Move project-configs to gate hook 342d188 Updated from global requirements 353d631 Fix bashisms found in swarm template fragments. d2676a2 Config docker registry in devstack 970c9a2 Add support for docker registry a10af07 Updated from global requirements 6a7abf4 Fix the rst url format 785eb98 Add subjectAltName back to CSR config 5be7634 Fix bashisms found in shell scripts. b20d411 Fix uuid cases with real UUID 7453c46 replace wsexpose by magnum.api.expose.expose 68eb8b2 Add script to install image build dependencies 924e94d Fix doc for certificate 779c4b0 Format template 639dcbe update doc for ca-show and ca-sign 8972b0c Notify Heat only if kube-apiserver is running b3e5ce0 Update Kube version for latest image b8324f0 Fix two issues that broke the gate cb918fc Updated from global requirements d688b94 Doc: fix flannel etcd key 7254915 Fix wrong parameter while creating bay 3fe5849 Use fedorapeople for getting fedora image 68b51d2 Fix an incorrect key path on copying logs e79d4a1 Bay can not be deleted by other users in the same project 5ecf71a Use trust for tls cert generation in swarm 11307f6 Add cpu util to K8sMonitor c1b63cd Add reno to Magnum 58f08be Updated from global requirements dbcfe35 Magnum's tox test should respect upper-constraints 32f917c Switch to Atomic 23 a87603b Revert "Gate: fix AttributeError: load_pem_x509_csr" 2e68464 Update Using Container Volume Integration Feature doc bc56f28 Add Container Volume Model into Kubernetes Heat Templates 196eae1 Add cpu util to MesosMonitor e2def6f Generate fedora-atomic images using dib ce55b76 Fix config error eada966 Fix typos in Magnum files 97a939f Cleanup duplicated auth_url in k8scluster/master template df1bf7e Remove the "Patch" function e8d5378 Use trust for tls generation a329d35 Fix usage of registering magnum endpoint 28e9b69 Fix bashisms in enable-kube scripts 7f145e7 Refactor Keystone client with keystoneauth f2c5ea2 Remove unnecessary blank at command line usage 8a009dc cleanup usage of LOG.debug in magnum 4205f39 Add hacking check to ensure not use xrange() c82da08 Allow update baymodel's public field even if referenced 6b72bf8 Cleanup container client api rewrite function f3a56f9 Release certs/trust when creating bay is failed 3bd7492 Allow show public baymodel b0ce382 Use bay to init K8sAPI instead of bay_uuid 2471fa6 Allow to parameterize image name in tests 392a84a Make kubernetes image version united into a variable a75b5fb Gate: fix AttributeError: load_pem_x509_csr ce18394 Raise OperationInProgres(400) when deleting bay conflict 14909f0 Add flannel's host-gw backend option d207488 Add the container volume integration document 22b4be7 The type of node_count is number b819dcf Refactor bay_conductor to split trust methods a0b1a15 Spec for asynchronous container operations 08ac9a6 Remove minion dependency on master Diffstat (except docs and test files) ------------------------------------- .coveragerc | 3 + .gitignore | 4 + .testr.conf | 2 +- HACKING.rst | 5 + MANIFEST.in | 9 - api-ref/source/baymodels_clustertemplates.inc | 0 api-ref/source/bays_clusters.inc | 0 api-ref/source/certificates.inc | 0 api-ref/source/conf.py | 247 + api-ref/source/index.rst | 14 + api-ref/source/mservices.inc | 0 api-ref/source/status.yaml | 62 + api-ref/source/urls.inc | 31 + api-ref/source/versions.inc | 0 contrib/drivers/k8s_opensuse_v1/README.md | 19 + contrib/drivers/k8s_opensuse_v1/__init__.py | 0 contrib/drivers/k8s_opensuse_v1/setup.py | 36 + contrib/drivers/k8s_opensuse_v1/template_def.py | 150 + contrib/drivers/k8s_opensuse_v1/templates/COPYING | 202 + .../drivers/k8s_opensuse_v1/templates/README.md | 143 + .../templates/fragments/configure-docker.sh | 58 + .../templates/fragments/configure-etcd.sh | 21 + .../fragments/configure-flanneld-master.sh | 74 + .../fragments/configure-flanneld-minion.sh | 25 + .../fragments/configure-kubernetes-master.sh | 55 + .../fragments/configure-kubernetes-minion.sh | 50 + .../fragments/create-kubernetes-user.yaml | 9 + .../fragments/write-heat-params-master.yaml | 25 + .../templates/fragments/write-heat-params.yaml | 32 + .../k8s_opensuse_v1/templates/kubecluster.yaml | 513 + .../k8s_opensuse_v1/templates/kubemaster.yaml | 280 + .../k8s_opensuse_v1/templates/kubeminion.yaml | 313 + contrib/drivers/k8s_opensuse_v1/version.py | 16 + contrib/templates/example/README.rst | 8 +- .../templates/example/example_template/__init__.py | 4 +- .../example/example_template/example.yaml | 4 +- cover.sh | 71 + devstack/README.rst | 5 +- devstack/lib/magnum | 89 +- devstack/plugin.sh | 9 +- devstack/settings | 4 +- .../etc/systemd/system/magnum-conductor.service | 15 + etc/magnum/api-paste.ini | 7 +- etc/magnum/policy.json | 34 +- functional_creds.conf.sample | 2 +- .../source/common/configure_2_edit_magnum_conf.rst | 104 + .../common/configure_3_populate_database.rst | 5 + install-guide/source/common/prerequisites.rst | 188 + install-guide/source/conf.py | 300 + install-guide/source/get_started.rst | 20 + install-guide/source/index.rst | 23 + install-guide/source/install-debian-manual.rst | 32 + install-guide/source/install-obs.rst | 36 + install-guide/source/install-rdo.rst | 45 + install-guide/source/install-ubuntu.rst | 32 + install-guide/source/install.rst | 44 + install-guide/source/next-steps.rst | 9 + install-guide/source/verify.rst | 33 + magnum/MANIFEST.in | 1 - magnum/api/app.py | 6 +- magnum/api/attr_validator.py | 138 +- magnum/api/controllers/base.py | 216 +- magnum/api/controllers/link.py | 2 +- magnum/api/controllers/root.py | 25 +- magnum/api/controllers/v1/__init__.py | 126 +- magnum/api/controllers/v1/base.py | 81 - magnum/api/controllers/v1/bay.py | 194 +- magnum/api/controllers/v1/baymodel.py | 102 +- magnum/api/controllers/v1/certificate.py | 81 +- magnum/api/controllers/v1/cluster.py | 497 + magnum/api/controllers/v1/cluster_template.py | 433 + magnum/api/controllers/v1/container.py | 457 - magnum/api/controllers/v1/magnum_services.py | 8 +- magnum/api/controllers/v1/pod.py | 308 - magnum/api/controllers/v1/replicationcontroller.py | 341 - magnum/api/controllers/v1/service.py | 316 - magnum/api/controllers/v1/types.py | 41 +- magnum/api/controllers/v1/x509keypair.py | 264 - magnum/api/controllers/versions.py | 149 + magnum/api/http_error.py | 70 + magnum/api/middleware/parsable_error.py | 68 +- magnum/api/rest_api_version_history.rst | 46 + magnum/api/utils.py | 31 +- magnum/api/validation.py | 43 +- magnum/api/versioned_method.py | 35 + magnum/cmd/conductor.py | 16 - magnum/cmd/template_manage.py | 2 +- .../common/cert_manager/barbican_cert_manager.py | 29 +- .../cert_manager/x509keypair_cert_manager.py | 100 + magnum/common/clients.py | 72 +- magnum/common/context.py | 31 +- magnum/common/docker_utils.py | 28 - magnum/common/exception.py | 240 +- magnum/common/keystone.py | 262 +- magnum/common/name_generator.py | 37 + magnum/common/policy.py | 3 - magnum/common/pythonk8sclient/README.rst | 52 - magnum/common/pythonk8sclient/__init__.py | 0 .../pythonk8sclient/swagger_client/__init__.py | 121 - .../pythonk8sclient/swagger_client/api_client.py | 562 - .../swagger_client/apis/__init__.py | 4 - .../swagger_client/apis/apiv_api.py | 16248 ------------------- .../swagger_client/configuration.py | 169 - .../swagger_client/models/__init__.py | 111 - .../swagger_client/models/api_patch.py | 76 - .../swagger_client/models/json_watch_event.py | 124 - .../v1_aws_elastic_block_store_volume_source.py | 174 - .../swagger_client/models/v1_binding.py | 174 - .../swagger_client/models/v1_capabilities.py | 124 - .../swagger_client/models/v1_capability.py | 76 - .../models/v1_component_condition.py | 174 - .../swagger_client/models/v1_component_status.py | 174 - .../models/v1_component_status_list.py | 174 - .../swagger_client/models/v1_container.py | 449 - .../swagger_client/models/v1_container_port.py | 199 - .../swagger_client/models/v1_container_state.py | 149 - .../models/v1_container_state_running.py | 99 - .../models/v1_container_state_terminated.py | 249 - .../models/v1_container_state_waiting.py | 99 - .../swagger_client/models/v1_container_status.py | 274 - .../swagger_client/models/v1_delete_options.py | 149 - .../models/v1_empty_dir_volume_source.py | 99 - .../swagger_client/models/v1_endpoint_address.py | 124 - .../swagger_client/models/v1_endpoint_port.py | 149 - .../swagger_client/models/v1_endpoint_subset.py | 124 - .../swagger_client/models/v1_endpoints.py | 174 - .../swagger_client/models/v1_endpoints_list.py | 174 - .../swagger_client/models/v1_env_var.py | 149 - .../swagger_client/models/v1_env_var_source.py | 99 - .../swagger_client/models/v1_event.py | 324 - .../swagger_client/models/v1_event_list.py | 174 - .../swagger_client/models/v1_event_source.py | 124 - .../swagger_client/models/v1_exec_action.py | 99 - .../swagger_client/models/v1_finalizer_name.py | 76 - .../models/v1_gce_persistent_disk_volume_source.py | 174 - .../models/v1_git_repo_volume_source.py | 124 - .../models/v1_glusterfs_volume_source.py | 149 - .../swagger_client/models/v1_handler.py | 149 - .../models/v1_host_path_volume_source.py | 99 - .../swagger_client/models/v1_http_get_action.py | 174 - .../models/v1_iscsi_volume_source.py | 199 - .../swagger_client/models/v1_lifecycle.py | 124 - .../swagger_client/models/v1_limit_range.py | 174 - .../swagger_client/models/v1_limit_range_item.py | 174 - .../swagger_client/models/v1_limit_range_list.py | 174 - .../swagger_client/models/v1_limit_range_spec.py | 99 - .../swagger_client/models/v1_list_meta.py | 124 - .../models/v1_load_balancer_ingress.py | 124 - .../models/v1_load_balancer_status.py | 99 - .../models/v1_local_object_reference.py | 99 - .../swagger_client/models/v1_namespace.py | 199 - .../swagger_client/models/v1_namespace_list.py | 174 - .../swagger_client/models/v1_namespace_spec.py | 99 - .../swagger_client/models/v1_namespace_status.py | 99 - .../swagger_client/models/v1_nfs_volume_source.py | 149 - .../swagger_client/models/v1_node.py | 199 - .../swagger_client/models/v1_node_address.py | 124 - .../swagger_client/models/v1_node_condition.py | 224 - .../swagger_client/models/v1_node_list.py | 174 - .../swagger_client/models/v1_node_spec.py | 174 - .../swagger_client/models/v1_node_status.py | 199 - .../swagger_client/models/v1_node_system_info.py | 274 - .../models/v1_object_field_selector.py | 124 - .../swagger_client/models/v1_object_meta.py | 349 - .../swagger_client/models/v1_object_reference.py | 249 - .../swagger_client/models/v1_persistent_volume.py | 199 - .../models/v1_persistent_volume_access_mode.py | 76 - .../models/v1_persistent_volume_claim.py | 199 - .../models/v1_persistent_volume_claim_list.py | 174 - .../models/v1_persistent_volume_claim_spec.py | 149 - .../models/v1_persistent_volume_claim_status.py | 149 - .../v1_persistent_volume_claim_volume_source.py | 124 - .../models/v1_persistent_volume_list.py | 174 - .../models/v1_persistent_volume_spec.py | 349 - .../models/v1_persistent_volume_status.py | 149 - .../swagger_client/models/v1_pod.py | 199 - .../swagger_client/models/v1_pod_condition.py | 124 - .../swagger_client/models/v1_pod_list.py | 174 - .../swagger_client/models/v1_pod_spec.py | 374 - .../swagger_client/models/v1_pod_status.py | 274 - .../swagger_client/models/v1_pod_template.py | 174 - .../swagger_client/models/v1_pod_template_list.py | 174 - .../swagger_client/models/v1_pod_template_spec.py | 124 - .../swagger_client/models/v1_probe.py | 199 - .../swagger_client/models/v1_rbd_volume_source.py | 274 - .../models/v1_replication_controller.py | 199 - .../models/v1_replication_controller_list.py | 174 - .../models/v1_replication_controller_spec.py | 149 - .../models/v1_replication_controller_status.py | 124 - .../swagger_client/models/v1_resource_quota.py | 199 - .../models/v1_resource_quota_list.py | 174 - .../models/v1_resource_quota_spec.py | 99 - .../models/v1_resource_quota_status.py | 124 - .../models/v1_resource_requirements.py | 124 - .../swagger_client/models/v1_se_linux_options.py | 174 - .../swagger_client/models/v1_secret.py | 199 - .../swagger_client/models/v1_secret_list.py | 174 - .../models/v1_secret_volume_source.py | 99 - .../swagger_client/models/v1_security_context.py | 174 - .../swagger_client/models/v1_service.py | 199 - .../swagger_client/models/v1_service_account.py | 199 - .../models/v1_service_account_list.py | 174 - .../swagger_client/models/v1_service_list.py | 174 - .../swagger_client/models/v1_service_port.py | 199 - .../swagger_client/models/v1_service_spec.py | 224 - .../swagger_client/models/v1_service_status.py | 99 - .../swagger_client/models/v1_status.py | 274 - .../swagger_client/models/v1_status_cause.py | 149 - .../swagger_client/models/v1_status_details.py | 174 - .../swagger_client/models/v1_tcp_socket_action.py | 99 - .../swagger_client/models/v1_volume.py | 374 - .../swagger_client/models/v1_volume_mount.py | 149 - .../common/pythonk8sclient/swagger_client/rest.py | 283 - magnum/common/pythonk8sclient/templates/v1.json | 12683 --------------- magnum/common/rpc.py | 10 +- magnum/common/rpc_service.py | 7 + magnum/common/service.py | 4 +- magnum/common/urlfetch.py | 6 +- magnum/common/utils.py | 405 +- magnum/common/x509/operations.py | 26 +- magnum/common/yamlutils.py | 13 +- magnum/conductor/api.py | 109 +- magnum/conductor/handlers/bay_conductor.py | 167 +- magnum/conductor/handlers/ca_conductor.py | 5 +- magnum/conductor/handlers/common/cert_manager.py | 61 +- magnum/conductor/handlers/common/trust_manager.py | 54 + magnum/conductor/handlers/docker_conductor.py | 211 - magnum/conductor/handlers/k8s_conductor.py | 479 - magnum/conductor/handlers/x509keypair_conductor.py | 42 - magnum/conductor/k8s_api.py | 40 +- magnum/conductor/k8s_monitor.py | 72 +- magnum/conductor/mesos_monitor.py | 16 +- magnum/conductor/monitors.py | 4 +- magnum/conductor/scale_manager.py | 2 +- magnum/conductor/template_definition.py | 674 - magnum/conductor/utils.py | 74 +- magnum/db/api.py | 362 +- .../versions/085e601a39f6_remove_service.py | 28 + .../versions/1f196a3dabae_remove_container.py | 28 + ...d_master_lb_enabled_column_to_baymodel_table.py | 30 + .../859fb45df249_remove_replication_controller.py | 28 + ...1136d335540_add_docker_storage_driver_column.py | 36 + ...612248cab_add_floating_ip_enabled_column_to_.py | 32 + .../d072f58ab240_modify_x509keypair_table.py | 39 + ...71_add_fixed_subnet_column_to_baymodel_table.py | 30 + ...47f5931da8_add_insecure_registry_to_baymodel.py | 30 + .../alembic/versions/ef08a5e057bd_remove_pod.py | 28 + .../fcb4efee8f8b_add_version_info_to_bay.py | 34 + magnum/db/sqlalchemy/api.py | 502 +- magnum/db/sqlalchemy/models.py | 105 +- magnum/drivers/__init__.py | 0 magnum/drivers/common/__init__.py | 0 .../drivers/common/image/fedora-atomic/README.rst | 67 + .../common/image/fedora-atomic/element-deps | 4 + .../fedora-atomic/environment.d/50-fedora-atomic | 2 + .../fedora-atomic/finalise.d/80-fedora-atomic | 68 + .../image/fedora-atomic/install_imagebuild_deps.sh | 21 + .../image/fedora-atomic/package-installs.yaml | 2 + .../image/fedora-atomic/validate_atomic_image.sh | 29 + magnum/drivers/common/template_def.py | 445 + .../environments/disable_floating_ip.yaml | 13 + .../templates/environments/enable_floating_ip.yaml | 10 + .../templates/environments/no_master_lb.yaml | 12 + .../templates/environments/with_master_lb.yaml | 12 + .../fragments/api_gateway_switcher_master.yaml | 32 + .../fragments/api_gateway_switcher_pool.yaml | 32 + .../fragments/configure-docker-registry.sh | 45 + .../configure_docker_storage_driver_atomic.sh | 38 + .../floating_ip_address_switcher_private.yaml | 21 + .../floating_ip_address_switcher_public.yaml | 21 + magnum/drivers/k8s_coreos_v1/__init__.py | 0 magnum/drivers/k8s_coreos_v1/template_def.py | 145 + magnum/drivers/k8s_coreos_v1/templates/COPYING | 202 + .../k8s_coreos_v1/templates/elements/README.md | 29 + .../templates/elements/kubernetes/elements-deps | 1 + .../elements/kubernetes/package-installs.yaml | 4 + .../templates/fragments/add-proxy.yaml | 46 + .../templates/fragments/configure-etcd.yaml | 46 + .../templates/fragments/create-kube-namespace.yaml | 47 + .../templates/fragments/enable-kube-apiserver.yaml | 92 + .../fragments/enable-kube-controller-manager.yaml | 77 + .../templates/fragments/enable-kube-podmaster.yaml | 77 + .../fragments/enable-kube-proxy-master.yaml | 50 + .../fragments/enable-kube-proxy-minion.yaml | 73 + .../templates/fragments/enable-kube-scheduler.yaml | 51 + .../templates/fragments/enable-kubelet-master.yaml | 47 + .../templates/fragments/enable-kubelet-minion.yaml | 64 + .../fragments/enable-network-service.yaml | 55 + .../templates/fragments/make-cert-client.yaml | 130 + .../templates/fragments/make-cert.yaml | 149 + .../templates/fragments/wc-notify.yaml | 24 + .../fragments/write-heat-params-master.yaml | 38 + .../templates/fragments/write-heat-params.yaml | 43 + .../templates/fragments/write-kubeconfig.yaml | 24 + .../templates/fragments/write-network-config.yaml | 45 + .../k8s_coreos_v1/templates/kubecluster.yaml | 427 + .../k8s_coreos_v1/templates/kubemaster.yaml | 454 + .../k8s_coreos_v1/templates/kubeminion.yaml | 310 + magnum/drivers/k8s_coreos_v1/version.py | 17 + magnum/drivers/k8s_fedora_atomic_v1/__init__.py | 0 .../image/ironic/kubernetes/Readme.md | 42 + .../image/ironic/kubernetes/elements-deps | 1 + .../image/ironic/kubernetes/package-installs.yaml | 4 + .../drivers/k8s_fedora_atomic_v1/template_def.py | 274 + .../drivers/k8s_fedora_atomic_v1/templates/COPYING | 202 + .../templates/elements/README.md | 29 + .../templates/elements/kubernetes/elements-deps | 1 + .../elements/kubernetes/package-installs.yaml | 4 + .../templates/fragments/add-proxy.sh | 40 + .../fragments/configure-docker-storage.sh | 44 + .../templates/fragments/configure-etcd.sh | 25 + .../templates/fragments/configure-flannel.sh | 30 + .../fragments/configure-kubernetes-master.sh | 62 + .../fragments/configure-kubernetes-minion.sh | 90 + .../templates/fragments/disable-selinux.sh | 8 + .../templates/fragments/enable-docker-registry.sh | 12 + .../templates/fragments/enable-etcd.sh | 5 + .../templates/fragments/enable-kube-podmaster.sh | 152 + .../fragments/enable-kube-proxy-master.sh | 39 + .../fragments/enable-kube-proxy-minion.sh | 56 + .../templates/fragments/enable-services-master.sh | 11 + .../templates/fragments/enable-services-minion.sh | 17 + .../templates/fragments/kube-examples.yaml | 117 + .../fragments/kube-system-namespace-service.sh | 66 + .../templates/fragments/kube-ui-service.sh | 121 + .../templates/fragments/make-cert-client.sh | 117 + .../templates/fragments/make-cert.sh | 128 + .../templates/fragments/network-config-service.sh | 58 + .../templates/fragments/network-service.sh | 78 + .../templates/fragments/wc-notify-master.sh | 36 + .../fragments/write-heat-params-master.yaml | 39 + .../templates/fragments/write-heat-params.yaml | 44 + .../templates/fragments/write-kube-os-config.sh | 24 + .../templates/fragments/write-kubeconfig.yaml | 24 + .../templates/fragments/write-network-config.sh | 28 + .../templates/kubecluster-fedora-ironic.yaml | 543 + .../templates/kubecluster.yaml | 583 + .../templates/kubemaster-fedora-ironic.yaml | 428 + .../k8s_fedora_atomic_v1/templates/kubemaster.yaml | 464 + .../templates/kubeminion-fedora-ironic.yaml | 404 + .../k8s_fedora_atomic_v1/templates/kubeminion.yaml | 439 + magnum/drivers/k8s_fedora_atomic_v1/version.py | 17 + magnum/drivers/mesos_ubuntu_v1/COPYING | 202 + magnum/drivers/mesos_ubuntu_v1/README.md | 4 + magnum/drivers/mesos_ubuntu_v1/__init__.py | 0 magnum/drivers/mesos_ubuntu_v1/image/Dockerfile | 17 + magnum/drivers/mesos_ubuntu_v1/image/README.md | 4 + .../mesos_ubuntu_v1/image/docker/elements-deps | 1 + .../image/docker/package-installs.yaml | 1 + .../post-install.d/60-disable-docker-service | 4 + .../image/docker/pre-install.d/10-add-docker-repo | 17 + .../mesos_ubuntu_v1/image/mesos/elements-deps | 1 + .../image/mesos/package-installs.yaml | 3 + .../image/mesos/post-install.d/60-disable-upstart | 6 + .../image/mesos/pre-install.d/10-apt-repo | 20 + magnum/drivers/mesos_ubuntu_v1/template_def.py | 97 + .../templates/fragments/add-proxy.sh | 38 + .../templates/fragments/configure-mesos-master.sh | 72 + .../templates/fragments/configure-mesos-slave.sh | 53 + .../templates/fragments/start-services-master.sh | 8 + .../templates/fragments/start-services-slave.sh | 8 + .../templates/fragments/volume-service.sh | 42 + .../fragments/write-heat-params-master.sh | 11 + .../templates/fragments/write-heat-params.yaml | 24 + .../mesos_ubuntu_v1/templates/mesoscluster.yaml | 481 + .../mesos_ubuntu_v1/templates/mesosmaster.yaml | 100 + .../mesos_ubuntu_v1/templates/mesosslave.yaml | 275 + magnum/drivers/mesos_ubuntu_v1/version.py | 17 + magnum/drivers/swarm_fedora_atomic_v1/__init__.py | 0 .../image/openvswitch/Dockerfile | 18 + .../image/openvswitch/README.rst | 68 + .../image/openvswitch/run_openvswitch_neutron.sh | 4 + .../drivers/swarm_fedora_atomic_v1/template_def.py | 129 + .../swarm_fedora_atomic_v1/templates/COPYING | 202 + .../swarm_fedora_atomic_v1/templates/README.md | 107 + .../swarm_fedora_atomic_v1/templates/cluster.yaml | 468 + .../templates/fragments/add-proxy.sh | 40 + .../templates/fragments/cfn-signal.sh | 15 + .../fragments/configure-docker-storage.sh | 38 + .../templates/fragments/configure-etcd.sh | 20 + .../templates/fragments/disable-selinux.sh | 4 + .../templates/fragments/enable-docker-registry.sh | 12 + .../templates/fragments/enable-services.sh | 11 + .../templates/fragments/make-cert.py | 184 + .../templates/fragments/network-config-service.sh | 65 + .../templates/fragments/network-service.sh | 84 + .../templates/fragments/remove-docker-key.sh | 4 + .../fragments/write-bay-failure-service.yaml | 16 + .../templates/fragments/write-docker-service.sh | 52 + .../templates/fragments/write-docker-socket.yaml | 20 + .../fragments/write-heat-params-master.yaml | 32 + .../fragments/write-heat-params-node.yaml | 36 + .../templates/fragments/write-network-config.sh | 22 + .../fragments/write-swarm-agent-service.sh | 59 + .../fragments/write-swarm-master-service.sh | 50 + .../templates/swarmmaster.yaml | 438 + .../templates/swarmnode.yaml | 388 + magnum/drivers/swarm_fedora_atomic_v1/version.py | 17 + magnum/hacking/checks.py | 102 + magnum/locale/ja/LC_MESSAGES/magnum.po | 43 +- magnum/locale/magnum-log-error.pot | 135 - magnum/locale/magnum-log-info.pot | 100 - magnum/locale/magnum-log-warning.pot | 103 - magnum/locale/magnum.pot | 770 - magnum/objects/__init__.py | 12 - magnum/objects/bay.py | 15 +- magnum/objects/baymodel.py | 20 +- magnum/objects/container.py | 186 - magnum/objects/fields.py | 42 +- magnum/objects/pod.py | 122 - magnum/objects/replicationcontroller.py | 118 - magnum/objects/service.py | 137 - magnum/objects/utils.py | 134 - magnum/objects/x509keypair.py | 46 +- magnum/opts.py | 9 +- magnum/public/css/style.css | 43 - magnum/service/periodic.py | 53 +- magnum/templates/kubernetes/COPYING | 202 - magnum/templates/kubernetes/README.md | 149 - magnum/templates/kubernetes/elements/README.md | 29 - .../kubernetes/elements/kubernetes/elements-deps | 1 - .../elements/kubernetes/package-installs.yaml | 4 - magnum/templates/kubernetes/fragments/add-proxy.sh | 40 - .../fragments/configure-docker-registry.sh | 45 - .../fragments/configure-docker-storage.sh | 30 - .../fragments/configure-etcd-coreos.yaml | 46 - .../kubernetes/fragments/configure-etcd.sh | 20 - .../kubernetes/fragments/configure-flannel.sh | 43 - .../fragments/configure-kubernetes-master.sh | 50 - .../fragments/configure-kubernetes-minion.sh | 45 - .../fragments/create-kube-namespace-coreos.yaml | 47 - .../kubernetes/fragments/disable-selinux.sh | 8 - .../kubernetes/fragments/enable-docker-registry.sh | 12 - .../templates/kubernetes/fragments/enable-etcd.sh | 5 - .../fragments/enable-kube-apiserver-coreos.yaml | 84 - .../enable-kube-controller-manager-coreos.yaml | 70 - .../fragments/enable-kube-podmaster-coreos.yaml | 77 - .../kubernetes/fragments/enable-kube-podmaster.sh | 141 - .../fragments/enable-kube-proxy-master-coreos.yaml | 59 - .../fragments/enable-kube-proxy-master.sh | 41 - .../fragments/enable-kube-proxy-minion-coreos.yaml | 67 - .../fragments/enable-kube-proxy-minion.sh | 56 - .../fragments/enable-kube-scheduler-coreos.yaml | 50 - .../fragments/enable-kubelet-master-coreos.yaml | 46 - .../fragments/enable-kubelet-minion-coreos.yaml | 50 - .../fragments/enable-network-service-coreos.yaml | 55 - .../kubernetes/fragments/enable-services-master.sh | 11 - .../kubernetes/fragments/enable-services-minion.sh | 17 - .../kubernetes/fragments/kube-examples.yaml | 117 - .../fragments/kube-system-namespace-service.sh | 65 - .../kubernetes/fragments/kube-ui-service.sh | 114 - .../templates/kubernetes/fragments/kube-user.yaml | 9 - .../kubernetes/fragments/make-cert-client.sh | 86 - magnum/templates/kubernetes/fragments/make-cert.sh | 82 - .../kubernetes/fragments/network-config-service.sh | 58 - .../kubernetes/fragments/network-service.sh | 77 - .../kubernetes/fragments/wc-notify-coreos.yaml | 24 - .../fragments/write-heat-params-master.yaml | 32 - .../kubernetes/fragments/write-heat-params.yaml | 33 - .../kubernetes/fragments/write-kube-os-config.sh | 24 - .../kubernetes/fragments/write-kubeconfig.yaml | 24 - .../fragments/write-network-config-coreos.yaml | 50 - .../kubernetes/fragments/write-network-config.sh | 44 - .../templates/kubernetes/kubecluster-coreos.yaml | 260 - .../kubernetes/kubecluster-fedora-ironic.yaml | 205 - magnum/templates/kubernetes/kubecluster.yaml | 548 - magnum/templates/kubernetes/kubemaster-coreos.yaml | 336 - .../kubernetes/kubemaster-fedora-ironic.yaml | 213 - magnum/templates/kubernetes/kubemaster.yaml | 419 - magnum/templates/kubernetes/kubeminion-coreos.yaml | 211 - .../kubernetes/kubeminion-fedora-ironic.yaml | 174 - magnum/templates/kubernetes/kubeminion.yaml | 397 - magnum/templates/mesos/COPYING | 202 - magnum/templates/mesos/Dockerfile | 17 - magnum/templates/mesos/README.md | 4 - magnum/templates/mesos/elements/README.md | 4 - .../templates/mesos/elements/docker/elements-deps | 1 - .../mesos/elements/docker/package-installs.yaml | 1 - .../post-install.d/60-disable-docker-service | 4 - .../docker/pre-install.d/10-add-docker-repo | 17 - .../templates/mesos/elements/mesos/elements-deps | 1 - .../mesos/elements/mesos/package-installs.yaml | 3 - .../mesos/post-install.d/60-disable-upstart | 6 - .../mesos/elements/mesos/pre-install.d/10-apt-repo | 20 - magnum/templates/mesos/fragments/add-proxy.sh | 38 - .../mesos/fragments/configure-mesos-master.sh | 72 - .../mesos/fragments/configure-mesos-slave.sh | 32 - .../mesos/fragments/start-services-master.sh | 8 - .../mesos/fragments/start-services-slave.sh | 8 - magnum/templates/mesos/fragments/volume-service.sh | 39 - .../mesos/fragments/write-heat-params-master.sh | 11 - .../mesos/fragments/write-heat-params.yaml | 20 - magnum/templates/mesos/mesoscluster.yaml | 420 - magnum/templates/mesos/mesosmaster.yaml | 94 - magnum/templates/mesos/mesosslave.yaml | 253 - magnum/templates/swarm/COPYING | 202 - magnum/templates/swarm/README.md | 107 - magnum/templates/swarm/fragments/add-proxy.sh | 40 - magnum/templates/swarm/fragments/cfn-signal.sh | 15 - .../swarm/fragments/configure-docker-storage.sh | 30 - magnum/templates/swarm/fragments/configure-etcd.sh | 20 - .../templates/swarm/fragments/disable-selinux.sh | 4 - .../templates/swarm/fragments/enable-services.sh | 11 - magnum/templates/swarm/fragments/make-cert.py | 147 - .../swarm/fragments/network-config-service.sh | 65 - .../templates/swarm/fragments/network-service.sh | 84 - .../templates/swarm/fragments/remove-docker-key.sh | 4 - .../swarm/fragments/write-bay-failure-service.yaml | 16 - .../swarm/fragments/write-docker-service.sh | 52 - .../swarm/fragments/write-docker-socket.yaml | 20 - .../swarm/fragments/write-heat-params.yaml | 27 - .../swarm/fragments/write-network-config.sh | 37 - .../swarm/fragments/write-swarm-agent-service.sh | 59 - .../swarm/fragments/write-swarm-master-service.sh | 50 - magnum/templates/swarm/swarmcluster.yaml | 397 - magnum/templates/swarm/swarmmaster.yaml | 398 - magnum/templates/swarm/swarmnode.yaml | 312 - .../functional/api/v1/clients/cluster_client.py | 176 + .../api/v1/clients/cluster_template_client.py | 113 + .../functional/api/v1/models/cluster_id_model.py | 24 + .../functional/api/v1/models/cluster_model.py | 30 + .../api/v1/models/cluster_template_model.py | 30 + .../api/v1/models/cluster_templatepatch_model.py | 77 + .../functional/api/v1/models/clusterpatch_model.py | 76 + .../functional/api/v1/test_cluster_template.py | 239 + .../functional/k8s/test_magnum_python_client.py | 3 - .../k8s_coreos/test_k8s_python_client.py | 22 + .../k8s_ironic/test_k8s_python_client.py | 24 + .../functional/swarm/test_swarm_python_client.py | 92 +- .../unit/api/controllers/auth-root-access.ini | 7 +- .../unit/api/controllers/v1/test_certificate.py | 82 +- .../api/controllers/v1/test_cluster_template.py | 1087 ++ .../unit/api/controllers/v1/test_container.py | 756 - .../controllers/v1/test_replicationcontroller.py | 636 - .../unit/api/controllers/v1/test_x509keypair.py | 302 - .../unit/common/cert_manager/test_barbican.py | 24 +- .../cert_manager/test_x509keypair_cert_manager.py | 96 + .../conductor/handlers/common/test_cert_manager.py | 38 +- .../handlers/common/test_trust_manager.py | 123 + .../unit/conductor/handlers/test_bay_conductor.py | 405 +- .../unit/conductor/handlers/test_ca_conductor.py | 2 +- .../conductor/handlers/test_docker_conductor.py | 558 - .../conductor/handlers/test_k8s_bay_conductor.py | 271 +- .../unit/conductor/handlers/test_k8s_conductor.py | 624 - .../conductor/handlers/test_mesos_bay_conductor.py | 150 +- .../conductor/handlers/test_swarm_bay_conductor.py | 256 +- .../handlers/test_x509keypair_conductor.py | 43 - .../unit/conductor/test_template_definition.py | 589 - .../unit/objects/test_replicationcontroller.py | 95 - releasenotes/notes/.placeholder | 0 ...torage-driver-to-baymodel-1ed9ba8d43ecfea1.yaml | 12 + ...nc-bay-operations-support-9819bd06122ea9e5.yaml | 16 + .../change-service-name-ce5c72642fe1d3d1.yaml | 5 + ...ack-bay-on-update-failure-83e5ff8a7904d5c4.yaml | 7 + releasenotes/source/_static/.placeholder | 0 releasenotes/source/_templates/.placeholder | 0 releasenotes/source/conf.py | 262 + releasenotes/source/index.rst | 21 + releasenotes/source/unreleased.rst | 5 + requirements.txt | 55 +- setup.cfg | 12 +- specs/async-container-operation.rst | 452 + specs/bay-drivers.rst | 344 + specs/container-networking-model.rst | 52 +- specs/container-volume-integration-model.rst | 68 +- specs/create-trustee-user-for-each-bay.rst | 2 +- specs/open-dcos.rst | 177 + specs/resource-quotas.rst | 18 +- test-requirements.txt | 15 +- tox.ini | 74 +- 677 files changed, 33077 insertions(+), 74492 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 2653251..bdb243b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8 +8 @@ -Babel>=1.3 # BSD +Babel>=2.3.4 # BSD @@ -14 +14 @@ WebOb>=1.2.3 # MIT -alembic>=0.8.0 # MIT +alembic>=0.8.4 # MIT @@ -17 +17 @@ decorator>=3.4.0 # BSD -docker-py>=1.6.0 # Apache-2.0 +docker-py<1.8.0,>=1.6.0 # Apache-2.0 @@ -21 +21 @@ greenlet>=0.3.2 # MIT -iso8601>=0.1.9 # MIT +iso8601>=0.1.11 # MIT @@ -23 +23,2 @@ jsonpatch>=1.1 # BSD -keystonemiddleware!=4.1.0,>=4.0.0 # Apache-2.0 +keystoneauth1>=2.10.0 # Apache-2.0 +keystonemiddleware!=4.1.0,!=4.5.0,>=4.0.0 # Apache-2.0 @@ -25,4 +26,4 @@ netaddr!=0.7.16,>=0.7.12 # BSD -oslo.concurrency>=3.5.0 # Apache-2.0 -oslo.config>=3.7.0 # Apache-2.0 -oslo.context>=0.2.0 # Apache-2.0 -oslo.db>=4.1.0 # Apache-2.0 +oslo.concurrency>=3.8.0 # Apache-2.0 +oslo.config>=3.14.0 # Apache-2.0 +oslo.context>=2.9.0 # Apache-2.0 +oslo.db>=4.10.0 # Apache-2.0 @@ -31 +32 @@ oslo.log>=1.14.0 # Apache-2.0 -oslo.messaging>=4.0.0 # Apache-2.0 +oslo.messaging>=5.2.0 # Apache-2.0 @@ -33 +34 @@ oslo.middleware>=3.0.0 # Apache-2.0 -oslo.policy>=0.5.0 # Apache-2.0 +oslo.policy>=1.9.0 # Apache-2.0 @@ -35,3 +36,3 @@ oslo.serialization>=1.10.0 # Apache-2.0 -oslo.service>=1.0.0 # Apache-2.0 -oslo.utils>=3.5.0 # Apache-2.0 -oslo.versionedobjects>=1.5.0 # Apache-2.0 +oslo.service>=1.10.0 # Apache-2.0 +oslo.utils>=3.16.0 # Apache-2.0 +oslo.versionedobjects>=1.13.0 # Apache-2.0 @@ -39 +40 @@ oslo.reports>=0.6.0 # Apache-2.0 -paramiko>=1.16.0 # LGPL +paramiko>=2.0 # LGPLv2.1+ @@ -41,5 +42,7 @@ pbr>=1.6 # Apache-2.0 -pecan>=1.0.0 # BSD -python-barbicanclient>=3.3.0 # Apache-2.0 -python-glanceclient>=2.0.0 # Apache-2.0 -python-heatclient>=0.6.0 # Apache-2.0 -python-neutronclient!=4.1.0,>=2.6.0 # Apache-2.0 +pecan!=1.0.2,!=1.0.3,!=1.0.4,>=1.0.0 # BSD +pycadf!=2.0.0,>=1.1.0 # Apache-2.0 +python-barbicanclient>=4.0.0 # Apache-2.0 +python-glanceclient!=2.4.0,>=2.3.0 # Apache-2.0 +python-heatclient>=1.4.0 # Apache-2.0 +python-neutronclient>=5.1.0 # Apache-2.0 +python-k8sclient>=0.2.0 # Apache-2.0 @@ -47,3 +50,3 @@ python-novaclient!=2.33.0,>=2.29.0 # Apache-2.0 -python-keystoneclient!=1.8.0,!=2.1.0,>=1.6.0 # Apache-2.0 -requests!=2.9.0,>=2.8.1 # Apache-2.0 -setuptools>=16.0 # PSF/ZPL +python-keystoneclient!=2.1.0,>=2.0.0 # Apache-2.0 +requests>=2.10.0 # Apache-2.0 +setuptools!=24.0.0,>=16.0 # PSF/ZPL @@ -51 +54 @@ six>=1.9.0 # MIT -stevedore>=1.5.0 # Apache-2.0 +stevedore>=1.16.0 # Apache-2.0 @@ -53,2 +56,2 @@ taskflow>=1.26.0 # Apache-2.0 -cryptography>=1.0 # BSD/Apache-2.0 -urllib3>=1.8.3 # MIT +cryptography!=1.3.0,>=1.0 # BSD/Apache-2.0 +urllib3>=1.15.1 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index a0c5eb6..d798e70 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8 +8 @@ -bandit>=0.17.3 # Apache-2.0 +bandit>=1.1.0 # Apache-2.0 @@ -11 +11 @@ doc8 # Apache-2.0 -fixtures>=1.3.1 # Apache-2.0/BSD +fixtures>=3.0.0 # Apache-2.0/BSD @@ -13 +13,2 @@ hacking<0.11,>=0.10.0 # Apache-2.0 -mock>=1.2 # BSD +mock>=2.0 # BSD +openstackdocstheme>=1.5.0 # Apache-2.0 @@ -16 +17,2 @@ oslotest>=1.10.0 # Apache-2.0 -os-testr>=0.4.1 # Apache-2.0 +os-api-ref>=1.0.0 # Apache-2.0 +os-testr>=0.7.0 # Apache-2.0 @@ -19 +21 @@ pytz>=2013.6 # MIT -sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD +sphinx!=1.3b1,<1.3,>=1.2.1 # BSD @@ -23 +25,2 @@ testtools>=1.4.0 # MIT -tempest-lib>=0.14.0 # Apache-2.0 +# releasenotes +reno>=1.8.0 # Apache2