2016-06-09 15:56:52 |
Andres Rodriguez |
bug |
|
|
added bug |
2016-06-09 15:57:01 |
Andres Rodriguez |
maas: milestone |
|
2.0.0 |
|
2016-06-09 15:57:03 |
Andres Rodriguez |
maas: importance |
Undecided |
Critical |
|
2016-06-09 15:57:06 |
Andres Rodriguez |
maas: status |
New |
Triaged |
|
2016-06-09 15:59:41 |
Andres Rodriguez |
attachment added |
|
messages https://bugs.launchpad.net/maas/+bug/1590846/+attachment/4680513/+files/messages |
|
2016-06-09 16:11:03 |
Andres Rodriguez |
bug task added |
|
curtin |
|
2016-06-09 16:43:49 |
Ryan Harper |
curtin: status |
New |
Incomplete |
|
2016-06-10 19:25:16 |
Jason Hobbs |
attachment added |
|
messages https://bugs.launchpad.net/maas/+bug/1590846/+attachment/4681246/+files/messages |
|
2016-06-10 19:53:59 |
Jason Hobbs |
attachment added |
|
cloud-logs.tgz https://bugs.launchpad.net/maas/+bug/1590846/+attachment/4681248/+files/cloud-logs.tgz |
|
2016-06-10 19:56:44 |
Jon Grimm |
bug |
|
|
added subscriber Jon Grimm |
2016-06-10 19:57:15 |
Jason Hobbs |
curtin: status |
Incomplete |
New |
|
2016-06-10 20:06:53 |
Jason Hobbs |
attachment added |
|
install.log https://bugs.launchpad.net/maas/+bug/1590846/+attachment/4681250/+files/install.log |
|
2016-06-10 20:10:26 |
Jason Hobbs |
attachment added |
|
maas.logs https://bugs.launchpad.net/maas/+bug/1590846/+attachment/4681251/+files/maas.logs |
|
2016-06-10 20:27:50 |
Ryan Harper |
curtin: status |
New |
Invalid |
|
2016-06-10 22:20:04 |
Andres Rodriguez |
maas: status |
Triaged |
Invalid |
|
2016-06-10 22:20:06 |
Andres Rodriguez |
curtin: status |
Invalid |
New |
|
2016-06-11 04:44:40 |
Ryan Harper |
curtin: status |
New |
Invalid |
|
2016-06-11 07:58:01 |
Andres Rodriguez |
curtin: status |
Invalid |
New |
|
2016-06-11 17:14:29 |
Andres Rodriguez |
summary |
[2.0b6] Installation log of a failed install not sent back to MAAS |
[2.0b6] Installation log is not sent back to MAAS |
|
2016-06-11 17:14:52 |
Andres Rodriguez |
description |
A windows image failed to install, however, the install.log was never sent back to MAAS, or if it was, it was never stored. |
Installation log is not sent back to back regardless of whether it being a successful or failed install. |
|
2016-06-13 19:55:05 |
Ryan Harper |
curtin: status |
New |
Confirmed |
|
2016-06-13 20:27:36 |
Ryan Harper |
attachment added |
|
set_reporter_to_debug.patch https://bugs.launchpad.net/curtin/+bug/1590846/+attachment/4683180/+files/set_reporter_to_debug.patch |
|
2016-06-14 13:55:26 |
Launchpad Janitor |
branch linked |
|
lp:~raharper/curtin/trunk.fix-missing-install-log |
|
2016-06-15 00:46:22 |
Launchpad Janitor |
branch linked |
|
lp:curtin |
|
2016-06-22 14:17:28 |
Ryan Harper |
tags |
|
curtin-sru |
|
2016-06-22 14:19:23 |
Ryan Harper |
curtin: status |
Confirmed |
Fix Committed |
|
2016-07-12 16:14:48 |
Launchpad Janitor |
branch linked |
|
lp:~raharper/ubuntu/xenial/curtin/pkg-sru-revno399 |
|
2016-07-12 16:33:34 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/ubuntu/yakkety/curtin/pkg |
|
2016-07-12 16:33:46 |
Launchpad Janitor |
branch linked |
|
lp:~raharper/ubuntu/xenial/curtin/pkg-sru-revno399 |
|
2016-07-12 22:07:59 |
Ryan Harper |
description |
Installation log is not sent back to back regardless of whether it being a successful or failed install. |
[Impact]
* MaaS deployments using curtin revno newer than 365 find that curtin
no longer sends the installation log file back to maas due to a
change in how the curtin reporter is configured.
This affects MaaS users looking to examine the install process of a
node.
* This SRU resolves the bug by changing the reporter configuration to
always send the install log independent of the log level
configured.
[Test Case]
* On a Xenial 16.04 system
- % apt-get install curtin
- In one shell download and run the report-webhook-logger (attached
to this bug)
% python3 ./report-webhook-logger 8000
- In second shell: run
% sudo curtin -vvv install \
--set install/logfile=/tmp/foo \
--set reporting/mypost/type=webhook \
--set reporting/mypost/endpoint=http://localhost:8000/ \
file://tmp/non-existing.tar.gz
PASS: In the reporting shell, the reporter will recieve an event
like this with base64 encoded content.
{
"event_type": "finish",
"level": "ERROR",
"description": "failed: curtin command install",
"files": [
{
"content": <base64 content redacted for brevity>
"encoding": "base64",
"path": "/var/log/curtin/install.log"
}
],
"result": "FAIL",
"name": "cmd-install",
"origin": "curtin",
"timestamp": 1468357973.042974
}
FAIL: Reporter does not post an event with install log file.
[Regression Potential]
[Original Description]
Installation log is not sent back to back regardless of whether it being a successful or failed install. |
|
2016-07-12 22:09:35 |
Ryan Harper |
attachment added |
|
sample webreport logger for curtin to send events, used for verification pre SRU test. https://bugs.launchpad.net/maas/+bug/1590846/+attachment/4699735/+files/report-webhook-logger |
|
2016-07-13 13:57:29 |
Martin Pitt |
bug task added |
|
curtin (Ubuntu) |
|
2016-07-13 13:57:45 |
Martin Pitt |
nominated for series |
|
Ubuntu Xenial |
|
2016-07-13 13:57:45 |
Martin Pitt |
bug task added |
|
curtin (Ubuntu Xenial) |
|
2016-07-13 13:57:56 |
Martin Pitt |
curtin (Ubuntu): status |
New |
Fix Released |
|
2016-07-13 13:58:40 |
Martin Pitt |
curtin (Ubuntu Xenial): status |
New |
Fix Committed |
|
2016-07-13 13:58:42 |
Martin Pitt |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-07-13 13:58:43 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2016-07-13 13:58:47 |
Martin Pitt |
tags |
curtin-sru |
curtin-sru verification-needed |
|
2016-07-13 17:55:53 |
Jason Hobbs |
tags |
curtin-sru verification-needed |
curtin-sru verification-done |
|
2016-07-19 19:06:54 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/ubuntu/trusty/curtin/trusty-proposed |
|
2016-07-21 19:15:59 |
Brian Murray |
curtin (Ubuntu Trusty): status |
New |
Fix Committed |
|
2016-07-21 19:16:08 |
Brian Murray |
tags |
curtin-sru verification-done |
curtin-sru |
|
2016-07-21 19:16:09 |
Brian Murray |
tags |
curtin-sru |
curtin-sru verification-needed |
|
2016-07-28 13:46:43 |
Andres Rodriguez |
tags |
curtin-sru verification-needed |
curtin-sru verification-done |
|
2016-08-17 13:01:18 |
Launchpad Janitor |
curtin (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2016-08-17 13:01:36 |
Chris J Arges |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2016-08-17 13:01:50 |
Launchpad Janitor |
curtin (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2016-08-22 15:55:08 |
Andres Rodriguez |
curtin: status |
Fix Committed |
Fix Released |
|
2016-08-22 15:55:18 |
Andres Rodriguez |
curtin: status |
Fix Released |
Fix Committed |
|
2016-08-22 15:55:25 |
Andres Rodriguez |
curtin: status |
Fix Committed |
Fix Released |
|