Bug 1966617 - Default HiveConfig CR on ACM 2.3.0 will not work properly with Assisted Installer
Summary: Default HiveConfig CR on ACM 2.3.0 will not work properly with Assisted Insta...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Cluster Lifecycle
Version: rhacm-2.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: rhacm-2.3
Assignee: James Talton
QA Contact: Derek Ho
Christopher Dawson
URL:
Whiteboard:
Depends On:
Blocks: mint
TreeView+ depends on / blocked
 
Reported: 2021-06-01 14:07 UTC by Juan Manuel Parrilla Madrid
Modified: 2021-06-14 15:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-03 13:54:50 UTC
Target Upstream Version:
Embargoed:
ming: rhacm-2.3+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github open-cluster-management backlog issues 12959 0 None None None 2021-06-01 18:38:04 UTC

Description Juan Manuel Parrilla Madrid 2021-06-01 14:07:06 UTC
Description of the problem:

On manual testing of ACM Downstream bits, we see that the HiveConfig submitted by the ACM Operator is not fully correct in order to make it work with Assisted Installer:

ACM Version Tested:
- acm-custom-registry: 2.3.0-DOWNSTREAM-2021-05-27-19-55-15
- acm-operator-bundle: v2.3.0-111

The CR does not contain the appropriate FeatureGate (AlphaAgentInstallStrategy) to work with the ClusterDeployments.


Operator snapshot version:

- acm-custom-registry: 2.3.0-DOWNSTREAM-2021-05-27-19-55-15

OCP version:

Client Version: 4.8.0-0.nightly-2021-05-25-072938
Server Version: 4.8.0-0.nightly-2021-05-25-072938
Kubernetes Version: v1.21.0-rc.0+ee60d07


Browser Info:

Steps to reproduce:
1. Deploy ACM Downstream version on top of OCP
2. Create the AI Operand 
3. Create AgentClusterInstall and a ClusterDeployment


Actual results:
It fails getting requiring the AlphaAgentInstallStrategy featureGate to be enabled

Expected results:
ClusterDeployment does not get created.

Additional info:

Yaml Manifest required:
---
apiVersion: hive.openshift.io/v1
kind: HiveConfig
metadata:
  name: hive
spec:
 featureGates:
   custom:
     enabled:
     - AlphaAgentInstallStrategy
   featureSet: Custom
 logLevel: debug
 targetNamespace: hive

OR

Patch Command t be executed:

oc patch hiveconfig hive --type merge -p '{"spec":{"targetNamespace":"hive","logLevel":"debug","featureGates":{"custom":{"enabled":["AlphaAgentInstallStrategy"]},"featureSet":"Custom"}}}'

Comment 1 hanzhang 2021-06-03 13:54:50 UTC
Hi Juan,

Thanks for reporting. Currently in 2.3, it's required for users to manually patch hiveconfig with the patch command you mentioned. 
The steps will also be in our 2.3 doc. 

Thanks


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