Closed Vincent056 closed 3 months ago
@Vincent056: This pull request references CMP-2525 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Vincent056
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/hold for test
@Vincent056 I am not sure if it is an env issue. The operator was installed correctly, and default ss only contains worker role. However, the pb was not created. Could you please help to double check? thanks.
% oc get csv
NAME DISPLAY VERSION REPLACES PHASE
compliance-operator.v1.4.0 Compliance Operator 1.4.0 Succeeded
% oc get pod
NAME READY STATUS RESTARTS AGE
compliance-operator-7f68c5fdb4-rgkwc 1/1 Running 0 15s
% oc get ss
NAME AGE
default 32s
% oc get ss default -o=jsonpath={.roles}
["worker"]% % oc get pb
No resources found in openshift-compliance namespace.
% oc get csv -o yaml | grep -i image:
image: quay.io/xiyuan/compliance-operator:pr-511
- image: ghcr.io/complianceascode/openscap-ocp:latest
- image: quay.io/xiyuan/compliance-operator:pr-511
- image: ghcr.io/complianceascode/k8scontent:latest
% oc get pod
NAME READY STATUS RESTARTS AGE
compliance-operator-7f68c5fdb4-rgkwc 1/1 Running 0 102s
Working to get https://github.com/ComplianceAsCode/compliance-operator/pull/515 landed so you have something to test against.
/test e2e-rosa
/test e2e-rosa
/test e2e-rosa
/test e2e-rosa
@Vincent056 I am not sure if it is an env issue. The operator was installed correctly, and default ss only contains worker role. However, the pb was not created. Could you please help to double check? thanks.
% oc get csv NAME DISPLAY VERSION REPLACES PHASE compliance-operator.v1.4.0 Compliance Operator 1.4.0 Succeeded % oc get pod NAME READY STATUS RESTARTS AGE compliance-operator-7f68c5fdb4-rgkwc 1/1 Running 0 15s % oc get ss NAME AGE default 32s % oc get ss default -o=jsonpath={.roles} ["worker"]% % oc get pb No resources found in openshift-compliance namespace. % oc get csv -o yaml | grep -i image: image: quay.io/xiyuan/compliance-operator:pr-511 - image: ghcr.io/complianceascode/openscap-ocp:latest - image: quay.io/xiyuan/compliance-operator:pr-511 - image: ghcr.io/complianceascode/k8scontent:latest % oc get pod NAME READY STATUS RESTARTS AGE compliance-operator-7f68c5fdb4-rgkwc 1/1 Running 0 102s
I may have a fix for this in https://github.com/ComplianceAsCode/compliance-operator/pull/518 - which includes a new platform type for ROSA, and ensure the rhcos4 and ocp4 bundles are supported for that platform type.
@Vincent056: The following test failed, say /retest
to rerun all failed tests or /retest-required
to rerun all mandatory failed tests:
Test name | Commit | Details | Required | Rerun command |
---|---|---|---|---|
ci/prow/e2e-rosa | 3b1c0c701f3be9ce534f1a62709151715dbfea94 | link | true | /test e2e-rosa |
Full PR test history. Your PR dashboard.
close this in favor of https://github.com/ComplianceAsCode/compliance-operator/pull/518
Made change to be able to detect what managed cluster we are on using
ClusterClaim
, through/apis/cluster.open-cluster-management.io/v1alpha1/clusterclaims/product.open-cluster-management.io
Added ROSA platform type, disable master role if detected running on ROSA