The command "ssm list" fails with error message "IndexError: list index out of range" on RHEL 7.0

Solution Unverified - Updated -

Issue

  • The command ssm list fails with error message IndexError: list index out of range
  • SSM "IndexError: list index out of range" on RHEL 7.0:
[root@hostname ~]# ssm list
---------------------------------------------------------
Device        Free     Used      Total  Pool  Mount point
---------------------------------------------------------
/dev/vda                       8.00 GB        PARTITIONED
/dev/vda1                    500.00 MB        /boot      
/dev/vda2  0.00 KB  7.51 GB    7.51 GB  rhel             
---------------------------------------------------------
----------------------------------------------
Pool  Type  Devices     Free     Used    Total  
----------------------------------------------
rhel  lvm   1        0.00 KB  7.51 GB  7.51 GB  
----------------------------------------------
Traceback (most recent call last):
  File "/bin/ssm", line 48, in <module>
    sys.exit(main.main())
  File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 1855, in main
    args.func(args)
  File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 1215, in list
    self.vol.ptable(more_data=self.dev.filesystems())
  File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 840, in vol
    self._volumes = Volumes(options=self.options)
  File "/usr/lib/python2.7/site-packages/ssmlib/main.py", line 736, in __init__
    self._data['crypt'] = crypt.DmCryptVolume(options=self.options)
  File "/usr/lib/python2.7/site-packages/ssmlib/backends/crypt.py", line 167, in __init__
    dm['type'] = array[3]
IndexError: list index out of range

Environment

  • Red Hat Enterprise Linux 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.