We are tickled pink to announce the release of: magnum 18.0.0: Container Management project for OpenStack This release is part of the caracal release series. The source is available from: https://opendev.org/openstack/magnum Download the package from: https://tarballs.openstack.org/magnum/ Please report issues through: https://bugs.launchpad.net/magnum/+bugs For more details, please see below. Changes in magnum 17.0.0..18.0.0 -------------------------------- 0fdec721 Support Calico 3.26.x c8fbc0ca CI: Switch from rbac to normal job 38a0f41c SQLA 2.0 - Fix connection.execute b6e2aa8a Move Helm client install to separate script e3aaa893 Removing Tiller support d544698f Remove use of autocommit a41c8844 Update cloud-provider-openstack registry ed699b0c Drop k8s_fedora_atomic_v1 driver 34c82bdb Add feature flag for beta drivers fde7f8e7 Removing legacy calico v3.3 8a30ad34 Add feature to specify driver explicitly 1b00074c Bugfix: Clean up trusts for all deleted clusters 0c82bb57 reno: Update master for unmaintained/yoga 91daa2cb Remove six from requirements e149b864 Remove six from unit tests (part 5) 3ec2b2b8 Remove six from unit tests (part 4) 51e0a220 Remove six from unit tests (part 3) 26ec32c7 Remove six from unit tests (part 2) 766089b7 Remove six from unit tests (part 1) aea63db3 Remove six from functional tests 627b9a82 Remove six from common module 91f181e3 Remove six from drivers module 206d19ec Remove six from db module 41fa21d4 Remove six from conductor module 52ee359f Remove six from api module 68c8acba Remove execution bit on unnecessary files 9c31886a add cilium in the supported network driver list of k8s 48fbd623 Update containerd in CI to 1.6.28 fa5aa8f6 Drop k8s_fedora_ironic_v1 driver 5c0c2780 Drop k8s_coreos_v1 driver 692c97c0 Add kubernetes fedora coreos v1 jobs 021293d8 SQL Alchemy 2.x: Stop using deprecated API 339a7715 heat: Update addresses on CREATE_FAILED 90a82c4b Drop dependency on pytz bc79012f Drop Swarm support ab88ef3a Fix flakey validation tests. cb71d193 Move the chmod function before the write and flush functions to prevent sensitive information leakage. e925704a Remove doc for rolling upgrade 9af09c68 Update python classifier in setup.cfg dc2b3724 Support k8s 1.27: Remove unsupported kubelet arg 3da07be8 Replace is_ssl_enabled_service 2fd3059f Remove support for in-place upgrades with the Heat driver. a8bce0bf Add validator for fixed_subnet 92bc2caa Migrate to importlib.metadata 537e69ae CI: Bump container publish to 7200 2af613d3 CI: bump container publish job timeout 4eef6e82 Add newer cluster-autoscaler versions to Docker Hub a1c07c02 Fix magnum-driver-manage for drivers without template path. 4c22c5f2 Remove send_cluster_metrics devstack config a48df816 Enable secure rbac 753baadb Add validator for fixed_network. 17932512 devstack: Install sonobuoy and kubectl 58a6bb69 docs: Change Storyboard links to Launchpad 5a495b65 docs: Remove references to wiki d18aa8ff sqlalchemy: Import String from sqlalchemy directly 9ece9da9 Update chart.metadata.version to reflect breaking change in helm v3.5.2 32d18908 Fix missing oslo.versionedobjects library option ce3003a4 Imported Translations from Zanata 2a256139 Stop test_delete_loadbalancers_timeout waiting 544f59bb Update master for stable/2023.2 Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 47 +- CONTRIBUTING.rst | 5 +- README.rst | 3 +- api-ref/source/conf.py | 2 +- api-ref/source/parameters.yaml | 5 +- devstack/lib/magnum | 24 +- devstack/plugin.sh | 4 + etc/magnum/magnum-config-generator.conf | 1 + magnum/api/app.py | 0 magnum/api/attr_validator.py | 73 +- magnum/api/controllers/base.py | 4 +- magnum/api/controllers/v1/cluster.py | 23 +- magnum/api/controllers/v1/cluster_template.py | 57 +- magnum/api/controllers/v1/nodegroup.py | 24 +- magnum/api/controllers/v1/types.py | 3 +- magnum/api/validation.py | 28 +- magnum/cmd/api.py | 0 magnum/cmd/conductor.py | 0 magnum/cmd/driver_manage.py | 9 +- magnum/common/cert_manager/cert_manager.py | 8 +- .../cert_manager/x509keypair_cert_manager.py | 5 +- magnum/common/exception.py | 15 +- magnum/common/keystone.py | 8 +- magnum/common/policy.py | 13 +- magnum/common/short_id.py | 13 +- magnum/common/urlfetch.py | 2 +- magnum/common/utils.py | 32 +- magnum/common/x509/operations.py | 29 +- magnum/conductor/handlers/ca_conductor.py | 9 +- magnum/conductor/handlers/cluster_conductor.py | 43 +- magnum/conductor/handlers/common/cert_manager.py | 10 +- magnum/conductor/handlers/common/trust_manager.py | 12 +- magnum/conductor/handlers/nodegroup_conductor.py | 11 +- magnum/conductor/k8s_api.py | 0 magnum/conductor/monitors.py | 4 +- magnum/conductor/scale_manager.py | 0 magnum/conf/cluster_templates.py | 20 +- magnum/conf/drivers.py | 5 + magnum/db/api.py | 4 +- .../versions/05d3e97de9ee_add_volume_driver.py | 6 +- .../versions/2581ebaf0cb2_initial_migration.py | 7 +- ...35cff7c86221_add_private_network_to_baymodel.py | 7 +- ...65537a94a_add_network_driver_baymodel_column.py | 6 +- ...98132c7_change_cluster_to_support_nodegroups.py | 6 +- ...380964133d_add_network_subnet_fip_to_cluster.py | 9 +- .../versions/4956f03cabad_add_cluster_distro.py | 6 +- .../4ea34a59a64c_add_discovery_url_to_bay.py | 7 +- .../versions/5518af8dbc21_rename_cert_uuid.py | 10 +- .../592131657ca1_add_coe_column_to_baymodel.py | 10 +- .../5d4caa6e0a42_create_trustee_for_each_bay.py | 10 +- ...9d6a68_separated_ca_cert_for_etcd_and_front_.py | 8 +- ...5096e2334ee_add_master_lb_enabled_to_cluster.py | 4 +- .../alembic/versions/966a99e70ff_add_proxy.py | 10 +- .../versions/ac92cbae311c_add_nodegoup_table.py | 2 +- .../alembic/versions/c04e925e65c2_nodegroups_v2.py | 6 +- .../c0f832afc4fd_add_driver_to_cluster_template.py | 34 + ...71_add_fixed_subnet_column_to_baymodel_table.py | 7 +- ...47f5931da8_add_insecure_registry_to_baymodel.py | 7 +- .../fcb4efee8f8b_add_version_info_to_bay.py | 10 +- magnum/db/sqlalchemy/api.py | 7 +- magnum/db/sqlalchemy/models.py | 57 +- magnum/drivers/common/driver.py | 40 +- .../environments/disable_floating_ip.yaml | 6 - .../templates/environments/enable_floating_ip.yaml | 6 - .../configure_docker_storage_driver_atomic.sh | 53 - ...calico-service.sh => calico-service-v3-21-x.sh} | 2 +- .../kubernetes/fragments/calico-service-v3-26-x.sh | 5013 ++++++++++++++++++++ .../kubernetes/fragments/calico-service-v3-3-x.sh | 669 --- .../fragments/configure-kubernetes-master.sh | 1 - .../fragments/configure-kubernetes-minion.sh | 1 - .../kubernetes/fragments/enable-auto-healing.sh | 2 +- .../kubernetes/fragments/enable-cinder-csi.sh | 4 +- .../kubernetes/fragments/enable-helm-tiller.sh | 237 - .../kubernetes/fragments/enable-ingress-octavia.sh | 2 +- .../kubernetes/fragments/enable-keystone-auth.sh | 2 +- .../kubernetes/fragments/install-helm-modules.sh | 88 +- .../templates/kubernetes/fragments/install-helm.sh | 41 + .../fragments/kube-apiserver-to-kubelet-role.sh | 2 +- .../fragments/write-heat-params-master.sh | 3 - .../templates/kubernetes/helm/ingress-nginx.sh | 0 .../templates/kubernetes/helm/metrics-server.sh | 0 .../kubernetes/helm/prometheus-adapter.sh | 0 .../kubernetes/helm/prometheus-operator.sh | 0 .../swarm/fragments/add-docker-daemon-options.sh | 18 - .../common/templates/swarm/fragments/add-proxy.sh | 67 - .../common/templates/swarm/fragments/cfn-signal.sh | 20 - .../templates/swarm/fragments/configure-etcd.sh | 39 - .../templates/swarm/fragments/configure-selinux.sh | 12 - .../templates/swarm/fragments/enable-services.sh | 15 - .../common/templates/swarm/fragments/make-cert.py | 200 - .../swarm/fragments/network-config-service.sh | 85 - .../templates/swarm/fragments/network-service.sh | 140 - .../templates/swarm/fragments/remove-docker-key.sh | 4 - .../templates/swarm/fragments/volume-service.sh | 79 - .../fragments/write-cluster-failure-service.yaml | 15 - .../swarm/fragments/write-docker-socket.yaml | 21 - .../swarm/fragments/write-heat-params-master.yaml | 34 - .../swarm/fragments/write-heat-params-node.yaml | 38 - .../swarm/fragments/write-network-config.sh | 22 - .../swarm/fragments/write-swarm-agent-service.sh | 90 - .../swarm/fragments/write-swarm-master-service.sh | 63 - magnum/drivers/heat/driver.py | 153 +- magnum/drivers/heat/k8s_fedora_template_def.py | 7 +- magnum/drivers/heat/swarm_fedora_template_def.py | 174 - magnum/drivers/heat/swarm_mode_template_def.py | 210 - magnum/drivers/heat/template_def.py | 4 +- magnum/drivers/k8s_coreos_v1/driver.py | 30 - magnum/drivers/k8s_coreos_v1/template_def.py | 32 - magnum/drivers/k8s_coreos_v1/templates/COPYING | 202 - .../templates/fragments/add-ext-ca-certs.yaml | 38 - .../templates/fragments/add-proxy.yaml | 72 - .../templates/fragments/configure-docker.yaml | 51 - .../templates/fragments/configure-etcd.yaml | 68 - .../templates/fragments/create-kube-namespace.yaml | 44 - .../templates/fragments/enable-coredns.yaml | 162 - .../templates/fragments/enable-docker-mount.yaml | 52 - .../templates/fragments/enable-kube-apiserver.yaml | 92 - .../fragments/enable-kube-controller-manager.yaml | 81 - .../templates/fragments/enable-kube-dashboard.yaml | 97 - .../fragments/enable-kube-proxy-master.yaml | 60 - .../fragments/enable-kube-proxy-minion.yaml | 82 - .../templates/fragments/enable-kube-scheduler.yaml | 50 - .../templates/fragments/enable-kubelet-master.yaml | 93 - .../templates/fragments/enable-kubelet-minion.yaml | 107 - .../fragments/enable-network-service-client.yaml | 100 - .../fragments/enable-network-service.yaml | 84 - .../templates/fragments/make-cert-client.yaml | 137 - .../templates/fragments/make-cert.yaml | 165 - .../templates/fragments/wc-notify.yaml | 30 - .../fragments/write-heat-params-master.yaml | 52 - .../templates/fragments/write-heat-params.yaml | 50 - .../templates/fragments/write-kubeconfig.yaml | 25 - .../fragments/write-master-kubeconfig.yaml | 21 - .../templates/fragments/write-network-config.yaml | 45 - .../k8s_coreos_v1/templates/kubecluster.yaml | 858 ---- .../k8s_coreos_v1/templates/kubemaster.yaml | 756 --- .../k8s_coreos_v1/templates/kubeminion.yaml | 541 --- magnum/drivers/k8s_coreos_v1/version.py | 17 - magnum/drivers/k8s_fedora_atomic_v1/__init__.py | 0 magnum/drivers/k8s_fedora_atomic_v1/driver.py | 34 - .../drivers/k8s_fedora_atomic_v1/template_def.py | 33 - .../drivers/k8s_fedora_atomic_v1/templates/COPYING | 202 - .../templates/kubecluster.yaml | 1548 ------ .../k8s_fedora_atomic_v1/templates/kubemaster.yaml | 1079 ----- .../k8s_fedora_atomic_v1/templates/kubeminion.yaml | 636 --- .../tools/grafana-prometheus-dashboard.json | 2079 -------- magnum/drivers/k8s_fedora_atomic_v1/version.py | 17 - .../drivers/k8s_fedora_coreos_v1/template_def.py | 2 +- .../templates/kubecluster.yaml | 31 +- .../k8s_fedora_coreos_v1/templates/kubemaster.yaml | 15 - magnum/drivers/k8s_fedora_coreos_v1/version.py | 2 +- magnum/drivers/k8s_fedora_ironic_v1/__init__.py | 0 magnum/drivers/k8s_fedora_ironic_v1/driver.py | 30 - .../image/kubernetes/Readme.md | 45 - .../image/kubernetes/elements-deps | 1 - .../image/kubernetes/package-installs.yaml | 5 - .../drivers/k8s_fedora_ironic_v1/template_def.py | 75 - .../templates/kubecluster.yaml | 733 --- .../k8s_fedora_ironic_v1/templates/kubemaster.yaml | 559 --- .../k8s_fedora_ironic_v1/templates/kubeminion.yaml | 125 - .../templates/kubeminion_software_configs.yaml | 355 -- magnum/drivers/k8s_fedora_ironic_v1/version.py | 17 - magnum/drivers/swarm_fedora_atomic_v1/__init__.py | 0 magnum/drivers/swarm_fedora_atomic_v1/driver.py | 39 - .../image/openvswitch/Dockerfile | 18 - .../image/openvswitch/README.rst | 68 - .../image/openvswitch/run_openvswitch_neutron.sh | 4 - magnum/drivers/swarm_fedora_atomic_v1/monitor.py | 109 - .../drivers/swarm_fedora_atomic_v1/template_def.py | 29 - .../swarm_fedora_atomic_v1/templates/COPYING | 202 - .../swarm_fedora_atomic_v1/templates/README.md | 107 - .../swarm_fedora_atomic_v1/templates/cluster.yaml | 531 --- .../templates/swarmmaster.yaml | 519 -- .../templates/swarmnode.yaml | 459 -- magnum/drivers/swarm_fedora_atomic_v1/version.py | 17 - magnum/drivers/swarm_fedora_atomic_v2/__init__.py | 0 magnum/drivers/swarm_fedora_atomic_v2/driver.py | 39 - magnum/drivers/swarm_fedora_atomic_v2/monitor.py | 107 - .../drivers/swarm_fedora_atomic_v2/template_def.py | 39 - .../fragments/write-heat-params-master.yaml | 29 - .../fragments/write-swarm-master-service.sh | 84 - .../fragments/write-swarm-worker-service.sh | 68 - .../templates/swarmcluster.yaml | 501 -- .../templates/swarmmaster.yaml | 393 -- .../templates/swarmnode.yaml | 357 -- magnum/drivers/swarm_fedora_atomic_v2/version.py | 17 - magnum/hacking/checks.py | 0 magnum/objects/cluster.py | 0 magnum/objects/cluster_template.py | 4 +- magnum/objects/fields.py | 4 +- magnum/service/periodic.py | 11 + .../functional/api/v1/clients/cluster_client.py | 0 .../functional/k8s_fcos}/__init__.py | 0 .../test_k8s_python_client.py | 0 .../functional/swarm/test_swarm_python_client.py | 152 - .../swarm_mode/test_swarm_mode_python_client.py | 125 - .../api/controllers/v1/test_cluster_template.py | 101 +- .../handlers/common/test_trust_manager.py | 4 +- .../conductor/handlers/test_cluster_conductor.py | 20 +- .../handlers/test_k8s_cluster_conductor.py | 85 +- .../handlers/test_swarm_cluster_conductor.py | 712 --- .../drivers/test_k8s_fedora_atomic_v1_driver.py | 153 - playbooks/container-builder-vars.yaml | 19 +- playbooks/magnum-functional-base.yaml | 10 - ...add-cilium-network-driver-8715190b14cb4f89.yaml | 4 + .../notes/drop-calico-v3-3-7d47eb04fcb392dc.yaml | 4 + ...drop-fedora-atomic-driver-76da9f0ea0cf20bb.yaml | 4 + .../notes/drop-k8s-coreos-9604dd23b0e884b6.yaml | 4 + .../drop-k8s-fedora-ironic-6c9750a0913435e2.yaml | 4 + .../notes/drop-tiller-5b98862961003df8.yaml | 8 + .../notes/drop_swarm_driver-3a2e1927053cf372.yaml | 4 + ...ce-scope-and-new-defaults-572730ea8804a843.yaml | 21 + .../improve-driver-discovery-df61e03c8749a34d.yaml | 14 + ...d-provider-openstack-repo-e6209ce2e3986e12.yaml | 18 + .../upgrade-api-heat-removal-300f15d863515257.yaml | 10 + releasenotes/source/2023.2.rst | 6 + releasenotes/source/conf.py | 2 +- releasenotes/source/index.rst | 1 + .../locale/en_GB/LC_MESSAGES/releasenotes.po | 8 +- .../source/locale/fr/LC_MESSAGES/releasenotes.po | 64 + releasenotes/source/yoga.rst | 2 +- requirements.txt | 1 - setup.cfg | 7 +- test-requirements.txt | 1 - tools/cover.sh | 4 +- tox.ini | 35 +- 280 files changed, 6293 insertions(+), 21297 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 4efe391f..5a59e924 100644 --- a/requirements.txt +++ b/requirements.txt @@ -54 +53,0 @@ setuptools!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3. -six>=1.10.0 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index 3ee3a93c..dcd2e898 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -18 +17,0 @@ python-subunit>=1.4.0 # Apache-2.0/BSD -pytz>=2020.4 # MIT
participants (1)
-
no-reply@openstack.org