← Back to team overview

curtin-dev team mailing list archive

[Bug 1899692] Re: Enabling or disabling a dasd-fba device from the installer, for a zVM, results in a dasdview error

 

/var/crash from 20.04.1 installation (/var/crash was empty)

** Attachment added: "19102020_20041.tgz"
   https://bugs.launchpad.net/ubuntu-z-systems/+bug/1899692/+attachment/5424299/+files/19102020_20041.tgz

** Also affects: subiquity
   Importance: Undecided
       Status: New

** Also affects: curtin
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of curtin
developers, which is subscribed to curtin.
https://bugs.launchpad.net/bugs/1899692

Title:
  Enabling or disabling a dasd-fba device from the installer, for a zVM,
  results in a dasdview error

Status in curtin:
  New
Status in subiquity:
  New
Status in Ubuntu on IBM z Systems:
  New

Bug description:
  Enabling or disabling a dasd-fba device from the installer results in
  a Traceback

  dasd-fba
  0.0.0101                    online  dasdc   ▸
  0.0.0102                    online  dasdd   ▸
  0.0.0103                    online  dasde   ▸┌────────────┐
  0.0.0104                                    ▸│◂ (close)   │
                                               │  Enable    │
  dasd-eckd                                    │  Disable   │
  0.0.0190                                    ▸└────────────┘

  Traceback (most recent call last):
    File "/snap/subiquity/2027/lib/python3.6/site-packages/probert/storage.py", line 109, in _extract_partition_table
      ptable = json.loads(output)
    File "/snap/subiquity/2027/usr/lib/python3.6/json/__init__.py", line 354, in loads
      return _default_decoder.decode(s)
    File "/snap/subiquity/2027/usr/lib/python3.6/json/decoder.py", line 339, in decode
      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File "/snap/subiquity/2027/usr/lib/python3.6/json/decoder.py", line 355, in raw_decode
      obj, end = self.scan_once(s, idx)
  json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 8 column 4 (char 151)

  
  The 1602279883.248446465.install_fail.crash file in the attached tgz reports errors from dasdview:
           Checking if dasd 0.0.0101 needs formatting
           Running command ['dasdview', '--extended', '/dev/dasdc'] with allowed return codes [0] (capture=True)
           An error occured handling 'dasd-dasdc': ValueError - dasdview output has fewer than 52 lines, cannot parse
           finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring dasd: dasd-dasdc
           TIMED BLOCK_META: 19.334
           finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta
           Traceback (most recent call last):
             File "/snap/subiquity/2027/lib/python3.6/site-packages/curtin/commands/main.py", line 202, in main
               ret = args.func(args)
             File "/snap/subiquity/2027/lib/python3.6/site-packages/curtin/log.py", line 97, in wrapper
               return log_time("TIMED %s: " % msg, func, *args, **kwargs)
             File "/snap/subiquity/2027/lib/python3.6/site-packages/curtin/log.py", line 79, in log_time
               return func(*args, **kwargs)
             File "/snap/subiquity/2027/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 111, in block_meta
               return meta_custom(args)
             File "/snap/subiquity/2027/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 1916, in meta_custom
               handler(command, storage_config_dict)
             File "/snap/subiquity/2027/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 564, in dasd_handler
               disk_layout, label)):
             File "/snap/subiquity/2027/lib/python3.6/site-packages/curtin/block/dasd.py", line 561, in needs_formatting
               if layout != self.disk_layout():
             File "/snap/subiquity/2027/lib/python3.6/site-packages/curtin/block/dasd.py", line 519, in disk_layout
               view = dasdview(self.devname)
             File "/snap/subiquity/2027/lib/python3.6/site-packages/curtin/block/dasd.py", line 65, in dasdview
               return _parse_dasdview(out)
             File "/snap/subiquity/2027/lib/python3.6/site-packages/curtin/block/dasd.py", line 226, in _parse_dasdview
               'dasdview output has fewer than 52 lines, cannot parse')
           ValueError: dasdview output has fewer than 52 lines, cannot parse
           dasdview output has fewer than 52 lines, cannot parse

  This failure is seen when doing a new install to the Solutions QA zVM
  guest s5lp1-gen03.

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