-
Notifications
You must be signed in to change notification settings - Fork 33
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
images: Build rhel-8-4 from official qcow image #1518
Conversation
image-refresh in progress on 3-ci-srv-01. |
image-refresh rhel-8-4 done: https://github.com/cockpituous/bots/commits/image-refresh-rhel-8-4-20210105-065050 |
The previous refresh took 1219s . Image size was 2.47 GB. This refresh took just 891 s and image size is roughly the same (2.46 GB). |
While the first image refresh still worked, the image now literally disappeared from the current compose. Blocking until they come back. |
I am temporarily putting back the initial (still slightly broken) image refresh so that I can test my cockpit-composer fix. |
Some of our images, like centos-8-stream, are already built from the official cloud images instead of virt-install with LVM. More images are going to do that soon [1], so fix vm.install to only do the LVM grow steps if the image actually uses LVM. [1] cockpit-project/bots#1518
image-refresh in progress on 4-ci-srv-06. |
image-refresh rhel-8-4 done: https://github.com/cockpituous/bots/commits/image-refresh-rhel-8-4-20210105-154444 |
Some of our images, like centos-8-stream, are already built from the official cloud images instead of virt-install with LVM. More images are going to do that soon [1], so fix vm.install to only do the LVM grow steps if the image actually uses LVM. [1] cockpit-project/bots#1518
Apparently we lost /etc/crypttab on the image, and we need to adjust our tests or even the code to get along without it. Or bring back cryptsetup onto the image, I need to check this locally. |
Starting from the cloud image is faster, more robust, and more realistic (using an official product) than our own virt-install bootstrap. Teach cloudimage.bootstrap to get along with redirects, as download.devel.redhat.com is a geolocation mirror. The cloud images don't ship an empty /etc/crypttab, which uncovered a bug in our storage page or in udisks: cockpit-project/cockpit#15100 Create an empy file in the install script to work around that for now.
I reported the crypttab failure as cockpit-project/cockpit#15100 , this is real -- this kinda shows the point of testing this on more variety of image types. This should be green now, ready for review. |
There is one remaining test case failure as this new image does not have swap. I sent a fix for that to cockpit-project/cockpit#15104 |
All landed, unblocked |
Some of our images, like centos-8-stream, are already built from the official cloud images instead of virt-install with LVM. More images are going to do that soon [1], so fix vm.install to only do the LVM grow steps if the image actually uses LVM. [1] cockpit-project/bots#1518 Cherry-picked from master commit d1fa01f
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.
Nice one, thanks!
Some of our images, like centos-8-stream, are already built from the official cloud images instead of virt-install with LVM. More images are going to do that soon [1], so fix vm.install to only do the LVM grow steps if the image actually uses LVM. [1] cockpit-project/bots#1518 Cherry-picked from master commit d1fa01f
Some of our images, like centos-8-stream, are already built from the official cloud images instead of virt-install with LVM. More images are going to do that soon [1], so fix vm.install to only do the LVM grow steps if the image actually uses LVM. [1] cockpit-project/bots#1518 Cherry-picked from master commit d1fa01f
Some of our images, like centos-8-stream, are already built from the official cloud images instead of virt-install with LVM. More images are going to do that soon [1], so fix vm.install to only do the LVM grow steps if the image actually uses LVM. [1] cockpit-project/bots#1518 Cherry-picked from master commit d1fa01f
Some of our images, like centos-8-stream, are already built from the official cloud images instead of virt-install with LVM. More images are going to do that soon [1], so fix vm.install to only do the LVM grow steps if the image actually uses LVM. [1] cockpit-project/bots#1518 Cherry-picked from master commit d1fa01f
Some of our images, like centos-8-stream, are already built from the official cloud images instead of virt-install with LVM. More images are going to do that soon [1][2], so fix vm.install to only do the LVM grow steps if the image actually uses LVM. Also adjust the comment, as commit 6ddaa5e fixed this for RHEL images. [1] cockpit-project/bots#1518 [2] cockpit-project/bots#1527
Some of our images, like centos-8-stream, are already built from the official cloud images instead of virt-install with LVM. More images are going to do that soon [1][2], so fix vm.install to only do the LVM grow steps if the image actually uses LVM. Also adjust the comment, as commit 6ddaa5e fixed this for RHEL images. [1] cockpit-project/bots#1518 [2] cockpit-project/bots#1527 (cherry-picked from commit 04ce221)
Some of our images, like centos-8-stream, are already built from the official cloud images instead of virt-install with LVM. More images are going to do that soon [1][2], so fix vm.install to only do the LVM grow steps if the image actually uses LVM. Also adjust the comment, as commit 6ddaa5e fixed this for RHEL images. [1] cockpit-project/bots#1518 [2] cockpit-project/bots#1527 (cherry picked from commit 04ce221)
Starting from the cloud image is faster, more robust, and more realistic
(using an official product) than our own virt-install bootstrap.
Teach cloudimage.bootstrap to get along with redirects, as
download.devel.redhat.com is a geolocation mirror.