[release-announce] python-tripleoclient 11.2.0 (stein)

no-reply at openstack.org no-reply at openstack.org
Fri Jan 11 16:31:47 UTC 2019


We are thrilled to announce the release of:

python-tripleoclient 11.2.0: TripleO client

This release is part of the stein release series.

Download the package from:

    https://tarballs.openstack.org/python-tripleoclient/

For more details, please see below.

11.2.0
^^^^^^


New Features
************

* Added new *exclude* option to the container build command that
  allows the user to skip building a specific container.  This option
  can be specified muiltiple times to skip building multiple
  containers.

* The "dhcp_start" and "dhcp_end" options are now optional for
  subnet definitions in the Undercloud configuration
  ("undercloud.conf"). The the allocation_pools are calculated by
  removing the "local_ip", "gateway", "undercloud_admin_host",
  "undercloud_public_host" and "inspection_iprange" from the subnets
  full IP range. Allocation pools for all remaining ranges will be
  configured. Additionally the new option "dhcp_exlcude" can be used
  to exclude additional IP addresses and/or IP address ranges, for
  example to exclude "172.20.0.105" and the range
  "172.20.0.210-172.20.0.219":

     dhcp_exclude = 172.20.0.105,172.20.0.210-172.20.0.219

  * When "dhcp_start" is defined any addresses prior to this address
    is also removed from the allocation pools.

  * When "dhcp_end" is defined any addresses after this address is
    also removed from the allocation pools.

  Note: If the default cidr ("192.168.24.0/24") is used for the
    local subnet the "dhcp_start" and "dhcp_end" cannot simply be
    removed to utilize the full address space of the subnet. This due
    to the default values of "dhcp_start" and "dhcp_end".

* It is now possible to configure non-contiguous allocation pools
  for the Undercloud ctlplane subnets. The "dhcp_start" and "dhcp_end"
  options have been extended to allow a list of start and end address
  pairs. For example to create allocation pools
  "172.20.0.100-172.20.0.150" and "172.20.0.200-172.20.0.250":

     dhcp_start = 172.20.0.100,172.20.0.200
     dhcp_end = 172.20.0.150,172.20.0.250

* This changes the upgrade workflow for the standalone and
  undercloud where we now run the post_upgrade_tasks after the
  deployment. So the order is upgrade_tasks, deployment steps
  (docker/puppet), then post_upgrade_tasks which is the same order as
  the overcloud. It will allow us to execute some specific post
  upgrade tasks on standalone and undercloud, like removing Docker
  containers when upgrading to Podman.

* Host timezone can be managed during the undercloud installation.
  The default timezone is the timezone already configured for the
  system. The timezone can be configured by setting
  undercloud_timezone in undercloud.conf


Upgrade Notes
*************

* Host timezone can be managed during the undercloud upgrade. The
  default timezone is the timezone already configured for the system.
  The timezone can be configured by setting undercloud_timezone in
  undercloud.conf and it is recommended to set this going forward.

* Upgrades and updates are now use tripleo-admin user to connect to
  the overcloud by default, which makes it work the same in this
  regard as fresh deployment.


Deprecation Notes
*****************

* The *--ssh-user* parameter for *overcloud upgrade run* command and
  similar commands is now deprecated and will be removed. In the
  future, *tripleo-admin* user will be used always, which will make it
  work the same as deployment workflow.


Bug Fixes
*********

* openstack overcloud delete PLAN_NAME now instead of deleting the
  stack and the plan instead it undeploys the plan to maintain the
  correct status internally and deletes the stack. This is a backwards
  incompatible change because we are no longer deleting the plan as it
  was done previously.

Changes in python-tripleoclient 11.1.0..11.2.0
----------------------------------------------

cca2453 Expose timezone configuration
5ac404e Switch to stestr
1014a3d undercloud: enable the ipxe boot interface by default
6780391 Add excludes to container image build
9c64a36 Force lower-case for hostname lookup
13b8fc6 Fix stack.name to stack.stack_name
e9c907a Lift the limit on ntp servers
bf6f2b4 Remove unused services in tripleo deploy
4a1108c Drop baremetal job template
9c3ffb7 Switch standalone & undercloud to Podman by default
cf5371e Undercloud Validations - Deprecated (replaced/removed) opts
8355e76 Calculate undercloud ctlplane DHCP allocation pools
ce9a49f Add unit test for undercloud ctlplane network config
940ee32 Add '--provide' option to node clean command
a57fc1f Specify multiple NtpServers by default
c1ad985 undercloud: enable undercloud_config parameter for validations
2ac2e9b Change the overcloud delete command to use undeploy_plan
54d6071 Stop undercloud upgrade procedure if deployment tasks fail
88ae2b7 Fix typo in logging
390c6a3 Don't print message in payload if None
5935afe Catch websocket connection close errors in cleanup
5d5c867 Remove timeout in config-download
184d553 Catch socket.timeout waiting port api
d5b16b5 Add missing py37 toxenv and corrected default envlist
c821bbe Don't exit on RUNNING status on delete
e348fab Improve bulk symlink error handling
eb31beb Add version to python execution
bd565f7 Run online data migrations during undercloud/standalone upgrades
4b3fc84 Stop setting boot_option=local on ironic nodes
a22bb05 Add docker bridge ip option to the undercloud.conf
ba9e166 Mock configuration load in unit tests
6eef81a Allow ansible python interpreter be configurable
cc9d724 Avoid printing b'' across logged output
37ec790 Use corrent ansible-playbook cmd for py3
82ace31 Only return plans if available from the message
7c62b89 Remove developer tools from tripleo .gitignore
9a5f6d5 Add container build job
0208bad Don't print None on plan delete
ae1f1e0 standalone/undercloud: run post_upgrade_tasks when upgrading
479a530 Always run upgrades/updates as tripleo-admin
dd6eafe Change 'wa' mode to 'w'
6789f2e Undercloud: Disable persisting VIPs in /etc/hosts
1774425 Extend DeployedServerPortMap to include network props
fd507bb Use full cidr for DeployedServerPortMap
b3b45ef Add AdditionalArchitectures when configured
2dc6920 Fix type of --config-download-timeout
2b4627d spelling fixes doc string and help strings
2425500 Stop using deprecated docker.yaml
9a606f5 fix tox python3 overrides
4b43155 check for existence of output env file for container image prepare
339c1f3 Filter messages not from waiting execution
03af186 Improve standalone success messaging


Diffstat (except docs and test files)
-------------------------------------

.gitignore                                         |  22 +-
.stestr.conf                                       |   3 +
.testr.conf                                        |   7 -
lower-constraints.txt                              |   4 +-
...iner-build-exclude-option-4c4d3899f7a2649c.yaml |   6 +
...tional_for_remote_subnets-805b7d2ed7ed0863.yaml |  33 +
.../move-to-undeploy-plan-067e6070b5f24fa3.yaml    |   7 +
...sks_undercloud_standalone-d9914f6b52c237ce.yaml |   9 +
.../undercloud-timezone-052a6c1c05e80850.yaml      |  12 +
...-always-use-tripleo-admin-53505e9ce380cd4c.yaml |  12 +
requirements.txt                                   |   2 +-
test-requirements.txt                              |   2 +-
tox.ini                                            |  20 +-
tripleoclient/config/standalone.py                 |   6 +-
tripleoclient/config/undercloud.py                 | 108 ++-
tripleoclient/constants.py                         |   7 +
tripleoclient/plugin.py                            |   5 +-
.../v1/overcloud_delete/test_overcloud_delete.py   |  37 +-
.../v1/overcloud_deploy/test_overcloud_deploy.py   |  46 +-
.../test_overcloud_ffwd_upgrade.py                 |   7 +
.../v1/overcloud_update/test_overcloud_update.py   |   2 +-
.../v1/overcloud_upgrade/test_overcloud_upgrade.py |  17 +-
tripleoclient/utils.py                             |  64 +-
tripleoclient/v1/container_image.py                |  30 +-
tripleoclient/v1/overcloud_delete.py               |  10 +-
tripleoclient/v1/overcloud_deploy.py               |  35 +-
tripleoclient/v1/overcloud_external_update.py      |   6 +-
tripleoclient/v1/overcloud_external_upgrade.py     |   6 +-
tripleoclient/v1/overcloud_ffwd_upgrade.py         |  12 +-
tripleoclient/v1/overcloud_node.py                 |  18 +-
tripleoclient/v1/overcloud_update.py               |   4 +-
tripleoclient/v1/overcloud_upgrade.py              |  12 +-
tripleoclient/v1/tripleo_deploy.py                 | 169 +++-
tripleoclient/v1/undercloud_config.py              | 135 +++-
tripleoclient/v1/undercloud_preflight.py           |  88 ++-
tripleoclient/workflows/base.py                    |  11 +-
tripleoclient/workflows/deployment.py              |  35 +-
tripleoclient/workflows/plan_management.py         |   6 +-
tripleoclient/workflows/scale.py                   |   5 +-
tripleoclient/workflows/stack_management.py        |  15 +-
zuul.d/layout.yaml                                 |   3 +-
68 files changed, 3072 insertions(+), 1629 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index af21d34..55e59ce 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -19 +19 @@ websocket-client>=0.44.0 # LGPLv2+
-tripleo-common>=9.3.0 # Apache-2.0
+tripleo-common>=10.2.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index bebddd3..db8b2a6 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -10 +10 @@ mock>=2.0.0 # BSD
-testrepository>=0.0.18 # Apache-2.0/BSD
+stestr>=2.0.0 # Apache-2.0






More information about the Release-announce mailing list