[Bug 1879305] Re: [UBUNTU 20.04] Subiquity installer cannot find dasd device

Michael Hudson-Doyle 1879305 at bugs.launchpad.net
Fri Jun 12 03:43:32 UTC 2020


FWIW https://github.com/CanonicalLtd/subiquity/pull/789 will allow you
to open a shell when connecting via SSH.

I think you will need to have early-commands that use chzdev to activate
the drive you want to use before you can use it? We should add more
explicit support for device activation (possibly to the extent of
automatically activating devices referenced by the config) but it's not
done yet.

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

Title:
  [UBUNTU 20.04] Subiquity installer cannot find dasd device

Status in Ubuntu on IBM z Systems:
  Confirmed
Status in subiquity package in Ubuntu:
  Confirmed
Status in subiquity source package in Focal:
  New

Bug description:
  I'm installing Ubuntu 20.04 with a nocloud-net installation source on
  a z/VM guest. I'm currently limited to seeing installation output only
  through webhook reporter, because I cannot access shell on the target
  system during installation.

  Installation stops at trying to find a dasd disk. I tried following
  Curtin documentation on dasd and examples from
  https://github.com/canonical/curtin/blob/master/examples/tests/basic-
  dasd.yaml with different options, but had no success.

  Kernel command-line:
  cio_ignore=all,!condev,!0.0.3695,!0.0.bdf0-0.0.bdf2 url=http://bistro.lnxne.boe/ubuntu/UBUNTU20.04/ubuntu-20.04-live-server-s390x.iso ip=172.18.76.38::172.18.0.1:255.254.0.0:m8330038.lnxne.boe:encbdf0:none:172.18.0.1 autoinstall ds=nocloud-net;s=http://t35lp37.lnxne.boe:8080/cfg/

  #cloud-config
  autoinstall:
    version: 1
    reporting:
      remote:
        type: webhook
        endpoint: http://t35lp37.lnxne.boe:8080/log/
        level: DEBUG
    refresh-installer:
      update: yes
    apt:
      primary:
      - arches: [s390x]
        uri: http://us.ports.ubuntu.com/ubuntu-ports
    identity: {hostname: m8330038, password: .ueYA4yxzICWX9/.wxG7epPimsn.FM/CuMQMqjgbBbawyn5T3zYyGc5Io4ZNRcvItBWojzpO1S8bkTpthJRPc4Q.,
      realname: user, username: user}
    keyboard: {layout: us, variant: ''}
    locale: en_US
    ssh:
      allow-pw: true
      authorized-keys: []
      install-server: true
    storage:
      config:
        - {device_id: 0.0.3695, blocksize: 4096, disk_layout: cdl, mode: quick, preserve: false, type: dasd, id: dasd-dasda}
        - {ptable: vtoc, serial: 0X3695, path: /dev/dasda, wipe: superblock-recursive, preserve: false, name: '', grub_device: false, device_id: 0.0.3695, type: disk, id: disk-dasda}
        - {device: disk-dasda, size: 22153265152, wipe: superblock, flag: '', number: 1, preserve: false, type: partition, id: partition-0}
        - {fstype: ext4, volume: partition-0, preserve: false, type: format, id: format-0}
        - {device: format-0, path: /, type: mount, id: mount-0}

  
  I get the following output on the webhook:
  curtin start subiquity/Filesystem/apply_autoinstall_config:
  curtin start subiquity/Filesystem/apply_autoinstall_config/convert_autoinstall_config:
  curtin finish subiquity/Filesystem/apply_autoinstall_config/convert_autoinstall_config: {'device_id': '0.0.3695', 'grub_device': False, 'id': 'disk-dasda', 'name': '', 'path': '/dev/dasda', 'preserve': False, 'ptable': 'vtoc', 'serial': '0X3695', 'type': 'disk', 'wipe': 'superblock-recursive'} matched no disk
  curtin finish subiquity/Filesystem/apply_autoinstall_config: {'device_id': '0.0.3695', 'grub_device': False, 'id': 'disk-dasda', 'name': '', 'path': '/dev/dasda', 'preserve': False, 'ptable': 'vtoc', 'serial': '0X3695', 'type': 'disk', 'wipe': 'superblock-recursive'} matched no disk
  curtin start subiquity/Error/1589794065.193394184.ui/add_info:
  curtin finish subiquity/Error/1589794065.193394184.ui/add_info: written to /var/crash/1589794065.193394184.ui.crash

  
  When I use a simple configuration described in Ubuntu Wiki ( https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/ConfigReference#storage ), I get a different output:

    storage:
      layout:
        name: direct

  curtin start subiquity/Filesystem/apply_autoinstall_config:
  curtin finish subiquity/Filesystem/_probe/probe_once: restricted=False
  curtin finish subiquity/Filesystem/_probe:
  curtin start subiquity/Filesystem/apply_autoinstall_config/convert_autoinstall_config:
  curtin finish subiquity/Filesystem/apply_autoinstall_config/convert_autoinstall_config: 'None                                                                                                Type' object has no attribute 'grub_device'
  curtin finish subiquity/Filesystem/apply_autoinstall_config: 'NoneType' object has no attribu                                                                                                te 'grub_device'

  (same with layout "lvm")

  Manual installation works fine, but I need to enable the DASD in the
  menu.

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



More information about the foundations-bugs mailing list