← Back to team overview

curtin-dev team mailing list archive

[Bug 1900900] Re: Groovy install to zVM with fcp devices FAIL: removing previous storage devices

 

I assume that a workaround would be to enter the installer shell and manually wipe out the device (using wipefs) and to redo the install afterwards.
Since it's quite late in the cycle, I've marked this bug as affecting the 'release notes' and leaving a known issue msg there.

** Also affects: ubuntu-release-notes
   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/1900900

Title:
  Groovy install to zVM with fcp devices FAIL: removing previous storage
  devices

Status in curtin:
  Confirmed
Status in Release Notes for Ubuntu:
  New
Status in Ubuntu on IBM z Systems:
  Confirmed

Bug description:
  When attempting to install Groovy to a zVM (s5lp1-gen02) the Subiquity
  installer reports an error after fcp devices are selected and the
  partition layout is confirmed. The iso image used was from October 21,
  2020. Dropping to the shell the following traceback is found in
  /var/log/syslog:

  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:         wiping 1M on /dev/dm-2 at offsets [0, -1048576]
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:         finish: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: FAIL: removing previous storage devices
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:         TIMED BLOCK_META: 3.433
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:         finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:         Traceback (most recent call last):
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:           File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/commands/main.py", line 202, in main
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:             ret = args.func(args)
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:           File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/log.py", line 97, in wrapper
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:             return log_time("TIMED %s: " % msg, func, *args, **kwargs)
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:           File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/log.py", line 79, in log_time
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:             return func(*args, **kwargs)
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:           File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 102, in block_meta
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:             meta_clear(devices, state.get('report_stack_prefix', ''))
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:           File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 1870, in meta_clear
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:             clear_holders.clear_holders(devices)
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:           File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/block/clear_holders.py", line 633, in clear_holders
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:             shutdown_function(dev_info['device'])
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:           File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/block/clear_holders.py", line 305, in wipe_superblock
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:             _wipe_superblock(blockdev)
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:           File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/block/clear_holders.py", line 339, in _wipe_superblock
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:             exclusive=exclusive, strict=strict)
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:           File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/block/__init__.py", line 1316, in wipe_volume
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:             quick_zero(path, partitions=False, exclusive=exclusive, strict=strict)
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:           File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/block/__init__.py", line 1230, in quick_zero
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:             exclusive=exclusive, strict=strict)
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:           File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/block/__init__.py", line 1273, in zero_file_at_offsets
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:             raise ValueError(m_short.format(**msg_vals))
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:         ValueError: /dev/dm-2 (size=1024): 1048576 bytes from 0 > size.
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:         /dev/dm-2 (size=1024): 1048576 bytes from 0 > size.
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]:         
  Oct 21 20:11:58 ubuntu-server curtin_log.2035[3260]: Stderr: ''

  The system logs and crash directory are attached.

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


References