[RHEV] create storage domain fails with error code 351 (KeyError: 'getgrgid(): gid not found: 107')and luns disappear

Solution Verified - Updated -

Issue

  • Tried to create  a storage domain by selecting a 'cluster' and datacenter', giving it a name and selecting LUNs. It almost immediately failed with an error and then the LUNs disappear.

  • Below tracebacks appeared in vdsm logs:

22:35:45,438::task::868::TaskManager.Task::(_setError) Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 876, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/storage/hsm.py", line 1201, in public_createStorageDomain
    domClass=domClass, typeSpecificArg=typeSpecificArg, version=domVersion)
  File "/usr/share/vdsm/storage/sdf.py", line 60, in create
    version=version)
  File "/usr/share/vdsm/storage/blockSD.py", line 326, in create
    lvm.createLV(vgName, sd.METADATA, "%s" % (metasize))
  File "/usr/share/vdsm/storage/lvm.py", line 1013, in createLV
    gName = grp.getgrgid(st.st_gid).gr_name
KeyError: 'getgrgid(): gid not found: 107'

Environment

Red Hat Enterprise Virtualization 3.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.