[Bug 1871832] Re: Installer crashed with multiple ISO images on system's disks

2020-04-15 Thread Michael Hudson-Doyle
** Changed in: subiquity (Ubuntu)
   Status: New => Fix Committed

** Package changed: subiquity (Ubuntu) => subiquity

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

Title:
  Installer crashed with multiple ISO images on system's disks

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1871832] Re: Installer crashed with multiple ISO images on system's disks

2020-04-14 Thread Michael Hudson-Doyle
I've landed a change that might fix this, can you try with the 20200414
image or newer?

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

Title:
  Installer crashed with multiple ISO images on system's disks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1871832] Re: Installer crashed with multiple ISO images on system's disks

2020-04-11 Thread Michael Hudson-Doyle
Argh. The unusual partition tables on ISOs continue to cause more pain.

I guess we should accelerate the work of not including unreferenced
disks in the curtin config.

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

Title:
  Installer crashed with multiple ISO images on system's disks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1871832] Re: Installer crashed with multiple ISO images on system's disks

2020-04-09 Thread Alexandre Erwin Ittner
Testing with 20200408.1. It is easier to reproduce this situation on x64
with qemu.


- Create disk images for this test:

$ qemu-img create -f qcow2 sda.qcow2 10G
Formatting 'sda.qcow2', fmt=qcow2 size=10737418240 cluster_size=65536 
lazy_refcounts=off refcount_bits=16

$ qemu-img create -f qcow2 sdb.qcow2 4G
Formatting 'sdb.qcow2', fmt=qcow2 size=4294967296 cluster_size=65536 
lazy_refcounts=off refcount_bits=16

$ qemu-img create -f qcow2 sdc.qcow2 4G
Formatting 'sdc.qcow2', fmt=qcow2 size=4294967296 cluster_size=65536 
lazy_refcounts=off refcount_bits=16


- Put an install ISO in both sdb and sdc. Easiest way is boot qemu from the 
installer itself and then copy it:

$ wget http://cdimage.ubuntu.com/ubuntu-server/daily-live/20200408.1
/focal-live-server-amd64.iso

$ qemu-system-x86_64 -enable-kvm -M q35 -m 1G -cpu host  -drive
file=sda.qcow2,media=disk,format=qcow2  -drive
file=sdb.qcow2,media=disk,format=qcow2 -drive
file=sdc.qcow2,media=disk,format=qcow2 -drive file=focal-live-server-
amd64.iso,media=cdrom -boot d

- As soon as the installer starts, open the shell and do:

$ sudo dd if=/dev/cdrom of=/dev/sdb
$ sudo dd if=/dev/cdrom of=/dev/sdc

Just to be sure:
$ sudo sync


- Close qemu then start it again, booting from one of the disks as we were 
installing from an image dd'ed from an existing install in a server which does 
not support virtual media:

$ qemu-system-x86_64 -enable-kvm -M q35 -m 1G -cpu host -drive
file=sda.qcow2,media=disk,format=qcow2 -drive
file=sdb.qcow2,media=disk,format=qcow2 -drive
file=sdc.qcow2,media=disk,format=qcow2 -boot menu=on

- Press Esc and select 2 to boot from sdb.

- Proceed with the installation and select sda as the target.

>> The installer will detect sdc but won't be able to handle this
situation. Crash reports and screenshots attached.


** Attachment added: "Crash report on qemu"
   
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+attachment/5350302/+files/1586437687.174328804.install_fail.crash

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

Title:
  Installer crashed with multiple ISO images on system's disks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1871832] Re: Installer crashed with multiple ISO images on system's disks

2020-04-09 Thread Alexandre Erwin Ittner
** Attachment added: "Storage summary on qemu test"
   
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+attachment/5350304/+files/Screenshot%20from%202020-04-09%2010-07-59.png

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

Title:
  Installer crashed with multiple ISO images on system's disks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1871832] Re: Installer crashed with multiple ISO images on system's disks

2020-04-09 Thread Alexandre Erwin Ittner
** Attachment added: "Detected disks on qemu"
   
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+attachment/5350303/+files/Screenshot%20from%202020-04-09%2010-07-36.png

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

Title:
  Installer crashed with multiple ISO images on system's disks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1871832] Re: Installer crashed with multiple ISO images on system's disks

2020-04-09 Thread Alexandre Erwin Ittner
** Attachment added: "1586234957.306729794.install_fail.crash"
   
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+attachment/5350235/+files/1586234957.306729794.install_fail.crash

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

Title:
  Installer crashed with multiple ISO images on system's disks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1871832] Re: Installer crashed with multiple ISO images on system's disks

2020-04-09 Thread Alexandre Erwin Ittner
** Attachment added: "1586236548.054427385.install_fail.crash"
   
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+attachment/5350236/+files/1586236548.054427385.install_fail.crash

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

Title:
  Installer crashed with multiple ISO images on system's disks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1871832] Re: Installer crashed with multiple ISO images on system's disks

2020-04-09 Thread Alexandre Erwin Ittner
** Attachment added: "1586237649.350583553.install_fail.crash"
   
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+attachment/5350237/+files/1586237649.350583553.install_fail.crash

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

Title:
  Installer crashed with multiple ISO images on system's disks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs