05601cbc40
puppet-keystone and puppet-openstacklib need to be updated because of the Train upgrade, to avoid ansible failure. The puppet packages are not fully upgraded because the new versions request an upgrade for Puppet 5. keystone: 0007-update-for-openstackclient-Train-upgrade - Remove deprecated role list options --project and --user. Use role assignment list options --project and --user instead. - Ported from puppet-keystone v15.4.0. openstacklib: 0002-update-for-openstackclient-Train - Add endpoint parameter for Puppet::Provider::Openstack::Credentials, ported from puppet-openstacklib v15.4.0. Ref: https://docs.openstack.org/releasenotes/python-openstackclient/train.html https://docs.openstack.org/releasenotes/puppet-keystone/train.html https://docs.openstack.org/releasenotes/puppet-openstacklib/train.html Tests have been done: 1. Deploy StarlingX with simplex/duplex/multi-node with or without dedicated storage nodes. 2. Apply latest openstack application based on the above deployments. 3. Add node with BMC. 4. Openstack client tests: Create flavor, image, volume, network, subnet and instances. Instance Operations: Pause/Unpause; Suspend/Resume; Stop/Start; Reboot (soft); Reboot (hard) Story: 2007502 Task: 39266 Depends-on: https://review.opendev.org/#/c/716818 Change-Id: I21c0fa2aaa41bae6d0d309763c84afb9e2e5ded9 Signed-off-by: Chen, Yan <yan.chen@intel.com>
34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
From d977fad6b6844de7a22ab62e7456f27c95a56a64 Mon Sep 17 00:00:00 2001
|
|
From: chenyan <yan.chen@intel.com>
|
|
Date: Thu, 26 Mar 2020 16:17:19 +0800
|
|
Subject: [PATCH] update for openstackclient Train
|
|
|
|
Signed-off-by: chenyan <yan.chen@intel.com>
|
|
---
|
|
SPECS/puppet-openstacklib.spec | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/SPECS/puppet-openstacklib.spec b/SPECS/puppet-openstacklib.spec
|
|
index ce3957f..9f42722 100644
|
|
--- a/SPECS/puppet-openstacklib.spec
|
|
+++ b/SPECS/puppet-openstacklib.spec
|
|
@@ -9,6 +9,7 @@ URL: https://launchpad.net/puppet-openstacklib
|
|
|
|
Source0: https://tarballs.openstack.org/%{name}/%{name}-%{upstream_version}.tar.gz
|
|
Patch0001: 0001-Roll-up-TIS-patches.patch
|
|
+Patch0002: 0002-update-for-openstackclient-Train.patch
|
|
|
|
BuildArch: noarch
|
|
|
|
@@ -26,6 +27,7 @@ Puppet OpenStack Libraries
|
|
%prep
|
|
%setup -q -n openstack-openstacklib-%{upstream_version}
|
|
%patch0001 -p1
|
|
+%patch0002 -p1
|
|
|
|
find . -type f -name ".*" -exec rm {} +
|
|
find . -size 0 -exec rm {} +
|
|
--
|
|
2.17.1
|
|
|