Bug 1838042 - Cannot deploy external Swift because external-swift-proxy-baremetal-puppet.yaml missing conditions
Summary: Cannot deploy external Swift because external-swift-proxy-baremetal-puppet.ya...
Keywords:
Status: CLOSED DUPLICATE of bug 1440926
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 16.0 (Train on RHEL 8.1)
Assignee: Christian Schwede (cschwede)
QA Contact: David Rosenfeld
URL:
Whiteboard:
: 1841589 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-20 12:09 UTC by Tom Bonds
Modified: 2020-06-04 09:58 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-04 09:58:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tom Bonds 2020-05-20 12:09:53 UTC
Description of problem:
external-swift-proxy-baremetal-puppet.yaml calls conditions that do not exist, causing deploy to fail


Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-11.3.2-0.20200405044625.ec9970c.el8ost.noarch


How reproducible:
Always


Steps to Reproduce:
1. Add ${THT}/environments/swift-external.yaml to openstack overcloud deploy
2. Add ExternalSwift* params
3. Deploy overcloud

Actual results:
Deploy/Update fails with

ERROR: resources.ControllerServiceChain<https://172.16.0.2:13808/v1/AUTH_10d788720d7d42ab973599ccefd60134/osp16/common/services/controller-role.yaml>.resources.ServiceChain<nested_stack>.resources.51<https://172.16.0.2:13808/v1/AUTH_10d788720d7d42ab973599ccefd60134/osp16/deployment/swift/external-swift-proxy-baremetal-puppet.yaml>.outputs.role_data.value.keystone_resources.swift.endpoints.public.if: : Invalid condition "deprecated_external_public_url"

Expected results:
Deploy succeeds


Additional info:
It looks like this [0] change was partially implemented in this version of the template

[0] https://github.com/openstack/tripleo-heat-templates/commit/415d4de0884a691a01f14e7954aadc203e033a8b

Comment 1 Alex Schultz 2020-05-20 20:52:06 UTC
The upstream version works so we need to ensure the downstream gets that version.  The current version downstream doesn't have the conditions.

Comment 2 Alex Schultz 2020-05-20 20:54:58 UTC
It should be noted that environments/swift-external.yaml needs to be updated with the correct variables

Comment 4 Alex Schultz 2020-05-29 21:47:33 UTC
*** Bug 1841589 has been marked as a duplicate of this bug. ***

Comment 8 Giulio Fidente 2020-06-04 09:58:51 UTC
this feature is only supported from 16.1 and is tracked by [1]

the issue you are seeing is a known issue in 16.0.2 and fixed by https://review.opendev.org/#/c/720230

in 16.0.2 the feature hadn't been tested/documented/supported yet some code was in tht already; the docs are being written and tracked via [2]

closing as DUP

1. https://bugzilla.redhat.com/show_bug.cgi?id=1440926
2. https://bugzilla.redhat.com/show_bug.cgi?id=1765045

*** This bug has been marked as a duplicate of bug 1440926 ***


Note You need to log in before you can comment on or make changes to this bug.