Oracle VM: When To Suspect Syntax Error in "/etc/multipath conf" File In OVM 3.3.1 (Doc ID 1963984.1)

Last updated on MAY 07, 2017

Applies to:

Oracle VM - Version 3.3.1 and later
Linux x86-64

Symptoms

When refreshing storage or rescanning the physical disks, the Oracle VM Manager reports errors similar to:

OVMAPI_4010E Attempt to send command: discover_hardware to server: ovm1.com failed. OVMAPI_4004E Sync command failed on server: xxx.xxx.xxx.xxx. Command: discover_hardware, Server error: org.apache.xmlrpc.XmlRpcException: <type 'exceptions.Exception'>:ERROR 0 @ 656 parse_multipath_conf_lines_list() multipathCnfLines contains unexpected section 'device' [count(22)] ERROR 1 @ 614 parse_multipath_conf_lines_list() multipathCnfLines contains unexpected format 2 [count(24)] ERROR 2 @ 614 parse_multipath_conf_lines_list() multipathCnfLines contains unexpected format 2 [count(26)] ERROR 3 @ 614 parse_multipath_conf_lines_list() multipathCnfLines contains unexpected format 2 [count(28)] ERROR 4 @ 614 parse_multipath_conf_lines_list() multipathCnfLines contains unexpected format 2 [count(30)] ERROR 5 @ 614 parse_multipath_conf_lines_list() multipathCnfLines contains unexpected format 2 [count(32)] ERROR 6 @ 614 parse_multipath_conf_lines_list() multipathCnfLines contains unexpected format 2 [count(34)] ERROR 7 @ 614 parse_multipath_conf_lines_list() multipathCnfLines contains unexpected format 2 [count(36)] ERROR 8 @ 603 parse_multipath_conf_lines_list() multipathCnfLines contains unexpected format 1 [count(37)] ERROR 9 @ 656 

Alternatively, the following messages may be produced:

OVMAPI_4010E Attempt to send command: discover_hardware to server: ovm1.com failed. OVMAPI_4004E Sync command failed on server: xxx.xxx.xxx.xxx. Command: discover_hardware, Server error: org.apache.xmlrpc.XmlRpcException: <type 'exceptions.Exception'>:ERROR 0 @ 603 parse_multipath_conf_lines_list() multipathCnfLines contains unexpected format 1 [count(279)] ERROR 1 @ 135 add_all_block_data() Doom: Traceback (most recent call last): File "//usr/lib64/python2.6/site-packages/agent/storage/st_discover/directives.py", line 132, in add_all_block_data st_tech.get_multipath_conf( vi_errorAndLog_obj ) File "//usr/lib64/python2.6/site-packages/agent/storage/st_tech/multipath.py", line 795, in get_multipath_conf if devSpec in etc_devSpec_LIST: TypeError: argument of type 'NoneType' is not iterable ERROR 2 @ 152 add_all_block_data() Doom: Traceback (most recent call last): File "//usr/lib64/python2.6/site-packages/agent/storage/st_discover/directives.py", line 149, in add_all_block_data blkdev_LIST = filter_blk_dev_list( vi_errorAndLog_obj, blkdev_LIST, mpConf_blacklistInfo, mpConf_blacklistExceptionsInfo ) UnboundLocalError: local variable 'mpConf_blacklistInfo' referenced before assignment ERROR 3 @ 157 add_all_block_data() Doom: Traceback (most recent call last): File "//usr/lib64/python2.6/site-packages/agent/storage/st_discover/directives.py", line 154, in add_all_block_data populate_blk_dev_info_dict( vi_errorAndLog_obj, diskInfo_DICT, blkdev_LIST, mpConf_default_callout, mpConf_blacklistInfo, mpConf_blacklistExceptionsInfo, mpConf_devSpec_LIST ) UnboundLocalError: local variable 'mpConf_default_callout' referenced before assignment Runtime errors occured [4] [Thu Jan 22 21:14:40 EST 2015] [Thu Jan 22 21:14:41 EST 2015]

In general, errors which suggest duplicate storage devices, or storage with no paths, suggest a configuration error with the multipath configuration.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms