conctl changes container manager from docker to ctr when upgrading from 631 to 636

Bug #1837189 reported by Seyeong Kim
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Calico Charm
Fix Released
High
Joseph Borg
Canal Charm
Fix Released
High
Joseph Borg
Tigera Secure EE Charm
Fix Released
High
Joseph Borg

Bug Description

Deployed bundle is
https://pastebin.ubuntu.com/p/DTyYp77C9r/

When upgrading calico from 631 to 636 ( I think conctl is involved between them )
, It changes container manager for calico-node from docker to ctr.

I checked below code
https://github.com/charmed-kubernetes/conctl/blob/master/conctl/__init__.py

even if I chose docker as container, it select ctr.
before upgrading, docker container ls had calico-node
but after upgrading, ctr container ls has calico-node ( nothing in docker container ls )

so one of the customer affected by this issue.

Thanks.

Tags: sts
Changed in charm-calico:
status: New → Triaged
Changed in charm-canal:
status: New → Triaged
Changed in charm-calico:
importance: Undecided → High
Changed in charm-canal:
importance: Undecided → High
Changed in charm-calico:
assignee: nobody → Joseph Borg (joeborg)
Changed in charm-canal:
assignee: nobody → Joseph Borg (joeborg)
Changed in charm-calico:
milestone: none → 1.15+ck1
Changed in charm-canal:
milestone: none → 1.15+ck1
Revision history for this message
Joseph Borg (joeborg) wrote :

Thanks Seyeong,

It seems the docker.io package is now shipping with `ctr`, which I don't think it used to. This is confusing `conctl`. I can do a hack for a hot fix, but we should figure a better way of detection.

Revision history for this message
Joseph Borg (joeborg) wrote :

If it's urgent, in the meantime, you can use the `--force-runtime docker` flag.

Revision history for this message
Joseph Borg (joeborg) wrote :
Changed in charm-calico:
status: Triaged → Fix Committed
Changed in charm-canal:
status: Triaged → Fix Committed
Revision history for this message
Joseph Borg (joeborg) wrote :

Fixed in calico-642

Revision history for this message
Joseph Borg (joeborg) wrote :

canal-640

Revision history for this message
Joseph Borg (joeborg) wrote :

tigera-secure-ee-61

Revision history for this message
Kevin W Monroe (kwmonroe) wrote :
Revision history for this message
Kevin W Monroe (kwmonroe) wrote :
Changed in charm-tigera-secure-ee:
assignee: nobody → Joseph Borg (joeborg)
importance: Undecided → High
milestone: none → 1.15+ck1
status: New → Fix Committed
Changed in charm-calico:
status: Fix Committed → Fix Released
Changed in charm-canal:
status: Fix Committed → Fix Released
Changed in charm-tigera-secure-ee:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.