No cloud-init-output.log during install phase

Bug #1273705 reported by Björn Tillenius
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Won't Fix
High
Unassigned

Bug Description

There doesn't seem to be a /var/log/cloud-init-output.log file during the install phase.
At least I couldn't find any while trying to debug bug 1273296.

<smoser> i think you probably have output of the command when it ran in
                  /var/log/cloud-init-output.log
<BjornT> rvba, smoser: there was no cloud-init-output.log, iirc. the node
                  isn't running anymore, but i can try to reproduce it.
<smoser> BjornT, could you open a bug stating that there is no
                   /var/log/cloud-init-output.log during install phase.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

The log you seek is on the node itself, not on MAAS. MAAS should do a better job of presenting the log to the user though. Hence I am duping this bug appropriately.

Revision history for this message
Björn Tillenius (bjornt) wrote : Re: [Bug 1273705] Re: No cloud-init-output.log during install phase

On Wed, Jan 29, 2014 at 12:42:54AM -0000, Julian Edwards wrote:
> *** This bug is a duplicate of bug 1235339 ***
> https://bugs.launchpad.net/bugs/1235339
>
> The log you seek is on the node itself, not on MAAS. MAAS should do a
> better job of presenting the log to the user though. Hence I am duping
> this bug appropriately.

This bug was about the log not being on the node? Where can I find that
log?

Revision history for this message
Julian Edwards (julian-edwards) wrote :

> This bug was about the log not being on the node?

Is that a question or are you telling me?

Revision history for this message
Björn Tillenius (bjornt) wrote :

On Wed, Jan 29, 2014 at 06:44:15AM -0000, Julian Edwards wrote:
> *** This bug is a duplicate of bug 1235339 ***
> https://bugs.launchpad.net/bugs/1235339
>
> > This bug was about the log not being on the node?
>
> Is that a question or are you telling me?

Sorry, that was supposed to be a statement. smoser proposed this:

<smoser> rvba, it'd seem to get that fixed, we just need to modify
         contrib/preseeds_v2/curtin_userdata
<smoser> i *think*
<smoser> to add
<smoser> output: {all: '| tee -a /var/log/cloud-init-output.log'}

Revision history for this message
Julian Edwards (julian-edwards) wrote :

Aha that explains it perfectly, thanks for the patch.

Changed in maas:
status: New → Triaged
importance: Undecided → High
tags: added: log provisioning
Changed in maas:
milestone: none → 14.04
Revision history for this message
Julian Edwards (julian-edwards) wrote :

I just tried adding this config and AFAICT there was no /var/log/cloud-init-output.log during installation.

Changed in maas:
milestone: 14.04 → none
Changed in maas:
status: Triaged → Won't Fix
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.