[Bug 2104267] Re: autoinstall fails to execute zdevs entries, reports ZdevController' object has no attribute 'zdevinfos'

Frank Heimes 2104267 at bugs.launchpad.net
Thu Mar 27 08:43:14 UTC 2025


On a FCP/SCSI LPAR, the CCW device enablement looks also fine (where
auto LUN discovery and enablement is configured), but the autoinstall
process fails right after that with:

The console shows:
"
...
running early commands
running snap refresh subiquity --channel=latest/edge/lp-2104267 --ignore-running
connecting...
running early commands
running snap refresh subiquity --channel=latest/edge/lp-2104267 --ignore-running
snap "subiquity" has no updates available
...
start: subiquity/Early/run:
start:  subiquity/Early/run/command_0: snap refresh subiquity --channel=latest/edge/lp-2104267 --ignore-running
finish:  subiquity/Early/run/command_0: snap refresh subiquity --channel=latest/edge/lp-2104267 --ignore-running
...
start: subiquity/Zdev/load_autoinstall_data:
finish: subiquity/Zdev/load_autoinstall_data:
...
start: subiquity/Zdev/apply_autoinstall_config:
...
finish: subiquity/Zdev/apply_autoinstall_config:
start: subiquity/Source/apply_autoinstall_config:
...
start: subiquity/Filesystem/apply_autoinstall_config:
start:  subiquity/Filesystem/apply_autoinstall_config/convert_autoinstall_config:
finish:  subiquity/Filesystem/apply_autoinstall_config/convert_autoinstall_config: '/dev/dm-name-mpatha-part1'
finish: subiquity/Filesystem/apply_autoinstall_config: '/dev/dm-name-mpatha-part1'
finish: subiquity/apply_autoinstall_config: '/dev/dm-name-mpatha-part1'
start:  subiquity/ErrorReporter/1743061108.460952997.unknown/add_info:
finish:  subiquity/ErrorReporter/1743061108.460952997.unknown/add_info: written to /var/crash/1743061108.460952997.unknown.crash
An error occurred. Press enter to start a shell
"

And in the logs I can see: https://pastebin.canonical.com/p/H4cBkvK7QV/
(full /var/log and /var/crash are attached)

However, the CCW devices themselves were already properly enabled (taken from busybox):
lszdev --online
TYPE       ID                                              ON   PERS  NAMES
zfcp-host  0.0.e000                                        yes  yes
zfcp-host  0.0.e100                                        yes  yes
zfcp-lun   0.0.e000:0x50050763060b16b6:0x4026400300000000  yes  no    sdb sg1
zfcp-lun   0.0.e000:0x50050763061b16b6:0x4026400300000000  yes  no    sda sg0
zfcp-lun   0.0.e100:0x50050763060b16b6:0x4026400300000000  yes  no    sdd sg3
zfcp-lun   0.0.e100:0x50050763061b16b6:0x4026400300000000  yes  no    sdc sg2
qeth       0.0.c000:0.0.c001:0.0.c002                      yes  no    encc000

I assume that this could be due to LP#2093352 ...

** Attachment added: "s1lp15-FCPSCSI-27032025.tgz"
   https://bugs.launchpad.net/ubuntu-z-systems/+bug/2104267/+attachment/5867603/+files/s1lp15-FCPSCSI-27032025.tgz

-- 
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/2104267

Title:
  autoinstall fails to execute zdevs entries, reports ZdevController'
  object has no attribute 'zdevinfos'

Status in Ubuntu on IBM z Systems:
  In Progress
Status in subiquity package in Ubuntu:
  In Progress

Bug description:
  Starting with 25.04 the automatic generation of the autoinstall yaml
  file while doing in interactive installation is included.

  I now performed an interactive installation on a z/VM instance I the generated autoinstall file contained the new zdevs section:
    zdevs:
    - enabled: true
      id: 0.0.0200
    - enabled: true
      id: 0.0.0300
    - enabled: true
      id: 0.0.0400
  Which is great !

  I then took this autoinstall yaml, put it on my autoinstall server (as-is) as user-data file, and tried to do an autoinstall based on it.
  But it fails with the following messages in the console:
  "
  start: subiquity/OEM/load_metapackages_list:
  start:  subiquity/OEM/load_metapackages_list/wait_confirmation:
  start: subiquity/Install/install:
  finish: subiquity/Zdev/apply_autoinstall_config: 'ZdevController' object has no
  attribute 'zdevinfos'
  finish: subiquity/apply_autoinstall_config: 'ZdevController' object has no attri
  bute 'zdevinfos'
  start: subiquity/Filesystem/_probe:
  start:  subiquity/ErrorReporter/1742990845.110248089.unknown/add_info:
  start:  subiquity/Filesystem/_probe/probe_once: restricted=False
  start: subiquity/Meta/status_GET:
  finish:  subiquity/ErrorReporter/1742990845.110248089.unknown/add_info: written
  to /var/crash/1742990845.110248089.unknown.crash
  finish:  subiquity/Filesystem/_probe/probe_once: restricted=False
  finish: subiquity/Filesystem/_probe:
  start: subiquity/Network/_send_update: CHANGE enc600
  finish: subiquity/Network/_send_update: CHANGE enc600
  "

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




More information about the foundations-bugs mailing list