ec2-run-user-data should save script output

Bug #313375 reported by Eric Hammond
2
Affects Status Importance Assigned to Milestone
Ubuntu on EC2
Fix Released
Undecided
Unassigned

Bug Description

AMI: ami-814aaee8 (official Ubuntu 8.10 Intrepid 32-bit beta AMI)

Tracking down user-data script problems is nearly impossible without having the output from the user-data script available after the EC2 instance has started.

The ec2-run-user-data program should save the output of the script somewhere accessible or output it with reasonable prefixes to syslog.

The original ec2-run-user-data bash program sends the output of the script to /var/log/syslog with a "user-data" prefix and suitable begin/end markers as well as showing the exit code of the script.

  http://ec2-run-user-data.notlong.com

This code is in production use. Feel free to copy more of its functionality or to use it in its entirety.

Revision history for this message
Chuck Short (zulcss) wrote :

I have fixed this locally and it will be available for the next beta.

Changed in ubuntu-on-ec2:
milestone: none → beta2
Revision history for this message
Chuck Short (zulcss) wrote :

This is fixed for beta2.

Changed in ubuntu-on-ec2:
status: New → Fix Committed
Revision history for this message
Chuck Short (zulcss) wrote :

beta2 is out.

Changed in ubuntu-on-ec2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.