[Bug 1815788] Re: lshw exits with segmentation fault when commissioning a new node on maas

osprey 1815788 at bugs.launchpad.net
Wed Feb 20 17:57:04 UTC 2019


I've moved one of the nodes out of maas control and performed a fresh
install. The storage subsystem seems to be working fine (it's an old
plain sata I controller). The system is an old ibm X3455, older than
SGX, and the CPUs are AMD Opterons 2218.

However, I've tried with both the version that cames in full ubuntu
18.04.2 LTS and the one built from sources (cloned from git a couple of
hours ago) with the same segfault result.


root at sought-horse:/usr/src/lshw/src# ./lshw -version
B.02.18.89
root at sought-horse:/usr/src/lshw/src# ./lshw 
Segmentation fault (core dumped)

and as with the maas ephemeral image, the same commands succeeds if I
run it with the -disable SCSI option.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lshw in Ubuntu.
https://bugs.launchpad.net/bugs/1815788

Title:
  lshw exits with segmentation fault when commissioning a new node on
  maas

Status in MAAS:
  Invalid
Status in lshw package in Ubuntu:
  Incomplete

Bug description:
  Commissioning of new nodes on maas fails due to segfault in lshw, more specifically in 00-maas-01-lshw step.
  The log output is 
  /tmp/user_data.sh.9Xnacy/scripts/commissioning/00-maas-01-lshw: line 6:  2514 Segmentation fault      sudo -n /usr/bin/lshw -xml

  lshw exits with Segmentation fault even if launched directly from the
  shell

  ubuntu at model-seal:/var/crash$ sudo lshw
  Segmentation fault          
  ubuntu at model-seal:/var/crash$ 

  However the same command works correctly if launched with --disable
  SCSI option

  The environment is the ephemeral stage of maas 2.4 with ubuntu 18.04.2
  LTS

  lsb_release -rd
  Description:	Ubuntu 18.04.2 LTS
  Release:	18.04

  apt-cache policy lshw
  lshw:
    Installed: 02.18-0.1ubuntu6.18.04.1
    Candidate: 02.18-0.1ubuntu6.18.04.1
    Version table:
   *** 02.18-0.1ubuntu6.18.04.1 500
          500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       02.18-0.1ubuntu6 500
          500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: lshw 02.18-0.1ubuntu6.18.04.1
  ProcVersionSignature: Ubuntu 4.15.0-45.48-generic 4.15.18
  Uname: Linux 4.15.0-45-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.5
  Architecture: amd64
  Date: Wed Feb 13 17:53:17 2019
  SourcePackage: lshw
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1815788/+subscriptions



More information about the foundations-bugs mailing list