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

There's no f39 toolbox, so running toolbox enter on Rawhide fails now F38 has branched #1233

Closed
AdamWill opened this issue Feb 10, 2023 · 16 comments
Labels
1. Bug Something isn't working

Comments

@AdamWill
Copy link

Describe the bug
Fedora 38 has branched from Rawhide. There's no 'f39' toolbox container, apparently, so running toolbox enter on Rawhide fails now.

Steps how to reproduce the behaviour

  1. Install Fedora Rawhide and toolbox
  2. Run toolbox enter

Expected behaviour
It should work.

Actual behaviour
It fails.

Screenshots
toolbox

Info about your OS
Fedora Rawhide (must be since the F38 branch happened)

@AdamWill AdamWill added the 1. Bug Something isn't working label Feb 10, 2023
@AdamWill
Copy link
Author

@nirik mentions https://pagure.io/releng/issue/11271 , though that seems to be about f38.

@travier
Copy link
Member

travier commented Feb 10, 2023

The container is built from https://src.fedoraproject.org/container/fedora-toolbox

@debarshiray
Copy link
Member

debarshiray commented Feb 10, 2023

@nirik mentions https://pagure.io/releng/issue/11271 , though
that seems to be about f38.

I suppose that's part of the same problem. Fedora's OCI image infrastructure tends to be a bit ... flaky. :)

One visible problem is that there's no registry.fedoraproject.org/fedora:39 base image at the moment. We need that before building the layered image.

@debarshiray
Copy link
Member

debarshiray commented Feb 10, 2023

I added the fedora-toolbox image definition for Fedora 39 in #1236 but right now it's useless:

[rishi@topinka toolbox]$ podman build --squash --tag localhost/fedora-toolbox:39 ./images/fedora/f39/
STEP 1/19: FROM registry.fedoraproject.org/fedora:39
Trying to pull registry.fedoraproject.org/fedora:39...
Error: creating build container: initializing source docker://registry.fedoraproject.org/fedora:39: reading manifest 39 in registry.fedoraproject.org/fedora: manifest unknown

debarshiray added a commit to debarshiray/toolbox that referenced this issue Feb 10, 2023
This is untested because the registry.fedoraproject.org/fedora:39 base
image doesn't yet exist:
  $ podman build --squash --tag localhost/fedora-toolbox:39
    images/fedora/f39/
  STEP 1/19: FROM registry.fedoraproject.org/fedora:39
  Trying to pull registry.fedoraproject.org/fedora:39...
  Error: creating build container: initializing source
    docker://registry.fedoraproject.org/fedora:39: reading manifest 39
    in registry.fedoraproject.org/fedora: manifest unknown

containers#1233
@nirik
Copy link

nirik commented Feb 10, 2023

I've updated the registry... it's not showing up yet for me, but I am hoping it will here in a few.
Failing that it should update properly tonight.

@debarshiray
Copy link
Member

Thanks, @nirik Anyway, I am going to close this now.

As @travier mentioned, the fedora-toolbox image needs to be built from src.fedoraproject.org/container/fedora-toolbox. I have already added the image definition for the Fedora 39 image to this upstream repository, and right now it's just a copy of the F38 image. So, there's not much left to do here, other than adding F39 to our list of upstream CI builds.

@debarshiray
Copy link
Member

@nirik mentions https://pagure.io/releng/issue/11271 , though that seems to be about f38.

The problem is that container/fedora-toolbox doesn't have a f38 branch at the moment. It means that we can't build separate f38 and f39 images.

But, yes, registry.fedoraproject.org/fedora:39 does exist now. So, that's progress. Thanks, @nirik :)

@AdamWill
Copy link
Author

AdamWill commented Feb 13, 2023

so there's now an f38 branch; it seems to have been created empty, which is not right, but does this at least mean we can build an f39 container now?

@debarshiray
Copy link
Member

registry.fedoraproject.org/fedora-toolbox:39 exists since Tuesday, and I also rebuilt the the F38 image to pick up the post-branching changes.

@AdamWill
Copy link
Author

AdamWill commented Aug 9, 2023

Same go-around for F40 :( we need to add this to branching SOPs, I guess. There is no f40 toolbox container, and there is not yet any mention of f40 at https://registry.fedoraproject.org/repo/fedora/tags/ so I think that needs fixing before we can get one.

@nirik
Copy link

nirik commented Aug 9, 2023

The web interface does not reflect the state of the actual registry. ;) The thing that makes that is horrible and broken, so it's not updating much. I tried to update it manually now and it's now not showing any tags. ;(

Anyhow, both toolbox and the base containers are there... just something is weird with the arch detection...

ie, if you pull fedora:40-x86_64 it works fine, or fedora-toolbox:40-x86_64, but not fedora:40 or fedora-toolbox:40...

@AdamWill
Copy link
Author

oh, that's weird. I was just running toolbox -y enter on a Rawhide system (well, openQA is doing that), which fails. toolbox -r 39 -y enter works.

@nirik
Copy link

nirik commented Aug 10, 2023

ok, I re-ran the sync (and also made a fedora-toolbox repo on quay.io, it wasn't there) and now it seems working?

@AdamWill
Copy link
Author

thanks, I'll take the workaround out and retest once things settle down a bit (huge backlog of tests running ATM).

@AdamWill
Copy link
Author

yeah, it's good now.

@juhp
Copy link
Contributor

juhp commented Aug 12, 2023

Both fedora-toolbox:39 and 40 working for me from the Fedora registry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants