Closed rhmdnd closed 1 year ago
@rhmdnd: This pull request references Jira Issue OCPBUGS-17129, which is invalid:
Comment /jira refresh
to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.
The bug has been updated to refer to the pull request using the external bug tracker.
Testing passed on 4.13.0-0.nightly-2023-07-27-134342 + pr code
Install FIO
$ oc apply -f - <<EOF
> apiVersion: fileintegrity.openshift.io/v1alpha1
> kind: FileIntegrity
> metadata:
> name: example-fileintegrity
> spec:
> config:
> gracePeriod: 90
> maxBackups: 5
> debug: true
> EOF
fileintegrity.fileintegrity.openshift.io/example-fileintegrity created
$ oc get fileintegritynodestatuses.fileintegrity.openshift.io
NAME NODE STATUS
example-fileintegrity-ip-10-0-148-7.us-east-2.compute.internal ip-10-0-148-7.us-east-2.compute.internal Succeeded
example-fileintegrity-ip-10-0-152-61.us-east-2.compute.internal ip-10-0-152-61.us-east-2.compute.internal Succeeded
example-fileintegrity-ip-10-0-170-63.us-east-2.compute.internal ip-10-0-170-63.us-east-2.compute.internal Succeeded
example-fileintegrity-ip-10-0-182-25.us-east-2.compute.internal ip-10-0-182-25.us-east-2.compute.internal Succeeded
example-fileintegrity-ip-10-0-194-227.us-east-2.compute.internal ip-10-0-194-227.us-east-2.compute.internal Succeeded
example-fileintegrity-ip-10-0-197-133.us-east-2.compute.internal ip-10-0-197-133.us-east-2.compute.internal Succeeded
$ oc get machineset -n openshift-machine-api
NAME DESIRED CURRENT READY AVAILABLE AGE
bgudi-413-b2rqn-worker-us-east-2a 1 1 1 1 98m
bgudi-413-b2rqn-worker-us-east-2b 1 1 1 1 98m
bgudi-413-b2rqn-worker-us-east-2c 1 1 1 1 98m
Scale up machineset
$ oc scale --replicas=2 machineset bgudi-413-b2rqn-worker-us-east-2a -n openshift-machine-api
machineset.machine.openshift.io/bgudi-413-b2rqn-worker-us-east-2a scaled
$ oc get machineset -n openshift-machine-api
NAME DESIRED CURRENT READY AVAILABLE AGE
bgudi-413-b2rqn-worker-us-east-2a 2 2 1 1 98m
bgudi-413-b2rqn-worker-us-east-2b 1 1 1 1 98m
bgudi-413-b2rqn-worker-us-east-2c 1 1 1 1 98m
$ oc get fileintegritynodestatuses.fileintegrity.openshift.io
NAME NODE STATUS
example-fileintegrity-ip-10-0-143-71.us-east-2.compute.internal ip-10-0-143-71.us-east-2.compute.internal Succeeded
example-fileintegrity-ip-10-0-148-7.us-east-2.compute.internal ip-10-0-148-7.us-east-2.compute.internal Succeeded
example-fileintegrity-ip-10-0-152-61.us-east-2.compute.internal ip-10-0-152-61.us-east-2.compute.internal Succeeded
example-fileintegrity-ip-10-0-170-63.us-east-2.compute.internal ip-10-0-170-63.us-east-2.compute.internal Succeeded
example-fileintegrity-ip-10-0-182-25.us-east-2.compute.internal ip-10-0-182-25.us-east-2.compute.internal Succeeded
example-fileintegrity-ip-10-0-194-227.us-east-2.compute.internal ip-10-0-194-227.us-east-2.compute.internal Succeeded
example-fileintegrity-ip-10-0-197-133.us-east-2.compute.internal ip-10-0-197-133.us-east-2.compute.internal Succeeded
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rhmdnd, Vincent056
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/test e2e-bundle-aws /test e2e-bundle-aws-upgrade
We should be good to rerun these now that https://github.com/openshift/release/pull/41989 landed.
/test e2e-bundle-aws-upgrade /test e2e-bundle-aws
Failed pulling CI images
/label qe-approved add label per @BhargaviGudi's comments.
@rhmdnd: all tests passed!
Full PR test history. Your PR dashboard.
@rhmdnd: Jira Issue OCPBUGS-17129: All pull requests linked via external trackers have merged:
Jira Issue OCPBUGS-17129 has been moved to the MODIFIED state.
Machine config operator uses files on the host to cache annotations. The file integrity operator will throw integrity errors if a new node is spun up and added to the cluster depending.
Since OpenShift's MCO is responsible for these files, let's exclude them from integrity checks like we do other MCO configuration files.