Bug 1868358

Summary: Pipelinerun fails if we select `Empty Directory` as value for workspace from devconsole UI
Product: OpenShift Container Platform Reporter: divgupta
Component: Dev ConsoleAssignee: divgupta
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: high    
Version: 4.5CC: 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:28:06 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:
Bug Depends On:    
Bug Blocks: 1870585    
Attachments:
Description Flags
Pipelinerun passes if we select `Empty Directory` as value for workspace from devconsole UI-1
none
Pipelinerun fails if we select `Empty Directory` as value for workspace from devconsole UI-2 none

Description divgupta 2020-08-12 11:42:12 UTC
Description of problem:
Pipelinerun fails if we select `Empty Directory` as value for workspace from devconsole UI

How reproducible: Always

Steps to Reproduce:
1.Create a task which uses workspace
2.Create a pipeline from using the above task and include workspace in spec file 
3.From devconsole UI start the pipeline and for the workspace select Empty Directory for workspace

Actual results:
No value is provided for the workspace, the taskrun shows red exclamatory mark and the pipelinerun stays in running state

Expected results:
`emptyDir: {}` value should be provided for workspace and pipelinerun should start and succeed

Comment 3 spathak@redhat.com 2020-08-24 10:40:12 UTC
Created attachment 1712333 [details]
Pipelinerun passes if we select `Empty Directory` as value for workspace from devconsole UI-1

Comment 4 spathak@redhat.com 2020-08-24 10:40:49 UTC
Created attachment 1712334 [details]
Pipelinerun fails if we select `Empty Directory` as value for workspace from devconsole UI-2

Comment 5 spathak@redhat.com 2020-08-24 10:43:58 UTC
Verified on Build version: 4.6.0-0.nightly-2020-08-23-214712
Browser version: Chrome 83

Comment 7 errata-xmlrpc 2020-10-27 16:28:06 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