Deploying into jammy lxds fails due to lack of /etc/fstab
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Mirror Charm |
Confirmed
|
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
Related branches
- Ubuntu Mirror Charm Maintainers: Pending requested
-
Diff: 95 lines (+37/-19)3 files modifiedcharmcraft.yaml (+15/-12)
hooks/hooks.py (+17/-6)
hooks/install (+5/-1)
Changed in ubuntu-mirror-charm: | |
status: | New → Confirmed |