Bug 836269

Summary: systemd timeout on cloud-init scripts
Product: [Fedora] Fedora Reporter: Tomas Sedovic <tsedovic>
Component: cloud-initAssignee: Garrett Holmstrom <gholms>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: apevec, gholms, Jan.van.Eldik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-25 06:20:35 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:

Description Tomas Sedovic 2012-06-28 14:22:10 UTC
If the init script takes longer than 90 seconds to finish (e.g. package installation & provisioning on slow network), it gets killed by systemd.

Adding `TimeoutSec=0` to cloud-final.service[1] seems to fix the problem.

Version-Release number of selected component (if applicable):

Version     : 0.6.3
Release     : 0.2.bzr532.fc17

This happens both on Fedora 16 and 17.

[1]: http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/systemd/cloud-final.service

Comment 1 Fedora Update System 2012-09-14 12:21:13 UTC
cloud-init-0.6.3-0.5.bzr532.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/cloud-init-0.6.3-0.5.bzr532.fc16

Comment 2 Fedora Update System 2012-09-14 12:24:24 UTC
cloud-init-0.6.3-0.5.bzr532.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/cloud-init-0.6.3-0.5.bzr532.fc17

Comment 3 Fedora Update System 2012-09-14 12:25:43 UTC
cloud-init-0.6.3-0.5.bzr532.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/cloud-init-0.6.3-0.5.bzr532.fc18

Comment 4 Fedora Update System 2012-09-16 17:12:27 UTC
Package cloud-init-0.6.3-0.5.bzr532.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cloud-init-0.6.3-0.5.bzr532.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-13972/cloud-init-0.6.3-0.5.bzr532.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-09-25 06:20:35 UTC
cloud-init-0.6.3-0.5.bzr532.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2012-09-26 08:48:35 UTC
cloud-init-0.6.3-0.5.bzr532.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2012-09-26 09:03:39 UTC
cloud-init-0.6.3-0.5.bzr532.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.