cloud-init won't reformat NTFS ephemeral drive on SLES 15
Bug #1799338 reported by
Jason Zions
on 2018-10-23
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| cloud-init |
Undecided
|
Unassigned |
Bug Description
Commit aa4eeb808 (Paul Meyer 2018-05-23 15:45:39 -0400 710) detects that the platform doesn't support NTFS volumes by looking for the appropriate error message in the exception it catches. The exact syntax of that error message differs between RHEL (the target distro for Paul's merge) and SUSE:
RHEL mount: unknown filesystem type 'ntfs'
SUSE mount: /dev/sdb1: unknown filesystem type 'ntfs'
As a result, cloud-init on SUSE VMs in Azure doesn't properly detect that the distro doesn't support NTFS and thus will not reformat the ephemeral volume on Azure.
Related branches
~chad.smith/cloud-init:ubuntu/devel
- Server Team CI bot: Approve (continuous-integration) on 2018-11-14
- Ryan Harper: Approve on 2018-11-14
-
Diff: 1433 lines (+661/-139)21 files modifiedcloudinit/cmd/devel/render.py (+24/-11)
cloudinit/cmd/devel/tests/test_render.py (+44/-1)
cloudinit/cmd/query.py (+24/-12)
cloudinit/cmd/tests/test_query.py (+71/-5)
cloudinit/config/cc_disk_setup.py (+1/-1)
cloudinit/handlers/jinja_template.py (+9/-1)
cloudinit/net/dhcp.py (+32/-10)
cloudinit/sources/DataSourceAzure.py (+46/-33)
cloudinit/tests/test_url_helper.py (+24/-1)
cloudinit/tests/test_util.py (+66/-17)
cloudinit/url_helper.py (+25/-6)
cloudinit/util.py (+4/-3)
debian/changelog (+28/-0)
doc/rtd/topics/datasources/azure.rst (+46/-0)
packages/redhat/cloud-init.spec.in (+1/-0)
packages/suse/cloud-init.spec.in (+1/-0)
systemd/cloud-init.service.tmpl (+1/-2)
tests/unittests/test_builtin_handlers.py (+25/-0)
tests/unittests/test_datasource/test_azure.py (+148/-19)
tests/unittests/test_datasource/test_ec2.py (+24/-16)
udev/66-azure-ephemeral.rules (+17/-1)
~jasonzio/cloud-init:fixmounterrormatch
- Server Team CI bot: Needs Fixing (continuous-integration) on 2018-11-12
-
Diff: 53 lines (+15/-16)2 files modifiedcloudinit/sources/DataSourceAzure.py (+1/-1)
tests/unittests/test_datasource/test_azure.py (+14/-15)
This bug is believed to be fixed in cloud-init in version 18.5. If this is still a problem for you, please make a comment and set the state back to New
Thank you.
Changed in cloud-init: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug is fixed with commit 6f951204 to cloud-init on branch master. /git.launchpad. net/cloud- init/commit/ ?id=6f951204
To view that commit see the following URL:
https:/