Re: [ovirt-users] Problems exporting VM's

2016-06-15 Thread Luciano Natale
Finally did it. Not failing by the time being!

On Fri, May 13, 2016 at 9:31 PM, Luciano Natale  wrote:

> Ok! I'll do!
>
> On Wed, May 11, 2016 at 9:30 AM, Nir Soffer  wrote:
>
>> On Sun, May 8, 2016 at 3:14 AM, Luciano Natale 
>> wrote:
>> > Hi everyone. I've been having trouble when exporting VM's. I get error
>> when
>> > moving image. I've created a whole new storage domain exclusive for this
>> > issue, and same thing happens. It's not always the same VM that fails,
>> but
>> > once it fails on a certain storage domain, I cannot export it anymore.
>> > Please tell me which logs are relevant so i can post them and any other
>> > relevant iformation I can provide, and maybe someone can help me get
>> through
>> > this problem.
>> >
>> > Ovirt version is 3.5.4.2-1.el6.
>>
>> Please upgrade to latest 3.5 version, and report if this issue still
>> exists there.
>>
>> Nir
>>
>
>
>
> --
> Luciano Natale
>



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


Re: [ovirt-users] Problems exporting VM's

2016-05-13 Thread Luciano Natale
Ok! I'll do!

On Wed, May 11, 2016 at 9:30 AM, Nir Soffer  wrote:

> On Sun, May 8, 2016 at 3:14 AM, Luciano Natale  wrote:
> > Hi everyone. I've been having trouble when exporting VM's. I get error
> when
> > moving image. I've created a whole new storage domain exclusive for this
> > issue, and same thing happens. It's not always the same VM that fails,
> but
> > once it fails on a certain storage domain, I cannot export it anymore.
> > Please tell me which logs are relevant so i can post them and any other
> > relevant iformation I can provide, and maybe someone can help me get
> through
> > this problem.
> >
> > Ovirt version is 3.5.4.2-1.el6.
>
> Please upgrade to latest 3.5 version, and report if this issue still
> exists there.
>
> Nir
>



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


Re: [ovirt-users] Problems exporting VM's

2016-05-11 Thread Nir Soffer
On Sun, May 8, 2016 at 3:14 AM, Luciano Natale  wrote:
> Hi everyone. I've been having trouble when exporting VM's. I get error when
> moving image. I've created a whole new storage domain exclusive for this
> issue, and same thing happens. It's not always the same VM that fails, but
> once it fails on a certain storage domain, I cannot export it anymore.
> Please tell me which logs are relevant so i can post them and any other
> relevant iformation I can provide, and maybe someone can help me get through
> this problem.
>
> Ovirt version is 3.5.4.2-1.el6.

Please upgrade to latest 3.5 version, and report if this issue still
exists there.

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


Re: [ovirt-users] Problems exporting VM's

2016-05-11 Thread Michal Skrivanek

> On 10 May 2016, at 16:20, Luciano Natale  wrote:
> 
> Ok, here are the relevant vdsm logs!

it seems to be indeed storage-related problem. I could only find that the 
export task failed due to

106774fb-1093-495a-a996-48f48e066a6f::ERROR::2016-05-07 
18:04:15,998::blockVolume::429::Storage.Volume::(validateImagePath) Unexpected 
error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/blockVolume.py", line 427, in validateImagePath
os.mkdir(imageDir, 0o755)
OSError: [Errno 17] File exists: 
'/rhev/data-center/58aa23b5-9680-4ff2-991c-8f8952cfa13c/2a1cc76e-9ba2-4586-a612-049894467470/images/63e58057-00fd-4597-a258-64558d45c155’

Tal?

Thanks,
michal

> 
> Thanks!
> Luciano.
> 
> On Tue, May 10, 2016 at 5:46 AM, Michal Skrivanek 
> > wrote:
> 
>> On 09 May 2016, at 23:09, Luciano Natale > > wrote:
>> 
>> Ok, i've filtered out saturday. At midnight it  starts to backup 
>> automatically with a custom made script. At that run, I had trouble with vm 
>> named "operaciones-ad". Then i started working on the problem (among other 
>> things, i added a new backup storage domain) and you can se around 8 PM that 
>> another VM failed the backup, this one called "biblioteca". Other VM's i 
>> remeber failing where "NS1" and "NS2”.
> 
> Tal, can someone take a look and investigate why the task is failing?
> engine.log failure excerpt below
> 
> Luciano, I suppose vdsm.log from that time would help further
> 
> Thanks,
> michal
> 
> 2016-05-07 18:04:52,386 INFO  [org.ovirt.engine.core.bll.ExportVmCommand] 
> (org.ovirt.thread.pool-8-thread-15) [7a94a972] Running command: 
> ExportVmCommand internal: fals
> e. Entities affected :  ID: c9bddba0-c553-4a90-b97c-bdc1e88a333e Type: 
> StorageAction group IMPORT_EXPORT_VM with role type ADMIN
> 2016-05-07 18:04:52,388 INFO  
> [org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] 
> (org.ovirt.thread.pool-8-thread-15) [7a94a972] START, SetVmStatusVDSCommand( 
> vmId
> = 59e1be99-c37e-431d-9b4c-1d039fd667a7, status = ImageLocked, exit status = 
> Normal), log id: 7261d03c
> 2016-05-07 18:04:52,392 INFO  
> [org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] 
> (org.ovirt.thread.pool-8-thread-15) [7a94a972] FINISH, SetVmStatusVDSCommand, 
> log
> id: 7261d03c
> 2016-05-07 18:04:52,453 INFO  [org.ovirt.engine.core.bll.ExportVmCommand] 
> (org.ovirt.thread.pool-8-thread-15) [7a94a972] Lock freed to object 
> EngineLock [exclusiveLocks
> = key: 59e1be99-c37e-431d-9b4c-1d039fd667a7 value: VM
> 2016-05-07 18:04:52,465 INFO  
> [org.ovirt.engine.core.bll.CopyImageGroupCommand] 
> (org.ovirt.thread.pool-8-thread-15) [6f66db4a] Running command: 
> CopyImageGroupCommand in
> ternal: true. Entities affected :  ID: c9bddba0-c553-4a90-b97c-bdc1e88a333e 
> Type: Storage
> 2016-05-07 18:04:52,745 INFO  
> [org.ovirt.engine.core.vdsbroker.irsbroker.MoveImageGroupVDSCommand] 
> (org.ovirt.thread.pool-8-thread-15) [6f66db4a] START, MoveImageGroupV
> DSCommand( storagePoolId = 58aa23b5-9680-4ff2-991c-8f8952cfa13c, 
> ignoreFailoverLimit = false, storageDomainId = 
> 2a1cc76e-9ba2-4586-a612-049894467470, imageGroupId = 63e
> 58057-00fd-4597-a258-64558d45c155, dstDomainId = 
> c9bddba0-c553-4a90-b97c-bdc1e88a333e, vmId = 
> 59e1be99-c37e-431d-9b4c-1d039fd667a7, op = Copy, postZero = false, force =
>  true), log id: 781cc2f3
> 2016-05-07 18:04:53,135 INFO  
> [org.ovirt.engine.core.vdsbroker.irsbroker.MoveImageGroupVDSCommand] 
> (org.ovirt.thread.pool-8-thread-15) [6f66db4a] FINISH, MoveImageGroup
> VDSCommand, log id: 781cc2f3
> 2016-05-07 18:04:53,233 INFO  
> [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] 
> (org.ovirt.thread.pool-8-thread-15) [6f66db4a] CommandAsyncTask::Adding 
> CommandMultiAsy
> ncTasks object for command 1711f190-c188-419c-acc2-25edc8b8d1cf
> 2016-05-07 18:04:53,234 INFO  
> [org.ovirt.engine.core.bll.CommandMultiAsyncTasks] 
> (org.ovirt.thread.pool-8-thread-15) [6f66db4a] 
> CommandMultiAsyncTasks::AttachTask: Atta
> ching task 106774fb-1093-495a-a996-48f48e066a6f to command 
> 1711f190-c188-419c-acc2-25edc8b8d1cf.
> 2016-05-07 18:04:53,421 INFO  
> [org.ovirt.engine.core.bll.tasks.AsyncTaskManager] 
> (org.ovirt.thread.pool-8-thread-15) [6f66db4a] Adding task 
> 106774fb-1093-495a-a996-48f4
> 8e066a6f (Parent Command ExportVm, Parameters Type 
> org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters), polling hasn't 
> started yet.
> 2016-05-07 18:04:54,164 INFO  
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (org.ovirt.thread.pool-8-thread-15) [6f66db4a] Correlation ID: 7a94a972, Job 
> ID: a312c127-45ef-44b4-8bee-b36fe7f251ee, Call Stack: null, Custom Event ID: 
> -1, Message: Starting export Vm operaciones-ad to vms-backups
> 2016-05-07 18:04:54,166 INFO  [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] 
> (org.ovirt.thread.pool-8-thread-15) [6f66db4a] 
> 

Re: [ovirt-users] Problems exporting VM's

2016-05-10 Thread Michal Skrivanek

> On 09 May 2016, at 23:09, Luciano Natale  wrote:
> 
> Ok, i've filtered out saturday. At midnight it  starts to backup 
> automatically with a custom made script. At that run, I had trouble with vm 
> named "operaciones-ad". Then i started working on the problem (among other 
> things, i added a new backup storage domain) and you can se around 8 PM that 
> another VM failed the backup, this one called "biblioteca". Other VM's i 
> remeber failing where "NS1" and "NS2”.

Tal, can someone take a look and investigate why the task is failing?
engine.log failure excerpt below

Luciano, I suppose vdsm.log from that time would help further

Thanks,
michal

2016-05-07 18:04:52,386 INFO  [org.ovirt.engine.core.bll.ExportVmCommand] 
(org.ovirt.thread.pool-8-thread-15) [7a94a972] Running command: ExportVmCommand 
internal: fals
e. Entities affected :  ID: c9bddba0-c553-4a90-b97c-bdc1e88a333e Type: 
StorageAction group IMPORT_EXPORT_VM with role type ADMIN
2016-05-07 18:04:52,388 INFO  
[org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] 
(org.ovirt.thread.pool-8-thread-15) [7a94a972] START, SetVmStatusVDSCommand( 
vmId
= 59e1be99-c37e-431d-9b4c-1d039fd667a7, status = ImageLocked, exit status = 
Normal), log id: 7261d03c
2016-05-07 18:04:52,392 INFO  
[org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] 
(org.ovirt.thread.pool-8-thread-15) [7a94a972] FINISH, SetVmStatusVDSCommand, 
log
id: 7261d03c
2016-05-07 18:04:52,453 INFO  [org.ovirt.engine.core.bll.ExportVmCommand] 
(org.ovirt.thread.pool-8-thread-15) [7a94a972] Lock freed to object EngineLock 
[exclusiveLocks
= key: 59e1be99-c37e-431d-9b4c-1d039fd667a7 value: VM
2016-05-07 18:04:52,465 INFO  [org.ovirt.engine.core.bll.CopyImageGroupCommand] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] Running command: 
CopyImageGroupCommand in
ternal: true. Entities affected :  ID: c9bddba0-c553-4a90-b97c-bdc1e88a333e 
Type: Storage
2016-05-07 18:04:52,745 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.MoveImageGroupVDSCommand] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] START, MoveImageGroupV
DSCommand( storagePoolId = 58aa23b5-9680-4ff2-991c-8f8952cfa13c, 
ignoreFailoverLimit = false, storageDomainId = 
2a1cc76e-9ba2-4586-a612-049894467470, imageGroupId = 63e
58057-00fd-4597-a258-64558d45c155, dstDomainId = 
c9bddba0-c553-4a90-b97c-bdc1e88a333e, vmId = 
59e1be99-c37e-431d-9b4c-1d039fd667a7, op = Copy, postZero = false, force =
 true), log id: 781cc2f3
2016-05-07 18:04:53,135 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.MoveImageGroupVDSCommand] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] FINISH, MoveImageGroup
VDSCommand, log id: 781cc2f3
2016-05-07 18:04:53,233 INFO  
[org.ovirt.engine.core.bll.tasks.CommandAsyncTask] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] CommandAsyncTask::Adding 
CommandMultiAsy
ncTasks object for command 1711f190-c188-419c-acc2-25edc8b8d1cf
2016-05-07 18:04:53,234 INFO  
[org.ovirt.engine.core.bll.CommandMultiAsyncTasks] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] 
CommandMultiAsyncTasks::AttachTask: Atta
ching task 106774fb-1093-495a-a996-48f48e066a6f to command 
1711f190-c188-419c-acc2-25edc8b8d1cf.
2016-05-07 18:04:53,421 INFO  
[org.ovirt.engine.core.bll.tasks.AsyncTaskManager] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] Adding task 
106774fb-1093-495a-a996-48f4
8e066a6f (Parent Command ExportVm, Parameters Type 
org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters), polling hasn't 
started yet.
2016-05-07 18:04:54,164 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] Correlation ID: 7a94a972, Job 
ID: a312c127-45ef-44b4-8bee-b36fe7f251ee, Call Stack: null, Custom Event ID: 
-1, Message: Starting export Vm operaciones-ad to vms-backups
2016-05-07 18:04:54,166 INFO  [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] BaseAsyncTask::startPollingTask: 
Starting to poll task 106774fb-1093-495a-a996-48f48e066a6f.
2016-05-07 18:04:54,945 WARN  
[org.ovirt.engine.core.bll.scheduling.policyunits.EvenGuestDistributionBalancePolicyUnit]
 (DefaultQuartzScheduler_Worker-53) [662bbf2a] There is no host with less than 
4 running guests
2016-05-07 18:04:54,946 WARN  
[org.ovirt.engine.core.bll.scheduling.PolicyUnitImpl] 
(DefaultQuartzScheduler_Worker-53) [662bbf2a] All hosts are over-utilized, cant 
balance the cluster main
2016-05-07 18:05:00,647 INFO  
[org.ovirt.engine.core.bll.tasks.AsyncTaskManager] 
(DefaultQuartzScheduler_Worker-90) [3b5cd3b6] Polling and updating Async Tasks: 
1 tasks, 1 tasks to poll now
2016-05-07 18:05:00,656 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-90) [3b5cd3b6] Failed in 
HSMGetAllTasksStatusesVDS method
2016-05-07 18:05:00,657 INFO  [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] 
(DefaultQuartzScheduler_Worker-90) [3b5cd3b6] SPMAsyncTask::PollTask: Polling 
task 

Re: [ovirt-users] Problems exporting VM's

2016-05-09 Thread Michal Skrivanek

> On 08 May 2016, at 02:14, Luciano Natale  wrote:
> 
> Hi everyone. I've been having trouble when exporting VM's. I get error when 
> moving image. I've created a whole new storage domain exclusive for this 
> issue, and same thing happens. It's not always the same VM that fails, but 
> once it fails on a certain storage domain, I cannot export it anymore. Please 
> tell me which logs are relevant so i can post them and any other relevant 
> iformation I can provide, and maybe someone can help me get through this 
> problem.

Hi,
please send /var/log/ovirt-engine/engine.log and let’s see.

Thanks,
michal

> 
> Ovirt version is 3.5.4.2-1.el6. Hosted engines is CentOS 6. Hosts are CentOS 
> 7. VM's are all CentOS 7, except for two that are CentOS 6 and Windows 7.
> 
> Please excuse my bad english!
> Thanks in advance!
> 
> -- 
> Luciano Natale
> ___
> 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] Problems exporting VM's

2016-05-07 Thread Luciano Natale
Hi everyone. I've been having trouble when exporting VM's. I get error when
moving image. I've created a whole new storage domain exclusive for this
issue, and same thing happens. It's not always the same VM that fails, but
once it fails on a certain storage domain, I cannot export it anymore.
Please tell me which logs are relevant so i can post them and any other
relevant iformation I can provide, and maybe someone can help me get
through this problem.

Ovirt version is 3.5.4.2-1.el6. Hosted engines is CentOS 6. Hosts are
CentOS 7. VM's are all CentOS 7, except for two that are CentOS 6 and
Windows 7.

Please excuse my bad english!
Thanks in advance!

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