Re: [ovirt-users] Info on fence_rhevm against oVirt 4.1.1

2017-04-27 Thread Gianluca Cecchi
On Thu, Apr 27, 2017 at 6:32 PM, Juan Hernández  wrote:

> That is a known issue:
>
>   fence_rhevm can only work as RHEV admin user not a regular user (that
> requires "Filter: true http header)
>   https://bugzilla.redhat.com/1287059
>
> That was fixed in fence-agents-4.0.11-47.el7, but I guess it wasn't
> backported to CentOS 6.
>
> I'd suggest that you open a bug for this component in the Red Hat
> Enterprise Linux bug tracker, requesting that the fix be back-ported.
>
> Meanwhile, if you are in a hurry, you can take the CentOS 7 fence_rhev
> script, which should work.
>
> You will most likely also need to add --ssl-indecure to the command line
> of the agent, because you will most likely be using the default self
> signed certificate authority used by the engine.
>
> Note that the latest version of this script uses the 'Filter: true'
> header to drop privileges. That means that even when using
> 'admin@internal' you have to make sure that 'admin@internal' has
> permissions for the VM that you want to fence, otherwise it will not be
> able to find/fence it.
>

Thanks for the feedback Juan.
I confirm that using fence_rhevm from latest CentOS 7 version it worked.
These were the lines in my cluster.conf
























Using admin@internal didn't work even if I set the permissions at vm
level too...

It worked with my username (g.cecchi) that has SuperUser system
privilege and also at VM level.

Is it yet necessary to have a user with SuperUser privilege at system level?

Tomorrow (today... ;-) I'm going to open a bugzilla to backport the feature.

Thanks again,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hello from Bacchus !

2017-04-27 Thread Beckman, Daniel
Hi Niyazi,

Thanks for sharing with the community! There is definitely a need for this.

Just curious -- do you have plans to allow direct exporting of a VM snapshot? 
That would eliminate one copy operation.

Best,
Daniel

From:  on behalf of Niyazi Elvan 

Date: Thursday, April 27, 2017 at 3:13 PM
To: "users@ovirt.org" 
Subject: Re: [ovirt-users] Hello from Bacchus !

Sorry for bothering but I forgot to mention that it's a backup solution based 
on oVirt Python SDK and a fancy web UI.

Cheers.

On 27 April 2017 at 21:36, Niyazi Elvan 
> wrote:
Dear Community,
I have been working on Bacchus for a while. The idea behind the Bacchus has 
emerged from an internal need at my company. This is my first open-source 
project and I would like to share this experience with all of you. If you are 
interested you may check it out at this page 
https://github.com/openbacchus/bacchus
I am not a code geek, so I am sorry for the future bugs in advance. I would 
like to draw your attention that Bacchus is not ready for production yet. It 
works well when all conditions are met (in a healthy oVirt/RHEV-M env.) but 
needs some more improvement on error handling.
Hope you enjoy it. Please contact me for any issues.

King Regards,
--
Niyazi Elvan



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


Re: [ovirt-users] Hello from Bacchus !

2017-04-27 Thread Niyazi Elvan
Sorry for bothering but I forgot to mention that it's a backup solution
based on oVirt Python SDK and a fancy web UI.

Cheers.

On 27 April 2017 at 21:36, Niyazi Elvan  wrote:

> Dear Community,
>
> I have been working on Bacchus for a while. The idea behind the Bacchus
> has emerged from an internal need at my company. This is my first
> open-source project and I would like to share this experience with all of
> you. If you are interested you may check it out at this page
> https://github.com/openbacchus/bacchus
>
> I am not a code geek, so I am sorry for the future bugs in advance. I
> would like to draw your attention that Bacchus is not ready for production
> yet. It works well when all conditions are met (in a healthy oVirt/RHEV-M
> env.) but needs some more improvement on error handling.
>
> Hope you enjoy it. Please contact me for any issues.
>
> King Regards,
>
> --
> Niyazi Elvan
>



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


[ovirt-users] engine upgrade 3.5 -> 4.1.1

2017-04-27 Thread Sverker Abrahamsson

Hi
I upgraded an old ovirt installation from 3.5 to latest version, but end 
up with this error message when running engine-setup:


[ INFO  ] Stage: Setup validation
[ ERROR ] It seems that you are running your engine inside of the 
hosted-engine VM and are not in "Global Maintenance" mode. In that case 
you should put the system into the "Global Maintenance" mode before 
running engine-setup, or the hosted-engine HA agent might kill the 
machine, which might corrupt your data.
[ ERROR ] Failed to execute stage 'Setup validation': Hosted Engine 
setup detected, but Global Maintenance is not set.


This is not a hosted engine, so why does it think so? How can I get it 
past this step?


Best regards
/Sverker

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


[ovirt-users] Hello from Bacchus !

2017-04-27 Thread Niyazi Elvan
Dear Community,

I have been working on Bacchus for a while. The idea behind the Bacchus has
emerged from an internal need at my company. This is my first open-source
project and I would like to share this experience with all of you. If you
are interested you may check it out at this page
https://github.com/openbacchus/bacchus

I am not a code geek, so I am sorry for the future bugs in advance. I would
like to draw your attention that Bacchus is not ready for production yet.
It works well when all conditions are met (in a healthy oVirt/RHEV-M env.)
but needs some more improvement on error handling.

Hope you enjoy it. Please contact me for any issues.

King Regards,

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


Re: [ovirt-users] Info on fence_rhevm against oVirt 4.1.1

2017-04-27 Thread Juan Hernández
On 04/27/2017 05:35 PM, Gianluca Cecchi wrote:
> On Thu, Apr 27, 2017 at 4:58 PM, Gianluca Cecchi
> > wrote:
> 
> On Thu, Apr 27, 2017 at 4:43 PM, Gianluca Cecchi
> > wrote:
> 
> Hello,
> I'm trying to use fence_rhevm in a CentOS 6.8 guest that is part
> of a virtual rhcs cluster
> 
> My sw version for fence_agents inside guest is
> fence-agents-4.0.15-12.el6.x86_64 and I notice that for this
> particular agent nothing changes also using the latest available
> package fence-agents-4.0.15-13.el6.x86_64.rpm apart
> 
> [root@p2vnorasvi1 ~]# diff fence_rhevm /usr/sbin/fence_rhevm
> 13c13
> < BUILD_DATE="(built Wed Mar 22 04:24:11 UTC 2017)"
> ---
> > BUILD_DATE="(built Tue May 10 22:28:47 UTC 2016)"
> [root@p2vnorasvi1 ~]# 
> 
> The VM name in oVirt 4.1.1 is p2vorasvi1
> 
> Running this command against the engine I get
> 
> [root@p2vnorasvi1 network-scripts]# fence_rhevm -a 10.4.192.43
> -l "admin@internal" -p "mypassword" -z --shell-timeout=20
> --power-wait=10 -v -o status -n p2vorasvi1
> vms/?search=name%3Dp2vorasvi1
> 
> 
> 
> 404 Not Found
> 
> Not Found
> The requested URL /api/vms/ was not found on this server.
> 
> 
> 
> Failed: Unable to obtain correct plug status or plug is not
> available
> 
> Actually I get the same error even if I put a wrong password
> 
> What am I missing...?
> Do I have to specify DC/cluster if I have more than one, or
> other parameters?
> 
> Thanks,
> Gianluca
> 
> 
> 
> If I change this in fence_rhevm
> 
> [root@p2vnorasvi1 sbin]# diff fence_rhevm fence_rhevm.orig 
> 84c84
> < url += "//" + opt["--ip"] + ":" + str(opt["--ipport"]) +
> "/ovirt-engine/api/" + command
> ---
> > url += "//" + opt["--ip"] + ":" + str(opt["--ipport"]) + "/api/" +
> command
> 
> I now get 401 unauthorized
> 
> [root@p2vnorasvi1 sbin]# fence_rhevm -a 10.4.192.43 -z -l
> "admin@internal" -p "mypassword"  --shell-timeout=20 --power-wait=10
> -v -o status -n p2vorasvi1
> vms/?search=name%3Dp2vorasvi1
> 
> ErrorUnauthorized
> 
> Failed: Unable to obtain correct plug status or plug is not available
> 
> 
> [root@p2vnorasvi1 sbin]# 
> 
> and in engine ssl_access.log
> 
> 127.0.0.1 - - [27/Apr/2017:16:51:55 +0200] "POST
> /ovirt-engine/sso/oauth/token HTTP/1.1" 200 153
> 10.4.168.91 - - [27/Apr/2017:16:51:55 +0200] "GET
> /ovirt-engine/api/vms/?search=name%3Dp2vorasvi2 HTTP/1.1" 401 71
> 
> 
> 
> Tried also using v3 in url, this way:
> 
> [root@p2vnorasvi1 sbin]# diff fence_rhevm fence_rhevm.orig 
> 84c84
> < url += "//" + opt["--ip"] + ":" + str(opt["--ipport"]) +
> "/ovirt-engine/api/v3/" + command
> ---
>> url += "//" + opt["--ip"] + ":" + str(opt["--ipport"]) + "/api/" + command
> [root@p2vnorasvi1 sbin]# 
> 
> [root@p2vnorasvi1 sbin]# fence_rhevm -a 10.4.192.43 -z -l
> "admin@internal" -p "mypassword"  --shell-timeout=20 --login-timeout=20
> --power-wait=10 -v -o status -n p2vorasvi1
> vms/?search=name%3Dp2vorasvi1
> 
> ErrorUnauthorized
> 
> Failed: Unable to obtain correct plug status or plug is not available
> 
> 
> [root@p2vnorasvi1 sbin]# 
> 

That is a known issue:

  fence_rhevm can only work as RHEV admin user not a regular user (that
requires "Filter: true http header)
  https://bugzilla.redhat.com/1287059

That was fixed in fence-agents-4.0.11-47.el7, but I guess it wasn't
backported to CentOS 6.

I'd suggest that you open a bug for this component in the Red Hat
Enterprise Linux bug tracker, requesting that the fix be back-ported.

Meanwhile, if you are in a hurry, you can take the CentOS 7 fence_rhev
script, which should work.

You will most likely also need to add --ssl-indecure to the command line
of the agent, because you will most likely be using the default self
signed certificate authority used by the engine.

Note that the latest version of this script uses the 'Filter: true'
header to drop privileges. That means that even when using
'admin@internal' you have to make sure that 'admin@internal' has
permissions for the VM that you want to fence, otherwise it will not be
able to find/fence it.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VDSM not properly setting the networking settings when

2017-04-27 Thread martin chamambo
Just noticed that VDSM creates these 2 files ,which should do  the routing

[root@node01 network-scripts]# cat rule-vmtraffic
# Generated by VDSM version 4.19.10.1-1.el7.centos
from 192.168.192.0/24 table 3232284815
from all to 192.168.192.0/24 dev vmtraffic table 3232284815
[root@node01 network-scripts]# cat route-vmtraffic
# Generated by VDSM version 4.19.10.1-1.el7.centos
0.0.0.0/0 via 192.168.192.2 dev vmtraffic table 3232284815
192.168.192.0/24 via 192.168.192.143 dev vmtraffic table 3232284815
[root@node01 network-scripts]#

But for some reason these are not working and i am not able to ping the
internet



On Thu, Apr 27, 2017 at 4:31 PM, martin chamambo 
wrote:

> Here is my scenario
>
> I have engine and 2 nodes  running on VMware workstation with 5 interfaces
> each  with these responsibilities
>
> vmtraffic - 192.168.192.X
> display  - 192.168.193.X
> storage - 192.168.194.X
> migration- 192.168.195.X
> ovirtmanagement - 192.168.196.X
>
> Logical networks have been set up as above and all the networks are
> reachablethe only network with a gateway is the vmtraffic
>
> 192.168.192.143 with gateway 192.168.192.2
>
> when i go to the nodes via the terminal , it doesnt set the gateway and
> theirfore that node when you do ip route ,i get this
>
> [root@node01 ~]# ip route
> 192.168.192.0/24 dev vmtraffic  proto kernel  scope link  src
> 192.168.192.143
> 192.168.193.0/24 dev ens37  proto kernel  scope link  src 192.168.193.143
> 192.168.194.0/24 dev ens34  proto kernel  scope link  src 192.168.194.143
> 192.168.195.0/24 dev ens35  proto kernel  scope link  src 192.168.195.143
> 192.168.196.0/24 dev ens36  proto kernel  scope link  src 192.168.196.143
> [root@node01 ~]#
>
> I know the solution is to insert a static route but isnt the interface
> with a gateway supposed to be default gateway for any traffic ?
>
> and if i put the routes manually ,wont VDSM overwite it ,say if i upgrade.
>
>
>
>
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Info on fence_rhevm against oVirt 4.1.1

2017-04-27 Thread Gianluca Cecchi
Hello,
I'm trying to use fence_rhevm in a CentOS 6.8 guest that is part of a
virtual rhcs cluster

My sw version for fence_agents inside guest is
fence-agents-4.0.15-12.el6.x86_64 and I notice that for this particular
agent nothing changes also using the latest available package
fence-agents-4.0.15-13.el6.x86_64.rpm apart

[root@p2vnorasvi1 ~]# diff fence_rhevm /usr/sbin/fence_rhevm
13c13
< BUILD_DATE="(built Wed Mar 22 04:24:11 UTC 2017)"
---
> BUILD_DATE="(built Tue May 10 22:28:47 UTC 2016)"
[root@p2vnorasvi1 ~]#

The VM name in oVirt 4.1.1 is p2vorasvi1

Running this command against the engine I get

[root@p2vnorasvi1 network-scripts]# fence_rhevm -a 10.4.192.43 -l
"admin@internal" -p "mypassword" -z --shell-timeout=20 --power-wait=10 -v
-o status -n p2vorasvi1
vms/?search=name%3Dp2vorasvi1



404 Not Found

Not Found
The requested URL /api/vms/ was not found on this server.



Failed: Unable to obtain correct plug status or plug is not available

Actually I get the same error even if I put a wrong password

What am I missing...?
Do I have to specify DC/cluster if I have more than one, or other
parameters?

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


[ovirt-users] VDSM not properly setting the networking settings when

2017-04-27 Thread martin chamambo
Here is my scenario

I have engine and 2 nodes  running on VMware workstation with 5 interfaces
each  with these responsibilities

vmtraffic - 192.168.192.X
display  - 192.168.193.X
storage - 192.168.194.X
migration- 192.168.195.X
ovirtmanagement - 192.168.196.X

Logical networks have been set up as above and all the networks are
reachablethe only network with a gateway is the vmtraffic

192.168.192.143 with gateway 192.168.192.2

when i go to the nodes via the terminal , it doesnt set the gateway and
theirfore that node when you do ip route ,i get this

[root@node01 ~]# ip route
192.168.192.0/24 dev vmtraffic  proto kernel  scope link  src
192.168.192.143
192.168.193.0/24 dev ens37  proto kernel  scope link  src 192.168.193.143
192.168.194.0/24 dev ens34  proto kernel  scope link  src 192.168.194.143
192.168.195.0/24 dev ens35  proto kernel  scope link  src 192.168.195.143
192.168.196.0/24 dev ens36  proto kernel  scope link  src 192.168.196.143
[root@node01 ~]#

I know the solution is to insert a static route but isnt the interface with
a gateway supposed to be default gateway for any traffic ?

and if i put the routes manually ,wont VDSM overwite it ,say if i upgrade.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] change Memory Ballooning setting

2017-04-27 Thread Nelson Lameiras
Hello oVirt gurus, 

When activating/deactivating memory balloning on VM, this will change 
/usr/libexec/qemu-kvm command line on host on vm startup (you can see it using 
"ps aux"). 
So I understand a vm reboot is needed to take this change into account. 

But when activating/deactivating memory balloning on Cluster (plus MoM Sync on 
host) I do not really understand what happens "under the hood" 

- Is there a mechanism on host which controls "memory balloning" globally? 
- Is it able to change it's behaviour "on the fly" with "MoM Sync" ? 

If you have any information, it would be greatly appreciated 

cordialement, regards, 


Nelson LAMEIRAS 
Ingénieur Systèmes et Réseaux / Systems and Networks engineer 
Tel: +33 5 32 09 09 70 
nelson.lamei...@lyra-network.com 

www.lyra-network.com | www.payzen.eu 





Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE 

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


Re: [ovirt-users] Error importing old NFS storage domain

2017-04-27 Thread Elad Ben Aharon
Hi,

Please provide the logs

On Thu, Apr 27, 2017 at 2:12 PM, Endre Karlson 
wrote:

> I have a existing NFS storage domain I would like to import.
>
> I add the Name attribute and set the path and hit Enter but it gives me
> "Error while executing actions Attach Storage Domain: Internal Engine
> Error".
>
> I checked the Engine logs too to see if there's any clue when I do it but
> I cant seem to find anything. Maybe I can attach it here?
>
>
>
> ___
> 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] Newly deployed cluster with glusterfs doesn't show engine and gives errors

2017-04-27 Thread Endre Karlson
VDSM ovhost20 command GlusterTaskListVDS failed: 'AutoProxy[instance]
object has no attribute 'glusterTaskList' do you guys have any idea on this?

Also I cannot select hosts as hosted engine host when I add a new host nor
does the HostedEgnine vm show in the vm's pane for the cluster.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Error importing old NFS storage domain

2017-04-27 Thread Endre Karlson
I have a existing NFS storage domain I would like to import.

I add the Name attribute and set the path and hit Enter but it gives me
"Error while executing actions Attach Storage Domain: Internal Engine
Error".

I checked the Engine logs too to see if there's any clue when I do it but I
cant seem to find anything. Maybe I can attach it here?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] engine upgrade 4.1.0 => 4.1.1, no more engine console available

2017-04-27 Thread Evgenia Tokar
Hi,

It looks like the graphical console fields are not editable for hosted
engine vm.
We are trying to figure out how to solve this issue, it is not recommended
to change db values manually.

Thanks,
Jenny


On Thu, Apr 27, 2017 at 10:49 AM, Gianluca Cecchi  wrote:

> On Thu, Apr 27, 2017 at 9:46 AM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>>
>>
>> BTW: if I try to set the video type to Cirrus from web admin gui (and
>> automatically the Graphics Protocol becomes "VNC"), I get this when I press
>> the OK button:
>>
>> Error while executing action:
>>
>> HostedEngine:
>>
>>- There was an attempt to change Hosted Engine VM values that are
>>locked.
>>
>> The same if I choose "VGA"
>> Gianluca
>>
>
>
> I verified that I already have in place this parameter:
>
> [root@ractorshe ~]# engine-config -g AllowEditingHostedEngine
> AllowEditingHostedEngine: true version: general
> [root@ractorshe ~]#
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change default "Physical Memory Guaranteed" value

2017-04-27 Thread Karli Sjöberg
On Thu, 2017-04-27 at 12:02 +0300, Barak Korren wrote:
> On 27 April 2017 at 10:58, Karli Sjöberg 
> wrote:
> > 
> > PS. CentOS 7 won´t even pxe-boot with any less than 1536 MB any way
> > :(
> 
> You can consider using the CentOS cloud image. It is available from
> the oVirt image repository and AFAIR can boot in VMs with as little
> as
> 500MB of RAM.

Of course, once the VM is installed, I can go in and change the RAM to
512 MB and it´ll boot just fine. It´s as you say that it´s just the
installer that absolutely needs it.

> 
> I think its just the installer that needs that much RAM, if you boot
> from pre-installed images you can do with much less (And you can also
> save on disk space and I/O by using thin clones).
> 

That is also an option but I just don´t want to have a dozen images to
update and maintain, I´m lazy:)

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


Re: [ovirt-users] engine-setup not configuring ovirt-imageio-proxy

2017-04-27 Thread Simone Tiraboschi
On Thu, Apr 27, 2017 at 9:13 AM, Simone Tiraboschi 
wrote:

>
> On Wed, Apr 26, 2017 at 4:31 PM, Arnaud Lauriou 
> wrote:
>
>> Hi,
>>
>> I'm trying to configure ovirt-imageio-proxy through engine-setup but
>> configuration is skipped :
>>
>
> hi Arnaud,
> could you please attach your setup logs?
>

Ok, thanks for the report, I opened a specific bug to track it:
https://bugzilla.redhat.com/1446094

In the mean time you could just
edit /etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf removing the
line:
  OVESETUP_CONFIG/imageioProxyConfig=bool:False
and execute engine-setup again.



>
>
>
>>
>> --== CONFIGURATION PREVIEW ==--
>>
>> Default SAN wipe after delete   : False
>> Firewall manager: firewalld
>> Update Firewall : True
>> ...
>> Configure Image I/O Proxy   : False
>> Configure VMConsole Proxy   : True
>> Configure WebSocket Proxy   : True
>>
>> I have tried to run engine-setup with option
>> '--reconfigure-optional-components' but this option has no effects.
>>
>> ovirt-imageio-proxy package is installed on this engine host :
>> # yum list ovirt-imageio-proxy
>> Installed Packages
>> ovirt-imageio-proxy.noarch 1.0.0-0.201701151456.git89ae3b4.el7.centos
>> @ovirt-4.1
>>
>> What can I do to force engine-setup to configure ovirt-imageio-proxy ?
>>
>> Regards,
>>
>> Arnaud
>> ___
>> 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] Change default "Physical Memory Guaranteed" value

2017-04-27 Thread Barak Korren
On 27 April 2017 at 10:58, Karli Sjöberg  wrote:
>
> PS. CentOS 7 won´t even pxe-boot with any less than 1536 MB any way :(

You can consider using the CentOS cloud image. It is available from
the oVirt image repository and AFAIR can boot in VMs with as little as
500MB of RAM.

I think its just the installer that needs that much RAM, if you boot
from pre-installed images you can do with much less (And you can also
save on disk space and I/O by using thin clones).

-- 
Barak Korren
RHV DevOps team , RHCE, RHCi
Red Hat EMEA
redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Timeout for Hosts

2017-04-27 Thread Sven Achtelik
Ok, I'll try that one.

Thank you

-Ursprüngliche Nachricht-
Von: Piotr Kliczewski [mailto:piotr.kliczew...@gmail.com] 
Gesendet: Donnerstag, 27. April 2017 09:59
An: Oved Ourfali 
Cc: Sven Achtelik ; users@ovirt.org
Betreff: Re: [ovirt-users] Timeout for Hosts

I think that you are looking for vdsHeartbeatInSeconds which specifies 
acceptable time of no activity.
You can increase it which would make it more resilient to network fluctuations.

Please note that it is part of the host life cycle and too big value would 
limit our ability to detect real network issues.

Thanks,
Piotr

On Thu, Apr 27, 2017 at 8:36 AM, Oved Ourfali  wrote:
> Hi Sven,
>
> Relevant configuration items are:
> vdsTimeout (which is set by default to 180 seconds, so you should be 
> good) vdsHeartbeatInSeconds (this one should be increased)
>
> iirc no other changes are needed, but CC-ing Martin just in case i'm wrong.
>
> Best regards,
> Oved
>
> On Thu, Apr 27, 2017 at 9:30 AM, Sven Achtelik 
> 
> wrote:
>>
>> Hi All,
>>
>>
>>
>> I have 2 hosts which are at remote locations where the ISP is forcing 
>> a connection reset after some days. During that reset the connection 
>> will be down for at most 2 minutes and the engine starts to complain 
>> about the hosts not being reachable. What is the right value to tweak to 
>> compensate this ?
>>
>> Is it on of these: TimeoutToResetVdsInSeconds, VdsRefreshRate, 
>> vdsTimeout ? And is it possible to only apply this for a certain 
>> cluster or DC or is it global ?
>>
>>
>>
>> Thank you,
>>
>>
>>
>> Sven
>>
>>
>> ___
>> 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
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Timeout for Hosts

2017-04-27 Thread Piotr Kliczewski
I think that you are looking for vdsHeartbeatInSeconds which specifies
acceptable time of no activity.
You can increase it which would make it more resilient to network fluctuations.

Please note that it is part of the host life cycle and too big value
would limit our ability to detect real network issues.

Thanks,
Piotr

On Thu, Apr 27, 2017 at 8:36 AM, Oved Ourfali  wrote:
> Hi Sven,
>
> Relevant configuration items are:
> vdsTimeout (which is set by default to 180 seconds, so you should be good)
> vdsHeartbeatInSeconds (this one should be increased)
>
> iirc no other changes are needed, but CC-ing Martin just in case i'm wrong.
>
> Best regards,
> Oved
>
> On Thu, Apr 27, 2017 at 9:30 AM, Sven Achtelik 
> wrote:
>>
>> Hi All,
>>
>>
>>
>> I have 2 hosts which are at remote locations where the ISP is forcing a
>> connection reset after some days. During that reset the connection will be
>> down for at most 2 minutes and the engine starts to complain about the hosts
>> not being reachable. What is the right value to tweak to compensate this ?
>>
>> Is it on of these: TimeoutToResetVdsInSeconds, VdsRefreshRate, vdsTimeout
>> ? And is it possible to only apply this for a certain cluster or DC or is it
>> global ?
>>
>>
>>
>> Thank you,
>>
>>
>>
>> Sven
>>
>>
>> ___
>> 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
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change default "Physical Memory Guaranteed" value

2017-04-27 Thread Karli Sjöberg
On Wed, 2017-04-26 at 07:40 +, Karli Sjöberg wrote:
> Yo!
> 
> Is there a way to easily change this value?
> 
> I have checked engine-config, files under "/etc/ovirt-engine/config"
> and "/usr/share/ovirt-engine/conf" and couldn´t find anything after a
> quick glanse. I just want to lower it from 1024 MB to 512.
> 
> TIA
> /K
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

FWIW, I created a NIC- and Disk-less Template with the settings I
wanted and pointed to that template in my "Small" Foreman "Compute
profile", so that I could create a VM in oVirt from Foreman with 512 MB
RAM.

/K

PS. CentOS 7 won´t even pxe-boot with any less than 1536 MB any way :(
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] engine upgrade 4.1.0 => 4.1.1, no more engine console available

2017-04-27 Thread Gianluca Cecchi
On Thu, Apr 27, 2017 at 9:46 AM, Gianluca Cecchi 
wrote:

>
>
> BTW: if I try to set the video type to Cirrus from web admin gui (and
> automatically the Graphics Protocol becomes "VNC"), I get this when I press
> the OK button:
>
> Error while executing action:
>
> HostedEngine:
>
>- There was an attempt to change Hosted Engine VM values that are
>locked.
>
> The same if I choose "VGA"
> Gianluca
>


I verified that I already have in place this parameter:

[root@ractorshe ~]# engine-config -g AllowEditingHostedEngine
AllowEditingHostedEngine: true version: general
[root@ractorshe ~]#
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] engine upgrade 4.1.0 => 4.1.1, no more engine console available

2017-04-27 Thread Gianluca Cecchi
On Wed, Apr 26, 2017 at 4:56 PM, Gianluca Cecchi 
wrote:

> On Wed, Apr 26, 2017 at 4:15 PM, Sharon Gratch  wrote:
>
>>
>>
>> ​You can do that.
>> But I still think that setting to qxl/spice should work In first round 
>> without
>> setting to cirrus/vnc first, since the "​
>> ​
>> ​
>> Graphics protocol" is currently set to "None​
>> ​"​
>>
>> ​and not "spice" AFAIR (as displayed in general sub tab).
>>
>> If it is set to "None", then after the settings in (2) you will be
>> notified with a pop-up displaying the following:
>> "Changes that require Virtual Machine restart: graphicsProtocol"
>>
>> and after a restart both devices should be added.
>>
>>
>>
>>
>>
>> ​
>>
>>
> Did you notice the screenshot I already sent in this thread on 24th of
> April?
> https://drive.google.com/file/d/0BwoPbcrMv8mvQVhzaGFHSmoxaGc
> /view?usp=sharing
>
>
> In
> that screenshot you can see that in general subtab there is indicated
> qxl/none, but at the same time in edit VM --> console there are the values
> qxl/SPICE
>
>

BTW: if I try to set the video type to Cirrus from web admin gui (and
automatically the Graphics Protocol becomes "VNC"), I get this when I press
the OK button:

Error while executing action:

HostedEngine:

   - There was an attempt to change Hosted Engine VM values that are locked.

The same if I choose "VGA"
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] engine-setup not configuring ovirt-imageio-proxy

2017-04-27 Thread Simone Tiraboschi
On Wed, Apr 26, 2017 at 4:31 PM, Arnaud Lauriou 
wrote:

> Hi,
>
> I'm trying to configure ovirt-imageio-proxy through engine-setup but
> configuration is skipped :
>

hi Arnaud,
could you please attach your setup logs?


>
> --== CONFIGURATION PREVIEW ==--
>
> Default SAN wipe after delete   : False
> Firewall manager: firewalld
> Update Firewall : True
> ...
> Configure Image I/O Proxy   : False
> Configure VMConsole Proxy   : True
> Configure WebSocket Proxy   : True
>
> I have tried to run engine-setup with option 
> '--reconfigure-optional-components'
> but this option has no effects.
>
> ovirt-imageio-proxy package is installed on this engine host :
> # yum list ovirt-imageio-proxy
> Installed Packages
> ovirt-imageio-proxy.noarch 1.0.0-0.201701151456.git89ae3b4.el7.centos
> @ovirt-4.1
>
> What can I do to force engine-setup to configure ovirt-imageio-proxy ?
>
> Regards,
>
> Arnaud
> ___
> 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] Hosted engine already imported

2017-04-27 Thread Simone Tiraboschi
On Tue, Apr 25, 2017 at 7:53 PM, Jamie Lawrence 
wrote:

> Hi all,
>
> In my hopefully-near-complete quest to automate Ovirt configuration in our
> environment, I’m very close. One outstanding issue that remains is that,
> even though the hosted engine storage domain actually was imported and
> shows in the GUI, some part of Ovirt appears to think that hasn’t happened
> yet.
>

Did the engine imported it automatically once you had your first regular
storage domain it did you forced it somehow?


>
> In the GUI, a periodic error is logged: “The Hosted Engine Storage Domain
> doesn’t exist. It will be imported automatically…”
>
> In engine.log, all I’m seeing that appears relevant is:
>
> 2017-04-25 10:28:57,988-07 INFO  [org.ovirt.engine.core.bll.
> storage.domain.ImportHostedEngineStorageDomainCommand]
> (org.ovirt.thread.pool-6-thread-9) [1e44dde0] Lock Acquired to object
> 'EngineLock:{exclusiveLocks='[]', sharedLocks='null'}'
> 2017-04-25 10:28:57,992-07 WARN  [org.ovirt.engine.core.bll.
> storage.domain.ImportHostedEngineStorageDomainCommand]
> (org.ovirt.thread.pool-6-thread-9) [1e44dde0] Validation of action '
> ImportHostedEngineStorageDomain' failed for user SYSTEM. Reasons:
> VAR__ACTION__ADD,VAR__TYPE__STORAGE__DOMAIN,ACTION_TYPE_
> FAILED_STORAGE_DOMAIN_ALREADY_EXIST
> 2017-04-25 10:28:57,992-07 INFO  [org.ovirt.engine.core.bll.
> storage.domain.ImportHostedEngineStorageDomainCommand]
> (org.ovirt.thread.pool-6-thread-9) [1e44dde0] Lock freed to object
> 'EngineLock:{exclusiveLocks='[]', sharedLocks='null’}’
>
> Otherwise the log is pretty clean.
>
> I saw nothing of interest in the Gluster logs or the hosted-engine-ha logs
> on the host it is running on.
>
> It appears harmless, but then we aren’t actually using these systems yet,
> and in any case we don’t want the error spamming the log forever. This is
> 4.1.1.8-1.el7.centos, hosted engine on Centos 7.6.1311, Gluster for both
> the hosted engine and general data domains.
>
> Has anyone seen this before?
>
> Thanks in advance,
>
> -j
> ___
> 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] ovirt-ha-agent cpu usage

2017-04-27 Thread Simone Tiraboschi
On Wed, Apr 26, 2017 at 6:14 PM, Gianluca Cecchi 
wrote:

> On Wed, Apr 26, 2017 at 4:54 PM, Simone Tiraboschi 
> wrote:
>
>>
>>
>> On Wed, Apr 26, 2017 at 4:52 PM, Gianluca Cecchi <
>> gianluca.cec...@gmail.com> wrote:
>>
>>> On Wed, Apr 26, 2017 at 4:28 PM, Simone Tiraboschi 
>>> wrote:
>>>



 On 4.1.1, the 96% of the cpu time of ovirt-ha-agent is still spent in
 connect() in /usr/lib/python2.7/site-packages/vdsm/jsonrpcvdscli.py
 and the 95.98% is in Schema.__init__ in /usr/lib/python2.7/site-pac
 kages/vdsm/api/vdsmapi.py

 So it's still the parsing of the api yaml schema.
 On master we already merged a patch to reuse an existing connection if
 available and this should mitigate/resolve the issue:
 https://gerrit.ovirt.org/73757/

 It's still not that clear why we are facing this kind of performance
 regression.


>>> Does this mean that I could try to patch the
>>>   ovirt_hosted_engine_ha/lib/util.py file also in my 4.1.1 install and
>>> verify if it solves...?
>>>
>>
>> Unfortunately it's not enough by itself since it also requires
>> https://gerrit.ovirt.org/#/c/58029/
>>
>>
>>> Or do I have to wait an official patched rpm?
>>>
>>> Gianluca
>>>
>>
>>
> And what if I change all the 3 files involved in the 2 gerrit entries:
> ovirt_hosted_engine_ha/lib/util.py
> lib/yajsonrpc/stomp.py
> lib/yajsonrpc/stompreactor.py
>
> ?
>
>
Yes, it should work although we never officially back-ported and tested it
for 4.1.z.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Timeout for Hosts

2017-04-27 Thread Oved Ourfali
Hi Sven,

Relevant configuration items are:
vdsTimeout (which is set by default to 180 seconds, so you should be good)
vdsHeartbeatInSeconds (this one should be increased)

iirc no other changes are needed, but CC-ing Martin just in case i'm wrong.

Best regards,
Oved

On Thu, Apr 27, 2017 at 9:30 AM, Sven Achtelik 
wrote:

> Hi All,
>
>
>
> I have 2 hosts which are at remote locations where the ISP is forcing a
> connection reset after some days. During that reset the connection will be
> down for at most 2 minutes and the engine starts to complain about the
> hosts not being reachable. What is the right value to tweak to compensate
> this ?
>
> Is it on of these: TimeoutToResetVdsInSeconds, VdsRefreshRate, vdsTimeout
> ? And is it possible to only apply this for a certain cluster or DC or is
> it global ?
>
>
>
> Thank you,
>
>
>
> Sven
>
> ___
> 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] Timeout for Hosts

2017-04-27 Thread Sven Achtelik
Hi All,

I have 2 hosts which are at remote locations where the ISP is forcing a 
connection reset after some days. During that reset the connection will be down 
for at most 2 minutes and the engine starts to complain about the hosts not 
being reachable. What is the right value to tweak to compensate this ?
Is it on of these: TimeoutToResetVdsInSeconds, VdsRefreshRate, vdsTimeout ? And 
is it possible to only apply this for a certain cluster or DC or is it global ?

Thank you,

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