NoCloud source doesn't work on FreeBSD
Bug #1645824 reported by
Andres Montalban
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Gonéri Le Bouder |
Bug Description
Hey guys,
I'm trying to use cloud-init on FreeBSD using CD to seed metadata, the thing is that it had some issues:
- Mount option 'sync' is not allowed for cd9660 filesystem.
- I optimized the list of filesystems that needed to be scanned for metadata by having three lists (vfat, iso9660, and label list) and then checking against them to see which filesystem option needs to be passed to mount command.
Additionally I'm going to push some changes to FreeBSD cloud-init package so it can build last version. I will open another ticket for fixing networking in FreeBSD as it doesn't support sysfs (/sys/class/net/) by default.
Thanks!
Related branches
~chad.smith/cloud-init:ubuntu/xenial
- Server Team CI bot: Needs Fixing (continuous-integration)
- cloud-init Commiters: Pending requested
-
Diff: 767 lines (+204/-315)18 files modifiedcloudinit/config/cc_growpart.py (+2/-1)
cloudinit/config/cc_resizefs.py (+3/-3)
cloudinit/config/cc_ubuntu_advantage.py (+1/-1)
cloudinit/net/network_state.py (+8/-0)
cloudinit/sources/DataSourceNoCloud.py (+23/-17)
cloudinit/util.py (+13/-9)
config/cloud.cfg.tmpl (+2/-2)
debian/changelog (+7/-0)
debian/patches/ubuntu-advantage-revert-tip.patch (+5/-255)
tests/unittests/test_datasource/test_azure.py (+0/-24)
tests/unittests/test_datasource/test_nocloud.py (+18/-0)
tests/unittests/test_distros/test_freebsd.py (+45/-0)
tests/unittests/test_ds_identify.py (+20/-0)
tests/unittests/test_handler/test_handler_resizefs.py (+1/-1)
tests/unittests/test_net.py (+46/-0)
tools/ds-identify (+8/-0)
tools/render-cloudcfg (+1/-1)
tools/run-container (+1/-1)
~goneri/cloud-init:freebsd_nocloud
Merged
into
cloud-init:master
- Chad Smith: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 108 lines (+43/-19)3 files modifiedcloudinit/sources/DataSourceNoCloud.py (+23/-17)
config/cloud.cfg.tmpl (+2/-2)
tests/unittests/test_datasource/test_nocloud.py (+18/-0)
~goneri/cloud-init:freebsd_mount_sync
Merged
into
cloud-init:master
- Ryan Harper: Approve
- Server Team CI bot: Approve (continuous-integration)
- Dan Watkins: Approve
-
Diff: 68 lines (+5/-19)3 files modifiedcloudinit/sources/DataSourceAzure.py (+1/-1)
cloudinit/sources/DataSourceConfigDrive.py (+2/-5)
cloudinit/util.py (+2/-13)
Changed in cloud-init: | |
assignee: | nobody → Gonéri Le Bouder (goneri) |
To post a comment you must log in.
I think you'd better follow http:// cloudinit. readthedocs. io/en/latest/ topics/ hacking. html to create a merge request, then other developers will help you review code.