I imported the autoinstall.yaml file and the installation crashed.

Bug #2069091 reported by Mutahhir Khan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
Expired
Undecided
Unassigned
ubuntu-desktop-provision
Expired
Undecided
Unassigned

Bug Description

I tried to do a fresh installation from ubuntu 23 to 24
here is my autoinstall file for quick installation assistance.

```
#cloud-config
autoinstall:
  apt:
    disable_components: []
    fallback: abort
    geoip: true
    mirror-selection:
      primary:
      - country-mirror
      - arches:
        - amd64
        - i386
        uri: http://archive.ubuntu.com/ubuntu
      - arches:
        - s390x
        - arm64
        - armhf
        - powerpc
        - ppc64el
        - riscv64
        uri: http://ports.ubuntu.com/ubuntu-ports
    preserve_sources_list: false
  codecs:
    install: true
  drivers:
    install: true
  identity:
    hostname: <my cool name>
    password: <some cool password here>
    realname: <my cool name>
    username: <my cool name>
  kernel:
    package: linux-generic-hwe-22.04
  keyboard:
    layout: us
    toggle: null
    variant: ''
  locale: en_US.UTF-8
  network:
    ethernets: {}
    version: 2
    wifis: {}
  source:
    id: ubuntu-desktop
    search_drivers: false
  ssh:
    allow-pw: true
    authorized-keys: []
    install-server: false
  storage:
    config:
    - ptable: gpt
      serial: WDC_WDS240G2G0C-00AJM0_21254Q804162
      wwn: eui.e8238fa6bf530001001b448b41907f9f
      path: /dev/nvme0n1
      wipe: superblock-recursive
      preserve: false
      name: ''
      grub_device: false
      type: disk
      id: disk-nvme0n1
    - device: disk-nvme0n1
      size: 1127219200
      wipe: superblock
      flag: boot
      number: 1
      preserve: false
      grub_device: true
      offset: 1048576
      path: /dev/nvme0n1p1
      type: partition
      id: partition-0
    - fstype: fat32
      volume: partition-0
      preserve: false
      type: format
      id: format-1
    - device: disk-nvme0n1
      size: 2147483648
      wipe: superblock
      number: 2
      preserve: false
      offset: 1128267776
      path: /dev/nvme0n1p2
      type: partition
      id: partition-1
    - fstype: ext4
      volume: partition-1
      preserve: false
      type: format
      id: format-2
    - device: disk-nvme0n1
      size: 236779995136
      wipe: superblock
      number: 3
      preserve: false
      offset: 3275751424
      path: /dev/nvme0n1p3
      type: partition
      id: partition-2
    - name: ubuntu-vg
      devices:
      - partition-2
      preserve: false
      type: lvm_volgroup
      id: lvm_volgroup-0
    - name: ubuntu-lv
      volgroup: lvm_volgroup-0
      size: 236776849408B
      wipe: superblock
      preserve: false
      path: /dev/ubuntu-vg/ubuntu-lv
      type: lvm_partition
      id: lvm_partition-0
    - fstype: ext4
      volume: lvm_partition-0
      preserve: false
      type: format
      id: format-3
    - path: /
      device: format-3
      type: mount
      id: mount-2
    - path: /boot
      device: format-2
      type: mount
      id: mount-1
    - path: /boot/efi
      device: format-1
      type: mount
      id: mount-0
  timezone: Asia/Karachi
  updates: security
  version: 1
```

I started the http server using `python3 -m http.server`
then paste the returned URL as <URL>/autoinstall
note that I started the server in the same directory where the autoinstall file is.

description: updated
Revision history for this message
Mutahhir Khan (mutahhirkhan) wrote :

I manage to solved it, reason was, I made so much specific details about the disk that Ubuntu will use.
e.g. serial and wwn. SO I removed them and gave some room to installer.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report Could you add the logs from/var/log/installer after getting the problem?

Also do you consider is as an user config error then? Or do you think the file was correct but the installer didn't handle it correctly?

Changed in ubuntu-desktop-provision:
status: New → Incomplete
Olivier Gayot (ogayot)
Changed in subiquity:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubuntu-desktop-provision because there has been no activity for 60 days.]

Changed in ubuntu-desktop-provision:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for subiquity because there has been no activity for 60 days.]

Changed in subiquity:
status: Incomplete → Expired
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.