Merge lp:~smoser/pyjuju/cloud-init-output-log into lp:pyjuju
Proposed by
Scott Moser
Status: | Merged |
---|---|
Approved by: | Gustavo Niemeyer |
Approved revision: | 338 |
Merged at revision: | 341 |
Proposed branch: | lp:~smoser/pyjuju/cloud-init-output-log |
Merge into: | lp:pyjuju |
Diff against target: |
37 lines (+4/-1) 3 files modified
ensemble/providers/common/utils.py (+2/-1) ensemble/providers/orchestra/tests/data/bootstrap_late_command (+1/-0) ensemble/providers/orchestra/tests/data/launch_late_command (+1/-0) |
To merge this branch: | bzr merge lp:~smoser/pyjuju/cloud-init-output-log |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gustavo Niemeyer | Approve | ||
Clint Byrum (community) | Needs Fixing | ||
Review via email: mp+73596@code.launchpad.net |
Description of the change
log output from cloud-init and its subprocess to a file
By default cloud-init only outputs to its stdout and stderr.
In the case of EC2, that is to a console that you can get at
with get-console-output.
However, that is less than convienent as it is delayed by
4 minutes, and on other platforms, the console output isn't so easily
available.
This will just log stdout and stderr to /var/log/
To post a comment you must log in.
Excerpts from Scott Moser's message of Wed Aug 31 21:18:33 UTC 2011: /code.launchpad .net/~smoser/ ensemble/ cloud-init- output- log/+merge/ 73596 cloud-init- output. log
> Scott Moser has proposed merging lp:~smoser/ensemble/cloud-init-output-log into lp:ensemble.
>
> Requested reviews:
> Ensemble Team (ensemble)
>
> For more details, see:
> https:/
>
> log output from cloud-init and its subprocess to a file
>
> By default cloud-init only outputs to its stdout and stderr.
> In the case of EC2, that is to a console that you can get at
> with get-console-output.
>
> However, that is less than convienent as it is delayed by
> 4 minutes, and on other platforms, the console output isn't so easily
> available.
>
> This will just log stdout and stderr to /var/log/
>
fwiw, this will probably cause some minor breakage of the tests in the tree as
they check cloud init formatting exactly.