Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
can you explain why this is skipped, is the intent to install all host packages differently (in the image or as an overlay) for bootc. this is just pre-downloading packages that will be installed by later roles.
so if this does not work i would expect the edpm_libvirt or edpm_ovs roles to also fail.
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.
We can't use a package manager in the bootc image, so all of the dependencies are built into the Container:
https://github.com/openstack-k8s-operators/edpm-image-builder/blob/main/bootc/Containerfile.centos9#L41-L57
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.
i see so that will need us to have containers/bootc#76
to be able to support in place upgrades and cve patching of anything in that image.
so haveing a small dep set will be important to minimise the human operator pain fo needing to live migrate instance or take the down time.
some of the packages like libguestfs should not be in the image by the way.
to be fair we haven't gotten around to removing it form edpm ansible yet
https://github.com/openstack-k8s-operators/edpm-ansible/blob/main/roles/edpm_libvirt/defaults/main.yml#L56-L57
but we did remove it form the nova containers because we do not have any supported usecase for it so it should not be needed.
that out of scope of this but we should probably avoid cargo culting it into the new image.
https://issues.redhat.com//browse/OSPRH-192
openstack-k8s-operators/tcib@e935383#diff-20fdbc4b7badc4cdcab1a535614f5d3c52acabf84aba7661ac2e5ead8acc276eL22
the reset look fine to be fair so we probably need to remove it in yet another pr :)
it would be 4th pr to try an removal all references to libguestfs
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.
Sure, we can remove it.
openstack-k8s-operators/edpm-image-builder#63