[Bug 1784768] [NEW] Setup fails with OSError: [Errno 22] Invalid argument (full /var/log available)
VF
1784768 at bugs.launchpad.net
Wed Aug 1 03:53:45 UTC 2018
Public bug reported:
Tried to install Ubuntu 18.04.1 amd64 from USB stick.
Chose manual partitioning of 4 physical disks.
After partitioning I started to enter my name and the hostname. During
that setup suddenly failed with an exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/curtin/commands/main.py", line 201, in main
ret = args.func(args)
File "/usr/lib/python3/dist-packages/curtin/commands/block_meta.py", line 58, in block_meta
meta_custom(args)
File "/usr/lib/python3/dist-packages/curtin/commands/block_meta.py", line 1471, in meta_custom
clear_holders.clear_holders(disk_paths)
File "/usr/lib/python3/dist-packages/curtin/block/clear_holders.py", line 587, in clear_holders
shutdown_function(dev_info['device'])
File "/usr/lib/python3/dist-packages/curtin/block/clear_holders.py", line 310, in wipe_superblock
if is_swap_device(blockdev):
File "/usr/lib/python3/dist-packages/curtin/swap.py", line 108, in is_swap_device
decode=False)
File "/usr/lib/python3/dist-packages/curtin/util.py", line 549, in load_file
fp.seek(offset)
OSError: [Errno 22] Invalid argument
This happened three times in a row.
I tried to have a 2GB /boot partition, then creating vg0 on two physical
partitions with a logical partition for /root. Also tried to add a swap,
but it did not make a difference.
Machine is stable, has 32GB of memory.
** Affects: console-setup (Ubuntu)
Importance: Undecided
Status: New
** Tags: console disk exception install manual partition partitioning server setup
** Attachment added: "Contents of the entire /var/log folder"
https://bugs.launchpad.net/bugs/1784768/+attachment/5170189/+files/var-log.tar.gz
** Description changed:
Tried to install Ubuntu 18.04.1 amd64 from USB stick.
Chose manual partitioning of 4 physical disks.
After partitioning I started to enter my name and the hostname. During
that setup suddenly failed with an exception:
Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/curtin/commands/main.py", line 201, in main
- ret = args.func(args)
- File "/usr/lib/python3/dist-packages/curtin/commands/block_meta.py", line 58, in block_meta
- meta_custom(args)
- File "/usr/lib/python3/dist-packages/curtin/commands/block_meta.py", line 1471, in meta_custom
- clear_holders.clear_holders(disk_paths)
- File "/usr/lib/python3/dist-packages/curtin/block/clear_holders.py", line 587, in clear_holders
- shutdown_function(dev_info['device'])
- File "/usr/lib/python3/dist-packages/curtin/block/clear_holders.py", line 310, in wipe_superblock
- if is_swap_device(blockdev):
- File "/usr/lib/python3/dist-packages/curtin/swap.py", line 108, in is_swap_device
- decode=False)
- File "/usr/lib/python3/dist-packages/curtin/util.py", line 549, in load_file
- fp.seek(offset)
+ File "/usr/lib/python3/dist-packages/curtin/commands/main.py", line 201, in main
+ ret = args.func(args)
+ File "/usr/lib/python3/dist-packages/curtin/commands/block_meta.py", line 58, in block_meta
+ meta_custom(args)
+ File "/usr/lib/python3/dist-packages/curtin/commands/block_meta.py", line 1471, in meta_custom
+ clear_holders.clear_holders(disk_paths)
+ File "/usr/lib/python3/dist-packages/curtin/block/clear_holders.py", line 587, in clear_holders
+ shutdown_function(dev_info['device'])
+ File "/usr/lib/python3/dist-packages/curtin/block/clear_holders.py", line 310, in wipe_superblock
+ if is_swap_device(blockdev):
+ File "/usr/lib/python3/dist-packages/curtin/swap.py", line 108, in is_swap_device
+ decode=False)
+ File "/usr/lib/python3/dist-packages/curtin/util.py", line 549, in load_file
+ fp.seek(offset)
OSError: [Errno 22] Invalid argument
+
+ This happened three times in a row.
+
+ I tried to have a 2GB /boot partition, then creating vg0 on two physical
+ partitions with a logical partition for /root. Also tried to add a swap,
+ but it did not make a difference.
+
+ Machine is stable, has 32GB of memory.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to console-setup in Ubuntu.
https://bugs.launchpad.net/bugs/1784768
Title:
Setup fails with OSError: [Errno 22] Invalid argument (full /var/log
available)
Status in console-setup package in Ubuntu:
New
Bug description:
Tried to install Ubuntu 18.04.1 amd64 from USB stick.
Chose manual partitioning of 4 physical disks.
After partitioning I started to enter my name and the hostname. During
that setup suddenly failed with an exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/curtin/commands/main.py", line 201, in main
ret = args.func(args)
File "/usr/lib/python3/dist-packages/curtin/commands/block_meta.py", line 58, in block_meta
meta_custom(args)
File "/usr/lib/python3/dist-packages/curtin/commands/block_meta.py", line 1471, in meta_custom
clear_holders.clear_holders(disk_paths)
File "/usr/lib/python3/dist-packages/curtin/block/clear_holders.py", line 587, in clear_holders
shutdown_function(dev_info['device'])
File "/usr/lib/python3/dist-packages/curtin/block/clear_holders.py", line 310, in wipe_superblock
if is_swap_device(blockdev):
File "/usr/lib/python3/dist-packages/curtin/swap.py", line 108, in is_swap_device
decode=False)
File "/usr/lib/python3/dist-packages/curtin/util.py", line 549, in load_file
fp.seek(offset)
OSError: [Errno 22] Invalid argument
This happened three times in a row.
I tried to have a 2GB /boot partition, then creating vg0 on two
physical partitions with a logical partition for /root. Also tried to
add a swap, but it did not make a difference.
Machine is stable, has 32GB of memory.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/1784768/+subscriptions
More information about the foundations-bugs
mailing list