Maybe the cause is different.
If I try to start a guest machine using python API I get a status 401 "
Unauthorized".
Engine.log report:
2015-12-16 17:10:31,883 ERROR
[org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter] (default
task-20) [] Cannot obtain profile for user admin@internal
2015-12-16 17:10:33,260 ERROR
[org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter] (default
task-22) [] Cannot obtain profile for user admin@internal
Il 16/12/2015 11.55, Stefano Danzi ha scritto:
Hello,
today yum ugraded my ovirt environment.
Now I have a very strange issue:
engine.log (self hosted engine) report this error:
2015-12-16 11:43:57,692 INFO
[org.ovirt.engine.docs.utils.servlet.ContextSensitiveHelpMappingServlet]
(default task-19) [] Context-sensitive help is not installed. Manual
directory doesn't exist: /usr/share/ovirt-engine/manual
2015-12-16 11:43:57,696 ERROR
[org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-10)
[] Can't read file
'/usr/share/ovirt-engine/files/spice/SpiceVersion.txt' for request
'/ovirt-engine/services/files/spice/SpiceVersion.txt', will send a 404
error response.
On host vdsm.log report:
Thread-882::WARNING::2015-12-16
11:40:06,400::lvm::375::Storage.LVM::(_reloadvgs) lvm vgs failed: 5 []
[' WARNING: lvmetad is running but disabled. Restart lvmetad before
enabling it!', ' Volume group "8cccc37f-d2d4-4684-a389-ac1adb050fa8"
not found', ' Cannot process volume group
8cccc37f-d2d4-4684-a389-ac1adb050fa8']
Thread-882::DEBUG::2015-12-16
11:40:06,401::lvm::415::Storage.OperationMutex::(_reloadvgs) Operation
'lvm reload operation' released the operation mutex
jsonrpc.Executor/4::DEBUG::2015-12-16
11:40:06,420::threadPool::29::Storage.ThreadPool::(__init__) Enter -
numThreads: 5, waitTimeout: 3, maxTasks: 500
jsonrpc.Executor/4::DEBUG::2015-12-16
11:40:06,423::storage_mailbox::84::Storage.Misc.excCmd::(_mboxExecCmd)
/usr/bin/dd
if=/rhev/data-center/00000002-0002-0002-0002-0000000001ef/mastersd/dom_md/outbox
iflag=direct,fullblock bs=512 count=8 skip=8 (cwd None)
Thread-882::ERROR::2015-12-16
11:40:06,455::sdc::145::Storage.StorageDomainCache::(_findDomain)
domain 8cccc37f-d2d4-4684-a389-ac1adb050fa8 not found
Traceback (most recent call last):
File "/usr/share/vdsm/storage/sdc.py", line 143, in _findDomain
dom = findMethod(sdUUID)
File "/usr/share/vdsm/storage/sdc.py", line 173, in
_findUnfetchedDomain
raise se.StorageDomainDoesNotExist(sdUUID)
StorageDomainDoesNotExist: Storage domain does not exist:
(u'8cccc37f-d2d4-4684-a389-ac1adb050fa8',)
Thread-882::ERROR::2015-12-16
11:40:06,455::monitor::276::Storage.Monitor::(_monitorDomain) Error
monitoring domain 8cccc37f-d2d4-4684-a389-ac1adb050fa8
Traceback (most recent call last):
File "/usr/share/vdsm/storage/monitor.py", line 264, in _monitorDomain
self._produceDomain()
File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 767, in
wrapper
value = meth(self, *a, **kw)
File "/usr/share/vdsm/storage/monitor.py", line 323, in _produceDomain
self.domain = sdCache.produce(self.sdUUID)
File "/usr/share/vdsm/storage/sdc.py", line 100, in produce
domain.getRealDomain()
File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain
return self._cache._realProduce(self._sdUUID)
File "/usr/share/vdsm/storage/sdc.py", line 124, in _realProduce
domain = self._findDomain(sdUUID)
File "/usr/share/vdsm/storage/sdc.py", line 143, in _findDomain
dom = findMethod(sdUUID)
File "/usr/share/vdsm/storage/sdc.py", line 173, in
_findUnfetchedDomain
raise se.StorageDomainDoesNotExist(sdUUID)
StorageDomainDoesNotExist: Storage domain does not exist:
(u'8cccc37f-d2d4-4684-a389-ac1adb050fa8',)
jsonrpc.Executor/4::DEBUG::2015-12-16
11:40:06,456::storage_mailbox::84::Storage.Misc.excCmd::(_mboxExecCmd)
SUCCESS: <err> = '8+0 records in\n8+0 records out\n4096 bytes (4.1 kB)
copied, 0.0275067 s, 149 kB/s\n'; <rc> = 0
Thread-882::INFO::2015-12-16
11:40:06,480::monitor::299::Storage.Monitor::(_notifyStatusChanges)
Domain 8cccc37f-d2d4-4684-a389-ac1adb050fa8 became INVALID
I can't access to engine administrator portal.
There are an empty "profile" tab. Entering admin credentials where
reported an empty error box (see attachment).