Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overlay.d: create new 30gcp-udev-rules overlay #2350

Merged
merged 3 commits into from
Apr 10, 2023

Conversation

ravanelli
Copy link
Member

This is a cherry-pick from #2336, where I merged first in 413 by mistake

We previously had the 65-gce-disk-naming.rules under the 05core
overlay. This commit makes a new overlay.d entry specifically for
the GCP rules, in this way we can track it and have a better
maintenance

Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
(cherry picked from commit 9da4327)
 - This PR injects/updates the udev rules from google-guest-config package into
our overlay (GoogleCloudPlatform/guest-configs@18fbc05).

 - It works as an workaround for the BZ #2176212. The longer term solution
is to add these packages as part of the Fedora/RHEL itself, so we won't need to
maintain it, as we can entirely drop it.

For this matter the BZ https://bugzilla.redhat.com/show_bug.cgi?id=2182865
was opened requesting a subpackage of google-compute-engine-guest-configs
containing only what is needed.

For more info:

https://bugzilla.redhat.com/show_bug.cgi?id=2176212
https://github.com/GoogleCloudPlatform/guest-configs/tree/master/src/lib/udev

Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
(cherry picked from commit b944dd4)
@ravanelli ravanelli requested review from jlebon and travier April 5, 2023 12:39
@travier
Copy link
Member

travier commented Apr 5, 2023

I've just realized that this PR and the parent PR does not change the list of overlays in the manifest and is thus not taken into account.

@ravanelli
Copy link
Member Author

ravanelli commented Apr 5, 2023

- Add the new 30gcp-udev-rules overlay into the manifest

Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@travier
Copy link
Member

travier commented Apr 5, 2023

Could we have at least a manual test that this works? A basic automated test would be great.

@ravanelli
Copy link
Member Author

ravanelli commented Apr 5, 2023

Could we have at least a manual test that this works? A basic automated test would be great.

The manually check done was to validate if the udev files exist and if the symlinks created were different from before for the nvme disk using a GCP confidencial /non confidencial VM

@ravanelli
Copy link
Member Author

@travier Since people is waiting for this PR I think make sense for us go head and merge it without the test, since we already validate it manually. I will also cherry-pick the missing part of the manifest to 4.13

Copy link
Contributor

@marmijo marmijo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dustymabe
Copy link
Member

@travier Since people is waiting for this PR I think make sense for us go head and merge it without the test, since we already validate it manually. I will also cherry-pick the missing part of the manifest to 4.13

Agree. Let's get this in. @ravanelli can you work on coreos/fedora-coreos-tracker#1457 soon?

Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ravanelli ravanelli merged commit 6b3e003 into coreos:testing-devel Apr 10, 2023
ravanelli added a commit to ravanelli/os that referenced this pull request Apr 18, 2023
 - Add 30gcp-udev-rules from FCOS
 - See coreos/fedora-coreos-config#2350 for more
   info.

Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
ravanelli added a commit to ravanelli/os that referenced this pull request Apr 18, 2023
 - Add 30gcp-udev-rules from FCOS
 - See coreos/fedora-coreos-config#2350 for more
   info.

Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
ravanelli added a commit to ravanelli/os that referenced this pull request Apr 23, 2023
 - Add 30gcp-udev-rules from FCOS
 - See coreos/fedora-coreos-config#2350 for more
   info.

Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
(cherry picked from commit 86c853b)
@ravanelli ravanelli deleted the bz_upstream branch January 2, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants