-
Notifications
You must be signed in to change notification settings - Fork 55
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
[RHEL-9] Drop RHSM and RHUI-specific config from Azure and EC2 images (COMPOSER-2308) #857
Conversation
Converting to draft until the RHSM configuration is actually moved to the compose configuration. |
Here is a manifest diff summary:
And here is a full diff: |
664fef0
to
1babbc2
Compare
1babbc2
to
44b5c55
Compare
I've submitted last compose config changes via https://issues.redhat.com/browse/COMPOSER-2344. Once those are merged, I'll mark this PR as ready. |
44b5c55
to
d295a81
Compare
d295a81
to
5ee01a1
Compare
RHEL / CS pungi configurations have been updated (https://issues.redhat.com/browse/COMPOSER-2344). This PR can be now reviewed. |
Remove the RHUI client RPMs from the image base package set. These will be specified in the Pungi compose configuration as a customization. Related to: https://issues.redhat.com/browse/COMPOSER-2310 Signed-off-by: Tomáš Hozza <[email protected]>
Remove the RHUI client and the redhat-cloud-client-configuration RPMs from the image base package set. These will be specified in the Pungi compose configuration as a customization. Related to: https://issues.redhat.com/browse/COMPOSER-2310 Signed-off-by: Tomáš Hozza <[email protected]>
Remove the RHUI variant of the GCE image. It was never used and exposed to end users. Given the convergence of RHUI images to the common image definitions and the existing customizations, one can customize the plain GCE image to make it RHUI-like. Signed-off-by: Tomáš Hozza <[email protected]>
The RHSM configuration specific to RHUI images was moved to the release configuration, therefore it is no longer needed. Let's simplify functions for constructing image definitions. Related to: https://issues.redhat.com/browse/COMPOSER-2310 Signed-off-by: Tomáš Hozza <[email protected]>
The AMI and RHEL EC2 image had a different package set for no good reason. Let's unify them to reduce the complexity. Signed-off-by: Tomáš Hozza <[email protected]>
Signed-off-by: Tomáš Hozza <[email protected]>
This is a leftover from the old times, when the required packages were not added automatically to the image build pkg set based on used customizations. Signed-off-by: Tomáš Hozza <[email protected]>
Signed-off-by: Tomáš Hozza <[email protected]>
Signed-off-by: Tomáš Hozza <[email protected]>
Signed-off-by: Tomáš Hozza <[email protected]>
Remove the RHUI-specific parts of image type configurations from the image definition, since these are now specified in the compose configuration. Signed-off-by: Tomáš Hozza <[email protected]>
The previously named "RHUI" image types do not include any RHUI-specific configuration. These images are still build only internally for RHEL. Let's rename them to "internal". The actual image type names is still kept untouched for backward compatibility. Signed-off-by: Tomáš Hozza <[email protected]>
5ee01a1
to
4dacffd
Compare
osbuild-composer failed tests are expected, since the current In addition, the Unit tests failure on F41 is caused by the Fedora repository checksum mismatch 🤷♂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
Update osbuild/images to include: - blueprint: remove the sshkey customization (osbuild/images#928). - [RHEL-9] Drop RHSM and RHUI-specific config from Azure and EC2 images (COMPOSER-2308) (osbuild/images#857).
gce-rhui is now gone from RHEL 9 [1] and the old name simply aliases to gce. gcp-rhui in the cloudapi now resolves to 'gce' in RHEL 9 and 'gce-rhui' in RHEL 8. [1] osbuild/images#857
Update osbuild/images to include: - blueprint: remove the sshkey customization (osbuild/images#928). - [RHEL-9] Drop RHSM and RHUI-specific config from Azure and EC2 images (COMPOSER-2308) (osbuild/images#857).
gce-rhui is now gone from RHEL 9 [1] and the old name simply aliases to gce. gcp-rhui in the cloudapi now resolves to 'gce' in RHEL 9 and 'gce-rhui' in RHEL 8. [1] osbuild/images#857
Drop the RHSM configuration from RHEL-9 Azure and EC2 image definitions, since it will be applies as a customization in the release configuration.
Additionally, unify the RHUI and non-RHUI image types as much as possible. Internally rename the original "RHUI" image types and functions to "internal", since they no longer have any RHUI-specific bits. However, these are still built only internally in Brew. We actually can't completely drop the RHUI image types, because these are built as compressed files in Brew. We could modify the implementation, but maybe let's just wait for OTK.
Lastly, drop the GCE RHUI image, which was never used and it is not built anywhere (only in osbuild-composer CI, but that can be fixed), even internally. The image could be built by customizing the GCE image type.