Bug 1318709

Summary: Cloud-Init Logging dissappears
Product: Red Hat Enterprise Linux 7 Reporter: Chris Reynolds <creynold>
Component: cloud-initAssignee: Lars Kellogg-Stedman <lars>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 7.1CC: jgreguske
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-06 21:08:24 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:

Description Chris Reynolds 2016-03-17 14:52:20 UTC
Description of problem:

When utilizing user data to perform an install that has the systemd dependency, after systemd updates the rest of the cloud-init.log is lost.  Cloud init does perform the rest of the user data tasks but does not log them.

Version-Release number of selected component (if applicable):
RHEL 7.1 ami-4dbf9e7d region Oregon

How reproducible:
easy

Steps to Reproduce:
1. RHEL 7.1 ami-4dbf9e7d 
2. Userdata:
#!/bin/bash -x
yum -y install systemd
yum -y install httpd

Actual results:
3. Check the cloudinit log. See attached. Logging stops at:
Mar 8 12:32:20 localhost cloud-init: Updating:systemd-libs-219-19.el7_2.4.x86_64 1/20
Mar 8 12:32:24 localhost cloud-init: Updating:kmod-20-5.el7.x86_64

Expected results:
logging to continue

Additional info:

Comment 4 Lars Kellogg-Stedman 2016-12-06 21:08:24 UTC
I am not able to reproduce this behavior with the current package (cloud-init-0.7.6-6.el7).  Even with a systemd update happening at boot, the cloud-init logs continues.