[Bug 1719549] Re: Unable to install Ubuntu 17.10 on P9 due lsvpd failure

bugproxy bugproxy at us.ibm.com
Thu Sep 28 06:19:53 UTC 2017


** Tags removed: targetmilestone-inin1604
** Tags added: targetmilestone-inin1710

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

Title:
  Unable to install Ubuntu 17.10 on P9 due lsvpd failure

Status in The Ubuntu-power-systems project:
  New
Status in lsvpd package in Ubuntu:
  New

Bug description:
  == Comment: #0 - Aline Manera <> - 2017-09-25 09:20:00 ==
  Ubuntu 17.10 installation fails due lsvpd package installation failure.

  Sep 25 14:03:24 in-target: Setting up xml-core (0.17) ...^M
  Sep 25 14:03:25 in-target: Setting up friendly-recovery (0.2.36) ...^M
  Sep 25 14:03:25 in-target: Created symlink /etc/systemd/system/sysinit.target.wants/friendly-recovery.service ? /lib/systemd/system/friendly-recovery.service.^M
  Sep 25 14:03:25 in-target: Setting up libkeyutils1:ppc64el (1.5.9-9ubuntu1) ...^M
  Sep 25 14:03:25 in-target: Setting up bsdmainutils (9.0.12+nmu1ubuntu1) ...^M
  Sep 25 14:03:26 in-target: update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode^M
  Sep 25 14:03:26 in-target: update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode^M
  Sep 25 14:03:26 in-target: Setting up ca-certificates (20170717) ...^M
  Sep 25 14:03:26 in-target: Updating certificates in /etc/ssl/certs...^M
  Sep 25 14:03:28 in-target: 148 added, 0 removed; done.^M
  Sep 25 14:03:28 in-target: Setting up irqbalance (1.1.0-2.3ubuntu1) ...^M
  Sep 25 14:03:29 in-target: Running in chroot, ignoring request.^M
  Sep 25 14:03:29 in-target: invoke-rc.d: policy-rc.d denied execution of start.^M
  Sep 25 14:03:29 in-target: Setting up command-not-found-data (0.3ubuntu17.10.0) ...^M
  Sep 25 14:03:29 in-target: Setting up xdg-user-dirs (0.15-3ubuntu3) ...^M
  Sep 25 14:03:29 in-target: Setting up libapparmor-perl (2.11.0-2ubuntu17) ...^M
  Sep 25 14:03:29 in-target: Setting up libnih1:ppc64el (1.0.3-6ubuntu1) ...^M
  Sep 25 14:03:30 in-target: Setting up libx11-data (2:1.6.4-3) ...^M
  Sep 25 14:03:30 in-target: Setting up libxau6:ppc64el (1:1.0.8-1) ...^M
  Sep 25 14:03:30 in-target: Processing triggers for rsyslog (8.16.0-1ubuntu9) ...^M
  Sep 25 14:03:30 in-target: Running in chroot, ignoring request.^M
  Sep 25 14:03:30 in-target: invoke-rc.d: policy-rc.d denied execution of try-restart.^M
  Sep 25 14:03:30 in-target: Setting up libip6tc0:ppc64el (1.6.1-2ubuntu1) ...^M
  Sep 25 14:03:30 in-target: Setting up popularity-contest (1.64ubuntu2) ...^M
  Sep 25 14:03:31 in-target: Setting up libpcap0.8:ppc64el (1.8.1-4ubuntu1) ...^M
  Sep 25 14:03:31 in-target: Setting up libk5crypto3:ppc64el (1.15.1-2) ...^M
  Sep 25 14:03:31 in-target: Setting up libidn2-0:ppc64el (2.0.2-5) ...^M
  Sep 25 14:03:31 in-target: Setting up libnetfilter-conntrack3:ppc64el (1.0.6-2) ...^M
  Sep 25 14:03:31 in-target: Setting up libisc160:ppc64el (1:9.10.3.dfsg.P4-12.6ubuntu1) ...^M
  Sep 25 14:03:31 in-target: Setting up ureadahead (0.100.0-20) ...^M
  Sep 25 14:03:32 in-target: Created symlink /etc/systemd/system/default.target.wants/ureadahead.service ? /lib/systemd/system/ureadahead.service.^M
  Sep 25 14:03:32 in-target: Setting up lsvpd (1.7.8-0ubuntu1) ...^M
  Sep 25 09:03:32 lsvpd[43205]: vpdupdate: Constructing full devices database
  Sep 25 14:03:32 in-target: terminate called after throwing an instance of 'std::ios_base::failure[abi:cxx11]'^M
  Sep 25 14:03:32 in-target:   what():  basic_filebuf::underflow error reading the file: iostream error^M
  Sep 25 14:03:32 kernel: [ 2163.936654] mpt3sas 0032:03:00.0: invalid short VPD tag 00 at offset 1
  Sep 25 14:03:32 in-target: Aborted^M
  Sep 25 14:03:32 in-target: dpkg: error processing package lsvpd (--configure):^M
  Sep 25 14:03:32 in-target:  subprocess installed post-installation script returned error exit status 134^M
  Sep 25 14:03:32 in-target: Setting up python3-commandnotfound (0.3ubuntu17.10.0) ...^M
  Sep 25 14:03:33 in-target: Setting up libpsl5:ppc64el (0.18.0-2) ...^M
  Sep 25 14:03:33 in-target: Setting up apparmor (2.11.0-2ubuntu17) ...^M
  Sep 25 14:03:39 in-target: Created symlink /etc/systemd/system/sysinit.target.wants/apparmor.service ? /lib/systemd/system/apparmor.service.^M
  Sep 25 14:03:39 in-target: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults^M
  Sep 25 14:03:39 in-target: diff: /var/lib/apparmor/profiles/.apparmor.md5sums
  Sep 25 14:03:39 in-target: : No such file or directory^M
  Sep 25 14:03:40 in-target: Setting up command-not-found (0.3ubuntu17.10.0) ...^M
  Sep 25 14:03:40 in-target: Setting up tcpdump (4.9.2-1) ...^M
  Sep 25 14:03:40 in-target: Setting up libdrm2:ppc64el (2.4.82-1) ...^M
  Sep 25 14:03:40 in-target: Setting up plymouth (0.9.2-3ubuntu17) ...^M
  Sep 25 14:03:40 in-target: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults^M
  Sep 25 14:03:40 in-target: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults^M
  Sep 25 14:03:40 in-target: Setting up libisccc140:ppc64el (1:9.10.3.dfsg.P4-12.6ubuntu1) ...^M
  Sep 25 14:03:40 in-target: dpkg: dependency problems prevent configuration of ppc64-diag:^M
  Sep 25 14:03:40 in-target:  ppc64-diag depends on lsvpd; however:^M
  Sep 25 14:03:40 in-target:   Package lsvpd is not configured yet.^M
  Sep 25 14:03:40 in-target: ^M
  Sep 25 14:03:40 in-target: dpkg: error processing package ppc64-diag (--configure):^M
  Sep 25 14:03:40 in-target:  dependency problems - leaving unconfigured^M
  Sep 25 14:03:40 in-target: Setting up iptables (1.6.1-2ubuntu1) ...^M
  Sep 25 14:03:41 in-target: Setting up wget (1.19.1-3ubuntu1) ...^M
  Sep 25 14:03:41 in-target: Setting up man-db (2.7.6.1-2) ...^M
  Sep 25 14:03:41 in-target: Building database of manual pages ...^M
  Sep 25 14:03:49 in-target: Setting up libkrb5-3:ppc64el (1.15.1-2) ...^M
  Sep 25 14:03:49 in-target: Setting up libxcb1:ppc64el (1.11.1-1ubuntu1) ...^M
  Sep 25 14:03:49 in-target: dpkg: dependency problems prevent configuration of ubuntu-standard:^M
  Sep 25 14:03:49 in-target:  ubuntu-standard depends on ppc64-diag; however:^M
  Sep 25 14:03:49 in-target:   Package ppc64-diag is not configured yet.^M
  Sep 25 14:03:49 in-target: ^M
  Sep 25 14:03:49 in-target: dpkg: error processing package ubuntu-standard (--configure):^M
  Sep 25 14:03:49 in-target:  dependency problems - leaving unconfigured^M
  Sep 25 14:03:49 in-target: Setting up ufw (0.35-5) ...^M
  Sep 25 14:03:50 in-target: ^M
  Sep 25 14:03:50 in-target: Creating config file /etc/ufw/before.rules with new version^M
  Sep 25 14:03:50 in-target: ^M
  Sep 25 14:03:50 in-target: Creating config file /etc/ufw/before6.rules with new version^M
  Sep 25 14:03:50 in-target: ^M
  Sep 25 14:03:50 in-target: Creating config file /etc/ufw/after.rules with new version^M
  Sep 25 14:03:50 in-target: ^M
  Sep 25 14:03:50 in-target: Creating config file /etc/ufw/after6.rules with new version^M
  Sep 25 14:03:50 in-target: Created symlink /etc/systemd/system/multi-user.target.wants/ufw.service ? /lib/systemd/system/ufw.service.^M
  Sep 25 14:03:51 in-target: Setting up plymouth-theme-ubuntu-text (0.9.2-3ubuntu17) ...^M
  Sep 25 14:03:51 in-target: update-alternatives: using /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth to provide /usr/share/plymouth/themes/text.plymouth (text.plymouth) in auto mode^M
  Sep 25 14:03:51 in-target: Setting up libx11-6:ppc64el (2:1.6.4-3) ...^M
  Sep 25 14:03:51 in-target: Setting up libxmuu1:ppc64el (2:1.1.2-2) ...^M
  Sep 25 14:03:51 in-target: Setting up libgssapi-krb5-2:ppc64el (1.15.1-2) ...^M
  Sep 25 14:03:51 in-target: Setting up openssh-client (1:7.5p1-10) ...^M
  Sep 25 09:03:52 groupadd[51811]: group added to /etc/group: name=ssh, GID=112
  Sep 25 09:03:52 groupadd[51811]: group added to /etc/gshadow: name=ssh
  Sep 25 09:03:52 groupadd[51811]: new group: name=ssh, GID=112
  Sep 25 14:03:52 in-target: Setting up libdns162:ppc64el (1:9.10.3.dfsg.P4-12.6ubuntu1) ...^M
  Sep 25 14:03:52 in-target: Setting up libxext6:ppc64el (2:1.3.3-1) ...^M
  Sep 25 14:03:53 in-target: Setting up libcurl3-gnutls:ppc64el (7.55.1-1ubuntu1) ...^M
  Sep 25 14:03:53 in-target: Setting up libisccfg140:ppc64el (1:9.10.3.dfsg.P4-12.6ubuntu1) ...^M
  Sep 25 14:03:53 in-target: Setting up xauth (1:1.0.9-1ubuntu2) ...^M
  Sep 25 14:03:53 in-target: Setting up libbind9-140:ppc64el (1:9.10.3.dfsg.P4-12.6ubuntu1) ...^M
  Sep 25 14:03:53 in-target: Setting up bind9-host (1:9.10.3.dfsg.P4-12.6ubuntu1) ...^M
  Sep 25 14:03:53 in-target: Setting up apt-transport-https (1.5~rc4) ...^M
  Sep 25 14:03:53 in-target: Setting up dnsutils (1:9.10.3.dfsg.P4-12.6ubuntu1) ...^M
  Sep 25 14:03:54 in-target: Setting up python3-update-manager (1:17.10.10) ...^M
  Sep 25 14:03:54 in-target: Setting up python3-distupgrade (1:17.10.6) ...^M
  Sep 25 14:03:54 in-target: Setting up ubuntu-release-upgrader-core (1:17.10.6) ...^M
  Sep 25 14:03:55 in-target: Setting up update-manager-core (1:17.10.10) ...^M
  Sep 25 14:03:55 in-target: Processing triggers for libc-bin (2.26-0ubuntu1) ...^M
  Sep 25 14:03:55 in-target: Processing triggers for initramfs-tools (0.125ubuntu11) ...^M
  Sep 25 14:03:55 in-target: Processing triggers for systemd (234-2ubuntu10) ...^M
  Sep 25 14:03:55 in-target: Processing triggers for sgml-base (1.29) ...^M
  Sep 25 14:03:56 in-target: Processing triggers for ca-certificates (20170717) ...^M
  Sep 25 14:03:56 in-target: Updating certificates in /etc/ssl/certs...^M
  Sep 25 14:03:56 in-target: 0 added, 0 removed; done.^M
  Sep 25 14:03:56 in-target: Running hooks in /etc/ca-certificates/update.d...^M
  Sep 25 14:03:56 in-target: done.^M
  Sep 25 14:03:56 in-target: Processing triggers for ureadahead (0.100.0-20) ...^M
  Sep 25 14:03:56 in-target: Processing triggers for rsyslog (8.16.0-1ubuntu9) ...^M
  Sep 25 14:03:56 in-target: Running in chroot, ignoring request.^M
  Sep 25 14:03:56 in-target: invoke-rc.d: policy-rc.d denied execution of try-restart.^M
  Sep 25 14:03:56 in-target: Errors were encountered while processing:^M
  Sep 25 14:03:56 in-target:  lsvpd^M
  Sep 25 14:03:56 in-target:  ppc64-diag^M
  Sep 25 14:03:56 in-target:  ubuntu-standard^M
  Sep 25 14:03:57 in-target: E: Sub-process /usr/bin/dpkg returned an error code (1)
  Sep 25 14:03:57 in-target: tasksel: apt-get failed (100)
  Sep 25 14:03:57 in-target: Setting up lsvpd (1.7.8-0ubuntu1) ...
  Sep 25 09:03:57 lsvpd[52708]: vpdupdate: Constructing full devices database
  Sep 25 14:03:57 in-target: terminate called after throwing an instance of 'std::ios_base::failure[abi:cxx11]'
  Sep 25 14:03:57 in-target:   what():  basic_filebuf::underflow error reading the file: iostream error
  Sep 25 14:03:57 in-target: Aborted
  Sep 25 14:03:57 in-target: dpkg: error processing package lsvpd (--configure):
  Sep 25 14:03:57 in-target:  subprocess installed post-installation script returned error exit status 134
  Sep 25 14:03:57 in-target: dpkg: dependency problems prevent configuration of ppc64-diag:
  Sep 25 14:03:57 in-target:  ppc64-diag depends on lsvpd; however:
  Sep 25 14:03:57 in-target:   Package lsvpd is not configured yet.
  Sep 25 14:03:57 in-target: 
  Sep 25 14:03:57 in-target: dpkg: error processing package ppc64-diag (--configure):
  Sep 25 14:03:57 in-target:  dependency problems - leaving unconfigured
  Sep 25 14:03:57 in-target: dpkg: dependency problems prevent configuration of ubuntu-standard:
  Sep 25 14:03:57 in-target:  ubuntu-standard depends on ppc64-diag; however:
  Sep 25 14:03:57 in-target:   Package ppc64-diag is not configured yet.
  Sep 25 14:03:57 in-target: 
  Sep 25 14:03:57 in-target: dpkg: error processing package ubuntu-standard (--configure):
  Sep 25 14:03:57 in-target:  dependency problems - leaving unconfigured
  Sep 25 14:03:57 in-target: Errors were encountered while processing:
  Sep 25 14:03:57 in-target:  lsvpd
  Sep 25 14:03:57 in-target:  ppc64-diag
  Sep 25 14:03:57 in-target:  ubuntu-standard
  Sep 25 14:03:58 main-menu[1422]: WARNING **: Configuring 'pkgsel' failed with error code 1
  Sep 25 14:03:58 main-menu[1422]: WARNING **: Menu item 'pkgsel' failed.
  Sep 25 14:04:05 main-menu[1422]: INFO: Modifying debconf priority limit from 'high' to 'medium'
  Sep 25 14:04:05 debconf: Setting debconf/priority to medium
  Sep 25 14:04:14 main-menu[1422]: INFO: Menu item 'di-utils-shell' selected

  
  - Steps to reproduce:
  Start a net install using kernel and initrd from http://ports.ubuntu.com/ubuntu-ports/dists/artful/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/
  - Go to normal installation process and wait.  It will fail on "Select and Install Software". By the way, I have selected no software to install.

  If I skip that part and move to "Install the GRUB boot loader on a
  hard disk" it also fails due the same problem.

  Please, find the full logs attached

  == Comment: #1 - Aline Manera <> - 2017-09-25 09:20:37 ==

  
  == Comment: #4 - Ananth Narayan M G <> - 2017-09-25 20:39:51 ==
  There is no mention of what system you were trying to install on. lsvpd is supported only on FSP based systems.

  == Comment: #6 - Ankit Kumar <> - 2017-09-26 00:38:59 ==
  Below patch is needed to fix this issue.

  commit c36b20b7dc2e787f7285e459851df1a74368e8e3
  Author: Vasant Hegde <>
  Date:   Wed Sep 20 16:52:35 2017 +0530

      lsvpd: Add workaround for std::ios_base::failure' issue
      
      Recently on P9 we started seeing below error.
      
      #vpdupdate
      terminate called after throwing an instance of 'std::ios_base::failure'
      what():  basic_filebuf::underflow error reading the file
      Aborted (core dumped)
      
      It turns out that we needed c++ fix. Lets add workaround so that we
      don't crash.
      
      Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
      Reviewed-by: Ankit Kumar <ankit at linux.vnet.ibm.com>


  ~Ankit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1719549/+subscriptions



More information about the foundations-bugs mailing list