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

Dedicated etcd upgrade failed to upgrade from 2.17 (role: container-engine) #8381

Closed
rtsp opened this issue Jan 6, 2022 · 0 comments · Fixed by #8386
Closed

Dedicated etcd upgrade failed to upgrade from 2.17 (role: container-engine) #8381

rtsp opened this issue Jan 6, 2022 · 0 comments · Fixed by #8386
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@rtsp
Copy link
Member

rtsp commented Jan 6, 2022

Environment:

  • Cloud provider or hardware configuration: QEMU KVM on Bare-metal Server
  • OS: Debian 11 (bullseye)
  • Version of Ansible: ansible [core 2.11.7]
  • Version of Python: Python 3.9.2

Kubespray version (commit): 30d9882 (master) or 92f25bf (release-2.18)

Network plugin used: Flannel

Full inventory with variables: https://gist.github.com/rtsp/cf0230d6fbf33315e0a24f61ebcc25b8

Command used to invoke ansible:

ansible-playbook -i ../inventory/hosts.yml -bv upgrade-cluster.yml
or
ansible-playbook -i ../inventory/hosts.yml -bv facts.yml && ansible-playbook -i ../inventory/hosts.yml -bv upgrade-cluster.yml -l etcd

Output of ansible run:

TASK [container-engine/containerd : containerd | Remove any package manager controlled containerd package] 

fatal: [callisto-e1]: FAILED! =>
{
  "changed": false,
  "msg": "'apt-get remove 'containerd.io'' failed: E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.\n",
  "rc": 100,
  "stderr": "E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.\n",
  "stderr_lines": [
    "E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages."
  ],
  "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n docker-ce : Depends: containerd.io (>= 1.4.1) but it is not going to be installed\n",
  "stdout_lines": [
    "Reading package lists...",
    "Building dependency tree...",
    "Reading state information...",
    "Some packages could not be installed. This may mean that you have",
    "requested an impossible situation or if you are using the unstable",
    "distribution that some required packages have not yet been created",
    "or been moved out of Incoming.",
    "The following information may help to resolve the situation:",
    "",
    "The following packages have unmet dependencies:",
    " docker-ce : Depends: containerd.io (>= 1.4.1) but it is not going to be installed"
  ]
}

Anything else do we need to know:

This issue is related to #7987 and #7532.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
1 participant