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

build ubuntu 22.04 image #134

Merged
merged 1 commit into from
Jun 14, 2022
Merged

build ubuntu 22.04 image #134

merged 1 commit into from
Jun 14, 2022

Conversation

lsm5
Copy link
Member

@lsm5 lsm5 commented May 26, 2022

Signed-off-by: Lokesh Mandvekar lsm5@fedoraproject.org

@lsm5
Copy link
Member Author

lsm5 commented May 26, 2022

We should move away from the kubic repos. Either switch to default repos or use my shiny fedora-spec generated kubic repos.

@lsm5
Copy link
Member Author

lsm5 commented May 26, 2022

enabled the unstable repo which uses fedora generated packages.

base_images/gce.yml Outdated Show resolved Hide resolved
@cevich
Copy link
Member

cevich commented May 26, 2022

This failure is strange in the container build:

rm: cannot remove '/var/cache/apt': Device or resource busy

But the ultimate failure is a missing golang-github-containers-common. I'm guessing that's something that came from kubik before? -sigh-

@cevich
Copy link
Member

cevich commented May 26, 2022

This is going to barf with a 404, need to replace with URLs under the release tree:

    # Latest Fedora release (qcow and CHECKSUM) download URLs
    # N/B: There are Fedora-Cloud...GCP.tar.gz images available, however
    #      as of this comment, they lack the cloud-init package which is
    #      required by GCP for startup resizing of the rootfs.
    FEDORA_CSUM_URL: "https://dl.fedoraproject.org/pub/fedora/linux/development/36/Cloud/x86_64/images/Fedora-Cloud-36-x86_64-20220428.n.0-CHECKSUM"
    FEDORA_IMAGE_URL: "https://dl.fedoraproject.org/pub/fedora/linux/development/36/Cloud/x86_64/images/Fedora-Cloud-Base-36-20220428.n.0.x86_64.qcow2"

Copy link
Member

@cevich cevich left a comment

Choose a reason for hiding this comment

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

Looks good so far.

@lsm5
Copy link
Member Author

lsm5 commented May 26, 2022

rm: cannot remove '/var/cache/apt': Device or resource busy

i'm fixing that one. Once the fedora-derived debs are built, that will go away.

@lsm5
Copy link
Member Author

lsm5 commented May 26, 2022

@lsm5
Copy link
Member Author

lsm5 commented May 26, 2022

rm: cannot remove '/var/cache/apt': Device or resource busy

i'm fixing that one. Once the fedora-derived debs are built, that will go away.

alrighty, buildah and skopeo should now be available on that repo so that's 1 issue less.

@cevich
Copy link
Member

cevich commented May 26, 2022

make: *** No rule to make target 'install.libseccomp.sudo'. Stop.

Looks like that target was removed from podman's Makefile containers/podman@d8c42de

@cevich
Copy link
Member

cevich commented May 26, 2022

If you want to include the removed install into cache_images/podman_tooling.sh for Ubuntu, I'm okay with that. Though I don't know what it does, if it's still needed, or if that's the right fix 😖

       rm -rf ../../seccomp/libseccomp
       git clone https://github.com/seccomp/libseccomp ../../seccomp/libseccomp
       cd ../../seccomp/libseccomp && git checkout --detach $(LIBSECCOMP_COMMIT) && ./autogen.sh && ./configure --prefix=/usr && make all && make install

@lsm5
Copy link
Member Author

lsm5 commented May 26, 2022

@cevich

==> Some builds didn't complete successfully and had errors:
--> ubuntu: Error getting source image for instance creation: Could not find image, ubuntu-2204, in projects, [ubuntu-os-cloud]: 1 error(s) occurred:

should the image be called ubuntu-2204 or ubuntu-2204-lts or something else?

@github-actions
Copy link

Cirrus CI build successful. Image ID c5878804328480768 ready for use.

1 similar comment
@github-actions
Copy link

Cirrus CI build successful. Image ID c5878804328480768 ready for use.

@lsm5
Copy link
Member Author

lsm5 commented May 26, 2022

@cevich ready to go 🤞

@lsm5
Copy link
Member Author

lsm5 commented May 31, 2022

@cevich added rngd to ubuntu base setup. PTAL.

@cevich
Copy link
Member

cevich commented May 31, 2022

@lsm5 I also found a bug with the podman_tooling.sh script, sending up a PR...

@cevich
Copy link
Member

cevich commented May 31, 2022

...#136 (assuming I didn't break things) it would be nice to have that in here.

@cevich
Copy link
Member

cevich commented May 31, 2022

I checked, it's called rngd.service, so something else is going on...

@github-actions
Copy link

Cirrus CI build successful. Image ID c6131050005921792 ready for use.

@cevich
Copy link
Member

cevich commented Jun 1, 2022

I think the word "successful" speak for it's self 😀 Nice job.

Co-authored-by: Chris Evich <cevich@redhat.com>
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
@github-actions
Copy link

github-actions bot commented Jun 1, 2022

Cirrus CI build successful. Image ID c4673066348314624 ready for use.

mtrmac added a commit to mtrmac/automation_images that referenced this pull request Jun 14, 2022
A part of containers#134 ,
recommended in containers#137 (comment) .

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
@cevich cevich merged commit 0220c22 into containers:main Jun 14, 2022
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

2 participants