[Bug 2065277] [NEW] [VROC] Automatic OS installation crashes

2024-05-09 Thread Kinga Tanska
Public bug reported:

Found with Ubuntu 24.04. Subiquity was updated before test.

Steps for reproduce:
1. Create RAID volume in PreOS:
e.g.  VMD:  #rcfgvroc /C:r5d3 /L:5 /DS:0x0 0x1 0x2 /SS:128
2. Prepare install configuration file and set installation on GPT partition.
3. Start OS installation using configuration file.
4. Wait for installation to finish.

Installation error occured:

2024-04-19 14:27:55,092 WARNING subiquity.server.controllers.mirror:173 Mirror 
checking failed
2024-04-19 14:28:09,719 WARNING subiquity.server.controllers.mirror:173 Mirror 
checking failed
2024-04-19 14:28:09,720 WARNING subiquity.server.controllers.mirror:242 
reverting to an offline install since no primary mirror is usable
2024-04-19 14:28:09,732 INFO root:38 finish: subiquity/Meta/status_GET: 
SUCCESS: 200 {"state": "NEEDS_CONFIRMATION", "confirming_tty": "", "error": 
null, "nonrepo...
2024-04-19 14:28:09,733 INFO root:38 finish: subiquity/Meta/status_GET: 
SUCCESS: 200 {"state": "NEEDS_CONFIRMATION", "confirming_tty": "", "error": 
null, "nonrepo...
2024-04-19 14:28:09,733 INFO root:38 finish: subiquity/Meta/status_GET: 
SUCCESS: 200 {"state": "NEEDS_CONFIRMATION", "confirming_tty": "", "error": 
null, "nonrepo...
2024-04-19 14:28:09,734 INFO root:38 finish: subiquity/Meta/status_GET: 
SUCCESS: 200 {"state": "NEEDS_CONFIRMATION", "confirming_tty": "", "error": 
null, "nonrepo...
2024-04-19 14:28:09,737 INFO root:38 finish: 
subiquity/apply_autoinstall_config: SUCCESS:
2024-04-19 14:28:09,738 INFO root:38 start: 
subiquity/Install/install/configure_apt: configuring apt
2024-04-19 14:28:09,740 INFO root:38 start: subiquity/Meta/status_GET:
2024-04-19 14:28:09,741 INFO root:38 finish: subiquity/Meta/status_GET: 
SUCCESS: 200 {"state": "RUNNING", "confirming_tty": "", "error": null, 
"nonreportable_erro...
2024-04-19 14:28:09,742 INFO root:38 start: subiquity/Meta/status_GET:
2024-04-19 14:28:09,742 INFO root:38 finish: subiquity/Meta/status_GET: 
SUCCESS: 200 {"state": "RUNNING", "confirming_tty": "", "error": null, 
"nonreportable_erro...
2024-04-19 14:28:09,743 INFO root:38 start: subiquity/Meta/status_GET:
2024-04-19 14:28:09,744 INFO root:38 finish: subiquity/Meta/status_GET: 
SUCCESS: 200 {"state": "RUNNING", "confirming_tty": "", "error": null, 
"nonreportable_erro...
2024-04-19 14:28:09,744 INFO root:38 start: subiquity/Meta/status_GET:
2024-04-19 14:28:09,745 INFO root:38 finish: subiquity/Meta/status_GET: 
SUCCESS: 200 {"state": "RUNNING", "confirming_tty": "", "error": null, 
"nonreportable_erro...
2024-04-19 14:28:09,746 INFO root:38 start: subiquity/Meta/status_GET:
2024-04-19 14:28:09,746 INFO root:38 start: subiquity/Meta/status_GET:
2024-04-19 14:28:09,747 INFO root:38 start: subiquity/Meta/status_GET:
2024-04-19 14:28:09,748 INFO root:38 start: subiquity/Meta/status_GET:
2024-04-19 14:28:19,747 ERROR root:38 finish: subiquity/Mirror/waiting: FAIL:
2024-04-19 14:28:23,763 INFO root:38 finish: 
subiquity/Install/install/configure_apt: SUCCESS: configuring apt
2024-04-19 14:28:23,765 INFO root:38 start: 
subiquity/Install/install/curtin_install: installing system
2024-04-19 14:28:24,627 ERROR root:38 finish: 
subiquity/Install/install/curtin_install: FAIL: 'NoneType' object has no 
attribute 'size'
2024-04-19 14:28:24,635 INFO subiquity.common.errorreport:424 saving crash 
report 'install failed crashed with AttributeError' to 
/var/crash/1713536904.627682924.install_fail.crash
2024-04-19 14:28:24,635 ERROR root:38 finish: subiquity/Install/install: FAIL: 
'NoneType' object has no attribute 'size'
2024-04-19 14:28:24,636 INFO root:38 start: 
subiquity/ErrorReporter/1713536904.627682924.install_fail/add_info:
2024-04-19 14:28:24,636 ERROR subiquity.server.server:494 top level error
Traceback (most recent call last):
  File 
"/snap/subiquity/5741/lib/python3.10/site-packages/subiquity/server/controllers/shutdown.py",
 line 73, in _wait_install
await self.app.controllers.Install.install_task
AttributeError: 'NoneType' object has no attribute 'size'
2024-04-19 14:28:24,637 ERROR subiquity.server.server:494 top level error
Traceback (most recent call last):
  File 
"/snap/subiquity/5741/lib/python3.10/site-packages/subiquity/server/controllers/shutdown.py",
 line 73, in _wait_install
await self.app.controllers.Install.install_task
AttributeError: 'NoneType' object has no attribute 'size'
2024-04-19 14:28:32,924 INFO root:38 finish: 
subiquity/ErrorReporter/1713536904.627682924.install_fail/add_info: SUCCESS: 
written to /var/crash/1713536904.627682924.install_fail.crash
2024-04-19 14:28:32,926 INFO root:38 finish: subiquity/Meta/status_GET: 
SUCCESS: 200 {"state": "ERROR", "confirming_tty": "", "error": {"state": 
"DONE", "base": "...
2024-04-19 14:28:32,927 INFO root:38 finish: subiquity/Meta/status_GET: 
SUCCESS: 200 {"state": "ERROR", "confirming_tty": "", "error": {"state": 
"DONE", "base": "...
2024-04-19 14:28:32,928 INFO root:38 finish: subiquity/Meta/status_GET: 
SUCCESS: 200 {"state": "ERROR", 

[Bug 1960324] Re: [VROC] Kernel does not contain fixes for iostat for md devices

2022-06-06 Thread Kinga Tanska
Hi @kamalmostafa,

Just to make sure, because task has "in progress" state. Was this fix
included into 5.13 kernel used in Ubuntu 22.04? Or will be included in
next releases?

Regards,
Kinga Tanska

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

Title:
  [VROC] Kernel does not contain fixes for iostat for md devices

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


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

[Bug 1960324] Re: [VROC] Kernel does not contain fixes for iostat for md devices

2022-02-25 Thread Kinga Tanska
Hi,

sorry for the delay. I checked test kernel and it works as expected. I
think you can submit it.

Thanks,
Kinga Tanska

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

Title:
  [VROC] Kernel does not contain fixes for iostat for md devices

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


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

[Bug 1960921] Re: [VROC] Ledmon couldn't be run with latest libsgutils2-2 package - ubuntu 22.04

2022-02-16 Thread Kinga Tanska
I installed and verified ledmon-0.95-1build1 package.
Fix is OK - ledmon is installed and run without errors.

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

Title:
  [VROC] Ledmon couldn't be run with latest libsgutils2-2 package -
  ubuntu 22.04

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


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

[Bug 1960926] Re: [VROC] Installation on RAID volume fails - ubuntu 22.04

2022-02-15 Thread Kinga Tanska
** Summary changed:

- Installation on RAID volume fails - ubuntu 22.04
+ [VROC] Installation on RAID volume fails - ubuntu 22.04

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

Title:
  [VROC] Installation on RAID volume fails - ubuntu 22.04

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


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

[Bug 1960324] Re: Kernel does not contain fixes for iostat for md devices

2022-02-15 Thread Kinga Tanska
** Tags added: vroc

** Summary changed:

- Kernel does not contain fixes for iostat for md devices
+ [VROC] Kernel does not contain fixes for iostat for md devices

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

Title:
  [VROC] Kernel does not contain fixes for iostat for md devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.13/+bug/1960324/+subscriptions


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

[Bug 1960921] Re: [VROC] Ledmon couldn't be run with latest libsgutils2-2 package - ubuntu 22.04

2022-02-15 Thread Kinga Tanska
** Summary changed:

- Ledmon couldn't be run with latest libsgutils2-2 package - ubuntu 22.04
+ [VROC] Ledmon couldn't be run with latest libsgutils2-2 package - ubuntu 22.04

** Tags removed: jammy
** Tags added: vroc

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

Title:
  [VROC] Ledmon couldn't be run with latest libsgutils2-2 package -
  ubuntu 22.04

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


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

[Bug 1960926] [NEW] Installation on RAID volume fails - ubuntu 22.04

2022-02-15 Thread Kinga Tanska
Public bug reported:

Installation on RAID volume created in uefi fails with error
"ValueError: devices or container for raid must be specified". Syslog
contains error log with curtin:

Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: start: 
cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring raid: 
raid-md127
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: An error occured 
handling 'raid-md127': ValueError - devices or container for raid must be 
specified
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: 
cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring raid: 
raid-md127
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: TIMED BLOCK_META: 0.647
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: 
cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command 
block-meta
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Traceback (most recent 
call last):
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]:   File 
"/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/main.py", 
line 202, in main
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: ret = 
args.func(args)
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]:   File 
"/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 97, in 
wrapper
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return 
log_time("TIMED %s: " % msg, func, *args, **kwargs)
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]:   File 
"/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 79, in 
log_time
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return func(*args, 
**kwargs)
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]:   File 
"/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py",
 line 117, in block_meta
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return 
meta_custom(args)
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]:   File 
"/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py",
 line 2024, in meta_custom
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: handler(command, 
storage_config_dict)
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]:   File 
"/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py",
 line 1586, in raid_handler
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: raise 
ValueError("devices or container for raid must be specified")
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: ValueError: devices or 
container for raid must be specified
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: devices or container 
for raid must be specified
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: builtin command failed
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: 
cmd-install/stage-partitioning/builtin: FAIL: running 'curtin block-meta simple'
Jan 20 08:58:16 ubuntu-server curtin_event.4517.3[4968]: finish: 
cmd-install/stage-partitioning/builtin: FAIL: running 'curtin block-meta simple'
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: builtin took 1.288 
seconds
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: stage_partitioning took 
1.289 seconds
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: 
cmd-install/stage-partitioning: FAIL: configuring storage
Jan 20 08:58:16 ubuntu-server curtin_event.4517.3[4968]: finish: 
cmd-install/stage-partitioning: FAIL: configuring storage
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: curtin: Installation 
failed with exception: Unexpected error while running command.
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Command: ['curtin', 
'block-meta', 'simple']
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Exit code: 3

** Affects: curtin (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: vroc

** Description changed:

  Installation on RAID volume created in uefi fails with error
  "ValueError: devices or container for raid must be specified". Syslog
  contains error log with curtin:
  
+ Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: start: 
cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring raid: 
raid-md127
+ Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: An error occured 
handling 'raid-md127': ValueError - devices or container for raid must be 
specified
+ Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: 
cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring raid: 
raid-md127
+ Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: TIMED BLOCK_META: 
0.647
  Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: 
cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command 
block-meta
  Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Traceback (most 
recent call last):
  Jan 20 

[Bug 1960921] [NEW] Ledmon couldn't be run with latest libsgutils2-2 package - ubuntu 22.04

2022-02-15 Thread Kinga Tanska
Public bug reported:

In Ubuntu 22.04 new version of package libsgutils2-2 is used (1.46). Earlier, 
for Ubuntu 20.04, libsgutils2-2 with 1.44 version was used.
This package is dependency of ledmon. Installation of ledmon and libsgutils2-2 
packages completes successfully, but ledmon couldn't be started with error 
message:
ubuntu@ubuntu:~$ sudo ledmon --all
ledmon: error while loading shared libraries: libsgutils2-1.45.so.2: cannot 
open shared object file: No such file or directory

Probably ledmon should be recompiled with newer package version.

** Affects: ledmon (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: jammy

** Description changed:

  In Ubuntu 22.04 new version of package libsgutils2-2 is used (1.46). Earlier, 
for Ubuntu 20.04, libsgutils2-2 with 1.44 version was used.
- This package is included by ledmon. Installation of ledmon and libsgutils2-2 
packages completes successfully, but ledmon couldn't be started with error 
message:
+ This package is dependency of ledmon. Installation of ledmon and 
libsgutils2-2 packages completes successfully, but ledmon couldn't be started 
with error message:
  ubuntu@ubuntu:~$ sudo ledmon --all
  ledmon: error while loading shared libraries: libsgutils2-1.45.so.2: cannot 
open shared object file: No such file or directory
  
  libsgutils2-2 version, as a ledmon dependency, should be updated.

** Description changed:

  In Ubuntu 22.04 new version of package libsgutils2-2 is used (1.46). Earlier, 
for Ubuntu 20.04, libsgutils2-2 with 1.44 version was used.
  This package is dependency of ledmon. Installation of ledmon and 
libsgutils2-2 packages completes successfully, but ledmon couldn't be started 
with error message:
  ubuntu@ubuntu:~$ sudo ledmon --all
  ledmon: error while loading shared libraries: libsgutils2-1.45.so.2: cannot 
open shared object file: No such file or directory
  
- libsgutils2-2 version, as a ledmon dependency, should be updated.
+ Probably ledmon should be recompiled with newer package version.

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

Title:
  Ledmon couldn't be run with latest libsgutils2-2 package - ubuntu
  22.04

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


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

[Bug 1960324] [NEW] Kernel does not contain fixes for iostat for md devices

2022-02-08 Thread Kinga Tanska
Public bug reported:

Hello,

I noticed that kernel which was used in ubuntu 22.04 (hwe-5.13) does not
contain fixes for IO statistics for md devices. IO statistics for md
devices were added to kernel 5.10
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=41d2d848e5c09209bdb57ff9c0ca34075e22783d)
but then bug for double fault was reported and this patch was reverted
by Guoqing Jiang
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad3fc798800fb7ca04c1dfc439dba946818048d8).

Guoqing Jiang added series of patches which fixes problem and adds IO stats for 
md devices on top on the revert patch:
- first commit from series: 10764815ff4728d2c57da677cd5d3dd6f446cf5f 
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=10764815ff4728d2c57da677cd5d3dd6f446cf5f)
- last one: de3ea66e9d23a34eef5e17f960d6473f78a1c54b 
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=de3ea66e9d23a34eef5e17f960d6473f78a1c54b)

I checked that kernel used in ubuntu 22.04 contains only patch with revert - 
iostat does not report for md devices 
(https://kernel.ubuntu.com/git/ubuntu/ubuntu-focal.git/log/?h=hwe-5.13=author=Guoqing+Jiang)
Please consider adding series of patches described above.

Regards,
Kinga Tanska

** Affects: linux-hwe-5.13 (Ubuntu)
 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/1960324

Title:
  Kernel does not contain fixes for iostat for md devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.13/+bug/1960324/+subscriptions


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