cmd-curthooks/configuring-multipath FAIL on system with no multipath

Bug #1957457 reported by Nick Kirsch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
New
Undecided
Unassigned

Bug Description

I attempted to disable multipath but it didn't seem to have an effect. I noticed that none of the .conf files in /var/log/installer contain the multipath setting below. Note that I'm attempting this as part of the cloud-init associated with the Ubuntu 20.0 USB/ISO installer.

cloud-init config:

#cloud-config
autoinstall:
  version: 1
  locale: en_US.UTF-8
  refresh-installer:
    update: yes
  late-commands:
    - poweroff
  ssh:
    install-server: true
  multipath:
    mode: disabled
  network:
    ethernets:
      enp2s0: {dhcp4: true}
    version: 2
  storage:
    multipath:
      mode: disabled
    config:
    - {path: /dev/sda, preserve: true, name: '', grub_device: false, type: disk, id: disk-sda}
    - {path: /dev/sdb, preserve: true, name: '', grub_device: false, type: disk, id: disk-sdb}
    - name: md127
      raidlevel: container
      devices: [disk-sda, disk-sdb]
      spare_devices: []
      preserve: true
      metadata: imsm
      type: raid
      id: raid-md127
    - name: md126
      raidlevel: raid1
      devices: []
      spare_devices: []
      preserve: true
      wipe: superblock
      ptable: gpt
      container: raid-md127
      type: raid
      id: raid-md126

    - {device: raid-md126, size: 536870912, wipe: superblock, flag: boot, number: 1, preserve: false, grub_device: true, type: partition, id: partition-0}
    - {fstype: fat32, volume: partition-0, preserve: false, type: format, id: format-0}

    - {device: raid-md126, size: 1073741824, wipe: superblock, flag: '', number: 2, preserve: false, grub_device: false, type: partition, id: partition-1}
    - {fstype: ext4, volume: partition-1, preserve: false, type: format, id: format-1}

    - {device: raid-md126, size: 205GB, wipe: superblock, flag: '', number: 3, preserve: false, grub_device: false, type: partition, id: partition-2}
    - {fstype: ext4, volume: partition-2, preserve: false, type: format, id: format-2}

    - {device: raid-md126, size: 210GB, wipe: superblock, flag: '', number: 4, preserve: false, grub_device: false, type: partition, id: partition-3}
    - {fstype: ext4, volume: partition-3, preserve: false, type: format, id: format-3}

    - {path: /other, device: format-3, type: mount, id: mount-3}
    - {path: /, device: format-2, type: mount, id: mount-2}
    - {path: /boot, device: format-1, type: mount, id: mount-1}
    - {path: /boot/efi, device: format-0, type: mount, id: mount-0}

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Where did you get the idea you could disable multipath that way? I don't think you can...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.