Bug 1477333

Summary: F26 cloud image fails to provision on Azure
Product: [Fedora] Fedora Reporter: Brent Baude <bbaude>
Component: cloud-initAssignee: Garrett Holmstrom <gholms>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 26CC: adimania, apevec, bbreard, dustymabe, gholms, Jan.van.Eldik, shardy, s
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cloud-init-0.7.9-9.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-25 18:05:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1489166    

Description Brent Baude 2017-08-01 20:03:21 UTC
The F26 cloud image fails to provision on Azure due to the absence of the hook-dhclient script.  Unfortunately, the cloud image does not use NetworkManager but uses the basic network stack.  We need the tools/hook-dhclient [1] file to be included in the cloud-init package which will allow proper provisioning.


[1] https://git.launchpad.net/cloud-init/tree/tools/hook-dhclient

Comment 1 Brent Baude 2017-09-15 20:44:18 UTC
the te file:

[bbaude@baude-atomic-2 ~]$ cat fixdhclient.te 

module fixdhclient 1.0;

require {
	type init_var_run_t;
	type dhcpc_t;
	class file getattr;
}

#============= dhcpc_t ==============
allow dhcpc_t init_var_run_t:file getattr;

Comment 2 Brent Baude 2017-09-15 20:44:59 UTC
disregard previous commment

Comment 3 Fedora Update System 2017-09-18 22:37:44 UTC
cloud-init-0.7.9-9.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-62a8a2b453

Comment 4 Fedora Update System 2017-09-18 22:37:58 UTC
cloud-init-0.7.9-9.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5507234819

Comment 5 Fedora Update System 2017-09-18 22:38:30 UTC
cloud-init-0.7.9-9.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d1613e2c23

Comment 6 Fedora Update System 2017-09-19 23:28:53 UTC
cloud-init-0.7.9-9.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d1613e2c23

Comment 7 Fedora Update System 2017-09-20 00:23:17 UTC
cloud-init-0.7.9-9.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-62a8a2b453

Comment 8 Fedora Update System 2017-09-20 01:21:42 UTC
cloud-init-0.7.9-9.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5507234819

Comment 9 Fedora Update System 2017-09-25 18:05:55 UTC
cloud-init-0.7.9-9.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.