Bug 1881541

Summary: Adding trigger fails if pipeline has a workspace
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Dev ConsoleAssignee: Christoph Jerolimov <cjerolim>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: high    
Version: 4.6CC: aos-bugs, nmukherj, spathak
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:44:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Adding trigger doesn't fails if pipeline has a workspace-1
none
Adding trigger doesn't fails if pipeline has a workspace-2 none

Description Christoph Jerolimov 2020-09-22 16:31:28 UTC
Description of problem:
If a pipeline has workspaces, user can configure the workspaces on the start modal, but not when adding a trigger to the pipeline. Hence it is impossible for the user to configure triggers for such pipelines.

Version-Release number of selected component (if applicable):
OpenShift Pipelines Operator 1.1.1

How reproducible:
Always

Steps to Reproduce:
1. Add a pipeline that has a workspace
2. Add a trigger to the pipeline
3. Configure a git repo with the trigger webhook link
4. Make a change in the git repo to trigger the pipeline

Actual results:
PipelineRun fails immediately with an error saying no workspace is configured

Expected results:
PipelineRun runs successfully using the workspace configuration provided during add triggers

Additional info:
None

Comment 2 spathak@redhat.com 2020-10-06 22:06:05 UTC
Created attachment 1719506 [details]
Adding trigger doesn't fails if pipeline has a workspace-1

Comment 3 spathak@redhat.com 2020-10-06 22:06:28 UTC
Created attachment 1719507 [details]
Adding trigger doesn't fails if pipeline has a workspace-2

Comment 4 spathak@redhat.com 2020-10-06 22:06:56 UTC
Verified on build version: 4.6.0-0.nightly-2020-10-03-051134
Browser version: chrome 84

Comment 6 errata-xmlrpc 2020-10-27 16:44:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4196