Bug 1753018 - "UpdateStrategy" Descriptor is not taking/applying settings correctly
Summary: "UpdateStrategy" Descriptor is not taking/applying settings correctly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.2.0
Assignee: Alec Merdler
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-17 19:34 UTC by tony.wu
Modified: 2019-10-16 06:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:41:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Portworx CSV with "UpdateStrategy" added in specDescriptor (45.48 KB, text/plain)
2019-09-17 19:34 UTC, tony.wu
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 2747 0 None None None 2019-09-17 19:56:04 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:41:41 UTC

Description tony.wu 2019-09-17 19:34:05 UTC
Created attachment 1615991 [details]
Portworx CSV with "UpdateStrategy" added in specDescriptor

Description of problem:
Apply "UpdateStrategy" Descriptor to Operator CSV file for creating the CR it owns. The creation form rendered correctly; however, the actual settings are not configured correctly into the CR YAML.

Version-Release number of selected component (if applicable):

4.2.0-0.ci-2019-09-16-092139


How reproducible:
100% reproducible with Portworx Operator (with its CSV added 'UpdateStrategy' Descriptor)

Steps to Reproduce:
1. Install Portworx Operator from OperatorHub
2. On "Installed Operators" view, add "UpdateStrategy" descriptor to Portworx's CSV file under "specDescriptor" section (see attached CSV file: clusterserviceversion-portworx-operator.v1.0.5.yaml, as the example)
3. Create "StorageCluster" CR with "Edit Form" view
4. Select "Recreate" in "UpdateStrategy" widget/field in the creation form and "Create"
5. Check "UpdateStrategy" field on "StorageCluster" details view 

Actual results:
"UpdateStrategy" field on "StorageCluster" details view shows "Unsupported", while looks fine in YAML view.

Expected results:
"UpdateStrategy" field should show the actual setting.


Additional info:

Comment 1 Alec Merdler 2019-09-17 19:53:04 UTC
This bug also affects the normal "Configure Update Strategy" modal for `Deployments`, and should be verified there as well.

Comment 3 Yadan Pei 2019-09-19 05:45:54 UTC
1. Followed the steps in "Steps to Reproduce"
Now "UpdateStrategy" field on "StorageCluster" details view shows "Recreate" correctly

2.Create Deployment, goes to Workloads -> Deployment -> Actions -> Edit Update Strategy -> check ‘Update Strategy’ on Deployment details, it shows correct and actual value


Verified on 4.2.0-0.nightly-2019-09-18-211009

Comment 4 errata-xmlrpc 2019-10-16 06:41:28 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, 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-2019:2922


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