Deploying into jammy lxds fails due to lack of /etc/fstab
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Mirror Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Per summary, deploying into LXD containers running jammy (and/or later series?) fails with a traceback due to those containers not shipping an /etc/fstab file:
2023-07-06 08:25:25 WARNING unit.jammy/
2023-07-06 08:25:25 WARNING unit.jammy/
2023-07-06 08:25:25 WARNING unit.jammy/
2023-07-06 08:25:25 WARNING unit.jammy/
2023-07-06 08:25:25 WARNING unit.jammy/
2023-07-06 08:25:25 WARNING unit.jammy/
2023-07-06 08:25:25 WARNING unit.jammy/
2023-07-06 08:25:25 WARNING unit.jammy/
2023-07-06 08:25:25 WARNING unit.jammy/
2023-07-06 08:25:25 WARNING unit.jammy/
2023-07-06 08:25:25 WARNING unit.jammy/
2023-07-06 08:25:25 WARNING unit.jammy/
2023-07-06 08:25:25 WARNING unit.jammy/
2023-07-06 08:25:25 WARNING unit.jammy/
Options could be:
1. Explicitly state no support for containers, optionally adding code to detect a containerised deploy - and warning the operator
2. Gracefully handle the lack of an /etc/fstab and add logic to operate as expected