[Bug 2054465] Re: subiquity server using probert to execute `multipathd list maps` returning 'ok' and parse fails then installer fails

Caio Vinicius 2054465 at bugs.launchpad.net
Tue Feb 20 20:11:13 UTC 2024


subiquity-server-debug.log file

** Attachment added: "subiquity-server-debug.log.47037"
   https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2054465/+attachment/5747800/+files/subiquity-server-debug.log.47037

** Description changed:

- I'm trying to install Ubuntu 22.04 Server with a user-data file stored
- in a web server to automatic make the installation of the system.
- Happens that when the installation starts it hangs for a while in
- "probe" devices. It keep retrying and /var/log/installer is being filled
- with logs and in these logs there's a `Failed to parse multipath maps
- entry: ok: MMap.__new__() missing 2 required positional arguments:
- 'sysfs' and 'paths'` because before it run the command `multipathd show
- maps raw format %w,%d,%N` from here
- https://github.com/canonical/probert/blob/f34ae3c3f942a9c479fe928911053a302e146251/probert/multipath.py#L69C12-L69C57
- giving the failed message.
+ I'm attempting to install Ubuntu 22.04 Server using a user-data file
+ stored on a web server to automate the installation process. However,
+ during the installation, it hangs for a while at the "probe" devices
+ stage. It continuously retries, and the /var/log/installer file gets
+ filled with logs. Within these logs, there's an error message stating:
  
- ---
+ Failed to parse multipath maps entry: ok: MMap.__new__() missing 2
+ required positional arguments: 'sysfs' and 'paths'
  
- Description:	Ubuntu-Server 22.04.3 2024.02.17 (Cubic 2024-02-17 18:56)
- Release:	22.04
+ This error occurs because the installation process tries to execute the
+ command multipathd show maps raw format %w,%d,%N from the following
+ GitHub link:
+ https://github.com/canonical/probert/blob/f34ae3c3f942a9c479fe928911053a302e146251/probert/multipath.py#L69C12-L69C57.
  
- I was expected to happen the installation normally, without keep
- retrying
+ System Information:
+ 
+     Ubuntu-Server 22.04.3 2024.02.17 (Cubic 2024-02-17 18:56)
+ 
+ I expected the installation to proceed normally without continuous
+ retries.

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

Title:
  subiquity server using probert to execute `multipathd list maps`
  returning 'ok'  and parse fails then installer fails

Status in ubiquity package in Ubuntu:
  New

Bug description:
  I'm attempting to install Ubuntu 22.04 Server using a user-data file
  stored on a web server to automate the installation process. However,
  during the installation, it hangs for a while at the "probe" devices
  stage. It continuously retries, and the /var/log/installer file gets
  filled with logs. Within these logs, there's an error message stating:

  Failed to parse multipath maps entry: ok: MMap.__new__() missing 2
  required positional arguments: 'sysfs' and 'paths'

  This error occurs because the installation process tries to execute
  the command multipathd show maps raw format %w,%d,%N from the
  following GitHub link:
  https://github.com/canonical/probert/blob/f34ae3c3f942a9c479fe928911053a302e146251/probert/multipath.py#L69C12-L69C57.

  System Information:

      Ubuntu-Server 22.04.3 2024.02.17 (Cubic 2024-02-17 18:56)

  I expected the installation to proceed normally without continuous
  retries.

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




More information about the foundations-bugs mailing list