Re: [ovirt-users] Replace Engine Self-Signed Certificate

2016-10-10 Thread Rogério Ceni Coelho
Take a look. Documentation imcomplete.

https://bugzilla.redhat.com/show_bug.cgi?id=1336838



Em seg, 10 de out de 2016 às 12:17, Alan Griffiths 
escreveu:

> Hi,
>
> I'm trying to replace the self-signed certificate in the engine.
>
> I updated the four files listed here
>
> http://www.ovirt.org/develop/release-management/features/infra/pki/
>
> But on restarting Apache and logging in I get the following error,
> "sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target"
>
> What am I missing?
>
> Thanks,
>
> Alan
>
>
> ___
> 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


Re: [ovirt-users] Unable to get HE up after update

2016-10-10 Thread Susinthiran Sithamparanathan
On Mon, Oct 10, 2016 at 11:40 AM, Simone Tiraboschi 
wrote:

>
> OK, the issue on the host is just here:
> MainThread::DEBUG::2016-10-10 11:18:34,169::brokerlink::282:
> :ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(_communicate) Full
> response: success {"reason": "failed liveliness check", "health": "bad",
> "vm": "up", "detail": "up"}
> MainThread::DEBUG::2016-10-10 11:18:34,169::brokerlink::255:
> :ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(_checked_communicate)
> Successful response from socket
> MainThread::DEBUG::2016-10-10 11:18:34,170::brokerlink::151:
> :ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(get_monitor_status)
> Success, status {"reason": "failed liveliness check", "health": "bad",
> "vm": "up", "detail": "up"}
>
> the engine VM goes up but the engine no and so after a certain amount of
> time it tries again with a reboot.
> We should definitively add a more explicit log entry there!
>
> Now the point is just why your engine is not starting.
>
Perhaps you ignored https://paste.fedoraproject.org/447579/14760912/? It
seems the reason it doesn't start is due to some missing SSL/TLS certs
inside the VM. Or do you think the problem is still somewhere else?
I've uploaded engine-setup logs to https://my.owndrive.com/index.
php/s/3Dcyho9bqo7oZs8 in the folder engine-setup and you'll see many. I did
desperately try to get up the HE when it failed after upgrade by trying to
manually setup a new HE which failed (couple of times IIRC). So that might
have caused couple of additional logs files in there.


-- 

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


[ovirt-users] Migrating Hosted Engine Storage

2016-10-10 Thread Maton, Brett
Hi,

  I was wondering how to move the Hosted Engine 'disk' to another storage
domain?
  Live migration doesn't appear to be working, just left the disk in a
'locked' state, the engine is currently up and running.

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


Re: [ovirt-users] cbs.centos.org

2016-10-10 Thread Rafael Martins
- Original Message -
> From: "Simone Bruckner" 
> To: users@ovirt.org
> Sent: Monday, October 10, 2016 5:01:56 PM
> Subject: [ovirt-users] cbs.centos.org
> 
> 
> 
> Hi all,
> 
> 
> 
> I’m trying to update my oVirt installation but cbs.centos.org (referenced by
> ovirt-4.0-dependencies.repo) seems to be down. Any ideas when it will be up
> again?
> 

Hi Simone, CBS is down for hardware migration [1]. There's not a lot we can do 
now, other than wait for it to finish.

[1] https://status.centos.org/

Thanks,
Rafael

> 
> All the best,
> 
> Simone Bruckner
> 
> 
> 
> ___
> 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] Replace Engine Self-Signed Certificate

2016-10-10 Thread Alan Griffiths
Hi,

I'm trying to replace the self-signed certificate in the engine.

I updated the four files listed here

http://www.ovirt.org/develop/release-management/features/infra/pki/

But on restarting Apache and logging in I get the following error,
"sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target"

What am I missing?

Thanks,

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


[ovirt-users] cbs.centos.org

2016-10-10 Thread Bruckner, Simone
Hi all,

  I'm trying to update my oVirt installation but cbs.centos.org (referenced by 
ovirt-4.0-dependencies.repo) seems to be down. Any ideas when it will be up 
again?

All the best,
Simone Bruckner

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


Re: [ovirt-users] Mantenance mode error

2016-10-10 Thread Simone Tiraboschi
On Mon, Oct 10, 2016 at 3:11 PM, nicola.gentile.to <
nicola.gentile...@gmail.com> wrote:

> Hi,
>
> I have a problem. I try to put in maintenance mode the host, but the
> message that is displayed is this
>
> "Error while executing action: Cannot switch Host to Maintenance mode.
> Host has asynchronous running tasks, wait for operation to complete and
> retry."
>
> I checked the log file engine.log:
>
> "2016-10-10 14:32:53,841 INFO 
> [org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand]
> (default task-15) [697e9736] Lock Acquired to object
> 'EngineLock:{exclusiveLocks='null', 
> sharedLocks='[0001-0001-0001-0001-016a= ACTION_TYPE_FAILED_OBJECT_LOCKED>]'}'
> 2016-10-10 14:32:53,843 WARN 
> [org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand]
> (default task-15) [697e9736] Validation of action 'MaintenanceNumberOfVdss'
> failed for user admin@internal-authz. Reasons:
> VAR__TYPE__HOST,VAR__ACTION__MAINTENANCE,VDS_CANNOT_MAINTENA
> NCE_SPM_WITH_RUNNING_TASKS
> 2016-10-10 14:32:53,843 INFO 
> [org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand]
> (default task-15) [697e9736] Lock freed to object
> 'EngineLock:{exclusiveLocks='null', 
> sharedLocks='[0001-0001-0001-0001-016a= ACTION_TYPE_FAILED_OBJECT_LOCKED>]'}'
> 2016-10-10 14:32:53,851 ERROR [org.ovirt.engine.api.restapi.
> resource.AbstractBackendResource] (default task-15) [] Operation Failed:
> [Cannot switch Host to Maintenance mode. Host has asynchronous running
> tasks,"
>
> How can I revolve?
>

It seams that you have ongoing async operation on that host. If this it's
true, I'd suggest to wait for them to complete.

If it's not the case or that tasks somehow died, on the engine machine you
have the /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh utility to
remove that zombies.


>
> Regards
>
>
> Nicola
>
> ___
> 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


Re: [ovirt-users] Error while executing action RefreshLunsSize: REFRESH_LUN_ERROR

2016-10-10 Thread vasily.lamy...@megafon.ru
Thank you!
I solved this problem at morning.
I run pvresize manually before expand size in web. Then resize in web was been 
normally completed.

Ламыкин Василий
Старший инженер по эксплуатации сервисных платформ
Столичный ф-ал ПАО "МегаФон

+7 (926) 500-3308
[МегаФон лого+знак РУС B2C]

From: Fred Rolland [mailto:froll...@redhat.com]
Sent: Monday, October 10, 2016 2:39 PM
To: Vasily Lamykin (MSK) 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Error while executing action RefreshLunsSize: 
REFRESH_LUN_ERROR

Hi,
Can you run getDeviceList on each hosts and check if the device has the same 
size on all hosts?
Thanks,
Fred

On Thu, Oct 6, 2016 at 10:56 AM, 
vasily.lamy...@megafon.ru 
> wrote:
I want to add some space on my LUN.
Previously I added the place simply by pressing the “plus” button in domain 
management.
Today I have some error with this. I touch “plus” button and get next errors:
In web: “Error while executing action RefreshLunsSize: REFRESH_LUN_ERROR ”
In engine.log:
2016-10-06 05:30:09,974 ERROR 
[org.ovirt.engine.core.bll.storage.domain.RefreshLunsSizeCommand] (default 
task-1) [784d8d11] Failed to refresh device 3600c0ff0001b7485f7aeea570100 
Not all VDS are seeing the same size VDS 
:[Host[node10,37d1a1a7-4d40-45bb-8351-0b4f8b3d349c], 
Host[node1,5a978ba9-3314-4f4d-bfc2-59aaefc5a33c], 
Host[node3,d03c5b81-fdc3-4407-a444-feaa3d2e9d96], 
Host[node2,a44c06e1-379d-4e73-8a8f-60210a99141e]]
2016-10-06 05:30:09,974 ERROR 
[org.ovirt.engine.core.bll.storage.domain.RefreshLunsSizeCommand] (default 
task-1) [784d8d11] Command 
'org.ovirt.engine.core.bll.storage.domain.RefreshLunsSizeCommand' failed: 
EngineException: Failed to refresh LUNs. Not all VDS are seeing the same size: 
[LUN : 3600c0ff0001b7485f7aeea570100VDS: node10, node1, node3, node2] 
(Failed with error REFRESH_LUN_ERROR and code 5060)
2016-10-06 05:30:09,975 INFO  
[org.ovirt.engine.core.bll.storage.domain.RefreshLunsSizeCommand] (default 
task-1) [784d8d11] Command [id=44f94cb2-3eff-49b5-85c6-d2cb79801277]: 
Compensating CHANGED_STATUS_ONLY of 
org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot: 
EntityStatusSnapshot:{id='StoragePoolIsoMapId:{storagePoolId='0001-0001-0001-0001-034e',
 storageId='f5309743-d46b-4365-951a-571d2d9fbc87'}', status='Active'}.
2016-10-06 05:30:15,683 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-1) [784d8d11] Correlation ID: 784d8d11, Job ID: 
b47afe3a-6052-4c67-a5b6-7f7303aa18b6, Call Stack: null, Custom Event ID: -1, 
Message: Failed to resize LUNs.
Not all the hosts are seeing the same LUN size.

But on all node’s I see same LUN size in `multipath –ll`
How can i repair this problem, and expand lun size in ovirt?




Информация в этом сообщении предназначена исключительно для конкретных лиц, 
которым она адресована. В сообщении может содержаться конфиденциальная 
информация, которая не может быть раскрыта или использована кем-либо, кроме 
адресатов. Если вы не адресат этого сообщения, то использование, переадресация, 
копирование или распространение содержания сообщения или его части незаконно и 
запрещено. Если Вы получили это сообщение ошибочно, пожалуйста, незамедлительно 
сообщите отправителю об этом и удалите со всем содержимым само сообщение и 
любые возможные его копии и приложения.

The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and others authorized to 
receive it. It may contain confidential or legally privileged information. The 
contents may not be disclosed or used by anyone other than the addressee. If 
you are not the intended recipient(s), any use, disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it is 
prohibited and may be unlawful. If you have received this communication in 
error please notify us immediately by responding to this email and then delete 
the e-mail and all attachments and any copies thereof.

(c)20mf50

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




Информация в этом сообщении предназначена исключительно для конкретных лиц, 
которым она адресована. В сообщении может содержаться конфиденциальная 
информация, которая не может быть раскрыта или использована кем-либо, кроме 
адресатов. Если вы не адресат этого сообщения, то использование, переадресация, 
копирование или распространение содержания сообщения или его части незаконно и 
запрещено. Если Вы получили это сообщение ошибочно, пожалуйста, незамедлительно 
сообщите отправителю об этом и удалите со всем содержимым само сообщение и 
любые возможные его копии и приложения.

The information contained in this 

Re: [ovirt-users] nagios for ovirt 4

2016-10-10 Thread René Koch

Hi,

Latest version from master branch will work, as it contains support for 
both API versions.
I (sadly) didn't had enough time yet to release a new stable version 
with support for oVirt 4.0, so please use plugin from master branch. Thanks.



Regards,
René

On 10/10/2016 02:26 PM, Yaniv Kaul wrote:



On Mon, Oct 10, 2016 at 12:23 PM, Kapetanakis Giannis 
> wrote:


On 10/10/16 11:59, Kapetanakis Giannis wrote:
> Hi,
>
> Is there any usable nagios plugin what works with ovirt engine 4?
>
> regards,
>
> Giannis

Self replying.
Latest version of https://github.com/ovido/check_rhev3
 works fine


From what I can see, it might not work with oVirt 4.x, due to outdated 
API endpoint[1].

I've opened an issue[2] about it.
Y.

[1] 
https://github.com/ovido/check_rhev3/blob/master/plugin-dir/check_rhev3.pl#L47 


[2] https://github.com/ovido/check_rhev3/issues/48


G

___
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




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Mantenance mode error

2016-10-10 Thread nicola.gentile.to

Hi,

I have a problem. I try to put in maintenance mode the host, but the 
message that is displayed is this


"Error while executing action: Cannot switch Host to Maintenance mode. 
Host has asynchronous running tasks, wait for operation to complete and 
retry."


I checked the log file engine.log:

"2016-10-10 14:32:53,841 INFO 
[org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand] (default 
task-15) [697e9736] Lock Acquired to object 
'EngineLock:{exclusiveLocks='null', 
sharedLocks='[0001-0001-0001-0001-016a=]'}'
2016-10-10 14:32:53,843 WARN 
[org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand] (default 
task-15) [697e9736] Validation of action 'MaintenanceNumberOfVdss' 
failed for user admin@internal-authz. Reasons: 
VAR__TYPE__HOST,VAR__ACTION__MAINTENANCE,VDS_CANNOT_MAINTENANCE_SPM_WITH_RUNNING_TASKS
2016-10-10 14:32:53,843 INFO 
[org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand] (default 
task-15) [697e9736] Lock freed to object 
'EngineLock:{exclusiveLocks='null', 
sharedLocks='[0001-0001-0001-0001-016a=]'}'
2016-10-10 14:32:53,851 ERROR 
[org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default 
task-15) [] Operation Failed: [Cannot switch Host to Maintenance mode. 
Host has asynchronous running tasks,"


How can I revolve?

Regards


Nicola

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


Re: [ovirt-users] nagios for ovirt 4

2016-10-10 Thread Yaniv Kaul
On Mon, Oct 10, 2016 at 12:23 PM, Kapetanakis Giannis <
bil...@edu.physics.uoc.gr> wrote:

> On 10/10/16 11:59, Kapetanakis Giannis wrote:
> > Hi,
> >
> > Is there any usable nagios plugin what works with ovirt engine 4?
> >
> > regards,
> >
> > Giannis
>
> Self replying.
> Latest version of https://github.com/ovido/check_rhev3 works fine
>

>From what I can see, it might not work with oVirt 4.x, due to outdated API
endpoint[1].
I've opened an issue[2] about it.
Y.

[1]
https://github.com/ovido/check_rhev3/blob/master/plugin-dir/check_rhev3.pl#L47

[2] https://github.com/ovido/check_rhev3/issues/48

>
> G
>
> ___
> 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


Re: [ovirt-users] Error while executing action RefreshLunsSize: REFRESH_LUN_ERROR

2016-10-10 Thread Fred Rolland
Hi,

Can you run getDeviceList on each hosts and check if the device has the
same size on all hosts?

Thanks,

Fred

On Thu, Oct 6, 2016 at 10:56 AM, vasily.lamy...@megafon.ru <
vasily.lamy...@megafon.ru> wrote:

> *I want to add some space on my LUN.*
>
> *Previously I added the place simply by pressing the “plus” button in
> domain management.*
>
> *Today I have some error with this. I touch “plus” button and get next
> errors:*
>
> *In web:* “Error while executing action RefreshLunsSize:
> REFRESH_LUN_ERROR ”
>
> *In engine.log:*
>
> 2016-10-06 05:30:09,974 ERROR 
> [org.ovirt.engine.core.bll.storage.domain.RefreshLunsSizeCommand]
> (default task-1) [784d8d11] Failed to refresh device
> 3600c0ff0001b7485f7aeea570100 Not all VDS are seeing the same size
> VDS :[Host[node10,37d1a1a7-4d40-45bb-8351-0b4f8b3d349c],
> Host[node1,5a978ba9-3314-4f4d-bfc2-59aaefc5a33c],
> Host[node3,d03c5b81-fdc3-4407-a444-feaa3d2e9d96],
> Host[node2,a44c06e1-379d-4e73-8a8f-60210a99141e]]
>
> 2016-10-06 05:30:09,974 ERROR 
> [org.ovirt.engine.core.bll.storage.domain.RefreshLunsSizeCommand]
> (default task-1) [784d8d11] Command 'org.ovirt.engine.core.bll.
> storage.domain.RefreshLunsSizeCommand' failed: EngineException: Failed to
> refresh LUNs. Not all VDS are seeing the same size: [LUN :
> 3600c0ff0001b7485f7aeea570100VDS: node10, node1, node3, node2]
> (Failed with error REFRESH_LUN_ERROR and code 5060)
>
> 2016-10-06 05:30:09,975 INFO  
> [org.ovirt.engine.core.bll.storage.domain.RefreshLunsSizeCommand]
> (default task-1) [784d8d11] Command [id=44f94cb2-3eff-49b5-85c6-d2cb79801277]:
> Compensating CHANGED_STATUS_ONLY of org.ovirt.engine.core.common.
> businessentities.StoragePoolIsoMap; snapshot: EntityStatusSnapshot:{id='
> StoragePoolIsoMapId:{storagePoolId='0001-0001-0001-0001-034e',
> storageId='f5309743-d46b-4365-951a-571d2d9fbc87'}', status='Active'}.
>
> 2016-10-06 05:30:15,683 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (default task-1) [784d8d11]
> Correlation ID: 784d8d11, Job ID: b47afe3a-6052-4c67-a5b6-7f7303aa18b6,
> Call Stack: null, Custom Event ID: -1, Message: Failed to resize LUNs.
>
> Not all the hosts are seeing the same LUN size.
>
>
>
> *But on all node’s I see same LUN size in `multipath –ll`*
>
> *How can i repair this problem, and expand lun size in ovirt?*
>
>
>
> --
>
> Информация в этом сообщении предназначена исключительно для конкретных
> лиц, которым она адресована. В сообщении может содержаться конфиденциальная
> информация, которая не может быть раскрыта или использована кем-либо, кроме
> адресатов. Если вы не адресат этого сообщения, то использование,
> переадресация, копирование или распространение содержания сообщения или его
> части незаконно и запрещено. Если Вы получили это сообщение ошибочно,
> пожалуйста, незамедлительно сообщите отправителю об этом и удалите со всем
> содержимым само сообщение и любые возможные его копии и приложения.
>
> The information contained in this communication is intended solely for the
> use of the individual or entity to whom it is addressed and others
> authorized to receive it. It may contain confidential or legally privileged
> information. The contents may not be disclosed or used by anyone other than
> the addressee. If you are not the intended recipient(s), any use,
> disclosure, copying, distribution or any action taken or omitted to be
> taken in reliance on it is prohibited and may be unlawful. If you have
> received this communication in error please notify us immediately by
> responding to this email and then delete the e-mail and all attachments and
> any copies thereof.
>
> (c)20mf50
>
> ___
> 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


Re: [ovirt-users] can't import vm from KVM host

2016-10-10 Thread Nelson Lameiras
hello michal,

Yes, both paths are correct and working on the source host since the VM starts 
and works correctly on source host. Nevertheless I have checked with fdisk and 
mount to assure that these devices are indeed reachable.

Please understand that my setup is the following:
source host : KVM (hosting the VM to migrate)
target host : oVirt 4.0.4 (patched)

The error "no storage vol with matching path '/dev/sdc'" is returned by the 
target host script /usr/lib/python2.7/site-packages/vdsm/v2v.py.
This almost seems normal since the device /dev/sdc is not mounted on target 
host (where script is running) but only on source host.

Can this be the source of the error ?

cordialement, regards, 
Nelson LAMEIRAS 

Lyra Network 
Service Projets et Processus 
Tel : +33 (0) 5 32 09 09 70 
109 rue de l’innovation 
31670 Labège - France 
www.lyra-network.com

- Original Message -
From: "Michal Skrivanek" 
To: "Nelson Lameiras" 
Cc: "Shahar Havivi" , users@ovirt.org
Sent: Friday, October 7, 2016 3:50:44 PM
Subject: Re: [ovirt-users] can't import vm from KVM host

> On 7 Oct 2016, at 09:42, Nelson Lameiras  
> wrote:
> 
> hello,
> 
> any news on this issue ?

Hi, Shahar is out on vacation for few weeks

> can I do anything to help ?

hm...looking at the error, can you please confirm those paths 
('/dev/mapper/vg_00-lv_sys’, /dev/sdc) are mounted/correct on the source host?
Seems like the patch works and adds those disks all right, but further queries 
fails indicating those disks are not reachable.

Thanks,
michal

> 
> cordialement, regards, 
> Nelson LAMEIRAS 
> 
> Lyra Network 
> Service Projets et Processus 
> Tel : +33 (0) 5 32 09 09 70 
> 109 rue de l’innovation 
> 31670 Labège - France 
> www.lyra-network.com
> 
> - Original Message -
> From: "Shahar Havivi" 
> To: "Nelson Lameiras" 
> Cc: users@ovirt.org
> Sent: Thursday, September 29, 2016 2:31:42 PM
> Subject: Re: [ovirt-users] can't import vm from KVM host
> 
> On 29.09.16 14:22, Nelson Lameiras wrote:
>> Shahar,
>> 
>> I took the liberty to try to patch our test setup with the fix I took from 
>> https://gerrit.ovirt.org/#/c/64272/4/ (lib/vdsm/v2v.py)
>> I restarted vdsm afterwards
>> 
>> Result :
>> In the GUI import page, now when clicking on "load" button (just before 
>> guetting the list of vm to import on source), an error occurs : "Failed to 
>> communicate with the external provider, see log for additional details."
>> 
>> Error on engine log :
>> 
>> "
>> 2016-09-29 14:13:48,637 ERROR 
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsFromExternalProviderVDSCommand]
>>  (default task-30) [] Failed in 'GetVmsFromExternalProviderVDS' method, for 
>> vds: 'virtintelan01.lbg.office.lyra'; host: 'virtintelan01.lbg.office.lyra': 
>> null
>> 2016-09-29 14:13:48,637 ERROR 
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsFromExternalProviderVDSCommand]
>>  (default task-30) [] Command 'GetVmsFromExternalProviderVDSCommand(HostName 
>> = virtintelan01.lbg.office.lyra, 
>> GetVmsFromExternalProviderParameters:{runAsync='true', 
>> hostId='20b59a24-0098-461a-b4a3-7d6213b96c52', 
>> url='qemu+ssh://root@192.168.210.140/system', username='null', 
>> originType='KVM'})' execution failed: null
>> 2016-09-29 14:13:48,637 INFO  
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsFromExternalProviderVDSCommand]
>>  (default task-30) [] FINISH, GetVmsFromExternalProviderVDSCommand, log id: 
>> 6e062276
>> 2016-09-29 14:13:48,637 ERROR 
>> [org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery] (default 
>> task-30) [] Query 'GetVmsFromExternalProviderQuery' failed: EngineException: 
>> java.lang.NumberFormatException: null (Failed with error ENGINE and code 
>> 5001)
>> 2016-09-29 14:13:48,637 ERROR 
>> [org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery] (default 
>> task-30) [] Exception: org.ovirt.engine.core.common.errors.EngineException: 
>> EngineException: java.lang.NumberFormatException: null (Failed with error 
>> ENGINE and code 5001)
>>at 
>> org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:114) 
>> [bll.jar:]
>>at 
>> org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.runVdsCommand(VDSBrokerFrontendImpl.java:33)
>>  [bll.jar:]
>>at 
>> org.ovirt.engine.core.bll.QueriesCommandBase.runVdsCommand(QueriesCommandBase.java:257)
>>  [bll.jar:]
>>...
>> "
>> 
>> In the host, I can see the following errors on /var/log/messages : 
>> 
>> "
>> Sep 29 14:11:39 virtintelan01 journal: vdsm root ERROR Error getting disk 
>> size#012Traceback (most recent call last):#012  File 
>> "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 931, in 
>> _add_disk_info#012vol = conn.storageVolLookupByPath(disk['alias'])#012  
>> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 4596, in 
>> 

[ovirt-users] oVirt not assigning network to gluster brick

2016-10-10 Thread Felip Moll
Hello,

I have latest version of ovirt 4 installed on a Centos 7, 2 hypervisor
nodes (rdkvm[1-2]) and 1 ovirt-engine node (rdhead1).

I receive the following warning in the logs despite of having the
gluster network set up. Everything is running fine.


2016-10-10 12:24:02,825 WARN
[org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturnForXmlRpc]
(DefaultQuartzScheduler7) [5a52dffe] Could not associate brick
'rdkvm1-data:/data/sdb1/gluvol1' of volume
'47e45087-1a07-4790-9d30-77edbefa5f2e' with correct network as no
gluster network found in cluster
'57f387dc-0315-020b-019c-00e6'
2016-10-10 12:24:02,831 WARN
[org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturnForXmlRpc]
(DefaultQuartzScheduler7) [5a52dffe] Could not associate brick
'rdkvm2-data:/data/sdb1/gluvol1' of volume
'47e45087-1a07-4790-9d30-77edbefa5f2e' with correct network as no
gluster network found in cluster
'57f387dc-0315-020b-019c-00e6'
2016-10-10 12:24:02,838 WARN
[org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturnForXmlRpc]
(DefaultQuartzScheduler7) [5a52dffe] Could not associate brick
'rdkvm1-data:/data/sdc1/gluvol2' of volume
'3c1e9936-4cce-4a21-83f3-ac8611348484' with correct network as no
gluster network found in cluster
'57f387dc-0315-020b-019c-00e6'
2016-10-10 12:24:02,844 WARN
[org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturnForXmlRpc]
(DefaultQuartzScheduler7) [5a52dffe] Could not associate brick
'rdkvm2-data:/data/sdc1/gluvol2' of volume
'3c1e9936-4cce-4a21-83f3-ac8611348484' with correct network as no
gluster network found in cluster
'57f387dc-0315-020b-019c-00e6'

My ovirt-engine node is not connected to the gluster network directly.
The glusterNetwork is defined in the cluster and is attached to bond0
interface of rdkvm1 and rdkvm2.

[RDHEAD1][root@rdhead1 ~]# su - postgres -c "psql -d engine -c
\"SELECT id,name,type,addr,subnet,vlan_id,storage_pool_id FROM
network\""
  id  |  name  | type | addr |
subnet | vlan_id |   storage_pool_id
--++--+--++-+--
 ----0009 | ovirtmgmt  |  |  |
   | | 57f387dc-0389-0252-01f4-0316
 628ed584-feaf-4952-908c-5b2d654c0731 | glusterNetwork |  |  |
   | | 57f387dc-0389-0252-01f4-0316
 965b2aeb-1230-4c24-9ca2-e815187372a9 | BMCNetwork |  |  |
   | | 57f387dc-0389-0252-01f4-0316
(3 rows)

[RDHEAD1][root@rdhead1 ~]# su - postgres -c "psql -d engine -c
\"SELECT volume_id,status,network_id FROM gluster_volume_bricks\""
  volume_id   | status | network_id
--++
 3c1e9936-4cce-4a21-83f3-ac8611348484 | UP |
 3c1e9936-4cce-4a21-83f3-ac8611348484 | UP |
 47e45087-1a07-4790-9d30-77edbefa5f2e | UP |
 47e45087-1a07-4790-9d30-77edbefa5f2e | UP |
(4 rows)


I tried to manually attach the network_id to the volume bricks, but
after a while it gets emptied:

[RDHEAD1][root@rdhead1 squid-in-a-can]# su - postgres -c "psql -d
engine -c \"update gluster_volume_bricks set
network_id='628ed584-feaf-4952-908c-5b2d654c0731'  \""
UPDATE 4

Look:

2016-10-10 12:27:28,595 INFO
[org.ovirt.engine.core.bll.gluster.GlusterSyncJob]
(DefaultQuartzScheduler2) [33756067] Network address for brick
'10.3.10.5:/data/sdc1/gluvol2' detected as  'rdkvm1-data'. Updating
engine DB accordingly.
2016-10-10 12:27:28,607 INFO
[org.ovirt.engine.core.bll.gluster.GlusterSyncJob]
(DefaultQuartzScheduler2) [33756067] Network address for brick
'10.3.10.6:/data/sdc1/gluvol2' detected as  'rdkvm2-data'. Updating
engine DB accordingly.
2016-10-10 12:27:28,619 INFO
[org.ovirt.engine.core.bll.gluster.GlusterSyncJob]
(DefaultQuartzScheduler2) [33756067] Network address for brick
'10.3.10.5:/data/sdb1/gluvol1' detected as  'rdkvm1-data'. Updating
engine DB accordingly.
2016-10-10 12:27:28,623 INFO
[org.ovirt.engine.core.bll.gluster.GlusterSyncJob]
(DefaultQuartzScheduler2) [33756067] Network address for brick
'10.3.10.6:/data/sdb1/gluvol1' detected as  'rdkvm2-data'. Updating
engine DB accordingly.




How can I solve this situation?


Thank you
Felip M

--
Felip Moll Marquès
Computer Science Engineer
E-Mail - lip...@gmail.com
WebPage - http://lipix.ciutadella.es
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to get HE up after update

2016-10-10 Thread Simone Tiraboschi
On Mon, Oct 10, 2016 at 11:40 AM, Simone Tiraboschi 
wrote:

>
>
> On Mon, Oct 10, 2016 at 11:27 AM, Susinthiran Sithamparanathan <
> chesu...@gmail.com> wrote:
>
>> Hi,
>> all the logs are now at https://my.owndrive.com/index.
>> php/s/3Dcyho9bqo7oZs8
>>
>> I did a quick debug in the VM and i think we are getting closer to the
>> root cause:
>> https://paste.fedoraproject.org/447579/14760912/
>>
>> It seems the SSL/TLS certs are all missing. Now i wonder which RPM
>> package does contain these so that i can try to reinstall it.
>>
>> Appreciate your help so far!
>>
>>
> OK, the issue on the host is just here:
> MainThread::DEBUG::2016-10-10 11:18:34,169::brokerlink::282:
> :ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(_communicate) Full
> response: success {"reason": "failed liveliness check", "health": "bad",
> "vm": "up", "detail": "up"}
> MainThread::DEBUG::2016-10-10 11:18:34,169::brokerlink::255:
> :ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(_checked_communicate)
> Successful response from socket
> MainThread::DEBUG::2016-10-10 11:18:34,170::brokerlink::151:
> :ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(get_monitor_status)
> Success, status {"reason": "failed liveliness check", "health": "bad",
> "vm": "up", "detail": "up"}
>
> the engine VM goes up but the engine no and so after a certain amount of
> time it tries again with a reboot.
> We should definitively add a more explicit log entry there!
>
> Now the point is just why your engine is not starting.
>

Can you please upload you engine-setup logs from the engine VM?



>
>
>
>>
>>
>>
>> On Mon, Oct 10, 2016 at 10:17 AM, Simone Tiraboschi 
>> wrote:
>>
>>>
>>>
>>> On Mon, Oct 10, 2016 at 10:13 AM, Yedidyah Bar David 
>>> wrote:
>>>
 On Mon, Oct 10, 2016 at 10:56 AM, Simone Tiraboschi <
 stira...@redhat.com> wrote:
 >
 >
 > On Sun, Oct 9, 2016 at 5:13 PM, Susinthiran Sithamparanathan
 >  wrote:
 >>
 >> Sure, here it is: https://my.owndrive.com/index.
 php/s/MFoFyKJVLjzezey
 >>
 >
 > The agent is periodically restarting the engine VM but from the logs
 I don't
 > see why.

 Also it keeps doing:


>>> Yes, this is fine: by design ovirt-ha-agent periodically (about 30-40
>>> seconds) reconnects the hosted-engine storage domain.
>>>
>>>
 MainThread::INFO::2016-10-09
 17:06:01,025::hosted_engine::612::ovirt_hosted_engine_ha.age
 nt.hosted_engine.HostedEngine::(_initialize_vdsm)
 Initializing VDSM
 MainThread::INFO::2016-10-09
 17:06:05,118::hosted_engine::639::ovirt_hosted_engine_ha.age
 nt.hosted_engine.HostedEngine::(_initialize_storage_images)
 Connecting the storage
 MainThread::INFO::2016-10-09
 17:06:05,131::storage_server::218::ovirt_hosted_engine_ha.li
 b.storage_server.StorageServer::(connect_storage_server)
 Connecting storage server
 MainThread::INFO::2016-10-09
 17:06:13,459::storage_server::225::ovirt_hosted_engine_ha.li
 b.storage_server.StorageServer::(connect_storage_server)
 Connecting storage server
 MainThread::INFO::2016-10-09
 17:06:13,496::storage_server::232::ovirt_hosted_engine_ha.li
 b.storage_server.StorageServer::(connect_storage_server)
 Refreshing the storage domain
 MainThread::INFO::2016-10-09
 17:06:13,737::hosted_engine::666::ovirt_hosted_engine_ha.age
 nt.hosted_engine.HostedEngine::(_initialize_storage_images)
 Preparing images
 MainThread::INFO::2016-10-09
 17:06:13,737::image::126::ovirt_hosted_engine_ha.lib.image.I
 mage::(prepare_images)
 Preparing images

 Does this make sense, Simone?

 Please check/share also /var/log/vdsm/* . Thanks.

 > Can you please set the agent in debug mode and share again its logs?
 >
 > You have to edit /etc/ovirt-hosted-engine-ha/agent-log.conf changing
 from
 >
 > [logger_root]
 > level=INFO
 >
 > to
 > [logger_root]
 > level=DEBUG
 >
 > and then restart ovirt-ha-agent.
 >
 >
 >>
 >> On Sun, Oct 9, 2016 at 3:19 PM, Doron Fediuck 
 wrote:
 >>>
 >>> Can you please provide the HA agent logs?
 >>>
 >>> On Sun, Oct 9, 2016 at 1:57 PM, Susinthiran Sithamparanathan
 >>>  wrote:
 
  Hi,
  i've been discussing this issue over at IRC (#ovirt on
 irc.oftc.net))
  and was suggested to send an email with logs the ML.
 
  The problem i have is that the HE is a loop getting up and down (
 ( i
  assume it's the HA trying to get it up) after upgrade to oVirt 4.
 I have a
  couple of VMs i use daily with SPICE and remoteviewer and i hope
 to get them
  up and running again. Due to this, i've put it in global
 maintenance mode.
  I'm attaching the server log in the hope of 

Re: [ovirt-users] Unable to get HE up after update

2016-10-10 Thread Simone Tiraboschi
On Mon, Oct 10, 2016 at 11:27 AM, Susinthiran Sithamparanathan <
chesu...@gmail.com> wrote:

> Hi,
> all the logs are now at https://my.owndrive.com/index.
> php/s/3Dcyho9bqo7oZs8
>
> I did a quick debug in the VM and i think we are getting closer to the
> root cause:
> https://paste.fedoraproject.org/447579/14760912/
>
> It seems the SSL/TLS certs are all missing. Now i wonder which RPM package
> does contain these so that i can try to reinstall it.
>
> Appreciate your help so far!
>
>
OK, the issue on the host is just here:
MainThread::DEBUG::2016-10-10
11:18:34,169::brokerlink::282::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(_communicate)
Full response: success {"reason": "failed liveliness check", "health":
"bad", "vm": "up", "detail": "up"}
MainThread::DEBUG::2016-10-10
11:18:34,169::brokerlink::255::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(_checked_communicate)
Successful response from socket
MainThread::DEBUG::2016-10-10
11:18:34,170::brokerlink::151::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(get_monitor_status)
Success, status {"reason": "failed liveliness check", "health": "bad",
"vm": "up", "detail": "up"}

the engine VM goes up but the engine no and so after a certain amount of
time it tries again with a reboot.
We should definitively add a more explicit log entry there!

Now the point is just why your engine is not starting.



>
>
>
> On Mon, Oct 10, 2016 at 10:17 AM, Simone Tiraboschi 
> wrote:
>
>>
>>
>> On Mon, Oct 10, 2016 at 10:13 AM, Yedidyah Bar David 
>> wrote:
>>
>>> On Mon, Oct 10, 2016 at 10:56 AM, Simone Tiraboschi 
>>> wrote:
>>> >
>>> >
>>> > On Sun, Oct 9, 2016 at 5:13 PM, Susinthiran Sithamparanathan
>>> >  wrote:
>>> >>
>>> >> Sure, here it is: https://my.owndrive.com/index.php/s/MFoFyKJVLjzezey
>>> >>
>>> >
>>> > The agent is periodically restarting the engine VM but from the logs I
>>> don't
>>> > see why.
>>>
>>> Also it keeps doing:
>>>
>>>
>> Yes, this is fine: by design ovirt-ha-agent periodically (about 30-40
>> seconds) reconnects the hosted-engine storage domain.
>>
>>
>>> MainThread::INFO::2016-10-09
>>> 17:06:01,025::hosted_engine::612::ovirt_hosted_engine_ha.age
>>> nt.hosted_engine.HostedEngine::(_initialize_vdsm)
>>> Initializing VDSM
>>> MainThread::INFO::2016-10-09
>>> 17:06:05,118::hosted_engine::639::ovirt_hosted_engine_ha.age
>>> nt.hosted_engine.HostedEngine::(_initialize_storage_images)
>>> Connecting the storage
>>> MainThread::INFO::2016-10-09
>>> 17:06:05,131::storage_server::218::ovirt_hosted_engine_ha.li
>>> b.storage_server.StorageServer::(connect_storage_server)
>>> Connecting storage server
>>> MainThread::INFO::2016-10-09
>>> 17:06:13,459::storage_server::225::ovirt_hosted_engine_ha.li
>>> b.storage_server.StorageServer::(connect_storage_server)
>>> Connecting storage server
>>> MainThread::INFO::2016-10-09
>>> 17:06:13,496::storage_server::232::ovirt_hosted_engine_ha.li
>>> b.storage_server.StorageServer::(connect_storage_server)
>>> Refreshing the storage domain
>>> MainThread::INFO::2016-10-09
>>> 17:06:13,737::hosted_engine::666::ovirt_hosted_engine_ha.age
>>> nt.hosted_engine.HostedEngine::(_initialize_storage_images)
>>> Preparing images
>>> MainThread::INFO::2016-10-09
>>> 17:06:13,737::image::126::ovirt_hosted_engine_ha.lib.image.I
>>> mage::(prepare_images)
>>> Preparing images
>>>
>>> Does this make sense, Simone?
>>>
>>> Please check/share also /var/log/vdsm/* . Thanks.
>>>
>>> > Can you please set the agent in debug mode and share again its logs?
>>> >
>>> > You have to edit /etc/ovirt-hosted-engine-ha/agent-log.conf changing
>>> from
>>> >
>>> > [logger_root]
>>> > level=INFO
>>> >
>>> > to
>>> > [logger_root]
>>> > level=DEBUG
>>> >
>>> > and then restart ovirt-ha-agent.
>>> >
>>> >
>>> >>
>>> >> On Sun, Oct 9, 2016 at 3:19 PM, Doron Fediuck 
>>> wrote:
>>> >>>
>>> >>> Can you please provide the HA agent logs?
>>> >>>
>>> >>> On Sun, Oct 9, 2016 at 1:57 PM, Susinthiran Sithamparanathan
>>> >>>  wrote:
>>> 
>>>  Hi,
>>>  i've been discussing this issue over at IRC (#ovirt on irc.oftc.net
>>> ))
>>>  and was suggested to send an email with logs the ML.
>>> 
>>>  The problem i have is that the HE is a loop getting up and down ( (
>>> i
>>>  assume it's the HA trying to get it up) after upgrade to oVirt 4. I
>>> have a
>>>  couple of VMs i use daily with SPICE and remoteviewer and i hope to
>>> get them
>>>  up and running again. Due to this, i've put it in global
>>> maintenance mode.
>>>  I'm attaching the server log in the hope of getting some help and
>>> can
>>>  provide more details if needed to debug the issue further.
>>> 
>>>  The log is too big for fpaste so it's to be found here:
>>>  https://my.owndrive.com/index.php/s/Gk4De1jy9fWmFa8 as well as
>>> attached
>>>  here.
>>> 
>>> 
>>>  Thanks!
>>> 
>>> 

Re: [ovirt-users] Unable to get HE up after update

2016-10-10 Thread Susinthiran Sithamparanathan
Hi,
all the logs are now at https://my.owndrive.com/index.php/s/3Dcyho9bqo7oZs8

I did a quick debug in the VM and i think we are getting closer to the root
cause:
https://paste.fedoraproject.org/447579/14760912/

It seems the SSL/TLS certs are all missing. Now i wonder which RPM package
does contain these so that i can try to reinstall it.

Appreciate your help so far!




On Mon, Oct 10, 2016 at 10:17 AM, Simone Tiraboschi 
wrote:

>
>
> On Mon, Oct 10, 2016 at 10:13 AM, Yedidyah Bar David 
> wrote:
>
>> On Mon, Oct 10, 2016 at 10:56 AM, Simone Tiraboschi 
>> wrote:
>> >
>> >
>> > On Sun, Oct 9, 2016 at 5:13 PM, Susinthiran Sithamparanathan
>> >  wrote:
>> >>
>> >> Sure, here it is: https://my.owndrive.com/index.php/s/MFoFyKJVLjzezey
>> >>
>> >
>> > The agent is periodically restarting the engine VM but from the logs I
>> don't
>> > see why.
>>
>> Also it keeps doing:
>>
>>
> Yes, this is fine: by design ovirt-ha-agent periodically (about 30-40
> seconds) reconnects the hosted-engine storage domain.
>
>
>> MainThread::INFO::2016-10-09
>> 17:06:01,025::hosted_engine::612::ovirt_hosted_engine_ha.age
>> nt.hosted_engine.HostedEngine::(_initialize_vdsm)
>> Initializing VDSM
>> MainThread::INFO::2016-10-09
>> 17:06:05,118::hosted_engine::639::ovirt_hosted_engine_ha.age
>> nt.hosted_engine.HostedEngine::(_initialize_storage_images)
>> Connecting the storage
>> MainThread::INFO::2016-10-09
>> 17:06:05,131::storage_server::218::ovirt_hosted_engine_ha.li
>> b.storage_server.StorageServer::(connect_storage_server)
>> Connecting storage server
>> MainThread::INFO::2016-10-09
>> 17:06:13,459::storage_server::225::ovirt_hosted_engine_ha.li
>> b.storage_server.StorageServer::(connect_storage_server)
>> Connecting storage server
>> MainThread::INFO::2016-10-09
>> 17:06:13,496::storage_server::232::ovirt_hosted_engine_ha.li
>> b.storage_server.StorageServer::(connect_storage_server)
>> Refreshing the storage domain
>> MainThread::INFO::2016-10-09
>> 17:06:13,737::hosted_engine::666::ovirt_hosted_engine_ha.age
>> nt.hosted_engine.HostedEngine::(_initialize_storage_images)
>> Preparing images
>> MainThread::INFO::2016-10-09
>> 17:06:13,737::image::126::ovirt_hosted_engine_ha.lib.image.
>> Image::(prepare_images)
>> Preparing images
>>
>> Does this make sense, Simone?
>>
>> Please check/share also /var/log/vdsm/* . Thanks.
>>
>> > Can you please set the agent in debug mode and share again its logs?
>> >
>> > You have to edit /etc/ovirt-hosted-engine-ha/agent-log.conf changing
>> from
>> >
>> > [logger_root]
>> > level=INFO
>> >
>> > to
>> > [logger_root]
>> > level=DEBUG
>> >
>> > and then restart ovirt-ha-agent.
>> >
>> >
>> >>
>> >> On Sun, Oct 9, 2016 at 3:19 PM, Doron Fediuck 
>> wrote:
>> >>>
>> >>> Can you please provide the HA agent logs?
>> >>>
>> >>> On Sun, Oct 9, 2016 at 1:57 PM, Susinthiran Sithamparanathan
>> >>>  wrote:
>> 
>>  Hi,
>>  i've been discussing this issue over at IRC (#ovirt on irc.oftc.net
>> ))
>>  and was suggested to send an email with logs the ML.
>> 
>>  The problem i have is that the HE is a loop getting up and down ( ( i
>>  assume it's the HA trying to get it up) after upgrade to oVirt 4. I
>> have a
>>  couple of VMs i use daily with SPICE and remoteviewer and i hope to
>> get them
>>  up and running again. Due to this, i've put it in global maintenance
>> mode.
>>  I'm attaching the server log in the hope of getting some help and can
>>  provide more details if needed to debug the issue further.
>> 
>>  The log is too big for fpaste so it's to be found here:
>>  https://my.owndrive.com/index.php/s/Gk4De1jy9fWmFa8 as well as
>> attached
>>  here.
>> 
>> 
>>  Thanks!
>> 
>> 
>>  --
>> 
>>  Susinthiran Sithamparanathan
>> 
>>  ___
>>  Users mailing list
>>  Users@ovirt.org
>>  http://lists.ovirt.org/mailman/listinfo/users
>> 
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >>
>> >> Susinthiran Sithamparanathan
>> >>
>> >> ___
>> >> 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
>> >
>>
>>
>>
>> --
>> Didi
>>
>
>


-- 

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


Re: [ovirt-users] nagios for ovirt 4

2016-10-10 Thread Kapetanakis Giannis
On 10/10/16 11:59, Kapetanakis Giannis wrote:
> Hi,
> 
> Is there any usable nagios plugin what works with ovirt engine 4?
> 
> regards,
> 
> Giannis

Self replying.
Latest version of https://github.com/ovido/check_rhev3 works fine 

G

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


[ovirt-users] nagios for ovirt 4

2016-10-10 Thread Kapetanakis Giannis
Hi,

Is there any usable nagios plugin what works with ovirt engine 4?

regards,

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


Re: [ovirt-users] Unable to get HE up after update

2016-10-10 Thread Simone Tiraboschi
On Mon, Oct 10, 2016 at 10:13 AM, Yedidyah Bar David 
wrote:

> On Mon, Oct 10, 2016 at 10:56 AM, Simone Tiraboschi 
> wrote:
> >
> >
> > On Sun, Oct 9, 2016 at 5:13 PM, Susinthiran Sithamparanathan
> >  wrote:
> >>
> >> Sure, here it is: https://my.owndrive.com/index.php/s/MFoFyKJVLjzezey
> >>
> >
> > The agent is periodically restarting the engine VM but from the logs I
> don't
> > see why.
>
> Also it keeps doing:
>
>
Yes, this is fine: by design ovirt-ha-agent periodically (about 30-40
seconds) reconnects the hosted-engine storage domain.


> MainThread::INFO::2016-10-09
> 17:06:01,025::hosted_engine::612::ovirt_hosted_engine_ha.
> agent.hosted_engine.HostedEngine::(_initialize_vdsm)
> Initializing VDSM
> MainThread::INFO::2016-10-09
> 17:06:05,118::hosted_engine::639::ovirt_hosted_engine_ha.
> agent.hosted_engine.HostedEngine::(_initialize_storage_images)
> Connecting the storage
> MainThread::INFO::2016-10-09
> 17:06:05,131::storage_server::218::ovirt_hosted_engine_ha.
> lib.storage_server.StorageServer::(connect_storage_server)
> Connecting storage server
> MainThread::INFO::2016-10-09
> 17:06:13,459::storage_server::225::ovirt_hosted_engine_ha.
> lib.storage_server.StorageServer::(connect_storage_server)
> Connecting storage server
> MainThread::INFO::2016-10-09
> 17:06:13,496::storage_server::232::ovirt_hosted_engine_ha.
> lib.storage_server.StorageServer::(connect_storage_server)
> Refreshing the storage domain
> MainThread::INFO::2016-10-09
> 17:06:13,737::hosted_engine::666::ovirt_hosted_engine_ha.
> agent.hosted_engine.HostedEngine::(_initialize_storage_images)
> Preparing images
> MainThread::INFO::2016-10-09
> 17:06:13,737::image::126::ovirt_hosted_engine_ha.lib.
> image.Image::(prepare_images)
> Preparing images
>
> Does this make sense, Simone?
>
> Please check/share also /var/log/vdsm/* . Thanks.
>
> > Can you please set the agent in debug mode and share again its logs?
> >
> > You have to edit /etc/ovirt-hosted-engine-ha/agent-log.conf changing
> from
> >
> > [logger_root]
> > level=INFO
> >
> > to
> > [logger_root]
> > level=DEBUG
> >
> > and then restart ovirt-ha-agent.
> >
> >
> >>
> >> On Sun, Oct 9, 2016 at 3:19 PM, Doron Fediuck 
> wrote:
> >>>
> >>> Can you please provide the HA agent logs?
> >>>
> >>> On Sun, Oct 9, 2016 at 1:57 PM, Susinthiran Sithamparanathan
> >>>  wrote:
> 
>  Hi,
>  i've been discussing this issue over at IRC (#ovirt on irc.oftc.net))
>  and was suggested to send an email with logs the ML.
> 
>  The problem i have is that the HE is a loop getting up and down ( ( i
>  assume it's the HA trying to get it up) after upgrade to oVirt 4. I
> have a
>  couple of VMs i use daily with SPICE and remoteviewer and i hope to
> get them
>  up and running again. Due to this, i've put it in global maintenance
> mode.
>  I'm attaching the server log in the hope of getting some help and can
>  provide more details if needed to debug the issue further.
> 
>  The log is too big for fpaste so it's to be found here:
>  https://my.owndrive.com/index.php/s/Gk4De1jy9fWmFa8 as well as
> attached
>  here.
> 
> 
>  Thanks!
> 
> 
>  --
> 
>  Susinthiran Sithamparanathan
> 
>  ___
>  Users mailing list
>  Users@ovirt.org
>  http://lists.ovirt.org/mailman/listinfo/users
> 
> >>>
> >>
> >>
> >>
> >> --
> >>
> >> Susinthiran Sithamparanathan
> >>
> >> ___
> >> 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
> >
>
>
>
> --
> Didi
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to get HE up after update

2016-10-10 Thread Yedidyah Bar David
On Mon, Oct 10, 2016 at 10:56 AM, Simone Tiraboschi  wrote:
>
>
> On Sun, Oct 9, 2016 at 5:13 PM, Susinthiran Sithamparanathan
>  wrote:
>>
>> Sure, here it is: https://my.owndrive.com/index.php/s/MFoFyKJVLjzezey
>>
>
> The agent is periodically restarting the engine VM but from the logs I don't
> see why.

Also it keeps doing:

MainThread::INFO::2016-10-09
17:06:01,025::hosted_engine::612::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_vdsm)
Initializing VDSM
MainThread::INFO::2016-10-09
17:06:05,118::hosted_engine::639::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images)
Connecting the storage
MainThread::INFO::2016-10-09
17:06:05,131::storage_server::218::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
Connecting storage server
MainThread::INFO::2016-10-09
17:06:13,459::storage_server::225::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
Connecting storage server
MainThread::INFO::2016-10-09
17:06:13,496::storage_server::232::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
Refreshing the storage domain
MainThread::INFO::2016-10-09
17:06:13,737::hosted_engine::666::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images)
Preparing images
MainThread::INFO::2016-10-09
17:06:13,737::image::126::ovirt_hosted_engine_ha.lib.image.Image::(prepare_images)
Preparing images

Does this make sense, Simone?

Please check/share also /var/log/vdsm/* . Thanks.

> Can you please set the agent in debug mode and share again its logs?
>
> You have to edit /etc/ovirt-hosted-engine-ha/agent-log.conf changing from
>
> [logger_root]
> level=INFO
>
> to
> [logger_root]
> level=DEBUG
>
> and then restart ovirt-ha-agent.
>
>
>>
>> On Sun, Oct 9, 2016 at 3:19 PM, Doron Fediuck  wrote:
>>>
>>> Can you please provide the HA agent logs?
>>>
>>> On Sun, Oct 9, 2016 at 1:57 PM, Susinthiran Sithamparanathan
>>>  wrote:

 Hi,
 i've been discussing this issue over at IRC (#ovirt on irc.oftc.net))
 and was suggested to send an email with logs the ML.

 The problem i have is that the HE is a loop getting up and down ( ( i
 assume it's the HA trying to get it up) after upgrade to oVirt 4. I have a
 couple of VMs i use daily with SPICE and remoteviewer and i hope to get 
 them
 up and running again. Due to this, i've put it in global maintenance mode.
 I'm attaching the server log in the hope of getting some help and can
 provide more details if needed to debug the issue further.

 The log is too big for fpaste so it's to be found here:
 https://my.owndrive.com/index.php/s/Gk4De1jy9fWmFa8 as well as attached
 here.


 Thanks!


 --

 Susinthiran Sithamparanathan

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

>>>
>>
>>
>>
>> --
>>
>> Susinthiran Sithamparanathan
>>
>> ___
>> 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
>



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


Re: [ovirt-users] Unable to get HE up after update

2016-10-10 Thread Simone Tiraboschi
On Sun, Oct 9, 2016 at 5:13 PM, Susinthiran Sithamparanathan <
chesu...@gmail.com> wrote:

> Sure, here it is: https://my.owndrive.com/index.php/s/MFoFyKJVLjzezey
>
>
The agent is periodically restarting the engine VM but from the logs I
don't see why.
Can you please set the agent in debug mode and share again its logs?

You have to edit /etc/ovirt-hosted-engine-ha/agent-log.conf changing from

[logger_root]
level=INFO

to
[logger_root]
level=DEBUG

and then restart ovirt-ha-agent.



> On Sun, Oct 9, 2016 at 3:19 PM, Doron Fediuck  wrote:
>
>> Can you please provide the HA agent logs?
>>
>> On Sun, Oct 9, 2016 at 1:57 PM, Susinthiran Sithamparanathan <
>> chesu...@gmail.com> wrote:
>>
>>> Hi,
>>> i've been discussing this issue over at IRC (#ovirt on irc.oftc.net))
>>> and was suggested to send an email with logs the ML.
>>>
>>> The problem i have is that the HE is a loop getting up and down ( ( i
>>> assume it's the HA trying to get it up) after upgrade to oVirt 4. I have a
>>> couple of VMs i use daily with SPICE and remoteviewer and i hope to get
>>> them up and running again. Due to this, i've put it in global maintenance
>>> mode.
>>> I'm attaching the server log in the hope of getting some help and can
>>> provide more details if needed to debug the issue further.
>>>
>>> The log is too big for fpaste so it's to be found here:
>>> https://my.owndrive.com/index.php/s/Gk4De1jy9fWmFa8 as well as attached
>>> here.
>>>
>>>
>>> Thanks!
>>>
>>>
>>> --
>>>
>>> Susinthiran Sithamparanathan
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>
>
> --
>
> Susinthiran Sithamparanathan
>
> ___
> 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


Re: [ovirt-users] Failed to read hardware information

2016-10-10 Thread Nir Soffer
On Mon, Oct 10, 2016 at 5:05 AM, Charles Kozler 
wrote:

> Possibly stupid question but are you doing this on a base empty
> centos/rhel 7?
>
> On Oct 9, 2016 9:48 PM, "David Pinkerton"  wrote:
>
>>
>> I've spent the weekend trying to get to the bottom of this issue.
>>
>> Adding a Host fails:
>>
>> From RHVM
>>
>>
>> VDSM rhv1 command failed: Connection reset by peer
>> Could not get hardware information for host rhv1
>> VDSM rhv1 command failed: Failed to read hardware information
>> Host rhv1 installed
>> Network changes were saved on host rhv1
>> Installing Host rhv1. Stage: Termination.
>> Installing Host rhv1. Retrieving installation logs to:
>> '/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-2016101
>> 0115606-192.168.21.71-24d39274.log'.
>> Installing Host rhv1. Stage: Pre-termination.
>> Installing Host rhv1. Starting ovirt-vmconsole-host-sshd.
>> Installing Host rhv1. Starting vdsm.
>> Installing Host rhv1. Stopping libvirtd.
>> Installing Host rhv1. Stage: Closing up.
>> Installing Host rhv1. Setting kernel arguments.
>> Installing Host rhv1. Stage: Transaction commit.
>> Installing Host rhv1. Enrolling serial console certificate.
>> Installing Host rhv1. Enrolling certificate.
>> Installing Host rhv1. Stage: Misc configuration.
>>
>>
>>
>> This was in the /var/log/vdsm/vdsm.log on the host trying to be added:
>>
>> jsonrpc.Executor/2::ERROR::2016-10-10 
>> 11:57:10,276::API::1340::vds::(getHardwareInfo)
>> failed to retrieve hardware info
>> Traceback (most recent call last):
>>   File "/usr/share/vdsm/API.py", line 1337, in getHardwareInfo
>> hw = supervdsm.getProxy().getHardwareInfo()
>>   File "/usr/lib/python2.7/site-packages/vdsm/supervdsm.py", line 53, in
>> __call__
>> return callMethod()
>>   File "/usr/lib/python2.7/site-packages/vdsm/supervdsm.py", line 51, in
>> 
>> **kwargs)
>>   File "", line 2, in getHardwareInfo
>>   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 759, in
>> _callmethod
>> kind, result = conn.recv()
>> EOFError
>>
>
If a request to supervdsm fails with EOFError, something bad happened
supervdsm and we would see the exception in the supervdsm log.

Can you share supervdsm.log?

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