canonical / canonical/cloud-init
cc_mounts: module claims it works on all distros, but config disables it on BSD
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 1.1k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 22
Description
This bug was originally filed in Launchpad as [LP: #1992798](https://bugs.launchpad.net/cloud-init/+bug/1992798)
Launchpad details
affected_projects = []
assignee = minagalic
assignee_name = Mina Galić
date_closed = None
date_created = 2022-10-13T13:56:32.453938+00:00
date_fix_committed = None
date_fix_released = None
id = 1992798
importance = medium
is_complete = False
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1992798
milestone = None
owner = minagalic
owner_name = Mina Galić
private = False
status = triaged
submitter = minagalic
submitter_name = Mina Galić
tags = []
duplicates = []
_Launchpad user **Mina Galić(minagalic)** wrote on 2022-10-13T13:56:32.453938+00:00_
https://github.com/canonical/cloud-init/blob/main/cloudinit/config/cc_mounts.py#L83
distros = ["all"]
vs
https://github.com/canonical/cloud-init/blob/main/config/cloud.cfg.tmpl#L95
{% if not is_bsd %}
- disk_setup
- mounts
{% endif %}
Contributor guide
Research direction
Compare cloudinit/config/cc_mounts.py around the distros declaration with config/cloud.cfg.tmpl around the is_bsd condition. Determine the intended BSD support behavior from these two entries, then verify that the module declaration and generated configuration agree and run the relevant cloud-init tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100