calico-node service fails to start on xenial due to ASCII encoding
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Calico Charm |
Fix Released
|
Medium
|
George Kraft | ||
Canal Charm |
Fix Released
|
Medium
|
George Kraft | ||
Tigera Secure EE Charm |
Fix Released
|
Medium
|
George Kraft |
Bug Description
This appears to affect xenial only.
Calico units get stuck waiting/idle with status message: "Waiting to retry Calico node configuration". The units log an error from the calicoctl command:
2021-01-11 20:21:59 INFO juju-log b'null\nresource does not exist: Node(ip-
The node does not exist because calico-node fails to start:
Jan 11 20:24:36 ip-172-30-0-150 charm-env[26444]: Traceback (most recent call last):
Jan 11 20:24:36 ip-172-30-0-150 charm-env[26444]: File "/var/lib/
Jan 11 20:24:36 ip-172-30-0-150 charm-env[26444]: load_entry_
Jan 11 20:24:36 ip-172-30-0-150 charm-env[26444]: File "/var/lib/
Jan 11 20:24:36 ip-172-30-0-150 charm-env[26444]: return self.main(*args, **kwargs)
Jan 11 20:24:36 ip-172-30-0-150 charm-env[26444]: File "/var/lib/
Jan 11 20:24:36 ip-172-30-0-150 charm-env[26444]: _verify_
Jan 11 20:24:36 ip-172-30-0-150 charm-env[26444]: File "/var/lib/
Jan 11 20:24:36 ip-172-30-0-150 charm-env[26444]: " mitigation steps.{
Jan 11 20:24:36 ip-172-30-0-150 charm-env[26444]: RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult https:/
Jan 11 20:24:36 ip-172-30-0-150 charm-env[26444]: This system supports the C.UTF-8 locale which is recommended. You might be able to resolve your issue by exporting the following environment variables:
Jan 11 20:24:36 ip-172-30-0-150 charm-env[26444]: export LC_ALL=C.UTF-8
Jan 11 20:24:36 ip-172-30-0-150 charm-env[26444]: export LANG=C.UTF-8
Jan 11 20:24:36 ip-172-30-0-150 systemd[1]: calico-
Changed in charm-calico: | |
importance: | Undecided → Medium |
Changed in charm-canal: | |
importance: | Undecided → Medium |
Changed in charm-tigera-secure-ee: | |
importance: | Undecided → Medium |
Changed in charm-calico: | |
status: | New → In Progress |
Changed in charm-canal: | |
status: | New → In Progress |
Changed in charm-tigera-secure-ee: | |
status: | New → In Progress |
Changed in charm-calico: | |
assignee: | nobody → George Kraft (cynerva) |
Changed in charm-canal: | |
assignee: | nobody → George Kraft (cynerva) |
Changed in charm-tigera-secure-ee: | |
assignee: | nobody → George Kraft (cynerva) |
Changed in charm-calico: | |
milestone: | none → 1.20+ck1 |
Changed in charm-canal: | |
milestone: | none → 1.20+ck1 |
Changed in charm-tigera-secure-ee: | |
milestone: | none → 1.20+ck1 |
Changed in charm-calico: | |
status: | In Progress → Fix Committed |
Changed in charm-canal: | |
status: | In Progress → Fix Committed |
Changed in charm-tigera-secure-ee: | |
status: | In Progress → Fix Committed |
tags: |
added: backport-needed removed: review-needed |
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 |
Added canal and tigera-secure-ee charms to this issue since they also use conctl and are likely also impacted.