cloud-init 0.7.9 fails for CentOS 7.4 in Cloudstack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Scott Moser | ||
cloud-init (CentOS) |
Fix Released
|
Medium
|
Bug Description
Environment:
CentOS 7.4, cloud-init-
Problem (quick):
CentOS 7.4 builds on Cloudstack 4.8 don't run cloud-init because the newer version of cloud-init doesn't appear to like the way the dhclient lease file is named.
Problem (long):
I've just built a CentOS 7.4 instance in one of my CloudStack 4.8 clusters. Unfortunately, cloud-init fails with the following in snippet in /var/log/
2017-09-13 18:53:00,118 - __init__.py[DEBUG]: Seeing if we can get any data from <class 'cloudinit.
2017-09-13 18:53:00,118 - DataSourceCloud
2017-09-13 18:53:00,118 - DataSourceCloud
Where it then tries to use the default route to download userdata. The problem is that we're not using the Cloudstack VR as a default router, so I expected it to parse /var/lib/
Theory as to cause:
I believe that this change (https:/
Fix:
Changing it from "dhclient." to "dhclient-" in /usr/lib/
This *can* be patched around by RedHat/CentOS (and hopefully will), but I figure it might be better to take it straight upstream.
Related branches
- Server Team CI bot: Approve (continuous-integration)
- Chad Smith: Approve
-
Diff: 149 lines (+100/-13)2 files modifiedcloudinit/sources/DataSourceCloudStack.py (+24/-10)
tests/unittests/test_datasource/test_cloudstack.py (+76/-3)
Changed in cloud-init: | |
status: | Confirmed → Fix Committed |
assignee: | nobody → Chad Smith (chad.smith) |
assignee: | Chad Smith (chad.smith) → Scott Moser (smoser) |
milestone: | none → 0.7.10 |
Changed in cloud-init (CentOS): | |
importance: | Unknown → Medium |
Changed in cloud-init (CentOS): | |
status: | Unknown → In Progress |
Changed in cloud-init (CentOS): | |
status: | In Progress → Fix Committed |
Changed in cloud-init (CentOS): | |
status: | Fix Committed → Fix Released |
Please also create a red hat bugzilla for this, and I will make sure it gets pulled in when a fix is accepted here.