[Bug 1875560] Re: subiquity crashes on configuring existing partition

2020-05-19 Thread Ryan Harper
I believe the current failure you see is this one:

https://bugs.launchpad.net/subiquity/+bug/1878890

A fix has been created, it's getting reviewed and should land soon.
Once merged subiquity can pull in the fix.

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

Title:
  subiquity crashes on configuring existing partition

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

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

[Bug 1875560] Re: subiquity crashes on configuring existing partition

2020-05-19 Thread Kai Harrekilde-Petersen
@mwhudson I can confirm that the 20.05.1 release removes THIS obstacle,
but only to reveal the next: curtin barfing on other existing
partitions.

The good news:
 get_blockdev_sector_size: (log=512, phys=512)
 sda logical_block_size_bytes: 512
 Verifying /dev/sda1 exists
 Running command ['sfdisk', '--json', '/dev/sda'] with allowed return codes [0] 
(capture=True)
 Verifying /dev/sda1 size, expecting 102364 bytes, found 102364 bytes
 Device /dev/sda1 ptable entry: {
  "bootable": true,
  "node": "/dev/sda1",
  "size": 1998047,
  "start": 2048,
  "type": "83"
 }
 Verifying /dev/sda1 partition flag, expecting boot, found boot
 Partition /dev/sda1 already present, skipping create

The bad news:
 get_blockdev_sector_size: (log=512, phys=512)
 sda logical_block_size_bytes: 512
 previous partition number for 'partition-sda2' found to be '1'
 partition_kname=sda1
 previous partition: /sys/class/block/sda/sda1 size_sectors=1998047 
start_sectors=2048
 Verifying /dev/sda2 exists
 Running command ['sfdisk', '--json', '/dev/sda'] with allowed return codes [0] 
(capture=True)
 Verifying /dev/sda2 size, expecting 1024458752 bytes, found 1024458752 bytes
 Device /dev/sda2 ptable entry: {
  "node": "/dev/sda2",
  "size": 2000896,
  "start": 2000896,
  "type": "83"
 }
 Verifying /dev/sda2 partition flag, expecting linux, found None
 An error occured handling 'partition-sda2': RuntimeError - Verifying /dev/sda2 
partition flag, expecting linux, found None
 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: 
configuring partition: partition-sda2
 TIMED BLOCK_META: 3.041
 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin 
command block-meta
 Traceback (most recent call last):
   File 
"/snap/subiquity/1874/lib/python3.6/site-packages/curtin/commands/main.py", 
line 202, in main
 ret = args.func(args)
   File "/snap/subiquity/1874/lib/python3.6/site-packages/curtin/log.py", line 
97, in wrapper
 return log_time("TIMED %s: " % msg, func, *args, **kwargs)
   File "/snap/subiquity/1874/lib/python3.6/site-packages/curtin/log.py", line 
79, in log_time
 return func(*args, **kwargs)
   File 
"/snap/subiquity/1874/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 111, in block_meta
 return meta_custom(args)
   File 
"/snap/subiquity/1874/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 1909, in meta_custom
 handler(command, storage_config_dict)
   File 
"/snap/subiquity/1874/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 878, in partition_handler
 partition_verify(part_path, info)
   File 
"/snap/subiquity/1874/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 782, in partition_verify
 verify_ptable_flag(devpath, info['flag'], sfdisk_info=sfdisk_info)
   File 
"/snap/subiquity/1874/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 770, in verify_ptable_flag
 raise RuntimeError(msg)
 RuntimeError: Verifying /dev/sda2 partition flag, expecting linux, found None
 Verifying /dev/sda2 partition flag, expecting linux, found None
 curtin: Installation failed with exception: Unexpected error while running 
command.
 Command: ['curtin', 'block-meta', 'simple']
 Exit code: 3


# fdisk -l /dev/sda
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xd9859edb

Device Boot   Start  End  Sectors   Size Id Type
/dev/sda1  *   2048  294  1998047 975.6M 83 Linux
/dev/sda2   2000896  4001791  2000896   977M 83 Linux
/dev/sda3   4001792 68001791 6400  30.5G 83 Linux

curtin barfs on finding /dev/sda2 being formatted to Linux, but unused
(not mounted). If I change the type to 0x00 (unused), curtin now barfs
on /dev/sda3.

I'm going to attach logfiles from both runs, but in two comments (as I
can't upload two attachments to a single comment)

I'm back to 18.04 again/still.

** Attachment added: "curtin dies on "unused" Linux partition"
   
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1875560/+attachment/5374131/+files/1589892554.994148970.install_fail.crash.gz

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

Title:
  subiquity crashes on configuring existing partition

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

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

[Bug 1875560] Re: subiquity crashes on configuring existing partition

2020-05-19 Thread Kai Harrekilde-Petersen
In this run, I had marked /dev/sda2 as type=0x00, and then curtin died
on /dev/sda3.

 get_blockdev_sector_size: (log=512, phys=512)
 sda logical_block_size_bytes: 512
 previous partition number for 'partition-sda3' found to be '2'
 partition_kname=sda2
 previous partition: /sys/class/block/sda/sda2 size_sectors=2000896 
start_sectors=2000896
 Verifying /dev/sda3 exists
 Running command ['sfdisk', '--json', '/dev/sda'] with allowed return codes [0] 
(capture=True)
 Verifying /dev/sda3 size, expecting 3276800 bytes, found 3276800 bytes
 Device /dev/sda3 ptable entry: {
  "node": "/dev/sda3",
  "size": 6400,
  "start": 4001792,
  "type": "83"
 }
 Verifying /dev/sda3 partition flag, expecting linux, found None
 An error occured handling 'partition-sda3': RuntimeError - Verifying /dev/sda3 
partition flag, expecting linux, found None
 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: 
configuring partition: partition-sda3
 TIMED BLOCK_META: 2.386
 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin 
command block-meta
 Traceback (most recent call last):
   File 
"/snap/subiquity/1874/lib/python3.6/site-packages/curtin/commands/main.py", 
line 202, in main
 ret = args.func(args)
   File "/snap/subiquity/1874/lib/python3.6/site-packages/curtin/log.py", line 
97, in wrapper
 return log_time("TIMED %s: " % msg, func, *args, **kwargs)
   File "/snap/subiquity/1874/lib/python3.6/site-packages/curtin/log.py", line 
79, in log_time
 return func(*args, **kwargs)
   File 
"/snap/subiquity/1874/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 111, in block_meta
 return meta_custom(args)
   File 
"/snap/subiquity/1874/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 1909, in meta_custom
 handler(command, storage_config_dict)
   File 
"/snap/subiquity/1874/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 878, in partition_handler
 partition_verify(part_path, info)
   File 
"/snap/subiquity/1874/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 782, in partition_verify
 verify_ptable_flag(devpath, info['flag'], sfdisk_info=sfdisk_info)
   File 
"/snap/subiquity/1874/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 770, in verify_ptable_flag
 raise RuntimeError(msg)
 RuntimeError: Verifying /dev/sda3 partition flag, expecting linux, found None
 Verifying /dev/sda3 partition flag, expecting linux, found None
 curtin: Installation failed with exception: Unexpected error while running 
command.
 Command: ['curtin', 'block-meta', 'simple']
 Exit code: 3
 Reason: -
 Stdout: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin 
command block-meta
 get_path_to_storage_volume for volume partition-sda3({'device': 
'disk-sda', 'size': 3276800, 'wipe': 'superblock', 'flag': 'linux', 
'number': 3, 'preserve': True, 'grub_device': False, 'type': 'partition', 'id': 
'partition-sda3'})
 get_path_to_storage_volume for volume disk-sda({'ptable': 'msdos', 
'serial': 'Samsung_SSD_850_EVO_250GB_S2R4NX0H523042A', 'wwn': 
'0x5002538d40e8f355', 'path': '/dev/sda', 'preserve': True, 'name': '', 
'grub_device': False, 'type': 'disk', 'id': 'disk-sda'})
 Processing serial 0x5002538d40e8f355 via udev to 0x5002538d40e8f355
 lookup_disks found: ['wwn-0x5002538d40e8f355', 
'wwn-0x5002538d40e8f355-part3', 'wwn-0x5002538d40e8f355-part2', 
'wwn-0x5002538d40e8f355-part1']
 Running command ['udevadm', 'info', '--query=property', '--export', 
'/dev/sda'] with allowed return codes [0] (capture=True)
 /dev/sda is multipath device? False
 Running command ['multipath', '-c', '/dev/sda'] with allowed return 
codes [0] (capture=True)
 /dev/sda is multipath device member? False
 block.lookup_disk() returning path /dev/sda
 Running command ['partprobe', '/dev/sda'] with allowed return codes 
[0, 1] (capture=False)
 Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
 TIMED udevadm_settle(): 0.159
 devsync happy - path /dev/sda now exists
 return volume path /dev/sda
 Running command ['partprobe', '/dev/sda'] with allowed return codes 
[0, 1] (capture=False)
 Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
 TIMED udevadm_settle(): 0.167
 devsync happy - path /dev/sda now exists
 return volume path /dev/sda3
 block-meta: extracted devices to clear: ['/dev/sda3']
 Declared block devices: ['/dev/sda3']
 clearing devices=['/dev/sda3']


** Attachment added: "curtin dying on sda3"
   
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1875560/+attachment/5374132/+files/1589893719.623186111.install_fail.crash.gz

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

[Bug 1875560] Re: subiquity crashes on configuring existing partition

2020-05-18 Thread Michael Wesley
Has this bug been confirmed as fixed?

I'm still experiencing this error, even when using the new installer as
prompted during the update.

https://bugs.launchpad.net/subiquity/+bug/1878890

Unless something else is going on in with my installation...?

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

Title:
  subiquity crashes on configuring existing partition

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

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

[Bug 1875560] Re: subiquity crashes on configuring existing partition

2020-05-17 Thread Michael Hudson-Doyle
** Changed in: subiquity (Ubuntu)
   Status: Confirmed => Fix Released

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

Title:
  subiquity crashes on configuring existing partition

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

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

[Bug 1875560] Re: subiquity crashes on configuring existing partition

2020-05-08 Thread Kai Harrekilde-Petersen
** Merge proposal linked:
   https://code.launchpad.net/~raharper/curtin/+git/curtin/+merge/383648

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

Title:
  subiquity crashes on configuring existing partition

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

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

[Bug 1875560] Re: subiquity crashes on configuring existing partition

2020-04-30 Thread Kai Harrekilde-Petersen
Agreed, my bug report at the curtin one seem identical (failing on a
partition that has the "bootable" flag set).

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

Title:
  subiquity crashes on configuring existing partition

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

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

[Bug 1875560] Re: subiquity crashes on configuring existing partition

2020-04-29 Thread Michael Hudson-Doyle
This seems to be the same bug as
https://bugs.launchpad.net/curtin/+bug/1875903 which is being actively
worked on.

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

Title:
  subiquity crashes on configuring existing partition

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

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

[Bug 1875560] Re: subiquity crashes on configuring existing partition

2020-04-29 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: subiquity (Ubuntu)
   Status: New => Confirmed

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

Title:
  subiquity crashes on configuring existing partition

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

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