We are tickled pink to announce the release of: tripleo-common 12.5.0: A common library for TripleO workflows. This release is part of the victoria release series. The source is available from: https://opendev.org/openstack/tripleo-common Download the package from: https://tarballs.openstack.org/tripleo-common/ Please report issues through: https://bugs.launchpad.net/tripleo-common/+bugs For more details, please see below. 12.5.0 ^^^^^^ Bug Fixes * When the default tag doesn't exist in the container repo during container image prepare, and a tag wasn't set in the actual input for ContainerImagePrepare, the latest tag from the repo will be used instead of failing with a not found error. * Fix bug 1887692 so limit_hosts will take precedence over the blacklisted_hostnames. And therefore Ansible won't be run with two --limit if both limit hosts and blacklisted hostnames are in use. When we want to run Ansible on specific hosts, we will ignore the blacklisted nodes and assume we know what we do. In the case of the scale-down scenario, the unreachable nodes are ignored. Changes in tripleo-common 12.4.0..12.5.0 ---------------------------------------- d2431b95 Revert "Remove chunk size for url stream" e6634751 Retry fetching {{ deployment_uuid }}.notify.json file 76bc13e3 ansible: limit_hosts now takes precedence over blacklisted_hostnames 1b22253e TCIB: add python3-pynacl to mariadb image 415457e6 TCIB: bump ceph image to align with kolla images 0c4de9c7 Don't assume default tag exists in container repo c19ee504 image_uploader: switch stdout_callback to tripleo_dense 4d26b5dc TCIB: add etcd user to the kolla group 733caa90 Switch tripleo-cross-tripleoclient to python 3.7 af74c389 Relax filter_images_with_labels() and re-add kolla_version 05b24009 Remove the duplicated entry of designate-base dfe80685 (TCIB) Remove validation related things from mistral container c1dad1ce Add tripleo_states to default callback whitelist 7d2c2531 Catch exception if servers are in error state with no bm_node attached 55f6aecf [Q->T] Include manila in the Queens to Train Upgrade db71bdb6 Drop systemd support from nsswitch.conf 7ecc2634 tcib: move cradox to gnocchi-base & enable ci on scenario001 679aeb56 Run standalone jobs with locally built images b440733f Ensure lanplus is unset when using redfish ed3fdb77 Fix stdout_callback 97c7d267 Set undercloud ansible_connection to local 8ea44dbd Remove Validations Mistral Workflows 9f499a22 Revert "Revert "Remove config-download related mistral actions"" e7847afb Implement tripleo-cross-tripleoclient-py38 21b55a02 Run tripleo-build-containers-ubi-8 under specific conditions 4eceb236 Add ensure_global_symlinks: true c915208f Revert "Remove config-download related mistral actions" 3c8f2144 Fix OVN Octavia provider driver package name ff9fe2ed Add interface-names to Rhel8 images 2c47084b Remove config-download related mistral actions b471d2cd Remove AnsibleGenerateInventoryAction mistal action ab65e221 tcib/ceilometer-base: remove panko dependency b84805d3 Implement a new Container Images layout cded1f63 Switch to newer openstackdocstheme and reno versions 45d650be Revert "Add kolla template override to remove python3-networking-mlnx" 4e23fd93 Remove tripleoclient container f6942744 Fix nova-virtlogd container healthcheck d472c88e Add Python3 victoria unit tests df6008b2 Update master for stable/ussuri 9caed1b8 Add support for python 3.8 4d4c9c0b Strictly check pm_type string d1662ad4 Do not rotate CephX secrets d0c60a28 Change generate_ansible_inventory() arguments 49a3d13e Fix dry-run for "remote copy deployment file" task c3b47051 Remove unnecessary Ceph{Admin,Mon,Mds}Key constants 4349f209 Remove tripleo.deployment.overcloudrc action 0186702a Switch to tripleo_dense b3c87dda Switch to tripleo stdout callback 32c96fe4 Add Octavia use of the rsyslog image Diffstat (except docs and test files) ------------------------------------- .../container_image_prepare_defaults.yaml | 1 + container-images/kolla/base/httpd_setup.sh | 20 + container-images/kolla/base/set_configs.py | 436 +++++++++++++++++++++ container-images/kolla/base/start.sh | 18 + container-images/kolla/base/sudoers | 18 + container-images/kolla/glance-api/extend_start.sh | 9 + container-images/kolla/horizon/extend_start.sh | 126 ++++++ container-images/kolla/iscsid/extend_start.sh | 7 + container-images/kolla/keystone/extend_start.sh | 31 ++ container-images/kolla/mariadb/extend_start.sh | 35 ++ .../kolla/mariadb/security_reset.expect | 58 +++ .../kolla/neutron-base/neutron_sudoers | 6 + .../ovn/ovn-nb-db-server/start_nb_db_server.sh | 28 ++ .../ovn/ovn-sb-db-server/start_sb_db_server.sh | 29 ++ container-images/kolla/rabbitmq/extend_start.sh | 16 + container-images/kolla/swift-base/swift-rootwrap | 10 + container-images/kolla/swift-base/swift-sudoers | 2 + .../kolla/tripleoclient/create_super_user.sh | 18 + container-images/overcloud_containers.yaml | 2 - container-images/overcloud_containers.yaml.j2 | 18 +- container-images/tcib/base/base.yaml | 55 +++ container-images/tcib/base/collectd/collectd.yaml | 64 +++ container-images/tcib/base/cron/cron.yaml | 6 + container-images/tcib/base/etcd/etcd.yaml | 8 + container-images/tcib/base/haproxy/haproxy.yaml | 10 + .../tcib/base/keepalived/keepalived.yaml | 6 + container-images/tcib/base/mariadb/mariadb.yaml | 36 ++ .../tcib/base/memcached/memcached.yaml | 9 + .../tcib/base/multipathd/multipathd.yaml | 6 + .../tcib/base/os/aodh-base/aodh-api/aodh-api.yaml | 11 + .../tcib/base/os/aodh-base/aodh-base.yaml | 6 + .../aodh-base/aodh-evaluator/aodh-evaluator.yaml | 7 + .../os/aodh-base/aodh-listener/aodh-listener.yaml | 7 + .../os/aodh-base/aodh-notifier/aodh-notifier.yaml | 7 + .../barbican-base/barbican-api/barbican-api.yaml | 11 + .../tcib/base/os/barbican-base/barbican-base.yaml | 7 + .../barbican-keystone-listener.yaml | 7 + .../barbican-worker/barbican-worker.yaml | 7 + .../base/os/ceilometer-base/ceilometer-base.yaml | 8 + .../ceilometer-central/ceilometer-central.yaml | 11 + .../ceilometer-compute/ceilometer-compute.yaml | 10 + .../ceilometer-ipmi/ceilometer-ipmi.yaml | 11 + .../ceilometer-notification.yaml | 8 + .../base/os/cinder-base/cinder-api/cinder-api.yaml | 11 + .../cinder-base/cinder-backup/cinder-backup.yaml | 13 + .../tcib/base/os/cinder-base/cinder-base.yaml | 15 + .../cinder-scheduler/cinder-scheduler.yaml | 3 + .../cinder-base/cinder-volume/cinder-volume.yaml | 18 + .../designate-api/designate-api.yaml | 6 + .../designate-backend-bind9.yaml | 6 + .../base/os/designate-base/designate-base.yaml | 9 + .../designate-central/designate-central.yaml | 6 + .../designate-mdns/designate-mdns.yaml | 6 + .../designate-producer/designate-producer.yaml | 6 + .../designate-sink/designate-sink.yaml | 6 + .../designate-worker/designate-worker.yaml | 7 + .../tcib/base/os/glance-api/glance-api.yaml | 22 ++ .../os/gnocchi-base/gnocchi-api/gnocchi-api.yaml | 7 + .../tcib/base/os/gnocchi-base/gnocchi-base.yaml | 13 + .../gnocchi-metricd/gnocchi-metricd.yaml | 7 + .../gnocchi-statsd/gnocchi-statsd.yaml | 7 + .../tcib/base/os/heat-base/heat-all/heat-all.yaml | 8 + .../os/heat-base/heat-api-cfn/heat-api-cfn.yaml | 7 + .../tcib/base/os/heat-base/heat-api/heat-api.yaml | 7 + .../tcib/base/os/heat-base/heat-base.yaml | 10 + .../base/os/heat-base/heat-engine/heat-engine.yaml | 6 + container-images/tcib/base/os/horizon/horizon.yaml | 18 + .../base/os/ironic-base/ironic-api/ironic-api.yaml | 11 + .../tcib/base/os/ironic-base/ironic-base.yaml | 6 + .../ironic-conductor/ironic-conductor.yaml | 34 ++ .../ironic-inspector/ironic-inspector.yaml | 9 + .../base/os/ironic-base/ironic-pxe/ironic-pxe.yaml | 14 + container-images/tcib/base/os/iscsid/iscsid.yaml | 12 + .../tcib/base/os/keystone/keystone.yaml | 23 ++ .../base/os/manila-base/manila-api/manila-api.yaml | 10 + .../tcib/base/os/manila-base/manila-base.yaml | 6 + .../manila-scheduler/manila-scheduler.yaml | 3 + .../os/manila-base/manila-share/manila-share.yaml | 14 + .../os/mistral-base/mistral-api/mistral-api.yaml | 11 + .../tcib/base/os/mistral-base/mistral-base.yaml | 9 + .../mistral-engine/mistral-engine.yaml | 7 + .../mistral-event-engine/mistral-event-engine.yaml | 7 + .../mistral-executor/mistral-executor.yaml | 19 + .../ironic-neutron-agent/ironic-neutron-agent.yaml | 8 + .../neutron-agent-base/neutron-agent-base.yaml | 10 + .../neutron-dhcp-agent/neutron-dhcp-agent.yaml | 3 + .../neutron-l3-agent/neutron-l3-agent.yaml | 3 + .../neutron-metadata-agent-ovn.yaml | 7 + .../tcib/base/os/neutron-base/neutron-base.yaml | 18 + .../neutron-metadata-agent.yaml | 3 + .../neutron-openvswitch-agent.yaml | 7 + .../neutron-server-ovn/neutron-server-ovn.yaml | 12 + .../neutron-server/neutron-server.yaml | 11 + .../neutron-sriov-agent/neutron-sriov-agent.yaml | 7 + .../tcib/base/os/nova-base/nova-api/nova-api.yaml | 12 + .../tcib/base/os/nova-base/nova-base.yaml | 6 + .../nova-compute-ironic/nova-compute-ironic.yaml | 14 + .../os/nova-base/nova-compute/nova-compute.yaml | 29 ++ .../nova-base/nova-conductor/nova-conductor.yaml | 7 + .../os/nova-base/nova-libvirt/nova-libvirt.yaml | 29 ++ .../nova-base/nova-novncproxy/nova-novncproxy.yaml | 8 + .../nova-base/nova-scheduler/nova-scheduler.yaml | 12 + .../tcib/base/os/novajoin-base/novajoin-base.yaml | 6 + .../novajoin-notifier/novajoin-notifier.yaml | 2 + .../novajoin-server/novajoin-server.yaml | 2 + .../os/octavia-base/octavia-api/octavia-api.yaml | 12 + .../tcib/base/os/octavia-base/octavia-base.yaml | 6 + .../octavia-health-manager.yaml | 7 + .../octavia-housekeeping/octavia-housekeeping.yaml | 7 + .../octavia-worker/octavia-worker.yaml | 7 + container-images/tcib/base/os/os.yaml | 20 + .../tcib/base/os/placement-api/placement-api.yaml | 11 + .../os/swift-base/swift-account/swift-account.yaml | 7 + .../tcib/base/os/swift-base/swift-base.yaml | 12 + .../swift-container/swift-container.yaml | 7 + .../os/swift-base/swift-object/swift-object.yaml | 7 + .../swift-proxy-server/swift-proxy-server.yaml | 12 + container-images/tcib/base/os/tempest/tempest.yaml | 9 + .../tcib/base/os/zaqar-wsgi/zaqar-wsgi.yaml | 10 + container-images/tcib/base/ovn-base/ovn-base.yaml | 9 + .../ovn-base/ovn-controller/ovn-controller.yaml | 6 + .../ovn-nb-db-server/ovn-nb-db-server.yaml | 8 + .../tcib/base/ovn-base/ovn-northd/ovn-northd.yaml | 12 + .../ovn-sb-db-server/ovn-sb-db-server.yaml | 8 + .../tcib/base/qdrouterd/qdrouterd.yaml | 11 + container-images/tcib/base/rabbitmq/rabbitmq.yaml | 18 + container-images/tcib/base/redis/redis.yaml | 19 + container-images/tcib/base/rsyslog/rsyslog.yaml | 9 + .../tcib/base/tripleoclient/tripleoclient.yaml | 16 + container-images/tripleo_containers.yaml | 229 +++++++++++ .../tripleo_kolla_template_overrides.j2 | 4 - healthcheck/nova-libvirt | 2 +- image-yaml/overcloud-hardened-images-rhel8.yaml | 2 + image-yaml/overcloud-images-ceph-rhel8.yaml | 2 + image-yaml/overcloud-images-rhel8.yaml | 2 + lower-constraints.txt | 8 +- .../check_for_default_tag-09fe34d2ac434890.yaml | 6 + .../limit_over_blacklist-3ce81ecf04b09997.yaml | 10 + releasenotes/source/conf.py | 8 +- releasenotes/source/index.rst | 1 + releasenotes/source/ussuri.rst | 6 + requirements.txt | 2 +- scripts/containerfile-converter.py | 245 ++++++++++++ scripts/run-validation | 111 ------ setup.cfg | 9 +- sudoers | 16 - test-requirements.txt | 6 +- tox.ini | 7 +- tripleo_common/actions/ansible.py | 50 +-- tripleo_common/actions/config.py | 81 ---- tripleo_common/actions/deployment.py | 49 --- tripleo_common/actions/validations.py | 97 ----- tripleo_common/constants.py | 7 +- tripleo_common/image/image_uploader.py | 47 ++- tripleo_common/image/kolla_builder.py | 12 +- tripleo_common/inventory.py | 11 +- tripleo_common/templates/deployments.yaml | 4 +- tripleo_common/utils/nodes.py | 55 +-- tripleo_common/utils/passwords.py | 13 +- tripleo_common/utils/plan.py | 11 +- tripleo_common/utils/stack.py | 3 +- tripleo_common/utils/stack_parameters.py | 5 +- tripleo_common/utils/validations.py | 204 ---------- workbooks/validations.yaml | 224 ----------- zuul.d/cross-jobs.yaml | 9 + zuul.d/layout.yaml | 48 ++- 175 files changed, 2949 insertions(+), 1387 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index a928ca51..67e9f8a7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32 +32 @@ metalsmith>=0.13.0 # Apache-2.0 -jsonschema>=2.6.0 # MIT +jsonschema>=3.2.0 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index 815966b4..cc5fc015 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5 +5 @@ -openstackdocstheme>=1.31.2 # Apache-2.0 +openstackdocstheme>=2.2.1 # Apache-2.0 @@ -10 +10 @@ python-subunit>=1.0.0 # Apache-2.0/BSD -sphinx>=1.8.0,!=2.1.0 # BSD +sphinx>=2.0.0,!=2.1.0 # BSD @@ -16 +16 @@ PyYAML>=3.12 # MIT -reno>=2.5.0 # Apache-2.0 +reno>=3.1.0 # Apache-2.0