Hi.
I installed the rpm package -
http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/vdsm
-4.9-112.4.el6_2.src.rpm and
http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/vhos
tmd-0.4-2.4.el6.src.rpm operating system will detect true.
Thank you.
A new problem:
When adding a virtual disk, virtual server, an error occurs: Error while
executing action AddDiskToVm: Database error.
Log attached.
With what may be the reason?
> We have plenty of native Russian speakers on this list ;-)
Может быть я буду просто писать на русском? =)
From: [email protected] [mailto:[email protected]] On Behalf Of
Haim Ateya
Sent: Monday, January 30, 2012 11:28 AM
To: [email protected]
Subject: Re: [Users] Support by Scientific linux?
On 01/30/2012 07:15 AM, Brown, Chris (GE Healthcare) wrote:
If you would like to use SL 6.2 as a node:
- Change the contents of /etc/redhat-release to "Red Hat Enterprise Linux
Server release 6.2 (Santiago"
- Build the latest version of RHEV/RHEL 6.x vdsm srpm here:
http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/
- Add the resulting rpms to a yum repo or create one using createrepo and
serve it up where your SL node can get to it
- Register that repo with yum EG: add a repo file in /etc/yum.repos.d
pointing to it
- Finally you will have to edit a value in the postgres database to actually
get ovirt to execute vms on the SL (EL6) node once it is added
- since ovirt is built around FC16 it will pass "emulatedmachine" or the
"-M" value to KVM as "pc-0.14" whereas on EL6 the value passed is
"rhel6.2.0"
- thus to change it to what we desire run the following: psql -U postgres -d
engine -c "update vdc_options set option_value='rhel6.2.0'
where option_name='EmulatedMachine' and version='3.0';"
- after that make sure to restart the jboss service as the previous values
are cached
- Chris
________________________________
From: [email protected] on behalf of Dan Kenigsberg
Sent: Sun 1/29/2012 3:53 AM
To: ??????
Cc: [email protected]
Subject: Re: [Users] Support by Scientific linux?
On Sun, Jan 29, 2012 at 05:12:09AM +0400, ?????? wrote:
Hi.
Testing work Ovirt on scientific linux 6.1.
Compiling from source oVirt-engine
(http://www.ovirt.org/wiki/Building_Ovirt_Engine) is successful.
However, if you add a node incorrectly determined the operating system:
OS Version: unknown.
Nodes perform the installation instructions on:
http://www.ovirt.org/wiki/Building_Ovirt_Engine
Analyzing the log files are found incorrect answer vdsm (Node status
NonOperational. nonOperationalReason = VERSION_INCOMPATIBLE_WITH_CLUSTER)
I agree with Dan and Chris comments, however, the reason engine-core decided
to move host to non-operational is as it doesn't fit cluster minimum
requirements; any chance to see a full engine-core log when you try to
activate the host ?
/var/log/vdsm/vdsm.log:
Thread-16::DEBUG::2012-01-28 14:08:09,200::clientIF::48::vds::(wrapper)
return getVdsCapabilities with {'status': {'message': 'Done', 'code': 0},
'info': {'HBAInventory': {'iSCSI': [{'InitiatorName':
'iqn.1994-05.com.redhat:4052e3fcadb'}], 'FC': []}, 'packages2': {'kernel':
{'release': '220.el6.x86_64', 'buildtime': '0', 'version': '2.6.32'},
'spice-server': {'release': '5.el6', 'buildtime': '1323492018', 'version':
'0.8.2'}, 'vdsm': {'release': '63.el6', 'buildtime': '1327784725',
'version': '4.9'}, 'qemu-kvm': {'release': '2.209.el6_2.4', 'buildtime':
'1327361568', 'version': '0.12.1.2'}, 'libvirt': {'release': '23.el6',
'buildtime': '1323231757', 'version': '0.9.4'}, 'qemu-img': {'release':
'2.209.el6_2.4', 'buildtime': '1327361568', 'version': '0.12.1.2'}},
'cpuModel': 'Intel(R) Xeon(R) CPU 5140 @ 2.33GHz', 'hooks': {},
'networks': {'virbr0': {'cfg': {}, 'netmask': '255.255.255.0', 'stp': 'on',
'ports': ['virbr0-nic'], 'addr': '192.168.122.1'}}, 'vmTypes': ['kvm',
'qemu'], 'cpuFlags':
u'fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflus
h,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,lm,constant_tsc,arch_pe
rfmon,pebs,bts,rep_good,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,sss
e3,cx16,xtpr,pdcm,dca,lahf_lm,dts,tpr_shadow,model_486,model_pentium,model_p
entium2,model_pentium3,model_pentiumpro,model_qemu32,model_coreduo,model_cor
e2duo,model_n270,model_Conroe,model_Opteron_G1', 'cpuSockets': '1', 'uuid':
'343C9406-3478-4923-3478-492339393407_00:1c:c4:74:a0:60', 'lastClientIface':
'eth0', 'nics': {'eth1': {'hwaddr': '00:1C:C4:74:A0:61', 'netmask': '',
'speed': 0, 'addr': ''}, 'eth0': {'hwaddr': '00:1C:C4:74:A0:60', 'netmask':
'255.255.255.0', 'speed': 1000, 'addr': '10.1.20.10'}}, 'software_revision':
'63', 'management_ip': '', 'clusterLevels': ['2.3'], 'supportedProtocols':
['2.2', '2.3'], 'ISCSIInitiatorName': 'iqn.1994-05.com.redhat:4052e3fcadb',
'memSize': '15949', 'reservedMem': '256', 'bondings': {'bond4': {'hwaddr':
'00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr': '', 'slaves': []},
'bond0': {'hwaddr': '00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr':
'', 'slaves': []}, 'bond1': {'hwaddr': '00:00:00:00:00:00', 'cfg': {},
'netmask': '', 'addr': '', 'slaves': []}, 'bond2': {'hwaddr':
'00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr': '', 'slaves': []},
'bond3': {'hwaddr': '00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr':
'', 'slaves': []}}, 'software_version': '4.9', 'cpuSpeed': '2333.331',
'version_name': 'Snow Man', 'vlans': {}, 'cpuCores': 2, 'kvmEnabled':
'true', 'guestOverhead': '65', 'supportedRHEVMs': ['2.3'],
'emulatedMachines': ['pc', 'rhel6.2.0', 'rhel6.1.0', 'rhel6.0.0',
'rhel5.5.0', 'rhel5.4.4', 'rhel5.4.0'], 'operatingSystem': {'release': '',
'version': '', 'name': 'unknown'}, 'lastClient': '10.1.20.12'}}
Note the line: 'operatingSystem': {'release':'', 'version':'', 'name':
'unknown'}.
The output commands to the node:
[root@node ~]# lsb_release -a
LSB Version:
:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:print
ing-4.0-amd64:printing-4.0-noarch
Distributor ID: Scientific
Description: Scientific Linux release 6.2 rolling (Carbon)
Release: 6.2
Codename: Carbon
[root@lnode ~]# cat /etc/redhat-release
Scientific Linux release 6.1 (Carbon)
How do I get to define vdsm right operating system?
p.s. Sorry for my english (google translate)
We have plenty of native Russian speakers on this list ;-)
The short answer is that is that no one wrote a patch to Vdsm to let it
recognize Scientific Linux. You are more than welcome to write such a
patch.
I suspect that you would need a (yet unpublished) SL6.2 in order to have
oVirt work properly. Vdsm requires several packages by version for a
reason.
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users
2012-02-02 06:54:47,096 WARN
[org.ovirt.engine.core.bll.GetConfigurationValueQuery] (http--0.0.0.0-8080-1)
calling GetConfigurationValueQuery with null version, using default general for
version
2012-02-02 06:54:49,432 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
(http--0.0.0.0-8080-1) START, IsValidVDSCommand(storagePoolId =
7822e75e-4d85-11e1-ab0a-52540097aa72, ignoreFailoverLimit = false,
compatabilityVersion = null), log id: 1ab0d0f8
2012-02-02 06:54:49,433 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
(http--0.0.0.0-8080-1) FINISH, IsValidVDSCommand, return: true, log id: 1ab0d0f8
2012-02-02 06:54:49,442 INFO [org.ovirt.engine.core.bll.AddDiskToVmCommand]
(http--0.0.0.0-8080-1) Running command: AddDiskToVmCommand internal: false.
Entities affected : ID: 748734fa-191c-4637-ab79-fdfdd7bc2d74 Type: VM
2012-02-02 06:54:49,449 INFO
[org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] (http--0.0.0.0-8080-1)
START, SetVmStatusVDSCommand(vmId = 748734fa-191c-4637-ab79-fdfdd7bc2d74,
status = ImageLocked), log id: cccca47
2012-02-02 06:54:49,459 INFO
[org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] (http--0.0.0.0-8080-1)
FINISH, SetVmStatusVDSCommand, log id: cccca47
2012-02-02 06:54:49,467 INFO
[org.ovirt.engine.core.bll.AddImageFromScratchCommand] (http--0.0.0.0-8080-1)
Running command: AddImageFromScratchCommand internal: true. Entities affected :
ID: 1aacb6a0-f5b1-4264-912c-1a6a35fa727f Type: Storage
2012-02-02 06:54:49,476 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateImageVDSCommand]
(http--0.0.0.0-8080-1) START, CreateImageVDSCommand(storagePoolId =
7822e75e-4d85-11e1-ab0a-52540097aa72, ignoreFailoverLimit = false,
compatabilityVersion = 3.0, storageDomainId =
1aacb6a0-f5b1-4264-912c-1a6a35fa727f, imageGroupId =
df595a2a-0787-4836-80b6-76250b6ba4db, imageSizeInBytes = 24696061952,
volumeFormat = RAW, diskType = System, newImageId =
fae8a8a3-ea0f-4fc0-bc41-c2c11e39f3a8, newImageDescription = _ActiveImage_12_Thu
Feb 02 06:54:49 CST 2012), log id: 62363cc0
2012-02-02 06:54:49,476 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateImageVDSCommand]
(http--0.0.0.0-8080-1) -- CreateImageVDSCommand::ExecuteIrsBrokerCommand:
calling 'createVolume' with two new parameters: description and UUID
2012-02-02 06:54:49,476 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateImageVDSCommand]
(http--0.0.0.0-8080-1) -- createVolume parameters:
sdUUID=1aacb6a0-f5b1-4264-912c-1a6a35fa727f
spUUID=7822e75e-4d85-11e1-ab0a-52540097aa72
imgGUID=df595a2a-0787-4836-80b6-76250b6ba4db
size=24,696,061,952 bytes
volFormat=RAW
volType=Preallocated
diskType=System
volUUID=fae8a8a3-ea0f-4fc0-bc41-c2c11e39f3a8
descr=_ActiveImage_12_Thu Feb 02 06:54:49 CST 2012
srcImgGUID=00000000-0000-0000-0000-000000000000
srcVolUUID=00000000-0000-0000-0000-000000000000
2012-02-02 06:54:49,702 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateImageVDSCommand]
(http--0.0.0.0-8080-1) FINISH, CreateImageVDSCommand, return:
fae8a8a3-ea0f-4fc0-bc41-c2c11e39f3a8, log id: 62363cc0
2012-02-02 06:54:49,703 INFO [org.ovirt.engine.core.bll.SPMAsyncTask]
(http--0.0.0.0-8080-1) BaseAsyncTask::AddOrUpdateTaskInDB: Adding task
2a110ec0-84b4-4eb0-b2b3-52793522fe74 to DataBase
2012-02-02 06:54:49,750 INFO [org.ovirt.engine.core.bll.EntityAsyncTask]
(http--0.0.0.0-8080-1) EntityAsyncTask::Adding EntityMultiAsyncTasks object for
entity 748734fa-191c-4637-ab79-fdfdd7bc2d74
2012-02-02 06:54:49,750 INFO [org.ovirt.engine.core.bll.EntityMultiAsyncTasks]
(http--0.0.0.0-8080-1) EntityMultiAsyncTasks::AttachTask: Attaching task
2a110ec0-84b4-4eb0-b2b3-52793522fe74 to entity
748734fa-191c-4637-ab79-fdfdd7bc2d74.
2012-02-02 06:54:49,751 INFO [org.ovirt.engine.core.bll.AsyncTaskManager]
(http--0.0.0.0-8080-1) AsyncTaskManager::AddTaskToManager: Adding task
2a110ec0-84b4-4eb0-b2b3-52793522fe74 (Parent Command AddDiskToVm, Parameters
Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters), polling
hasn't started yet..
2012-02-02 06:54:49,760 ERROR
[org.ovirt.engine.core.bll.AddImageFromScratchCommand] (http--0.0.0.0-8080-1)
AddDiskImageToDB::Failed adding new created snapshot into the db:
org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad
SQL grammar [select * from getdiskbydiskid(?)]; nested exception is
org.postgresql.util.PSQLException: ERROR: structure of query does not match
function result type
Detail: Number of returned columns (7) does not match expected column count
(8).
Where: PL/pgSQL function "getdiskbydiskid" line 2 at RETURN QUERY
at
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:220)
[spring-jdbc-2.5.6.SEC02.jar:]
at
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
[spring-jdbc-2.5.6.SEC02.jar:]
at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:607)
[spring-jdbc-2.5.6.SEC02.jar:]
at
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:641)
[spring-jdbc-2.5.6.SEC02.jar:]
at
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:670)
[spring-jdbc-2.5.6.SEC02.jar:]
at
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:702)
[spring-jdbc-2.5.6.SEC02.jar:]
at
org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJdbcCall.executeCallInternal(PostgresDbEngineDialect.java:155)
[engine-dal.jar:]
at
org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJdbcCall.doExecute(PostgresDbEngineDialect.java:121)
[engine-dal.jar:]
at
org.springframework.jdbc.core.simple.SimpleJdbcCall.execute(SimpleJdbcCall.java:164)
[spring-jdbc-2.5.6.SEC02.jar:]
at
org.ovirt.engine.core.dao.DefaultGenericDaoDbFacade.get(DefaultGenericDaoDbFacade.java:52)
[engine-dal.jar:]
at
org.ovirt.engine.core.dao.DiskDaoDbFacadeImpl.exists(DiskDaoDbFacadeImpl.java:79)
[engine-dal.jar:]
at
org.ovirt.engine.core.bll.BaseImagesCommand.saveDiskIfNotExists(BaseImagesCommand.java:348)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.BaseImagesCommand.AddDiskImageToDb(BaseImagesCommand.java:333)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.AddImageFromScratchCommand.executeCommand(AddImageFromScratchCommand.java:59)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(CommandBase.java:621)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:713)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:982)
[engine-bll.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204)
[engine-utils.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInRequired(TransactionSupport.java:142)
[engine-utils.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:109)
[engine-utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.Execute(CommandBase.java:726)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:210)
[engine-bll.jar:]
at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:262)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:240)
[engine-bll.jar:]
at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
[:1.6.0_18]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[:1.6.0_18]
at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_18]
at
org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:53)
[jboss-as-ejb3-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:221)
[jboss-as-ejb3-7.1.0.Beta1b.jar:]
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:367)
[jboss-as-ejb3-7.1.0.Beta1b.jar:]
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:205)
[jboss-as-ejb3-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
[jboss-as-ejb3-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:44)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:55)
[jboss-as-ejb3-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.ovirt.engine.core.bll.interfaces.BackendInternal$$$view10.runInternalAction(Unknown
Source) [engine-bll.jar:]
at
org.ovirt.engine.core.bll.AddDiskToVmCommand.ExecuteVmCommand(AddDiskToVmCommand.java:266)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.VmCommand.executeCommand(VmCommand.java:91)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(CommandBase.java:621)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:713)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:982)
[engine-bll.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:168)
[engine-utils.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:107)
[engine-utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.Execute(CommandBase.java:726)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:210)
[engine-bll.jar:]
at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:262)
[engine-bll.jar:]
at org.ovirt.engine.core.bll.Backend.RunAction(Backend.java:244)
[engine-bll.jar:]
at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
[:1.6.0_18]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[:1.6.0_18]
at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_18]
at
org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
[jboss-invocation-1.1.1.Final.jar:]
at
org.ovirt.engine.core.utils.ThreadLocalSessionCleanerInterceptor.injectWebContextToThreadLocal(ThreadLocalSessionCleanerInterceptor.java:11)
[engine-utils.jar:]
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
[:1.6.0_18]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[:1.6.0_18]
at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_18]
at
org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:53)
[jboss-as-ejb3-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:221)
[jboss-as-ejb3-7.1.0.Beta1b.jar:]
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:367)
[jboss-as-ejb3-7.1.0.Beta1b.jar:]
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:205)
[jboss-as-ejb3-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
[jboss-as-ejb3-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:44)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:55)
[jboss-as-ejb3-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
[jboss-invocation-1.1.1.Final.jar:]
at
org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
[jboss-as-ee-7.1.0.Beta1b.jar:]
at
org.ovirt.engine.core.common.interfaces.BackendLocal$$$view9.RunAction(Unknown
Source) [engine-common.jar:]
at
org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl.RunAction(GenericApiGWTServiceImpl.java:121)
at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
[:1.6.0_18]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[:1.6.0_18]
at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_18]
at com.google.gwt.rpc.server.RPC.invokeAndStreamResponse(RPC.java:196)
at com.google.gwt.rpc.server.RpcServlet.processCall(RpcServlet.java:161)
at com.google.gwt.rpc.server.RpcServlet.processPost(RpcServlet.java:222)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:151)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2033)
at java.lang.Thread.run(Thread.java:636) [:1.6.0_18]
Caused by: org.postgresql.util.PSQLException: ERROR: structure of query does
not match function result type
Detail: Number of returned columns (7) does not match expected column count
(8).
Where: PL/pgSQL function "getdiskbydiskid" line 2 at RETURN QUERY
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2077)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1810)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:498)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:386)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:271)
at
org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeQuery(CachedPreparedStatement.java:107)
at
org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:462)
at
org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:648)
[spring-jdbc-2.5.6.SEC02.jar:]
at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
[spring-jdbc-2.5.6.SEC02.jar:]
... 128 more
2012-02-02 06:54:49,785 ERROR
[org.ovirt.engine.core.bll.AddImageFromScratchCommand] (http--0.0.0.0-8080-1)
Command org.ovirt.engine.core.bll.AddImageFromScratchCommand throw Vdc Bll
exception. With error message VdcBLLException:
2012-02-02 06:54:49,787 ERROR
[org.ovirt.engine.core.bll.AddImageFromScratchCommand] (http--0.0.0.0-8080-1)
Transaction rolled-back for command:
org.ovirt.engine.core.bll.AddImageFromScratchCommand.
2012-02-02 06:54:49,791 INFO [org.ovirt.engine.core.bll.AddDiskToVmCommand]
(http--0.0.0.0-8080-1) Command [id=a1a8d5ae-56f2-458f-b6c5-9488b676fee1]:
Compensating CHANGED_STATUS_ONLY of
org.ovirt.engine.core.common.businessentities.VmDynamic; snapshot:
EntityStatusSnapshot [id=748734fa-191c-4637-ab79-fdfdd7bc2d74, status=Down].
2012-02-02 06:54:49,798 INFO [org.ovirt.engine.core.bll.AsyncTaskManager]
(Rollback-Rollback-Rollback-Rollback-Rollback-pool-5-thread-50)
AsyncTaskManager::CancelTask: Attempting to cancel task
2a110ec0-84b4-4eb0-b2b3-52793522fe74.
2012-02-02 06:54:49,799 INFO [org.ovirt.engine.core.bll.SPMAsyncTask]
(Rollback-Rollback-Rollback-Rollback-Rollback-pool-5-thread-50)
SPMAsyncTask::StopTask: Attempting to stop task
2a110ec0-84b4-4eb0-b2b3-52793522fe74 (Parent Command AddDiskToVm, Parameters
Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters).
2012-02-02 06:54:49,799 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.SPMStopTaskVDSCommand]
(Rollback-Rollback-Rollback-Rollback-Rollback-pool-5-thread-50) START,
SPMStopTaskVDSCommand(storagePoolId = 7822e75e-4d85-11e1-ab0a-52540097aa72,
ignoreFailoverLimit = false, compatabilityVersion = null, taskId =
2a110ec0-84b4-4eb0-b2b3-52793522fe74), log id: 2ce7492b
2012-02-02 06:54:49,802 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMStopTaskVDSCommand]
(Rollback-Rollback-Rollback-Rollback-Rollback-pool-5-thread-50) START,
HSMStopTaskVDSCommand(vdsId = 5561aa82-4d8c-11e1-bc87-52540097aa72,
taskId=2a110ec0-84b4-4eb0-b2b3-52793522fe74), log id: 435f5587
2012-02-02 06:54:49,810 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMStopTaskVDSCommand]
(Rollback-Rollback-Rollback-Rollback-Rollback-pool-5-thread-50) FINISH,
HSMStopTaskVDSCommand, log id: 435f5587
2012-02-02 06:54:49,810 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.SPMStopTaskVDSCommand]
(Rollback-Rollback-Rollback-Rollback-Rollback-pool-5-thread-50) FINISH,
SPMStopTaskVDSCommand, log id: 2ce7492b
2012-02-02 06:54:49,810 INFO [org.ovirt.engine.core.bll.EntityMultiAsyncTasks]
(Rollback-Rollback-Rollback-Rollback-Rollback-pool-5-thread-50)
EntityMultiAsyncTasks::StartPollingTask: Current Action Type for entity
748734fa-191c-4637-ab79-fdfdd7bc2d74 is AddDiskToVm (determined by task
2a110ec0-84b4-4eb0-b2b3-52793522fe74)
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users