Can't upgrade a k8s charm is /etc/os-release does not exist

Bug #1891884 reported by David
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

Hello,

When upgrading a k8s charm that doesn't have /etc/os-release inside the application pod, the agent fails with panic saying:

failed: panic: cannot determine host series

If you want to reproduce it, you can use this charm:
https://github.com/davigar15/transmission-operator

I did this (https://github.com/davigar15/transmission-operator/blob/master/src/charm.py#L97) for the workaround, so you will need to comment this line (https://github.com/davigar15/transmission-operator/blob/master/src/charm.py#L204) in order to reproduce the problem

Ian Booth (wallyworld)
Changed in juju:
status: New → Triaged
importance: Undecided → High
tags: added: k8s
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: High → Low
tags: added: expirebugs-bot
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.