Closed Vincent056 closed 1 year ago
@Vincent056: This pull request references Jira Issue OCPBUGS-14947, 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.
@Vincent056: This pull request references Jira Issue OCPBUGS-14947, 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.
@Vincent056: all tests passed!
Full PR test history. Your PR dashboard.
[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
Verification pass with 4.14.0-0.nightly-2023-08-10-072041 + Code in the PR: Per https://access.redhat.com/solutions/7017081, verified daemon container of aide pods have now the HostToContainer mount propagation.
$ oc apply -f -<<EOF
apiVersion: fileintegrity.openshift.io/v1alpha1
kind: FileIntegrity
metadata:
name: example-fileintegrity
spec:
config:
gracePeriod: 300
maxBackups: 5
debug: true
EOF
fileintegrity.fileintegrity.openshift.io/example-fileintegrity created
$ oc get pod
NAME READY STATUS RESTARTS AGE
aide-example-fileintegrity-6n45r 1/1 Running 0 3m30s
aide-example-fileintegrity-8r7qt 1/1 Running 0 3m30s
aide-example-fileintegrity-b92d6 1/1 Running 0 3m30s
aide-example-fileintegrity-jj598 1/1 Running 0 3m30s
aide-example-fileintegrity-ntkmf 1/1 Running 0 3m30s
aide-example-fileintegrity-zqlgc 1/1 Running 0 3m30s
file-integrity-operator-6b67d89b67-nk6dr 1/1 Running 1 (91m ago) 91m
$ oc get pod -l file-integrity.openshift.io/pod= '-o=jsonpath={.items[*].spec.containers[?(@.name=="daemon")].volumeMounts[0]}' | jq -r
{
"mountPath": "/hostroot",
"mountPropagation": "HostToContainer",
"name": "hostroot"
}
{
"mountPath": "/hostroot",
"mountPropagation": "HostToContainer",
"name": "hostroot"
}
{
"mountPath": "/hostroot",
"mountPropagation": "HostToContainer",
"name": "hostroot"
}
{
"mountPath": "/hostroot",
"mountPropagation": "HostToContainer",
"name": "hostroot"
}
{
"mountPath": "/hostroot",
"mountPropagation": "HostToContainer",
"name": "hostroot"
}
{
"mountPath": "/hostroot",
"mountPropagation": "HostToContainer",
"name": "hostroot"
}
/label qe-approved
/jira refresh
@Vincent056: This pull request references Jira Issue OCPBUGS-14947, 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.
/jira refresh
@xiaojiey: This pull request references Jira Issue OCPBUGS-14947, 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.
/jira refresh
@xiaojiey: This pull request references Jira Issue OCPBUGS-14947, which is valid.
@Vincent056: Jira Issue OCPBUGS-14947: All pull requests linked via external trackers have merged:
Jira Issue OCPBUGS-14947 has been moved to the MODIFIED state.
This PR fixes issues on CSI driver relying on multipath, we need to set MountPropagation to HostToContainer to address this issue.
OCPBUGS-14947