Bug 1809 - multipath service can not be started
Summary: multipath service can not be started
Status: RESOLVED INVALID
Alias: None
Product: Anolis OS 7
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 7.9
Hardware: aarch64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: layne-yang
QA Contact: Jacob
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-03 11:01 UTC by ofengofeng
Modified: 2022-08-12 10:03 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ofengofeng 2022-08-03 11:01:32 UTC
Description of problem:
multipath service can not be started



Version-Release number of selected component (if applicable):
device-mapper-multipath-libs-0.4.9-135.an7.aarch64
device-mapper-multipath-sysvinit-0.4.9-135.an7.aarch64
device-mapper-multipath-0.4.9-135.an7.aarch64
device-mapper-multipath-devel-0.4.9-135.an7.aarch64

How reproducible:

systemctl start multipathd.service

Actual results:
[root@node1 ~]# systemctl start multipathd.service 
Job for multipathd.service failed because the control process exited with error code. See "systemctl status multipathd.servi
ce" and "journalctl -xe" for details.

systemctl status multipathd.service 
● multipathd.service - Device-Mapper Multipath Device Controller
   Loaded: loaded (/usr/lib/systemd/system/multipathd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2022-08-02 13:32:30 UTC; 13h ago
  Process: 5965 ExecStartPre=/sbin/modprobe dm-multipath (code=exited, status=1/FAILURE)

Aug 02 13:32:30 node1 systemd[1]: Starting Device-Mapper Multipath Device Controller...
Aug 02 13:32:30 node1 systemd[1]: multipathd.service: control process exited, code=exited status=1
Aug 02 13:32:30 node1 systemd[1]: Failed to start Device-Mapper Multipath Device Controller.
Aug 02 13:32:30 node1 systemd[1]: Unit multipathd.service entered failed state.
Aug 02 13:32:30 node1 systemd[1]: multipathd.service failed.


Expected results:


Additional info:
[root@node1 ~]# cat /etc/redhat-release 
Anolis OS release 7.9
[root@node1 ~]# uname -a
Linux node1 4.19.249 #57 SMP PREEMPT Tue Aug 2 19:29:44 CST 2022 aarch64 aarch64 aarch64 GNU/Linux
[root@node1 ~]#
Comment 1 xzyang uniontech_group 2022-08-05 16:20:04 UTC
在aarch64上下载镜像 https://mirrors.openanolis.cn/anolis/7.9/isos/GA/aarch64/AnolisOS-7.9-GA-aarch64-dvd.iso后安装虚拟机,未复现。
操作步骤:
1、下载上述链接处镜像,安装虚拟机。
2、mpathconf  --enable(生成配置文件)
3、systemctl start multipathd.service 
4、systemctl status multipathd.service

如下
[root@localhost ~]# mpathconf  --enable
[root@localhost ~]# systemctl start multipathd.service 
Display all 199 possibilities? (y or n)
[root@localhost ~]# systemctl start multipathd.service 
[root@localhost ~]# systemctl status multipathd.service 
● multipathd.service - Device-Mapper Multipath Device Controller
   Loaded: loaded (/usr/lib/systemd/system/multipathd.service; enabled; vendor preset: enabled)
   Active: active (running) since 五 2022-08-05 16:00:38 CST; 7s ago
  Process: 3449 ExecStart=/sbin/multipathd (code=exited, status=0/SUCCESS)
  Process: 3446 ExecStartPre=/sbin/multipath -A (code=exited, status=0/SUCCESS)
  Process: 3439 ExecStartPre=/sbin/modprobe dm-multipath (code=exited, status=0/SUCCESS)
 Main PID: 3452 (multipathd)
   CGroup: /system.slice/multipathd.service
           └─3452 /sbin/multipathd

8月 05 16:00:38 localhost.localdomain systemd[1]: Starting Device-Mapper Multipath Device Controller...
8月 05 16:00:38 localhost.localdomain systemd[1]: Started Device-Mapper Multipath Device Controller.
8月 05 16:00:38 localhost.localdomain multipathd[3452]: path checkers start up


[root@localhost ~]# lscpu 
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
座:                 1
NUMA 节点:         1
型号:              2
BogoMIPS:            100.00
NUMA 节点0 CPU:    0-3
Flags:                 fp asimd evtstrm crc32 cpuid
[root@localhost ~]# uname -a
Linux localhost.localdomain 4.19.91-25.2.an7.aarch64 #1 SMP Wed Jan 5 16:35:31 CST 2022 aarch64 aarch64 aarch64 GNU/Linux
[root@localhost ~]# cat /etc/anolis-release 
Anolis OS release 7.9
[root@localhost ~]# cat /etc/redhat-release 
Anolis OS release 7.9
[root@localhost ~]# 

对比后发现,bug中uname -a输出的内核版本与anolis7.9默认版本有差异,请确认该环境是否是用户修改后的环境。
Comment 2 xzyang uniontech_group 2022-08-05 16:23:21 UTC
(In reply to ofengofeng from comment #0)
> Description of problem:
> multipath service can not be started
> 
> 
> 
> Version-Release number of selected component (if applicable):
> device-mapper-multipath-libs-0.4.9-135.an7.aarch64
> device-mapper-multipath-sysvinit-0.4.9-135.an7.aarch64
> device-mapper-multipath-0.4.9-135.an7.aarch64
> device-mapper-multipath-devel-0.4.9-135.an7.aarch64
> 
> How reproducible:
> 
> systemctl start multipathd.service
> 
> Actual results:
> [root@node1 ~]# systemctl start multipathd.service 
> Job for multipathd.service failed because the control process exited with
> error code. See "systemctl status multipathd.servi
> ce" and "journalctl -xe" for details.
> 
> systemctl status multipathd.service 
> ● multipathd.service - Device-Mapper Multipath Device Controller
>    Loaded: loaded (/usr/lib/systemd/system/multipathd.service; enabled;
> vendor preset: enabled)
>    Active: failed (Result: exit-code) since Tue 2022-08-02 13:32:30 UTC; 13h
> ago
>   Process: 5965 ExecStartPre=/sbin/modprobe dm-multipath (code=exited,
> status=1/FAILURE)
> 
> Aug 02 13:32:30 node1 systemd[1]: Starting Device-Mapper Multipath Device
> Controller...
> Aug 02 13:32:30 node1 systemd[1]: multipathd.service: control process
> exited, code=exited status=1
> Aug 02 13:32:30 node1 systemd[1]: Failed to start Device-Mapper Multipath
> Device Controller.
> Aug 02 13:32:30 node1 systemd[1]: Unit multipathd.service entered failed
> state.
> Aug 02 13:32:30 node1 systemd[1]: multipathd.service failed.
> 
> 
> Expected results:
> 
> 
> Additional info:
> [root@node1 ~]# cat /etc/redhat-release 
> Anolis OS release 7.9
> [root@node1 ~]# uname -a
> Linux node1 4.19.249 #57 SMP PREEMPT Tue Aug 2 19:29:44 CST 2022 aarch64
> aarch64 aarch64 GNU/Linux
> [root@node1 ~]#

该问题未复现,请确认一下产生bug中所述问题的环境,详情可见上一条评论。
Comment 3 杨晓旋 uniontech_group 2022-08-12 10:03:28 UTC
系统环境有变动kernel版本不是Anolis OS GA版本对应版本,正常测试未复现该问题。