View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007954 | Rocky-Linux-9 | libvirt | public | 2024-10-08 13:41 | 2024-10-28 08:39 |
Reporter | victor belasco | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Rocky Linux | OS | Rocky Linux release 9.4 (Blue On | OS Version | 9.4 |
Summary | 0007954: VM with mpath device can not be booted after the host server is restarted. | ||||
Description | I reinstalled the OS again and the message appears again. The installation process was, - installing first the Multipath service - Configuring all network connection to a Dell ME4. - installing Libvirt service as RH9 page suggest. Create or import the VM. Activate the flag/button to be restarted each time the systems restarts - Everything is accessible, but when I restart the server, the VM keeps off, after that I can boot the VM with no problmes After a reboot, the virtual machines that are set to be always UP after a reboot, can not be booted because the mpath device i not accessible when the libvirt service starts, The cockpit logs show this warning messages: 1:31 PM internal error: Failed to autostart VM 'ipa-r2': Cannot access storage file '/dev/mapper/mpathe': No such file or directory virtqemud 1:31 PM Cannot access storage file '/dev/mapper/mpathe': No such file or directory virtqemud | ||||
Steps To Reproduce | - Install Rocky 9.4 with GUI - install and configure Multipath for SAN connections - Install and configure Libvirt and cockpit-machines. - Install or import a Virtual MAchine. - Set one machine as "boot at launch" | ||||
Additional Information | Other Logs relñated with mptahd and libvirt: 1:31 PM mpathe: reload [0 58589184 multipath 0 1 alua 2 1 service-time 0 1 1 8:176 1 service-time 0 1 1 8:192 1] multipathd 1:31 PM mpathe: performing delayed actions multipathd 1:31 PM mpathd: reload [0 97648640 multipath 0 1 alua 2 1 service-time 0 1 1 8:160 1 service-time 0 1 1 8:144 1] multipathd 1:31 PM mpathd: performing delayed actions multipathd 1:31 PM mpathc: reload [0 97648640 multipath 0 1 alua 2 1 service-time 0 1 1 8:128 1 service-time 0 1 1 8:112 1] multipathd 1:31 PM mpathc: performing delayed actions multipathd 1:31 PM mpathb: reload [0 195305472 multipath 0 1 alua 2 1 service-time 0 1 1 8:96 1 service-time 0 1 1 8:80 1] multipathd 1:31 PM mpathb: performing delayed actions multipathd 1:31 PM mpatha: reload [0 390807552 multipath 0 1 alua 2 1 service-time 0 1 1 8:64 1 service-time 0 1 1 8:48 1] multipathd 1:31 PM mpatha: performing delayed actions multipathd 1:31 PM sdl [8:176]: path added to devmap mpathe multipathd 1:31 PM mpathe: addmap [0 58589184 multipath 0 1 alua 1 1 service-time 0 1 1 8:176 1] multipathd 1:31 PM sdk [8:160]: path added to devmap mpathd multipathd 1:31 PM mpathd: addmap [0 97648640 multipath 0 1 alua 1 1 service-time 0 1 1 8:160 1] multipathd 1:31 PM sdi [8:128]: path added to devmap mpathc multipathd 1:31 PM mpathc: addmap [0 97648640 multipath 0 1 alua 1 1 service-time 0 1 1 8:128 1] multipathd 1:31 PM sdf [8:80]: path added to devmap mpathb multipathd 1:31 PM mpathb: addmap [0 195305472 multipath 0 1 alua 1 1 service-time 0 1 1 8:80 1] ultipathd 1:31 PM sde [8:64]: path added to devmap mpatha multipathd 1:31 PM mpatha: addmap [0 390807552 multipath 0 1 alua 1 1 service-time 0 1 1 8:64 1] multipathd 1:31 PM internal error: Failed to autostart VM 'ipa-r2': Cannot access storage file '/dev/mapper/mpathe': No such file or directory virtqemud 1:31 PM Cannot access storage file '/dev/mapper/mpathe': No such file or directory virtqemud | ||||
Tags | No tags attached. | ||||
I've solved the problem adding these lines in the virtqemud service: sudo systemctl edit --full virtqemud After=multipathd.service Requires=multipathd.service If the problem persists: add also this line to the service: ExecStartPre=/bin/sh -c 'while [ ! -e /dev/mapper/mpathe ]; do sleep 1; done' Remember to reload systemctl: sudo systemctl daemon-reload sudo systemctl restart virtqemud sudo systemctl restart multipathd You can close it. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-10-08 13:41 | victor belasco | New Issue | |
2024-10-28 08:39 | victor belasco | Note Added: 0008680 |