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

Unable to upgrade coreos from 40 to 41 with docker-ce installed #1845

Open
drogo35 opened this issue Dec 2, 2024 · 2 comments
Open

Unable to upgrade coreos from 40 to 41 with docker-ce installed #1845

drogo35 opened this issue Dec 2, 2024 · 2 comments

Comments

@drogo35
Copy link

drogo35 commented Dec 2, 2024

Describe the bug

After using the instructions here to remove moby-engine and install docker-ce, the system is unable to upgrade to Fedora 41.

Reproduction steps

From a system based on Fedora CoreOS F40, remove moby-engine and install docker-ce as instructed here. The zincati service will attempt to update to the latest version based on F41, but fail due to conflicting requests

Expected behavior

System should upgrade to F41 without error.

Actual behavior

System fails to upgrade due to conflicting requests.

System details

Dec 01 23:08:58 pmcos02 zincati[2062]: [INFO  zincati::update_agent::actor] target release '41.20241109.3.0' selected, proceeding to stage it
Dec 01 23:03:40 pmcos02 zincati[2062]:     
Dec 01 23:03:40 pmcos02 zincati[2062]:       - package docker-cli-27.3.1-2.fc41.x86_64 from @System conflicts with docker-ce-cli provided by docker-ce-cli-1:27.3.1-1.fc41.x86_64 from docker-ce-stable
Dec 01 23:03:40 pmcos02 zincati[2062]:       - package docker-cli-27.3.1-2.fc41.x86_64 from @System conflicts with docker-ce-cli provided by docker-ce-cli-1:27.3.0-1.fc41.x86_64 from docker-ce-stable
Dec 01 23:03:40 pmcos02 zincati[2062]:       - package docker-cli-27.3.1-2.fc41.x86_64 from @System conflicts with docker-ce-cli provided by docker-ce-cli-1:27.2.1-1.fc41.x86_64 from docker-ce-stable
Dec 01 23:03:40 pmcos02 zincati[2062]:       - package docker-ce-3:27.3.1-1.fc41.x86_64 from docker-ce-stable requires docker-ce-cli, but none of the providers can be installed
Dec 01 23:03:40 pmcos02 zincati[2062]:       - package docker-ce-3:27.3.0-1.fc41.x86_64 from docker-ce-stable requires docker-ce-cli, but none of the providers can be installed
Dec 01 23:03:40 pmcos02 zincati[2062]:       - package docker-ce-3:27.2.1-1.fc41.x86_64 from docker-ce-stable requires docker-ce-cli, but none of the providers can be installed
Dec 01 23:03:40 pmcos02 zincati[2062]:      Problem: conflicting requests
Dec 01 23:03:40 pmcos02 zincati[2062]:     error: Could not depsolve transaction; 1 problem detected:
Dec 01 23:03:40 pmcos02 zincati[2062]: [ERROR zincati::update_agent::actor] failed to stage deployment: rpm-ostree deploy failed:
~$ rpm -qa | grep -i docker
docker-compose-plugin-2.29.7-1.fc40.x86_64
docker-buildx-plugin-0.17.1-1.fc40.x86_64
docker-ce-cli-27.3.1-1.fc40.x86_64
docker-ce-rootless-extras-27.3.1-1.fc40.x86_64
docker-ce-27.3.1-1.fc40.x86_64
core@pmcos02:~$ rpm-ostree status
State: idle
AutomaticUpdatesDriver: Zincati
  DriverState: active; trying to stage 41.20241109.3.0 (failed attempts: 4)
Deployments:
● fedora:fedora/x86_64/coreos/stable
                  Version: 40.20241019.3.0 (2024-10-26T12:34:27Z)
               BaseCommit: 6df70065620571076f242857b9080d747891e2279dff3ed1756270f6889731ce
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
      RemovedBasePackages: containerd 1.6.23-5.fc40 moby-engine 24.0.5-4.fc40 runc 2:1.1.12-3.fc40
          LayeredPackages: docker-ce docker-compose-plugin rsnapshot tree vim

  fedora:fedora/x86_64/coreos/stable
                  Version: 40.20241006.3.0 (2024-10-21T13:09:57Z)
               BaseCommit: 43d6b3884e0e6b8f7128ae06abd43bbdf4f52b9338a7763c5a3b492c40f3d866
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
      RemovedBasePackages: containerd 1.6.23-5.fc40 moby-engine 24.0.5-4.fc40 runc 2:1.1.12-3.fc40
          LayeredPackages: docker-ce docker-compose-plugin rsnapshot tree vim

Butane or Ignition config

No response

Additional information

No response

@hrismarin
Copy link

I can update the docs page as suggested in the relevant topic. Do you think adding a section explaining how to upgrade Docker CE from Fedora CoreOS 40 to Fedora CoreOS 41 would also be helpful?

@travier
Copy link
Member

travier commented Dec 2, 2024

I can update the docs page as suggested in the relevant topic.

Thanks!

Do you think adding a section explaining how to upgrade Docker CE from Fedora CoreOS 40 to Fedora CoreOS 41 would also be helpful?

Yes, probably a good thing to add as well. I'm not sure if we can make something better than reset/rebase/overlay, but having it documented would be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants