2019-06-20 20:59:08 |
Patricia Domingues |
bug |
|
|
added bug |
2019-06-20 20:59:08 |
Patricia Domingues |
attachment added |
|
console_log https://bugs.launchpad.net/bugs/1833618/+attachment/5271931/+files/console_log |
|
2019-06-20 20:59:45 |
Patricia Domingues |
bug |
|
|
added subscriber dann frazier |
2019-06-20 21:00:02 |
Patricia Domingues |
bug |
|
|
added subscriber Ike Panhc |
2019-06-21 02:25:43 |
Ryan Harper |
curtin: status |
New |
Incomplete |
|
2019-06-21 07:25:29 |
Andrew Cloke |
bug |
|
|
added subscriber Andrew Cloke |
2019-06-26 14:12:56 |
Patricia Domingues |
attachment added |
|
output_ls_udevadm https://bugs.launchpad.net/curtin/+bug/1833618/+attachment/5273501/+files/output_ls_udevadm |
|
2019-06-26 15:08:16 |
Ryan Harper |
curtin: status |
Incomplete |
Triaged |
|
2019-08-30 14:55:45 |
Patricia Domingues |
attachment added |
|
syslog_failed_disco https://bugs.launchpad.net/curtin/+bug/1833618/+attachment/5285802/+files/syslog_failed_disco |
|
2019-08-30 14:58:47 |
Patricia Domingues |
attachment added |
|
syslog_success_bionic https://bugs.launchpad.net/curtin/+bug/1833618/+attachment/5285803/+files/syslog_success_bionic |
|
2019-08-30 20:44:42 |
Patricia Domingues |
attachment added |
|
syslog_failed_disco https://bugs.launchpad.net/curtin/+bug/1833618/+attachment/5285877/+files/syslog_failed_disco |
|
2019-08-30 21:17:11 |
Ryan Harper |
bug watch added |
|
https://bugzilla.redhat.com/show_bug.cgi?id=1380272 |
|
2019-08-30 21:56:18 |
Ryan Harper |
bug task added |
|
sg3-utils (Ubuntu) |
|
2019-08-30 22:46:18 |
Patricia Domingues |
attachment added |
|
syslog_wright_success_disco https://bugs.launchpad.net/curtin/+bug/1833618/+attachment/5285881/+files/syslog_wright_success_disco |
|
2019-08-30 22:49:54 |
Patricia Domingues |
attachment added |
|
syslog_recht_failed_disco https://bugs.launchpad.net/curtin/+bug/1833618/+attachment/5285882/+files/syslog_recht_failed_disco |
|
2019-09-12 21:54:06 |
Patricia Domingues |
attachment added |
|
eoan_console_seidel https://bugs.launchpad.net/curtin/+bug/1833618/+attachment/5288410/+files/eoan_console_seidel |
|
2019-09-30 13:37:47 |
Rafael David Tinoco |
sg3-utils (Ubuntu): status |
New |
Incomplete |
|
2019-09-30 13:37:53 |
Rafael David Tinoco |
sg3-utils (Ubuntu): status |
Incomplete |
Confirmed |
|
2019-09-30 13:37:55 |
Rafael David Tinoco |
sg3-utils (Ubuntu): importance |
Undecided |
High |
|
2019-09-30 13:37:58 |
Rafael David Tinoco |
sg3-utils (Ubuntu): assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-09-30 13:38:09 |
Rafael David Tinoco |
curtin: status |
Triaged |
Confirmed |
|
2019-09-30 13:38:11 |
Rafael David Tinoco |
curtin: importance |
Undecided |
High |
|
2019-09-30 13:38:13 |
Rafael David Tinoco |
curtin: assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-09-30 13:38:29 |
Rafael David Tinoco |
bug |
|
|
added subscriber Ubuntu Server |
2019-09-30 18:13:24 |
Dan Streetman |
bug |
|
|
added subscriber Dan Streetman |
2019-10-01 02:36:20 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Bionic |
|
2019-10-01 02:36:20 |
Rafael David Tinoco |
bug task added |
|
sg3-utils (Ubuntu Bionic) |
|
2019-10-01 02:36:20 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Eoan |
|
2019-10-01 02:36:20 |
Rafael David Tinoco |
bug task added |
|
sg3-utils (Ubuntu Eoan) |
|
2019-10-01 02:36:20 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Disco |
|
2019-10-01 02:36:20 |
Rafael David Tinoco |
bug task added |
|
sg3-utils (Ubuntu Disco) |
|
2019-10-01 02:36:34 |
Rafael David Tinoco |
curtin: status |
Confirmed |
Invalid |
|
2019-10-01 02:36:37 |
Rafael David Tinoco |
curtin: importance |
High |
Undecided |
|
2019-10-01 02:36:39 |
Rafael David Tinoco |
curtin: assignee |
Rafael David Tinoco (rafaeldtinoco) |
|
|
2019-10-01 02:36:42 |
Rafael David Tinoco |
sg3-utils (Ubuntu Disco): status |
New |
Confirmed |
|
2019-10-01 02:36:45 |
Rafael David Tinoco |
sg3-utils (Ubuntu Bionic): status |
New |
Confirmed |
|
2019-10-01 02:36:47 |
Rafael David Tinoco |
sg3-utils (Ubuntu Disco): importance |
Undecided |
High |
|
2019-10-01 02:36:48 |
Rafael David Tinoco |
sg3-utils (Ubuntu Bionic): importance |
Undecided |
High |
|
2019-10-01 02:36:50 |
Rafael David Tinoco |
sg3-utils (Ubuntu Disco): assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-10-01 02:36:52 |
Rafael David Tinoco |
sg3-utils (Ubuntu Bionic): assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-10-01 03:02:48 |
Rafael David Tinoco |
sg3-utils (Ubuntu Bionic): status |
Confirmed |
In Progress |
|
2019-10-01 03:02:50 |
Rafael David Tinoco |
sg3-utils (Ubuntu Disco): status |
Confirmed |
In Progress |
|
2019-10-01 03:02:52 |
Rafael David Tinoco |
sg3-utils (Ubuntu Eoan): status |
Confirmed |
In Progress |
|
2019-10-01 03:41:20 |
Rafael David Tinoco |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/sg3-utils/+git/sg3-utils/+merge/373438 |
|
2019-10-01 03:41:28 |
Rafael David Tinoco |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/sg3-utils/+git/sg3-utils/+merge/373439 |
|
2019-10-01 03:41:54 |
Rafael David Tinoco |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/sg3-utils/+git/sg3-utils/+merge/373440 |
|
2019-10-02 20:39:42 |
dann frazier |
attachment added |
|
curtin_userdata_ubuntu_arm64_generic_disco_seidel-FLAKYMEMORY https://bugs.launchpad.net/ubuntu/+source/sg3-utils/+bug/1833618/+attachment/5293754/+files/curtin_userdata_ubuntu_arm64_generic_disco_seidel-FLAKYMEMORY |
|
2019-10-03 14:29:43 |
dann frazier |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1833618 |
|
2019-10-03 14:29:43 |
dann frazier |
bug task added |
|
sg3-utils (Debian) |
|
2019-10-03 18:45:48 |
dann frazier |
attachment added |
|
curtin_userdata_ubuntu_arm64_generic_disco_seidel-FLAKYMEMORY https://bugs.launchpad.net/ubuntu/+source/sg3-utils/+bug/1833618/+attachment/5294075/+files/curtin_userdata_ubuntu_arm64_generic_disco_seidel-FLAKYMEMORY |
|
2019-10-04 19:10:54 |
Rafael David Tinoco |
description |
* MAAS version: 2.4.2 (7034-g2f5deb8b8-0ubuntu1)
MAAS UI changes:
```
Node changed status - From 'Deploying' to 'Failed deployment'
Node installation failure - 'curtin' curtin command install
```
when console_log shows:
```
[ 244.588201] cloud-init[3139]: File "/curtin/curtin/commands/block_meta.py", line 1515, in get_path_if_present
[ 244.588389] cloud-init[3139]: return get_path_to_storage_volume(disk, config)
[ 244.588588] cloud-init[3139]: File "/curtin/curtin/commands/block_meta.py", line 433, in get_path_to_storage_volume
[ 244.588774] cloud-init[3139]: specified to identify disk")
[ 244.588963] cloud-init[3139]: ValueError: serial, wwn or path to block dev must be specified to identify disk
[ 244.589153] cloud-init[3139]: serial, wwn or path to block dev must be specified to identify disk
[ 244.589338] cloud-init[3139]:
[ 244.589523] cloud-init[3139]: Stderr: ''
[ 244.589708] cloud-init[3139]: Unexpected error while running command.
[ 244.589905] cloud-init[3139]: Command: ['curtin', 'block-meta', 'custom']
[ 244.590088] cloud-init[3139]: Exit code: 3
[ 244.590271] cloud-init[3139]: Reason: -
[ 244.590459] cloud-init[3139]: Stdout: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta
```
Reproducible: yes
aarch64, arm64 machine:
Manufacturer: CN8890-2000BG2601-CP-Y-G
Part Number: CN88xx
Cavium SOC
=========================
Cavium THUNDERX Boot Stub
=========================
BDK Version: 04.02.14, 2.38 Branch: gigabyte-2.38, Built: Fri Aug 18 01:16:58 UTC 2017
Board Model: gbt-mt30
Board name: MT30-GS1-00
System name: R120-T33-00
Board Revision: 1.x
Board SKU: 04 SATA
SKU version: 1.1
Node: 0 (Fixed)
Chip: 0xa1 Pass 2.1
SKU: CN8890-2000BG2601-CP-Y-G
*MAAS get-curtin-config: https://paste.ubuntu.com/p/k54HHN55ZF/ |
[Impact]
* sg3-utils-udev package introduces 55-scsi-sg3_id.rules udev rule that take places BEFORE rules either finding correct ID_SERIAL for the USB block device, or calculating it from "usb_id" parameter:
- this rule changes USB ID_SERIAL parameter for the ones given by the Vital Product Data from the block device.
- USB memory sticks might not provide VPD pages (0x80, 0x83) and, because of that, the USB ID_SERIAL will be broken.
- because the failure in sg_inq command from the 55-XXX udev rules file, to obtain the VPDs, the udev ACTION(add) takes long time and consumers might not have considered a "settle" need.
* Anything depending on ID_SERIAL udev attribute from USB block devices might not find appropriate device.
* Any type of udev consumer not calculating the need for a big time-consuming "udevadm settle" right after a pen drive is inserted
might not be able to see all USB block devices attributes from udev.
[Test Case]
* Install package "sg3-utils-udev", monitor journalctl -f while introducing a memory stick in your machine and watch sg_inq command failing:
systemd-udevd[1021]: Process '/usr/bin/sg_inq --export --inhex=/sys/block/sdb/device/vpd_pg83 --raw' failed with exit code 15.
* Compare udevadm attributes with and without "sg3-utils-udev" package is installed:
Without sg3-utils 55-scsi-sg3_id.rules:
$ udevadm info --query=all --name=/dev/sdb | grep -i serial
E: ID_SERIAL=Corsair_Voyager_Mini_3.0_070851D0E490C776-0:0
E: ID_SERIAL_SHORT=070851D0E490C776
With 55-scsi-sg3_id.rules:
$ udevadm info --query=all --name=/dev/sdb | grep -i serial
E: ID_SERIAL=3
E: ID_SERIAL_SHORT=2000acde48234567
[Regression Potential]
* Minor: either I brake functionality for sg3-utils packages on USB block devices. Since sg3-utils is used mostly for SCSI debugging, management and investigations, its a very minor risk.
* The change is a 1 line change in a udev rule file, very easy to test following the test case.
[Other Info]
ORIGINAL DESCRIPTION:
* MAAS version: 2.4.2 (7034-g2f5deb8b8-0ubuntu1)
MAAS UI changes:
```
Node changed status - From 'Deploying' to 'Failed deployment'
Node installation failure - 'curtin' curtin command install
```
when console_log shows:
```
[ 244.588201] cloud-init[3139]: File "/curtin/curtin/commands/block_meta.py", line 1515, in get_path_if_present
[ 244.588389] cloud-init[3139]: return get_path_to_storage_volume(disk, config)
[ 244.588588] cloud-init[3139]: File "/curtin/curtin/commands/block_meta.py", line 433, in get_path_to_storage_volume
[ 244.588774] cloud-init[3139]: specified to identify disk")
[ 244.588963] cloud-init[3139]: ValueError: serial, wwn or path to block dev must be specified to identify disk
[ 244.589153] cloud-init[3139]: serial, wwn or path to block dev must be specified to identify disk
[ 244.589338] cloud-init[3139]:
[ 244.589523] cloud-init[3139]: Stderr: ''
[ 244.589708] cloud-init[3139]: Unexpected error while running command.
[ 244.589905] cloud-init[3139]: Command: ['curtin', 'block-meta', 'custom']
[ 244.590088] cloud-init[3139]: Exit code: 3
[ 244.590271] cloud-init[3139]: Reason: -
[ 244.590459] cloud-init[3139]: Stdout: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta
```
Reproducible: yes
aarch64, arm64 machine:
Manufacturer: CN8890-2000BG2601-CP-Y-G
Part Number: CN88xx
Cavium SOC
=========================
Cavium THUNDERX Boot Stub
=========================
BDK Version: 04.02.14, 2.38 Branch: gigabyte-2.38, Built: Fri Aug 18 01:16:58 UTC 2017
Board Model: gbt-mt30
Board name: MT30-GS1-00
System name: R120-T33-00
Board Revision: 1.x
Board SKU: 04 SATA
SKU version: 1.1
Node: 0 (Fixed)
Chip: 0xa1 Pass 2.1
SKU: CN8890-2000BG2601-CP-Y-G
*MAAS get-curtin-config: https://paste.ubuntu.com/p/k54HHN55ZF/ |
|
2019-10-04 19:12:02 |
Rafael David Tinoco |
summary |
failing to deploy Ubuntu Disco |
MAAS can't deploy Ubuntu if ID_SERIAL of any block device is broken (USB pendrive in this case). |
|
2019-10-04 19:12:26 |
Rafael David Tinoco |
sg3-utils (Debian): importance |
Unknown |
Undecided |
|
2019-10-04 19:12:26 |
Rafael David Tinoco |
sg3-utils (Debian): status |
Unknown |
New |
|
2019-10-04 19:12:26 |
Rafael David Tinoco |
sg3-utils (Debian): remote watch |
Debian Bug tracker #1833618 |
|
|
2019-10-04 19:15:11 |
Rafael David Tinoco |
affects |
sg3-utils (Debian) |
maas |
|
2019-10-04 19:15:25 |
Rafael David Tinoco |
maas: status |
New |
Invalid |
|
2019-10-04 19:15:35 |
Rafael David Tinoco |
maas: status |
Invalid |
In Progress |
|
2019-10-04 19:15:38 |
Rafael David Tinoco |
maas: assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-10-04 19:15:49 |
Rafael David Tinoco |
curtin: importance |
Undecided |
Critical |
|
2019-10-04 19:15:52 |
Rafael David Tinoco |
curtin: assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-10-08 14:41:23 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Ff-series |
|
2019-10-08 14:41:23 |
Rafael David Tinoco |
bug task added |
|
sg3-utils (Ubuntu Ff-series) |
|
2019-10-08 14:42:31 |
Rafael David Tinoco |
sg3-utils (Ubuntu Ff-series): assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-10-08 14:42:34 |
Rafael David Tinoco |
sg3-utils (Ubuntu Ff-series): importance |
Undecided |
High |
|
2019-10-08 14:42:36 |
Rafael David Tinoco |
sg3-utils (Ubuntu Ff-series): status |
New |
Confirmed |
|
2019-10-08 14:45:20 |
Rafael David Tinoco |
curtin: importance |
Critical |
Undecided |
|
2019-10-08 14:45:24 |
Rafael David Tinoco |
curtin: assignee |
Rafael David Tinoco (rafaeldtinoco) |
|
|
2019-10-08 14:45:27 |
Rafael David Tinoco |
maas: assignee |
Rafael David Tinoco (rafaeldtinoco) |
|
|
2019-10-08 14:45:48 |
Rafael David Tinoco |
maas: status |
In Progress |
Invalid |
|
2019-10-08 22:16:24 |
Rafael David Tinoco |
sg3-utils (Ubuntu Ff-series): status |
Confirmed |
Fix Released |
|
2019-10-08 22:16:26 |
Rafael David Tinoco |
sg3-utils (Ubuntu Eoan): status |
In Progress |
Fix Released |
|
2019-10-08 22:16:28 |
Rafael David Tinoco |
sg3-utils (Ubuntu Eoan): assignee |
Rafael David Tinoco (rafaeldtinoco) |
|
|
2019-10-08 22:16:30 |
Rafael David Tinoco |
sg3-utils (Ubuntu Ff-series): assignee |
Rafael David Tinoco (rafaeldtinoco) |
|
|
2019-10-08 22:16:33 |
Rafael David Tinoco |
sg3-utils (Ubuntu Eoan): importance |
High |
Undecided |
|
2019-10-08 22:16:35 |
Rafael David Tinoco |
sg3-utils (Ubuntu Ff-series): importance |
High |
Undecided |
|
2019-10-25 12:23:41 |
Rafael David Tinoco |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-10-25 12:23:55 |
Rafael David Tinoco |
merge proposal unlinked |
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/sg3-utils/+git/sg3-utils/+merge/373438 |
|
|
2019-10-29 21:46:27 |
dann frazier |
attachment added |
|
deploy-with-sgutils-1.42-2ubuntu2~19.04~1~ppa3.log https://bugs.launchpad.net/curtin/+bug/1833618/+attachment/5301265/+files/deploy-with-sgutils-1.42-2ubuntu2~19.04~1~ppa3.log |
|
2019-11-01 15:43:15 |
Timo Aaltonen |
sg3-utils (Ubuntu Disco): status |
In Progress |
Fix Committed |
|
2019-11-01 15:43:19 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2019-11-01 15:43:24 |
Timo Aaltonen |
tags |
|
verification-needed verification-needed-disco |
|
2019-11-02 01:12:51 |
Mathew Hodson |
bug watch removed |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1833618 |
|
|
2019-11-02 01:14:32 |
Mathew Hodson |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/sg3-utils/+git/sg3-utils/+merge/373438 |
|
2019-11-02 01:22:32 |
Mathew Hodson |
affects |
curtin |
ubuntu-translations |
|
2019-11-02 01:22:44 |
Mathew Hodson |
bug task deleted |
ubuntu-translations |
|
|
2019-11-02 01:23:02 |
Mathew Hodson |
affects |
maas |
ubuntu-translations |
|
2019-11-02 01:23:25 |
Mathew Hodson |
bug task deleted |
ubuntu-translations |
|
|
2019-11-04 14:33:52 |
Rafael David Tinoco |
tags |
verification-needed verification-needed-disco |
verification-done verification-done-disco |
|
2019-11-04 20:58:12 |
Adam Conrad |
sg3-utils (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2019-11-04 20:58:21 |
Adam Conrad |
tags |
verification-done verification-done-disco |
verification-done-disco verification-needed verification-needed-bionic |
|
2019-11-07 16:38:22 |
Rafael David Tinoco |
tags |
verification-done-disco verification-needed verification-needed-bionic |
verification-done verification-done-bionic verification-done-disco |
|
2019-11-11 15:50:18 |
Ćukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-11-11 15:57:05 |
Launchpad Janitor |
sg3-utils (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-11-11 16:00:30 |
Launchpad Janitor |
sg3-utils (Ubuntu Disco): status |
Fix Committed |
Fix Released |
|