Why does VDSM repeatedly tries to run "sudo lvm --config ..." but does not have password in Red hat Enterprise Virtulization??
Issue
- VDSM repeatedly tries to run "sudo lvm --config ...". Getting following logs on the host:
Thread-366951::DEBUG::2012-07-24 21:01:06,425::lvm::439::OperationMutex::(_reloadvgs) Operation 'lvm reload operation' got the operation mutex
Thread-366951::DEBUG::2012-07-24 21:01:06,426::lvm::374::Storage.Misc.excCmd::(cmd) '/usr/bin/sudo -n /sbin/lvm vgs --config " devices { preferred_names = [\\"^/dev/mapper/\\"] ignore_suspended_devices=1 write_cache_state=0 disable_after
_error_count=3 filter = [ \\"a%36782bcb00874ea0014e82836077f74cb%\\", \\"r%.*%\\" ] } global { locking_type=1 prioritise_write_locks=1 wait_for_locks=1 } backup { retain_min = 50 retain_days = 0 } " --noheadings --units b --nosuff
ix --separator | -o uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free f63a3cdd-5636-4c4a-826d-ccbe5c914ea1' (cwd None)
Thread-366951::DEBUG::2012-07-24 21:01:06,436::lvm::374::Storage.Misc.excCmd::(cmd) FAILED: <err> = 'sudo: sorry, a password is required to run sudo\n'; <rc> = 1
Thread-366951::WARNING::2012-07-24 21:01:06,438::lvm::443::Storage.LVM::(_reloadvgs) lvm vgs failed: 1 [] ['sudo: sorry, a password is required to run sudo']
Thread-366951::DEBUG::2012-07-24 21:01:06,439::lvm::466::OperationMutex::(_reloadvgs) Operation 'lvm reload operation' released the operation mutex
Thread-366951::ERROR::2012-07-24 21:01:06,442::sp::1094::Storage.StoragePool::(getInfo) Could not get information for domain f63a3cdd-5636-4c4a-826d-ccbe5c914ea1
Traceback (most recent call last):
File "/usr/share/vdsm/storage/sp.py", line 1092, in getInfo
stats.update(SDF.produce(item).getStats())
File "/usr/share/vdsm/storage/sdf.py", line 30, in produce
newSD = cls.__sdc.lookup(sdUUID)
File "/usr/share/vdsm/storage/sdc.py", line 77, in lookup
dom = self._findDomain(sdUUID)
File "/usr/share/vdsm/storage/sdc.py", line 101, in _findDomain
raise se.StorageDomainDoesNotExist(sdUUID)
StorageDomainDoesNotExist: Storage domain does not exist: ('f63a3cdd-5636-4c4a-826d-ccbe5c914ea1',)
Environment
- Red Hat Enterprise Virtulization 3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
