Re: [ovirt-users] Ovirt 3.6 RC import VM

2015-10-07 Thread Vladimir Astafiev

Hi,

I have the same problem. I have no VMs in my cluster yet.

[root@ovirt-engine ~]# grep 11410f83 /var/log/ovirt-engine/engine.log
2015-10-08 01:05:35,383 INFO [org.ovirt.engine.core.bll.ImportVmCommand] 
(default task-156) [11410f83] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[nms-vm=, 
970575ec-7acc-4089-90ac-ad985e1aed8a=]', 
sharedLocks='[970575ec-7acc-4089-90ac-ad985e1aed8a=]'}'
2015-10-08 01:05:35,390 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] 
(default task-156) [11410f83] START, GetVmsInfoVDSCommand( 
GetVmsInfoVDSCommandParameters:{runAsync='true', 
storagePoolId='31c786f4-a729-490d-9c47-21b5d210def1', 
ignoreFailoverLimit='false', 
storageDomainId='abf180ca-6fd1-4aff-89b3-45cb3cf8c350', 
vmIdList='null'}), log id: 6030a126
2015-10-08 01:05:35,404 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] 
(default task-156) [11410f83] FINISH, GetVmsInfoVDSCommand, log id: 6030a126
2015-10-08 01:05:35,702 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.GetImagesListVDSCommand] 
(default task-156) [11410f83] START, GetImagesListVDSCommand( 
GetImagesListVDSCommandParameters:{runAsync='true', 
storagePoolId='31c786f4-a729-490d-9c47-21b5d210def1', 
ignoreFailoverLimit='false', 
sdUUID='58d4ebf0-a928-4f92-8ed0-9ea26ccda4b3'}), log id: 44cb9b8f
2015-10-08 01:05:35,940 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.GetImagesListVDSCommand] 
(default task-156) [11410f83] FINISH, GetImagesListVDSCommand, return: 
[6a1b2e42-1255-48d8-9aff-5221a9439ed2, 
c336ef40-c44a-4c9e-a0ff-3010861243e2], log id: 44cb9b8f
2015-10-08 01:05:35,941 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(default task-156) [11410f83] START, DoesImageExistVDSCommand( 
GetImageInfoVDSCommandParameters:{runAsync='true', 
storagePoolId='31c786f4-a729-490d-9c47-21b5d210def1', 
ignoreFailoverLimit='false', 
storageDomainId='abf180ca-6fd1-4aff-89b3-45cb3cf8c350', 
imageGroupId='ddb946ca-3ee6-4dab-98b5-f8e45b571f48', 
imageId='0a07dc88-857b-4f66-867a-cb93a999ab1b'}), log id: 1be55f0e
2015-10-08 01:05:35,954 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(default task-156) [11410f83] FINISH, DoesImageExistVDSCommand, return: 
true, log id: 1be55f0e
2015-10-08 01:05:35,955 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(default task-156) [11410f83] START, DoesImageExistVDSCommand( 
GetImageInfoVDSCommandParameters:{runAsync='true', 
storagePoolId='31c786f4-a729-490d-9c47-21b5d210def1', 
ignoreFailoverLimit='false', 
storageDomainId='abf180ca-6fd1-4aff-89b3-45cb3cf8c350', 
imageGroupId='ddb946ca-3ee6-4dab-98b5-f8e45b571f48', 
imageId='1bbcce86-50ab-4cef-982d-3593f97ac94d'}), log id: 6fc39e70
2015-10-08 01:05:35,966 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(default task-156) [11410f83] FINISH, DoesImageExistVDSCommand, return: 
true, log id: 6fc39e70
2015-10-08 01:05:36,120 INFO [org.ovirt.engine.core.bll.ImportVmCommand] 
(org.ovirt.thread.pool-8-thread-15) [11410f83] Running command: 
ImportVmCommand internal: false. Entities affected :  ID: 
58d4ebf0-a928-4f92-8ed0-9ea26ccda4b3 Type: StorageAction group 
IMPORT_EXPORT_VM with role type ADMIN,  ID: 
abf180ca-6fd1-4aff-89b3-45cb3cf8c350 Type: StorageAction group 
IMPORT_EXPORT_VM with role type ADMIN
2015-10-08 01:05:36,214 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(org.ovirt.thread.pool-8-thread-15) [4d95644c] Correlation ID: 11410f83, 
Job ID: b4d740de-0bbd-4a54-913e-b7a5853cd0d7, Call Stack: null, Custom 
Event ID: -1, Message: Failed to import Vm nms-vm to Data Center V-DC, 
Cluster VDS-Cluster



On 02/10/15 13:38, Michal Skrivanek wrote:


On 1 Oct 2015, at 12:02, Wolfgang Bucher wrote:


Ovirt 3.6 RC import VM
Hello

i am not able to import a vm from a exportdomain, i can activate the 
exportdomain bu twhen i try to import a vm i get following error:

Failed to import Vm test to Data Center TEST, Cluster INTEL


engine.log

015-10-01 11:53:00,809 INFO 
[org.ovirt.engine.core.bll.ImportVmCommand] 
(org.ovirt.thread.pool-8-thread-36) [7c844f2] Command 
[id=b3af596c-7df0-4bdb-95d6-dffbc0a3213d]: Compensating NEW_ENTITY_ID 
of org.ovirt.engine.core.common.businessentities.VmStatistics; 
snapshot: 1abdcfd8-77b2-47c3-9973-8184167b3774.
2015-10-01 11:53:00,809 INFO 
[org.ovirt.engine.core.bll.ImportVmCommand] 
(org.ovirt.thread.pool-8-thread-36) [7c844f2] Command 
[id=b3af596c-7df0-4bdb-95d6-dffbc0a3213d]: Compensating NEW_ENTITY_ID 
of org.ovirt.engine.core.common.businessentities.VmDynamic; snapshot: 
1abdcfd8-77b2-47c3-9973-8184167b3774.
2015-10-01 11:53:00,810 INFO 
[org.ovirt.engine.core.bll.ImportVmCommand] 
(org.ovirt.thread.pool-8-thread-36) [7c844f2] Command 

Re: [ovirt-users] Ovirt 3.6 RC import VM

2015-10-02 Thread Michal Skrivanek

On 1 Oct 2015, at 12:02, Wolfgang Bucher wrote:

> Hello
> 
> i am not able to import a vm from a exportdomain, i can activate the 
> exportdomain bu twhen i try to import a vm i get following error:
> Failed to import Vm test to Data Center TEST, Cluster INTEL
> 
> 
> engine.log 
> 
> 015-10-01 11:53:00,809 INFO  [org.ovirt.engine.core.bll.ImportVmCommand] 
> (org.ovirt.thread.pool-8-thread-36) [7c844f2] Command 
> [id=b3af596c-7df0-4bdb-95d6-dffbc0a3213d]: Compensating NEW_ENTITY_ID of 
> org.ovirt.engine.core.common.businessentities.VmStatistics; snapshot: 
> 1abdcfd8-77b2-47c3-9973-8184167b3774.
> 2015-10-01 11:53:00,809 INFO  [org.ovirt.engine.core.bll.ImportVmCommand] 
> (org.ovirt.thread.pool-8-thread-36) [7c844f2] Command 
> [id=b3af596c-7df0-4bdb-95d6-dffbc0a3213d]: Compensating NEW_ENTITY_ID of 
> org.ovirt.engine.core.common.businessentities.VmDynamic; snapshot: 
> 1abdcfd8-77b2-47c3-9973-8184167b3774.
> 2015-10-01 11:53:00,810 INFO  [org.ovirt.engine.core.bll.ImportVmCommand] 
> (org.ovirt.thread.pool-8-thread-36) [7c844f2] Command 
> [id=b3af596c-7df0-4bdb-95d6-dffbc0a3213d]: Compensating NEW_ENTITY_ID of 
> org.ovirt.engine.core.common.businessentities.VmStatic; snapshot: 
> 1abdcfd8-77b2-47c3-9973-8184167b3774.
> 2015-10-01 11:53:00,818 ERROR 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (org.ovirt.thread.pool-8-thread-36) [7c844f2] Correlation ID: 2221ad18, Job 
> ID: df3b9ba1-90bf-4647-9712-f4e3eccfc256, Call Stack: null, Custom Event ID: 
> -1, Message: Failed to import Vm test to Data Center TEST, Cluster INTEL
> 2015-10-01 11:53:00,822 INFO  [org.ovirt.engine.core.bll.ImportVmCommand] 
> (org.ovirt.thread.pool-8-thread-36) [7c844f2] Lock freed to object 
> 'EngineLock:{exclusiveLocks='[test= ACTION_TYPE_FAILED_NAME_ALREADY_USED>, 
> 1abdcfd8-77b2-47c3-9973-8184167b3774= ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED$VmName test>]', 
> sharedLocks='[1abdcfd8-77b2-47c3-9973-8184167b3774= ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED$VmName test>]'}'

Hi,
did you check the rest of the system? The name need to be unique, and you can 
rename that VM on import to something else.
Often happens to people who are just trying it out and export  an existing VM 
and immediately try to import it back…but it's already there.

Thanks,
michal

> 
> 
> 
> Thanks
> Wolfgang Bucher
> 
> 
> 
> 
>  
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ovirt 3.6 RC import VM

2015-10-01 Thread Wolfgang Bucher
Hello



i am not able to import a vm from a exportdomain, i can activate the 
exportdomain bu twhen i try to import a vm i get following error:

Failed to import Vm test to Data Center TEST, Cluster INTEL




engine.log 



015-10-01 11:53:00,809 INFO  [org.ovirt.engine.core.bll.ImportVmCommand] 
(org.ovirt.thread.pool-8-thread-36) [7c844f2] Command 
[id=b3af596c-7df0-4bdb-95d6-dffbc0a3213d]: Compensating NEW_ENTITY_ID of 
org.ovirt.engine.core.common.businessentities.VmStatistics; snapshot: 
1abdcfd8-77b2-47c3-9973-8184167b3774.
2015-10-01 11:53:00,809 INFO  [org.ovirt.engine.core.bll.ImportVmCommand] 
(org.ovirt.thread.pool-8-thread-36) [7c844f2] Command 
[id=b3af596c-7df0-4bdb-95d6-dffbc0a3213d]: Compensating NEW_ENTITY_ID of 
org.ovirt.engine.core.common.businessentities.VmDynamic; snapshot: 
1abdcfd8-77b2-47c3-9973-8184167b3774.
2015-10-01 11:53:00,810 INFO  [org.ovirt.engine.core.bll.ImportVmCommand] 
(org.ovirt.thread.pool-8-thread-36) [7c844f2] Command 
[id=b3af596c-7df0-4bdb-95d6-dffbc0a3213d]: Compensating NEW_ENTITY_ID of 
org.ovirt.engine.core.common.businessentities.VmStatic; snapshot: 
1abdcfd8-77b2-47c3-9973-8184167b3774.
2015-10-01 11:53:00,818 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(org.ovirt.thread.pool-8-thread-36) [7c844f2] Correlation ID: 2221ad18, Job ID: 
df3b9ba1-90bf-4647-9712-f4e3eccfc256, Call Stack: null, Custom Event ID: -1, 
Message: Failed to import Vm test to Data Center TEST, Cluster INTEL
2015-10-01 11:53:00,822 INFO  [org.ovirt.engine.core.bll.ImportVmCommand] 
(org.ovirt.thread.pool-8-thread-36) [7c844f2] Lock freed to object 
'EngineLock:{exclusiveLocks='[test=, 
1abdcfd8-77b2-47c3-9973-8184167b3774=]', 
sharedLocks='[1abdcfd8-77b2-47c3-9973-8184167b3774=]'}'










Thanks


Wolfgang Bucher






 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users