Hi,

I just reinstalled oVirt 3.2 on Fedora Core 18 (FC 18) for the second time to 
try to get it working.

I'm working through the all-in-one installation and followed the 
tutorials/guides

Here:
http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/

http://www.hacktheory.org/index.php/projects/projects-by-eureka/ovirt-32-setup-all-required-bug-fixes/


I got as far as having my host up and running but no storage attached.

I right clicked on the host, placed it in maintenance mode and clicked on 
"Configure Local Storage"

I have a RAID 5 array set up called /ovirt with the following folder structure:

drwxrwxr-x.   6 vdsm kvm   4096 Jul 11 01:02 ovirt


[root@testsystem ovirt-engine]# ll /ovirt/
total 28
drwxr-xr-x. 2 vdsm kvm  4096 Jul 11 01:02 export
drwxr-xr-x. 3 vdsm kvm  4096 Jul 12 20:44 iso
drwxr-xr-x. 2 vdsm kvm 16384 Jul 11 01:00 lost+found
drwxrwxr-x. 3 vdsm kvm  4096 Jul 12 21:05 vms

(Note, permissions were initially 755 on the directories but this was changed 
in troubleshooting, it didn't matter, neither did setenforce 0 for selinux)

Whenever I try to add storage I'm getting the following error in the web 
interface:
Error while executing action New Local Storage Domain: Error creating a storage 
domain


The entries in the engine.log file are as follows with error entries located 
staring at the roughly middle of this list:
2013-07-12 21:05:04,698 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
 (ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] START, 
ValidateStorageServerConnectionVDSCommand(HostName = local_host, HostId = 
40908ebe-e98f-45e1-8d3a-9b97de63fe1d, storagePoolId = 
00000000-0000-0000-0000-000000000000, storageType = LOCALFS, connectionList = 
[{ id: null, connection: /ovirt/vms, iqn: null, vfsType: null, mountOptions: 
null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null };]), log id: 5e895c32
2013-07-12 21:05:04,703 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
 (ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] FINISH, 
ValidateStorageServerConnectionVDSCommand, return: 
{00000000-0000-0000-0000-000000000000=0}, log id: 5e895c32
2013-07-12 21:05:04,717 INFO  
[org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand] 
(ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] Running 
command: AddStorageServerConnectionCommand internal: false. Entities affected : 
 ID: aaa00000-0000-0000-0000-123456789aaa Type: System
2013-07-12 21:05:04,720 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] 
(ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] START, 
ConnectStorageServerVDSCommand(HostName = local_host, HostId = 
40908ebe-e98f-45e1-8d3a-9b97de63fe1d, storagePoolId = 
00000000-0000-0000-0000-000000000000, storageType = LOCALFS, connectionList = 
[{ id: 03b51a50-308e-45d8-aa25-fd7689e7915b, connection: /ovirt/vms, iqn: null, 
vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans: null, 
nfsTimeo: null };]), log id: 25d85ac2
2013-07-12 21:05:04,728 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] 
(ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] FINISH, 
ConnectStorageServerVDSCommand, return: 
{03b51a50-308e-45d8-aa25-fd7689e7915b=0}, log id: 25d85ac2
2013-07-12 21:05:04,801 INFO  
[org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand] 
(ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] Running 
command: AddLocalStorageDomainCommand internal: false. Entities affected :  ID: 
aaa00000-0000-0000-0000-123456789aaa Type: System
2013-07-12 21:05:04,811 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand] 
(ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] START, 
CreateStorageDomainVDSCommand(HostName = local_host, HostId = 
40908ebe-e98f-45e1-8d3a-9b97de63fe1d, 
storageDomain=org.ovirt.engine.core.common.businessentities.StorageDomainStatic@ef457796,
 args=/ovirt/vms), log id: 6ac8814c
2013-07-12 21:05:06,970 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
(ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] Failed in 
CreateStorageDomainVDS method
2013-07-12 21:05:06,970 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
(ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] Error code 
StorageDomainCreationError and error message VDSGenericException: 
VDSErrorException: Failed to CreateStorageDomainVDS, error = Error creating a 
storage domain: ('storageType=4, sdUUID=22d74657-da7e-4b2c-b54d-0d3d54aa6c62, 
domainName=local_host-Local, domClass=1, typeSpecificArg=/ovirt/vms 
domVersion=0',)
2013-07-12 21:05:06,971 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
(ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] Command 
org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand return 
value
 StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=351, mMessage=Error 
creating a storage domain: ('storageType=4, 
sdUUID=22d74657-da7e-4b2c-b54d-0d3d54aa6c62, domainName=local_host-Local, 
domClass=1, typeSpecificArg=/ovirt/vms domVersion=0',)]]
2013-07-12 21:05:06,971 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
(ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] HostName = 
local_host
2013-07-12 21:05:06,972 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] 
(ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] Command 
CreateStorageDomainVDS execution failed. Exception: VDSErrorException: 
VDSGenericException: VDSErrorException: Failed to CreateStorageDomainVDS, error 
= Error creating a storage domain: ('storageType=4, 
sdUUID=22d74657-da7e-4b2c-b54d-0d3d54aa6c62, domainName=local_host-Local, 
domClass=1, typeSpecificArg=/ovirt/vms domVersion=0',)
2013-07-12 21:05:06,972 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand] 
(ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] FINISH, 
CreateStorageDomainVDSCommand, log id: 6ac8814c
2013-07-12 21:05:06,973 ERROR 
[org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand] 
(ajp--127.0.0.1-8702-9) [_WEBADMIN_18385282_Configure_Local_Storage] Command 
org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand throw Vdc Bll 
exception. With error message VdcBLLException: 
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: 
VDSGenericException: VDSErrorException: Failed to CreateStorageDomainVDS, error 
= Error creating a storage domain: ('storageType=4, 
sdUUID=22d74657-da7e-4b2c-b54d-0d3d54aa6c62, domainName=local_host-Local, 
domClass=1, typeSpecificArg=/ovirt/vms domVersion=0',)


Can anyone help with determining what I'm doing wrong, why this error is 
happening, and/or how I can fix it?  I've looked all across Google and as 
stated, this is my second attempt to install after a second fresh load.

Any help will be greatly appreciated since I've been fighting with this on and 
off for over a month now.

Thanks!
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to