[Bug 1901817] Re: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception'
Yes, I agree - kind of a leftover ... ** Changed in: ubuntu-z-systems Status: In Progress => 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/1901817 Title: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception' To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1901817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901817] Re: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception'
pretty sure this was fixed in 20.04.2. ** Changed in: curtin Status: In Progress => 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/1901817 Title: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception' To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1901817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901817] Re: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception'
Well, that is probably a different error. (Test was reusing existing DASD partitions, /boot and a LV for root)... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901817 Title: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception' To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1901817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901817] Re: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception'
Just checked if this is fixed with the just released subiquity 21.01.1 (since I was unsure), but it's not - so leaving the bug open and sharing some details: Verifying /dev/dasda part 1 size, expecting 21846 tracks, found 21846 tracks An error occured handling 'partition-dasda1': UnboundLocalError - local variable 'part_path' referenced before assignment finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring partition: partition-dasda1 TIMED BLOCK_META: 2.257 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta Traceback (most recent call last): File "/snap/subiquity/2252/lib/python3.6/site-packages/curtin/commands/main.py", line 202, in main ret = args.func(args) File "/snap/subiquity/2252/lib/python3.6/site-packages/curtin/log.py", line 97, in wrapper return log_time("TIMED %s: " % msg, func, *args, **kwargs) File "/snap/subiquity/2252/lib/python3.6/site-packages/curtin/log.py", line 79, in log_time return func(*args, **kwargs) File "/snap/subiquity/2252/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 111, in block_meta return meta_custom(args) File "/snap/subiquity/2252/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 1937, in meta_custom handler(command, storage_config_dict) File "/snap/subiquity/2252/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 894, in partition_handler LOG.debug('Partition %s already present, skipping create', part_path) UnboundLocalError: local variable 'part_path' referenced before assignment local variable 'part_path' referenced before assignment curtin: Installation failed with exception: Unexpected error while running command. Command: ['curtin', 'block-meta', 'simple'] Exit code: 3 ** Attachment added: "hwe0006-21012021.tgz" https://bugs.launchpad.net/ubuntu-z-systems/+bug/1901817/+attachment/5455147/+files/hwe0006-21012021.tgz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901817 Title: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception' To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1901817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901817] Re: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception'
** Changed in: ubuntu-z-systems Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901817 Title: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception' To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1901817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901817] Re: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception'
** Changed in: subiquity (Ubuntu) Status: New => Invalid ** Changed in: curtin Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901817 Title: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception' To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1901817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901817] Re: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception'
While I was doing a custom installation I ran into this error and the subiquity session terminated: get_blockdev_sector_size: (log=4096, phys=4096) dasda logical_block_size_bytes: 4096 Verifying /dev/dasda1 exists Running command ['sfdisk', '--json', '/dev/dasda'] with allowed return codes [0] (capture=True) Unexpected error while running command. Command: ['sfdisk', '--json', '/dev/dasda'] Exit code: 1 Reason: - Stdout: '' Stderr: sfdisk: /dev/dasda: does not contain a recognized partition table Traceback (most recent call last): File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/block/__init__.py", line 297, in sfdisk_info (out, _err) = util.subp(['sfdisk', '--json', parent], capture=True) File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/util.py", line 275, in subp return _subp(*args, **kwargs) File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/util.py", line 141, in _subp cmd=args) curtin.util.ProcessExecutionError: Unexpected error while running command. Command: ['sfdisk', '--json', '/dev/dasda'] Exit code: 1 Reason: - Stdout: '' Stderr: sfdisk: /dev/dasda: does not contain a recognized partition table An error occured handling 'partition-dasda1': RuntimeError - Failed to extract sfdisk info from /dev/dasda1 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring partition: partition-dasda1 TIMED BLOCK_META: 2.768 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta Traceback (most recent call last): File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/commands/main.py", line 202, in main ret = args.func(args) File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/log.py", line 97, in wrapper return log_time("TIMED %s: " % msg, func, *args, **kwargs) File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/log.py", line 79, in log_time return func(*args, **kwargs) File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 111, in block_meta return meta_custom(args) File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 1916, in meta_custom handler(command, storage_config_dict) File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 880, in partition_handler partition_verify(part_path, info) File "/snap/subiquity/2100/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 779, in partition_verify raise RuntimeError('Failed to extract sfdisk info from %s' % devpath) RuntimeError: Failed to extract sfdisk info from /dev/dasda1 Failed to extract sfdisk info from /dev/dasda1 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-dasda1({'device': 'disk-dasda', 'size': 7385235456, 'wipe': 'superblock', 'flag': 'swap', 'number': 1, 'preserve': True, 'grub_device': False, 'type': 'partition', 'id': 'partition-dasda1'}) get_path_to_storage_volume for volume disk-dasda({'ptable': 'vtoc', 'serial': '0X1605', 'path': '/dev/dasda', 'preserve': True, 'name': '', 'grub_device': False, 'device_id': '0.0.1605', 'type': 'disk', 'id': 'disk-dasda'}) Since this again points to sfdisk, I belief that it's related to this ticket. I'm attaching entire /var/crash and /var/log and mark this as affecting curtin, too. ** Changed in: ubuntu-z-systems Importance: Undecided => High ** Changed in: ubuntu-z-systems Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team) ** Attachment added: "29102020.tgz" https://bugs.launchpad.net/ubuntu-z-systems/+bug/1901817/+attachment/5428895/+files/29102020.tgz ** Also affects: curtin Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901817 Title: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception' To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1901817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901817] Re: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception'
** Tags added: fr-864 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901817 Title: subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1901817/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs