Information provided by new curtin reporter, is not user friendly

Bug #1491188 reported by Andres Rodriguez
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
In Progress
Medium
Unassigned

Bug Description

Information provided by the new curtin reporter is not user friendly at all. This information needs to be user friendly. The current inform being shown:

Node installation - curtin: executing late commands Tue, 01 Sep. 2015 19:58:24
Node installation - curtin: running 'maas' Tue, 01 Sep. 2015 19:58:24
Installation complete - Node disabled netboot Tue, 01 Sep. 2015 19:58:24
Node installation - curtin: running 'maas' Tue, 01 Sep. 2015 19:58:24
Node installation - curtin: running 'copy_etc' Tue, 01 Sep. 2015 19:58:24
Node installation - curtin: curtin command in-target Tue, 01 Sep. 2015 19:58:24
Node installation - curtin: curtin command in-target Tue, 01 Sep. 2015 19:58:23
Node installation - curtin: running 'copy_etc' Tue, 01 Sep. 2015 19:58:23
Node installation - curtin: executing late commands Tue, 01 Sep. 2015 19:58:23
Node installation - curtin: finalizing installation Tue, 01 Sep. 2015 19:58:22
Node installation - curtin: running 'builtin' Tue, 01 Sep. 2015 19:58:22
Node installation - curtin: curtin command hook Tue, 01 Sep. 2015 19:58:22
Node installation - curtin: curtin command hook Tue, 01 Sep. 2015 19:58:22
Node installation - curtin: running 'builtin' Tue, 01 Sep. 2015 19:58:21
Node installation - curtin: finalizing installation Tue, 01 Sep. 2015 19:58:21
Node installation - curtin: configuring installed system Tue, 01 Sep. 2015 19:58:21
Node installation - curtin: running 'builtin' Tue, 01 Sep. 2015 19:58:21
Node installation - curtin: curtin command curthooks Tue, 01 Sep. 2015 19:58:21
Node installation - curtin: curtin command curthooks Tue, 01 Sep. 2015 19:57:00
Node installation - curtin: running 'builtin' Tue, 01 Sep. 2015 19:56:59
Node installation - curtin: configuring installed system Tue, 01 Sep. 2015 19:56:59
Node installation - curtin: writing install sources to disk Tue, 01 Sep. 2015 19:56:59
Node installation - curtin: running 'builtin' Tue, 01 Sep. 2015 19:56:59
Node installation - curtin: curtin command extract Tue, 01 Sep. 2015 19:56:59
Node installation - curtin: curtin command extract Tue, 01 Sep. 2015 19:56:27
Node installation - curtin: running 'builtin' Tue, 01 Sep. 2015 19:56:26
Node installation - curtin: writing install sources to disk Tue, 01 Sep. 2015 19:56:26
Node installation - curtin: configuring network Tue, 01 Sep. 2015 19:56:26
Node installation - curtin: running 'builtin' Tue, 01 Sep. 2015 19:56:26
Node installation - curtin: curtin command net-meta Tue, 01 Sep. 2015 19:56:26
Node installation - curtin: curtin command net-meta Tue, 01 Sep. 2015 19:56:26
Node installation - curtin: running 'builtin' Tue, 01 Sep. 2015 19:56:25
Node installation - curtin: configuring network Tue, 01 Sep. 2015 19:56:25
Node installation - curtin: configuring storage Tue, 01 Sep. 2015 19:56:25
Node installation - curtin: running 'builtin' Tue, 01 Sep. 2015 19:56:25
Node installation - curtin: curtin command block-meta Tue, 01 Sep. 2015 19:56:25
Node installation - curtin: curtin command block-meta Tue, 01 Sep. 2015 19:55:20
Node installation - curtin: running 'builtin' Tue, 01 Sep. 2015 19:55:20
Node installation - curtin: configuring storage Tue, 01 Sep. 2015 19:55:19
Node installation - curtin: preparing for installation Tue, 01 Sep. 2015 19:55:19
Node installation - curtin: running 'block_poweroff' Tue, 01 Sep. 2015 19:55:19
Node installation - curtin: running 'block_poweroff' Tue, 01 Sep. 2015 19:55:19
Node installation - curtin: preparing for installation Tue, 01 Sep. 2015 19:55:19
Node installation - curtin: curtin command install Tue, 01 Sep. 2015 19:55:19

In reality, the type of events that curtin should be showing should actually provide more iunformation as to what's going on, i.e.

curint installing packages package1, package2, package3.
curtin partitioning disk sda
curtin downloading the image from http://MAAS/MAAS/MAAS
curtin installing image [image-name] into /dev/sda1
curtin running early_command block_poweroff
curtin running early_command 12345
curtin running late_command maas

etc.

Related branches

description: updated
description: updated
description: updated
Scott Moser (smoser)
Changed in curtin:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Scott Moser (smoser) wrote :

The discussion we had in Barcelona was that we should
a.) Add a 'Level' attribute to the reporting dictionary
b.) Generally clean up the messages to be more user friendly, and set Level appropriately.

Revision history for this message
Wesley Wiedenmeier (wesley-wiedenmeier) wrote :

I have added a branch at lp:~wesley-wiedenmeier/curtin/1491188 that improves the reporting output's readability and provides more information than before during extraction, partitioning and curthooks. It also adds a level attribute to the report events and the ability to filter out reporting events below a certain threshold. An example of reporter output is attached.

Ryan Harper (raharper)
Changed in curtin:
status: Confirmed → In Progress
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.