[RHEV] Why is the local storage domain appearing as "Inactive" after updating RHEL host to latest vdsm packages?

Solution Verified - Updated -

Issue

  • After running yum update -y on a RHEL host in a RHEV environment, the local storage domain shows as "Inactive" in the Web Admin Portal
  • Even though the local storage domain appears as "Inactive," both hosts and VMs continue to operate in an "Up" status
  • The local storage domain cannot be activated when clicking the Activate button in the RHEVM GUI
  • The following traceback errors appear in the /var/log/vdsm/vdsm.log when trying to activate the local storage domain:
Thread-26::ERROR::2013-02-18 12:05:33,922::task::853::TaskManager.Task::(_setError) Task=`9e184148-15c8-46af-ab95-7943bd1e772d`::Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 861, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/logUtils.py", line 38, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/storage/hsm.py", line 869, in connectStoragePool
    return self._connectStoragePool(spUUID, hostID, scsiKey, msdUUID, masterVersion, options)
  File "/usr/share/vdsm/storage/hsm.py", line 911, in _connectStoragePool
    res = pool.connect(hostID, scsiKey, msdUUID, masterVersion)
  File "/usr/share/vdsm/storage/sp.py", line 649, in connect
    self.__rebuild(msdUUID=msdUUID, masterVersion=masterVersion)
  File "/usr/share/vdsm/storage/sp.py", line 1179, in __rebuild
    self.masterDomain = self.getMasterDomain(msdUUID=msdUUID, masterVersion=masterVersion)
  File "/usr/share/vdsm/storage/sp.py", line 1524, in getMasterDomain
    raise se.StoragePoolMasterNotFound(self.spUUID, msdUUID)
StoragePoolMasterNotFound: Cannot find master domain: 'spUUID=d9efcd8c-1d84-4057-a06a-6dae95c4462d, msdUUID=8aa6e8a2-e685-4028-aa0a-9122f4fb393a'
...
Thread-38::INFO::2013-02-18 12:05:44,074::logUtils::37::dispatcher::(wrapper) Run and protect: getSpmStatus(spUUID='d9efcd8c-1d84-4057-a06a-6dae95c4462d', options=None)
Thread-38::ERROR::2013-02-18 12:05:44,074::task::853::TaskManager.Task::(_setError) Task=`234b5804-87b5-410d-b027-44efed2525dc`::Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 861, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/logUtils.py", line 38, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/storage/hsm.py", line 580, in getSpmStatus
    pool = self.getPool(spUUID)
  File "/usr/share/vdsm/storage/hsm.py", line 305, in getPool
    raise se.StoragePoolUnknown(spUUID)
StoragePoolUnknown: Unknown pool id, pool not connected: ('d9efcd8c-1d84-4057-a06a-6dae95c4462d',)
Thread-38::DEBUG::2013-02-18 12:05:44,075::task::872::TaskManager.Task::(_run) Task=`234b5804-87b5-410d-b027-44efed2525dc`::Task._run: 234b5804-87b5-410d-b027-44efed2525dc ('d9efcd8c-1d84-4057-a06a-6dae95c4462d',) {} failed - stopping task

Environment

  • Red Hat Enterprise Virtualization 3.1
  • Red Hat Enterprise Virtualization 3.0
  • vdsm-4.9.6-45.2.el6_3 or later
  • Using a local storage domain that is on a mounted filesystem other than the / (root) filesystem.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content