[pcp_metrics] Create a usroverlay instead of remounting /usr#3775
[pcp_metrics] Create a usroverlay instead of remounting /usr#3775michburk wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
080882a to
bd95824
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/46beae86c3604df096e4a21a455bcf5a ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 07m 26s |
778cdf9 to
d48af10
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/f437b689ae2948feaf0b58a09648fd1e ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 40m 26s |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/41ee265e28214626a64f1d3f2f1576c1 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 17m 32s |
Remounting the `/usr` directory on coreos nodes was failing on newer crc releases because `/usr` is read-only. This changes the remount to use the `rpm-ostree usroverlay` command to create a temporary writable layer instead. Data written to this overlay will not persist between boots. Signed-off-by: Michael Burke <michburk@redhat.com>
| state: remounted | ||
| opts: rw | ||
| ansible.builtin.command: | ||
| cmd: rpm-ostree usroverlay |
There was a problem hiding this comment.
looks like interesting idea - Allows temporary modification of immutable /usr files without creating a new deployment.
it might work. If tests results are fine, we can go
|
Several results linked in https://redhat.atlassian.net/browse/OSPCIFMW-57 |
|
/lgtm |
Remounting the
/usrdirectory on coreos nodes was failing onnewer crc releases because
/usris immutable. This changes the remountto use the
rpm-ostree usroverlaycommand to create a temporarywritable layer instead.
Data written to this overlay will not persist between boots.