Re: [ovirt-users] Using VDSM to edit management interface

2018-03-15 Thread Kirin van der Veer
Ďakujem Peter, but this doesn't seem to work in my case.
/etc/resolv.conf is regenerated by Network Manager after a reboot and my
domain settings are lost.
Your comments regarding the reliance on DNS make sense for most
installations, but in my case oVirt is a secondary service that I would not
expect to run unless our core infrastructure is working correctly.
I'm hesitant to edit /etc/hosts directly, since that can lead to confusion
when the underlying IP addresses change.
For now I will hardcode the IPs of my servers.
It's frustrating (and surprising) that there is not an easy way to do this.

Kirin.

On Thu, Mar 15, 2018 at 5:17 PM, Peter Hudec  wrote:

> Hi Kirin,
>
> I suggest to do it old way and edit the /etc/resolv.conf manually.
>
> And one advice. Do not relay on the DNS on infrastructure servers. Use
> /etc/hosts. If he DNS will not be accessible, you will have problem to
> put it infrastructure up/working. As side effect the hosts allow you
> to use short names to access servers.
>
> If you are ansible positive, you could use
>
> hudecof.resolv  https://galaxy.ansible.com/hudecof/resolv/
> hudecof.hosts   https://galaxy.ansible.com/hudecof/hosts/
>
>
> Peter
>
> On 15/03/2018 06:03, Kirin van der Veer wrote:
> > Hi oVirt people, I have setup a new cluster consisting of many
> > oVirt Nodes with a single dedicated oVirt Engine machine. For the
> > most part things are working, however despite entering the DNS
> > search domain during install on the Nodes the management interface
> > is not aware of my search domain and it has not been added to
> > /etc/resolv.conf (perhaps that is unnecessary?). I eventually
> > worked out that the DNS search domain should be included in
> > /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt However as per the
> > header/warning, that file is generated by VDSM. I assumed that I
> > should be able to edit the search domain with vdsClient, but when I
> > run "vdsClient -m" I don't see any options related to network
> > config. I found the following page on DNS config:
> > https://www.ovirt.org/develop/release-management/features/network/
> allowExplicitDnsConfiguration/
> >
> >
> But it does not seem to offer a way of specifying the DNS search domain
> > (other than perhaps directly editing /etc/resolv.conf - which is
> > generated/managed by Network Manager). nmcli reports that all of my
> > interfaces (including ovirtmgmt) are "unmanaged". Indeed when I
> > attempt to run nmtui there is nothing listed to configure. This
> > should be really simple! I just want to add my local search domain
> > so I can use the short name for my NFS server. I'd appreciate any
> > advice.
> >
> > Thanks in advance, Kirin.
> >
> >
> > .
> >
> > *IMPORTANT NOTE. *If you are NOT AN AUTHORISED RECIPIENT of this
> > e-mail, please contact Planet Innovation Pty Ltd by return e-mail
> > or by telephone on +613 9945 7510.  In this case, you should not
> > read, print, re-transmit, store or act in reliance on this e-mail
> > or any attachments, and should destroy all copies of them.  This
> > e-mail and any attachments are confidential and may contain legally
> > privileged information and/or copyright material of Planet
> > Innovation Pty Ltd or third parties.  You should only re-transmit,
> > distribute or commercialise the material if you are authorised to
> > do so.  Although we use virus scanning software, we deny all
> > liability for viruses or alike in any message or attachment. This
> > notice should not be removed.
> >
> > **
> >
> >
> > ___ Users mailing list
> > Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
> >
>
>
> --
> *Peter Hudec*
> Infraštruktúrny architekt
> phu...@cnc.sk 
>
> *CNC, a.s.*
> Borská 6, 841 04 Bratislava
> Recepcia: +421 2 35 000 100
>
> Mobil:+421 905 997 203
> *www.cnc.sk* 

-- 
 

*IMPORTANT NOTE. *If you are NOT AN AUTHORISED RECIPIENT of this e-mail, 
please contact Planet Innovation Pty Ltd by return e-mail or by telephone 
on +613 9945 7510.  In this case, you should not read, print, re-transmit, 
store or act in reliance on this e-mail or any attachments, and should 
destroy all copies of them.  This e-mail and any attachments are 
confidential and may contain legally privileged information and/or 
copyright material of Planet Innovation Pty Ltd or third parties.  You 
should only re-transmit, distribute or commercialise the material if you 
are authorised to do so.  Although we use virus scanning software, we deny 
all liability for viruses or alike in any message or attachment. This 
notice should not be removed.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Setting up a LDAP conf

2018-03-15 Thread Jose Fernandes
Hello,


I have an OpenDJ LDAP server, and I need some help to do query on a specific 
filter search.


We can't figure out how to create a "aaa/profile1.properties" file with these 
configs.


This is how we can filter the users with ldapsearch on our ldap server:


-H ldaps://server:port -D uid=user,ou=OU,dc=SERVER,dc=com,dc=br -W -b 
ou=aa,dc=bb,dc=cc,dc=dd uid=jose.fernandes


 - My configuration does not permit I search the users on base, so I need to do 
this filter on "ou=aa,dc=bb,dc=cc,dc=dd"

 - Port is different from common.


Someone can help me to create the config file?


Regards,

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


Re: [ovirt-users] ovirt 4.2.2-rc3 switching from legacy to OVS..

2018-03-15 Thread Thomas Davis

Alrighty, I figured it out.

0) To setup a node in a cluster, make sure the cluster is in OVS, not 
legacy.


1) Make sure you have an OVN controller setup somewhere.  Default 
appears to be the ovirt-hosted-engine.
   a) you should also have the external network provider for OVN 
configured also; see the web interface.


2) when you install the node, make sure it has openvswitch installed and 
running - ie:
   a) 'systemctl status openvswitch' says it's up and running. (be sure 
it's enable also)

   b) 'ovs-vsctl show' has vdsm bridges listed, and possibly a br-int
  bridge.

3) if there is no br-int bridge, do 'vdsm-tool ovn-config 
ovn-controller-ip host-ip'


4) when you have configured several nodes in the OVN, you should see 
them listed as geneve devices in 'ovs-vsctl show', ie:


This is a 4 node cluster, so the other 3 nodes are expected:

[root@d8-r12-c1-n3 ~]# ovs-vsctl show
42df28ba-ffd6-4e61-b7b2-219576da51ab
Bridge br-int
fail_mode: secure
Port "ovn-27461b-0"
Interface "ovn-27461b-0"
type: geneve
options: {csum="true", key=flow, remote_ip="192.168.85.91"}
Port "vnet1"
Interface "vnet1"
Port "ovn-a1c08f-0"
Interface "ovn-a1c08f-0"
type: geneve
options: {csum="true", key=flow, remote_ip="192.168.85.87"}
Port "patch-br-int-to-f7a19c7d-021a-455d-bf3a-c15e212d8831"
Interface 
"patch-br-int-to-f7a19c7d-021a-455d-bf3a-c15e212d8831"

type: patch
options: 
{peer="patch-f7a19c7d-021a-455d-bf3a-c15e212d8831-to-br-int"}

Port "vnet0"
Interface "vnet0"
Port "patch-br-int-to-7874ba85-8f6f-4e43-9535-5a1b1353a9ec"
Interface 
"patch-br-int-to-7874ba85-8f6f-4e43-9535-5a1b1353a9ec"

type: patch
options: 
{peer="patch-7874ba85-8f6f-4e43-9535-5a1b1353a9ec-to-br-int"}

Port "ovn-8da92c-0"
Interface "ovn-8da92c-0"
type: geneve
options: {csum="true", key=flow, remote_ip="192.168.85.95"}
Port br-int
Interface br-int
type: internal
Bridge "vdsmbr_LZmj3uJ1"
Port "vdsmbr_LZmj3uJ1"
Interface "vdsmbr_LZmj3uJ1"
type: internal
Port "net211"
tag: 211
Interface "net211"
type: internal
Port "eno2"
Interface "eno2"
Bridge "vdsmbr_e7rcnufp"
Port "vdsmbr_e7rcnufp"
Interface "vdsmbr_e7rcnufp"
type: internal
Port ipmi
tag: 20
Interface ipmi
type: internal
Port ovirtmgmt
tag: 50
Interface ovirtmgmt
type: internal
Port "patch-f7a19c7d-021a-455d-bf3a-c15e212d8831-to-br-int"
Interface 
"patch-f7a19c7d-021a-455d-bf3a-c15e212d8831-to-br-int"

type: patch
options: 
{peer="patch-br-int-to-f7a19c7d-021a-455d-bf3a-c15e212d8831"}

Port "eno1"
Interface "eno1"
Port "patch-7874ba85-8f6f-4e43-9535-5a1b1353a9ec-to-br-int"
Interface 
"patch-7874ba85-8f6f-4e43-9535-5a1b1353a9ec-to-br-int"

type: patch
options: 
{peer="patch-br-int-to-7874ba85-8f6f-4e43-9535-5a1b1353a9ec"}

ovs_version: "2.7.3"

5) Create in the cluster the legacy style bridge networks - ie, 
ovirtmgmt, etc.  Do this just like you where creating them for the 
legacy network.  Define the VLAN #, the MTU, etc.


6) Now, create in the network config, the OVN networks - ie, 
ovn-ovirtmgmt is on an external provider (select OVN), and make sure 
'connect to physical network' is checked, and the correct network from 
step 5 is picked.  Save this off.


This will connect the two networks together in a bridge, and all 
services are visible to both ie dhcp, dns..


7) when you create the VM, select the OVN network interface, not the 
legacy bridge interface (this is why I decided to prefix with 'ovn-').


8) Create the vm, start it, migrate, stop, re-start, etc, it all should 
work now.


Lots of reading.. lots of interesting stuff found..  finally figured 
this out after reading a bunch of bug fixes for the latest RC (released 
today)


thomas

On 03/15/2018 03:21 AM, Dan Kenigsberg wrote:

On Thu, Mar 15, 2018 at 1:50 AM, Thomas Davis  wrote:

Well, I just hit

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

And it's been closed, which means with vdsm-4.20.17-1.el7.centos.x86_64
  OVS networking is totally borked..


You are welcome to reopen that bug, specifying your use case for OvS.
I cannot promise fixing this bug, as our resources are limited, and
that bug, which was introduced in 4.2, was not deemed as urgently
needed. https://gerrit.ovirt.org/#/c/86932/ attempts to fix the bug,
but it still needs a lot of work.



I know OVS is Experimental, but it 

[ovirt-users] Host can not boot any more with current kernel

2018-03-15 Thread Jonathan Baecker

Hello everybody,

Today I update my engine, from 4.2.1.6 to 4.2.1.7 and later I update two 
hosts. All are running on CentOS 7.4


Now they have the kernel 3.10.0-693.21, one host I can start normal and 
the other one always reboot short after the menu where I can select the 
kernel. There is not even an error message and I can not switch to the 
boot log screen.


The same behavior I have with kernel 3.10.0-693.17. Kernel *.11 and 
older are working.


Have any body experience this issue and know what to do?


Regards

Jonathan

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


[ovirt-users] Ovirt vm's paused due to storage error

2018-03-15 Thread Endre Karlson
Hi, this is is here again and we are getting several vm's going into
storage error in our 4 node cluster running on centos 7.4 with gluster and
ovirt 4.2.1.

Gluster version: 3.12.6

volume status
[root@ovirt3 ~]# gluster volume status
Status of volume: data
Gluster process TCP Port  RDMA Port  Online  Pid
--
Brick ovirt0:/gluster/brick3/data   49152 0  Y
 9102
Brick ovirt2:/gluster/brick3/data   49152 0  Y
 28063
Brick ovirt3:/gluster/brick3/data   49152 0  Y
 28379
Brick ovirt0:/gluster/brick4/data   49153 0  Y
 9111
Brick ovirt2:/gluster/brick4/data   49153 0  Y
 28069
Brick ovirt3:/gluster/brick4/data   49153 0  Y
 28388
Brick ovirt0:/gluster/brick5/data   49154 0  Y
 9120
Brick ovirt2:/gluster/brick5/data   49154 0  Y
 28075
Brick ovirt3:/gluster/brick5/data   49154 0  Y
 28397
Brick ovirt0:/gluster/brick6/data   49155 0  Y
 9129
Brick ovirt2:/gluster/brick6_1/data 49155 0  Y
 28081
Brick ovirt3:/gluster/brick6/data   49155 0  Y
 28404
Brick ovirt0:/gluster/brick7/data   49156 0  Y
 9138
Brick ovirt2:/gluster/brick7/data   49156 0  Y
 28089
Brick ovirt3:/gluster/brick7/data   49156 0  Y
 28411
Brick ovirt0:/gluster/brick8/data   49157 0  Y
 9145
Brick ovirt2:/gluster/brick8/data   49157 0  Y
 28095
Brick ovirt3:/gluster/brick8/data   49157 0  Y
 28418
Brick ovirt1:/gluster/brick3/data   49152 0  Y
 23139
Brick ovirt1:/gluster/brick4/data   49153 0  Y
 23145
Brick ovirt1:/gluster/brick5/data   49154 0  Y
 23152
Brick ovirt1:/gluster/brick6/data   49155 0  Y
 23159
Brick ovirt1:/gluster/brick7/data   49156 0  Y
 23166
Brick ovirt1:/gluster/brick8/data   49157 0  Y
 23173
Self-heal Daemon on localhost   N/A   N/AY
 7757
Bitrot Daemon on localhost  N/A   N/AY
 7766
Scrubber Daemon on localhostN/A   N/AY
 7785
Self-heal Daemon on ovirt2  N/A   N/AY
 8205
Bitrot Daemon on ovirt2 N/A   N/AY
 8216
Scrubber Daemon on ovirt2   N/A   N/AY
 8227
Self-heal Daemon on ovirt0  N/A   N/AY
 32665
Bitrot Daemon on ovirt0 N/A   N/AY
 32674
Scrubber Daemon on ovirt0   N/A   N/AY
 32712
Self-heal Daemon on ovirt1  N/A   N/AY
 31759
Bitrot Daemon on ovirt1 N/A   N/AY
 31768
Scrubber Daemon on ovirt1   N/A   N/AY
 31790

Task Status of Volume data
--
Task : Rebalance
ID   : 62942ba3-db9e-4604-aa03-4970767f4d67
Status   : completed

Status of volume: engine
Gluster process TCP Port  RDMA Port  Online  Pid
--
Brick ovirt0:/gluster/brick1/engine 49158 0  Y
 9155
Brick ovirt2:/gluster/brick1/engine 49158 0  Y
 28107
Brick ovirt3:/gluster/brick1/engine 49158 0  Y
 28427
Self-heal Daemon on localhost   N/A   N/AY
 7757
Self-heal Daemon on ovirt1  N/A   N/AY
 31759
Self-heal Daemon on ovirt0  N/A   N/AY
 32665
Self-heal Daemon on ovirt2  N/A   N/AY
 8205

Task Status of Volume engine
--
There are no active volume tasks

Status of volume: iso
Gluster process TCP Port  RDMA Port  Online  Pid
--
Brick ovirt0:/gluster/brick2/iso49159 0  Y
 9164
Brick ovirt2:/gluster/brick2/iso49159 0  Y
 28116
Brick ovirt3:/gluster/brick2/iso49159 0  Y
 28436
NFS Server on localhost 2049  0  Y
 7746
Self-heal Daemon on localhost   N/A   N/AY
 7757
NFS Server on ovirt12049  0  Y
 31748
Self-heal Daemon on ovirt1  N/A   N/AY
 31759
NFS Server on ovirt02049  0  Y
 32656
Self-heal Daemon on ovirt0  N/A   N/AY
 32665
NFS Server on 

[ovirt-users] gluster self-heal takes cluster offline

2018-03-15 Thread Jim Kusznir
Hi all:

I'm trying to understand why/how (and most importantly, how to fix) an
substantial issue I had last night.  This happened one other time, but I
didn't know/understand all the parts associated with it until last night.

I have a 3 node hyperconverged (self-hosted engine, Gluster on each node)
cluster.  Gluster is Replica 2 + arbitrar.  Current network configuration
is 2x GigE on load balance ("LAG Group" on switch), plus one GigE from each
server on a separate vlan, intended for Gluster (but not used).  Server
hardware is Dell R610's, each server as an SSD in it.  Server 1 and 2 have
the full replica, server 3 is the arbitrar.

I put server 2 into maintence so I can work on the hardware, including turn
it off and such.  In the course of the work, I found that I needed to
reconfigure the SSD's partitioning somewhat, and it resulted in wiping the
data partition (storing VM images).  I figure, its no big deal, gluster
will rebuild that in short order.  I did take care of the extended attr
settings and the like, and when I booted it up, gluster came up as expected
and began rebuilding the disk.

The problem is that suddenly my entire cluster got very sluggish.  The
entine was marking nodes and VMs failed and unfaling them throughout the
system, fairly randomly.  It didn't matter what node the engine or VM was
on.  At one point, it power cycled server 1 for "non-responsive" (even
though everything was running on it, and the gluster rebuild was working on
it).  As a result of this, about 6 VMs were killed and my entire gluster
system went down hard (suspending all remaining VMs and the engine), as
there were no remaining full copies of the data.  After several minutes
(these are Dell servers, after all...), server 1 came back up, and gluster
resumed the rebuild, and came online on the cluster.  I had to manually
(virtsh command) unpause the engine, and then struggle through trying to
get critical VMs back up.  Everything was super slow, and load averages on
the servers were often seen in excess of 80 (these are 8 core / 16 thread
boxes).  Actual CPU usage (reported by top) was rarely above 40% (inclusive
of all CPUs) for any one server. Glusterfs was often seen using 180%-350%
of a CPU on server 1 and 2.

I ended up putting the cluster in global HA maintence mode and disabling
power fencing on the nodes until the process finished.  It appeared on at
least two occasions a functional node was marked bad and had the fencing
not been disabled, a node would have rebooted, just further exacerbating
the problem.

Its clear that the gluster rebuild overloaded things and caused the
problem.  I don't know why the load was so high (even IOWait was low), but
load averages were definately tied to the glusterfs cpu utilization %.   At
no point did I have any problems pinging any machine (host or VM) unless
the engine decided it was dead and killed it.

Why did my system bite it so hard with the rebuild?  I baby'ed it along
until the rebuild was complete, after which it returned to normal operation.

As of this event, all networking (host/engine management, gluster, and VM
network) were on the same vlan.  I'd love to move things off, but so far
any attempt to do so breaks my cluster.  How can I move my management
interfaces to a separate VLAN/IP Space?  I also want to move Gluster to its
own private space, but it seems if I change anything in the peers file, the
entire gluster cluster goes down.  The dedicated gluster network is listed
as a secondary hostname for all peers already.

Will the above network reconfigurations be enough?  I got the impression
that the issue may not have been purely network based, but possibly server
IO overload.  Is this likely / right?

I appreciate input.  I don't think gluster's recovery is supposed to do as
much damage as it did the last two or three times any healing was required.

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


Re: [ovirt-users] 4.2.2.2-1 Starting hosted engine on all hosts

2018-03-15 Thread Simone Tiraboschi
On Thu, Mar 15, 2018 at 6:47 PM, Gianluca Cecchi 
wrote:

>
> Il 15 Mar 2018 6:34 PM, "Simone Tiraboschi"  ha
> scritto:
>
>
>
> On Thu, Mar 15, 2018 at 8:18 AM, Yedidyah Bar David 
> wrote:
>
>> On Thu, Mar 15, 2018 at 8:50 AM, Maton, Brett 
>> wrote:
>> > The last three 4.2.2 release candidates that I've tried have been
>> starting
>> > self hosted engine all all physical hosts at the same time.
>> >
>> > Same with the latest RC, what logs  do you need to investigate the
>> problem?
>>
>
> It was this one: https://bugzilla.redhat.com/show_bug.cgi?id=1547479
>
> It got fixed today but still not available in RC4.
>
>
>>
>> /var/log/ovirt-hosted-engine-ha/*
>> /var/log/sanlock.log
>> /var/log/vdsm/*
>>
>> Adding Martin.
>>
>> Thanks and best regards,
>> --
>> Didi
>> __
>
>
> If I understood correctly, this kind of risk is not present in 4.1.x and
> in 4.2.y for every x and for y <= 1?
>
>
Right.
This issue has been introduced with https://gerrit.ovirt.org/#/c/86435/
that comes in ovirt-hosted-engine-ha-2.2.5 so 4.2.1 is not affected since
it ships ovirt-hosted-engine-ha-2.2.4.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.2.2.2-1 Starting hosted engine on all hosts

2018-03-15 Thread Maton, Brett
Ok cool, glad you already have enough information as it's trashed my
hosted-engine beyond recovery...

On 15 March 2018 at 17:47, Gianluca Cecchi 
wrote:

>
> Il 15 Mar 2018 6:34 PM, "Simone Tiraboschi"  ha
> scritto:
>
>
>
> On Thu, Mar 15, 2018 at 8:18 AM, Yedidyah Bar David 
> wrote:
>
>> On Thu, Mar 15, 2018 at 8:50 AM, Maton, Brett 
>> wrote:
>> > The last three 4.2.2 release candidates that I've tried have been
>> starting
>> > self hosted engine all all physical hosts at the same time.
>> >
>> > Same with the latest RC, what logs  do you need to investigate the
>> problem?
>>
>
> It was this one: https://bugzilla.redhat.com/show_bug.cgi?id=1547479
>
> It got fixed today but still not available in RC4.
>
>
>>
>> /var/log/ovirt-hosted-engine-ha/*
>> /var/log/sanlock.log
>> /var/log/vdsm/*
>>
>> Adding Martin.
>>
>> Thanks and best regards,
>> --
>> Didi
>> __
>
>
> If I understood correctly, this kind of risk is not present in 4.1.x and
> in 4.2.y for every x and for y <= 1?
>
>
> ___
> 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] 4.2.2.2-1 Starting hosted engine on all hosts

2018-03-15 Thread Simone Tiraboschi
On Thu, Mar 15, 2018 at 8:18 AM, Yedidyah Bar David  wrote:

> On Thu, Mar 15, 2018 at 8:50 AM, Maton, Brett 
> wrote:
> > The last three 4.2.2 release candidates that I've tried have been
> starting
> > self hosted engine all all physical hosts at the same time.
> >
> > Same with the latest RC, what logs  do you need to investigate the
> problem?
>

It was this one: https://bugzilla.redhat.com/show_bug.cgi?id=1547479

It got fixed today but still not available in RC4.


>
> /var/log/ovirt-hosted-engine-ha/*
> /var/log/sanlock.log
> /var/log/vdsm/*
>
> Adding Martin.
>
> Thanks and best regards,
> --
> Didi
> ___
> 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] [ANN] oVirt 4.2.2 Fourth Release Candidate is now available

2018-03-15 Thread Lev Veyde
The oVirt Project is pleased to announce the availability of the oVirt
4.2.2 Fourth
Release Candidate, as of March 15th, 2018

This update is a release candidate of the second in a series of
stabilization updates to the 4.2
series.
This is pre-release software. This pre-release should not to be used in
production.

This release is available now for:
* Red Hat Enterprise Linux 7.4 or later
* CentOS Linux (or similar) 7.4 or later

This release supports Hypervisor Hosts running:
* Red Hat Enterprise Linux 7.4 or later
* CentOS Linux (or similar) 7.4 or later
* oVirt Node 4.2

See the release notes [1] for installation / upgrade instructions and
a list of new features and bugs fixed.

Notes:
- oVirt Appliance will be available soon
- oVirt Node will be available soon [2]

Additional Resources:
* Read more about the oVirt 4.2.2 release highlights:
http://www.ovirt.org/release/4. 2
. 
2 /

* Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
* Check out the latest project news on the oVirt blog:
http://www.ovirt.org/blog/

[1] http://www.ovirt.org/release/4. 2
. 
2 /

[2] http://resources.ovirt.org/pub/ovirt-4.
2-pre
/iso/


-- 

Lev Veyde

Software Engineer, RHCE | RHCVA | MCITP

Red Hat Israel



l...@redhat.com | lve...@redhat.com

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


[ovirt-users] UI plugin API updates

2018-03-15 Thread Vojtech Szocs
Dear community,

the UI plugin API will be updated to reflect recent oVirt web
administration UI design changes.

The relevant patch is already merged in master branch [1] and the
associated BZ [2] is targeted for 4.3 release.

*What's new*

Two new API functions, addPrimaryMenuContainer and addSecondaryMenuPlace,
allow you to add custom secondary menu items to the vertical navigation
menu. You can target both existing (core) and custom primary menu items
when adding secondary ones.

*What's changed*

Some API functions were renamed to stay consistent with current UI design,
i.e. reflecting the absence of "main" and "sub" tabs.

   - addMainTab => addPrimaryMenuPlace
   - addSubTab => addDetailPlace
   - setTabContentUrl => setPlaceContentUrl
   - setTabAccessible => setPlaceAccessible
   - addMainTabActionButton => addMenuPlaceActionButton
   - addSubTabActionButton => addDetailPlaceActionButton

You can still use the original functions mentioned above, but doing so will
yield a warning in the browser console, for example:

*addMainTab is deprecated, please use addPrimaryMenuPlace instead.*


In addition, for functions that used to deal with "main" or "sub" tabs, the
options object no longer supports alignRight (boolean) parameter. That's
because PatternFly tabs widget [3] expects all tabs to be aligned next to
each other, flowing from left to right.

We'll be updating the UI plugins feature page shortly to reflect all the
changes.

[1] https://gerrit.ovirt.org/#/c/88690/
[2] https://bugzilla.redhat.com/1553902
[3] http://www.patternfly.org/pattern-library/widgets/#tabs

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


[ovirt-users] Warning: CentOS Upgrade with Host Engine - 503 Service Temporarily Unavailable

2018-03-15 Thread Andrei Verovski
Hi !

I have upgraded CentOS 7.4 with oVirt 4.2.1 host engine (with yum upgrade), and 
its resulted in broken system - "503 Service Temporarily Unavailable" when 
connecting to the host engine via web.
Service ovirt-engine failed to starts (logs attached at the bottom of this 
email), other ovirt services seem to run fine.

yum update "ovirt-*-setup*” (upgrade 4.2 -> 4.2.1)
engine-setup
yum upgrade (OS upgrade)

Is this issue somehow related to JDK as described here?
https://bugzilla.redhat.com/show_bug.cgi?id=1217023

New packages:
java-1.8.0-openjdk  x86_64   1:1.8.0.161-0.b14.el7_4
java-1.8.0-openjdk-develx86_64   1:1.8.0.161-0.b14.el7_4 
java-1.8.0-openjdk-headless x86_64   1:1.8.0.161-0.b14.el7_4 

installed packages (seem to be also 1.8x):
[root@node00 ~]# rpm -qa | grep jdk
java-1.8.0-openjdk-1.8.0.151-5.b12.el7_4.x86_64
java-1.8.0-openjdk-devel-1.8.0.151-5.b12.el7_4.x86_64
java-1.8.0-openjdk-headless-1.8.0.151-5.b12.el7_4.x86_64
copy-jdk-configs-2.2-5.el7_4.noarch

Since my host engine is actually a KVM appliance under another SuSE server, I 
simply discarded it and reverted back old qcow2 image.

So this is a warning to anyone - don’t upgrade CentOS, or at least keep a copy 
of disk image before ANY upgrade !


**   LOGS   *
**
[root@node00 ~]# service ovirt-engine status -l
Redirecting to /bin/systemctl status  -l ovirt-engine.service
● ovirt-engine.service - oVirt Engine
   Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled; 
vendor preset: disabled)
   Active: failed (Result: timeout) since Thu 2018-03-15 15:44:08 EET; 2min 18s 
ago
  Process: 1474 
ExecStart=/usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py 
--redirect-output --systemd=notify $EXTRA_ARGS start (code=killed, signal=TERM)
 Main PID: 1474 (code=killed, signal=TERM)
   CGroup: /system.slice/ovirt-engine.service

Mar 15 15:42:37 node00.myhost.lv systemd[1]: Starting oVirt Engine...
Mar 15 15:42:50 node00.myhost.lv ovirt-engine.py[1474]: 2018-03-15 
15:42:50,869+0200 ovirt-engine: INFO _detectJBossVersion:187 Detecting JBoss 
version. Running: /usr/lib/jvm/jre/bin/java ['ovirt-engine-version', '-server', 
'-XX:+TieredCompilation', '-Xms1024M', '-Xmx1024M', '-Djava.awt.headless=true', 
'-Dsun.rmi.dgc.client.gcInterval=360', 
'-Dsun.rmi.dgc.server.gcInterval=360', '-Djsse.enableSNIExtension=false', 
'-XX:+HeapDumpOnOutOfMemoryError', 
'-XX:HeapDumpPath=/var/log/ovirt-engine/dump', 
'-Djava.util.logging.manager=org.jboss.logmanager', 
'-Dlogging.configuration=file:///var/lib/ovirt-engine/jboss_runtime/config/ovirt-engine-logging.properties',
 '-Dorg.jboss.resolver.warning=true', 
'-Djboss.modules.system.pkgs=org.jboss.byteman', 
'-Djboss.server.default.config=ovirt-engine', 
'-Djboss.home.dir=/usr/share/ovirt-engine-wildfly', 
'-Djboss.server.base.dir=/usr/share/ovirt-engine', 
'-Djboss.server.data.dir=/var/lib/ovirt-engine', 
'-Djboss.server.log.dir=/var/log/ovirt-engine', 
'-Djboss.server.config.dir=/var/lib/ovirt-engine/jboss_runtime/config', 
'-Djboss.server.temp.dir=/var/lib/ovirt-engine/jboss_runtime/tmp', 
'-Djboss.controller.temp.dir=/var/lib/ovirt-engine/jboss_runtime/tmp', '-jar', 
'/usr/share/ovirt-engine-wildfly/jboss-modules.jar', '-mp', 
'/usr/share/ovirt-engine-wildfly-overlay/modules:/usr/share/ovirt-engine/modules/common:/usr/share/ovirt-engine-extension-aaa-jdbc/modules:/usr/share/ovirt-engine-wildfly/modules',
 '-jaxpmodule', 'javax.xml.jaxp-provider', 'org.jboss.as.standalone', '-v']
Mar 15 15:44:08 node00.myhost.lv systemd[1]: ovirt-engine.service start 
operation timed out. Terminating.
Mar 15 15:44:08 node00.myhost.lv systemd[1]: Failed to start oVirt Engine.
Mar 15 15:44:08 node00.myhost.lv systemd[1]: Unit ovirt-engine.service entered 
failed state.
Mar 15 15:44:08 node00.myhost.lv systemd[1]: ovirt-engine.service failed.
[root@node00 ~]# 


[root@node00 ~]# tail -n 20 /var/log/ovirt-engine/server.log 
2018-03-15 15:39:03,196+02 INFO  [org.quartz.core.QuartzScheduler] (MSC service 
thread 1-4) Scheduler QuartzOvirtDBScheduler_$_NON_CLUSTERED shutting down.
2018-03-15 15:39:03,196+02 INFO  [org.quartz.core.QuartzScheduler] (MSC service 
thread 1-4) Scheduler QuartzOvirtDBScheduler_$_NON_CLUSTERED paused.
2018-03-15 15:39:03,201+02 INFO  [org.wildfly.extension.undertow] (MSC service 
thread 1-2) WFLYUT0019: Host default-host stopping
2018-03-15 15:39:03,201+02 INFO  [org.wildfly.extension.undertow] (MSC service 
thread 1-2) WFLYUT0004: Undertow 1.4.18.Final stopping
2018-03-15 15:39:03,202+02 INFO  [org.quartz.core.QuartzScheduler] (MSC service 
thread 1-4) Scheduler QuartzOvirtDBScheduler_$_NON_CLUSTERED shutdown complete.
2018-03-15 15:39:03,213+02 INFO  
[org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) 
WFLYJCA0010: Unbound data source [java:/DWHDataSource]
2018-03-15 15:39:03,213+02 INFO  
[org.jboss.as.connector.subsystems.datasources] (MSC service thread 

Re: [ovirt-users] Cannot use noVNC in VM portal, oVirt 4.2.1.7

2018-03-15 Thread Tomas Jelinek
On Fri, Mar 9, 2018 at 10:46 PM, Chlipala, George Edward 
wrote:

> Our oVirt installation (4.2.1.7) is configured to use noVNC as the default
> console (ClientModeVncDefault = noVnc).  This works perfectly fine in the
> Administrator portal.  However if a user logs in to the VM portal when they
> click the VNC console option it generates a virt-viewer file (native VNC
> client) instead of opening a noVNC session.  We cannot seem to find any
> options on the VM portal to use noVNC or set as the default.  Is there
> another option that we need to set to allow noVNC via the VM portal?
>

it is not yet there - the issue tracking it is here:
https://github.com/oVirt/ovirt-web-ui/issues/490


>
>
> Thanks!
>
>
>
> George Chlipala, Ph.D.
>
> Associate Director, Core for Research Informatics
>
> Research Resources Center
>
> University of Illinois at Chicago
>
> phone: 312-413-1700 <(312)%20413-1700>
> email: gchl...@uic.edu
>
>
>
> ___
> 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] how to run command in windows guest via agent?

2018-03-15 Thread Gianluca Cecchi
On Thu, Mar 15, 2018 at 2:26 PM, Sergey Vavilov  wrote:

> Hello!
>
> I'm wondering
> how can I run a cmd.exe command (or powershell) inside windows guest
> virtual machine by
> ovirt-agent from outside (from ovirt-engine or from host)?
> What's ovirt's analogue for
> virsh qemu-agent-command
> ?
> Actually, I want to setup ip on virtual NIC.
> So I can't run a command via windows' protocols.
> ovirt-agent service works in windows virtual machine and successfully
> reports its state to ovirt engine.
> But it looks like ovirt-agent isn't suitable to run commands in virtual
> machines?
> Or am I wrong?
> Should I configure a coexistence of ovirt-agent and qemu-agent inside vm
> somehow?
> How did you solve such task before?
>
> Thank you, all!
>
>
> --
> Sergey Vavilov
>
>
Hi Sergey,
I recently had a need for a Windows 2008 R2 x86_64 VM that I moved from
vSphere to RHV (but the considerations below are the same for oVirt).
In my case I had to run a backup of an Oracle database that is in
NOARCHIVELOG mode, due to performance reasons: it is an RDBMS used for BI
that is refreshed every day and doesn't need a point in time recovery but
only a consistent state before the "new day" processing is run at 01:00 in
the night.
In vSphere the backup of the VM was implemented with Veeam, that uses
snaphsot technology and interacts with VSS layer of M$ operating systems.
Oracle fully supports on Windows the backup of database using VSS only if
it is in ARCHIVELOG mode.
https://docs.oracle.com/cd/E11882_01/win.112/e10845/vss.htm#NTQRF475

Veeam automatically executed shutdown / snapshot / start of the dabatase
because I think it implements what in the link above is called as
PRE_SQLCMD in OnPrepareBackup callback (through the VeeamGuestHelper.exe
executable).

Coming back to oVirt, the interaction with Windows VSS layer is indeed done
by "QEMU guest agent"too; you have to install it together with the oVirt
Guest Agent when you install oVirt Guest Tools

So in my case I would need for Windows something similar to the
"fsfreeze/thaw hooks" I have in Linux QEMU guest agent.
But searching through the code it seems this functionality is only present
in Linux component...
In fact some days ago I wrote to the qemu-devel mailing list to ask for
possible implementation:
http://lists.nongnu.org/archive/html/qemu-devel/2018-03/msg02823.html

No answer so far. Feel free (you and others) to contribute to the thread if
you think it can help...
It could also be useful to have at least writer control commands
implementation in VSS interaction of QEMU Guest Agent in Windows, so that
one could do something similar to what Veeam on vSphere already does...

Based on what I have wrote above, I doubt you could interact at all through
the QEMU guest agent on Windows to run any command...
And also for Linux guests, I think you are restricted to the default
actions (eg shutdown) or forced to use as a workaround the approach to run
a snapshot (that then you delete) and "attach" the desired command to the
freeze (or thaw) hook...

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


[ovirt-users] how to run command in windows guest via agent?

2018-03-15 Thread Sergey Vavilov
Hello!

I'm wondering 
how can I run a cmd.exe command (or powershell) inside windows guest virtual 
machine by
ovirt-agent from outside (from ovirt-engine or from host)?
What's ovirt's analogue for 
virsh qemu-agent-command
?
Actually, I want to setup ip on virtual NIC.
So I can't run a command via windows' protocols.
ovirt-agent service works in windows virtual machine and successfully reports 
its state to ovirt engine.
But it looks like ovirt-agent isn't suitable to run commands in virtual 
machines?
Or am I wrong?
Should I configure a coexistence of ovirt-agent and qemu-agent inside vm 
somehow?
How did you solve such task before?
 
Thank you, all!


-- 
Sergey Vavilov

___
NOCC, http://nocc.sourceforge.net



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


Re: [ovirt-users] NFS 4.1 support and migration

2018-03-15 Thread Eyal Shenitzky
Have to admit that I didn't play with the hosted engine thing, but maybe
you can find the answers in the documentation:


   - https://ovirt.org/documentation/self-hosted/Self-Hosted_Engine_Guide/
   - https://www.ovirt.org/documentation/how-to/hosted-engine/
   -
   https://ovirt.org/develop/release-management/features/sla/self-hosted-engine/


On Thu, Mar 15, 2018 at 3:25 PM,  wrote:

> Thanks, I totally missed that :-/
>
> And this wil also work for the hosted engine dedicated domain, putting the
> storage domain the virtual machine is depending on in maintenance ?
>
>
>
> Le 15-Mar-2018 10:38:48 +0100, eshen...@redhat.com a écrit:
>
>
> You can edit the storage domain setting after the storage domain
> deactivated (entered to maintenance mode).
>
>
> On Thu, Mar 15, 2018 at 11:12 AM,  wrote:
>
>> In fact I don't really know how to change storage domains setttings (like
>> nfs version or export path, ...), if it is only possible.
>>
>> I thought they could be disabled after stopping all related VMS, and
>> maybe settings panel would then unlock ?
>>
>> But this should be impossible with hosted engine dedicated storage domain
>> as it is required for the GUI itself.
>>
>> So I am stuck.
>>
>> Le 15-Mar-2018 09:59:30 +0100, eshen...@redhat.com a écrit:
>>
>>
>> I am not sure what you mean,
>> Can you please try to explain what is the difference between "VMs domain"
>> to "hosted storage domain" according to you?
>>
>> Thanks,
>>
>> On Thu, Mar 15, 2018 at 10:45 AM,  wrote:
>>
>>> Thanks for your answer.
>>>
>>> And to use V4.1 instead of V3 on a domain, do I just have to disconnect
>>> it and change its settings ? Seems to be easy to do with VMs domains, but
>>> how to do it with hosted storage domain ?
>>>
>>> Regards
>>>
>>>
>>>
>>> Le 14-Mar-2018 11:54:52 +0100, eshen...@redhat.com a écrit:
>>>
>>>
>>> Hi,
>>>
>>> NFS 4.1 supported and working since version 3.6 (according to this bug
>>> fix [1])
>>>
>>> [1] Support NFS v4.1 connections - https://bugzilla.redhat.com/
>>> show_bug.cgi?id=1283964
>>>
>>>
>>> --
>>> FreeMail powered by mail.fr
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>>
>> --
>> Regards,
>> Eyal Shenitzky
>>
>>
>> --
>> FreeMail powered by mail.fr
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
> Regards,
> Eyal Shenitzky
>
>
> --
> FreeMail powered by mail.fr
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
Regards,
Eyal Shenitzky
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] NFS 4.1 support and migration

2018-03-15 Thread spfma . tech
Thanks, I totally missed that :-/
   And this wil also work for the hosted engine dedicated domain, putting the 
storage domain the virtual machine is depending on in maintenance ? 

 Le 15-Mar-2018 10:38:48 +0100, eshen...@redhat.com a crit:   
 You can edit the storage domain setting after the storage domain deactivated 
(entered to maintenance mode).
 On Thu, Mar 15, 2018 at 11:12 AM,  wrote:

In fact I don't really know how to change storage domains setttings (like nfs 
version or export path, ...), if it is only possible. 

I thought they could be disabled after stopping all related VMS, and maybe 
settings panel would then unlock ? 

But this should be impossible with hosted engine dedicated storage domain as it 
is required for the GUI itself. 

So I am stuck.

 Le 15-Mar-2018 09:59:30 +0100, eshen...@redhat.com a crit:   
 I am not sure what you mean, Can you please try to explain what is the 
difference between "VMs domain" to "hosted storage domain" according to you?   
Thanks,  
 On Thu, Mar 15, 2018 at 10:45 AM,  wrote:

 Thanks for your answer.
   And to use V4.1 instead of V3 on a domain, do I just have to disconnect it 
and change its settings ? Seems to be easy to do with VMs domains, but how to 
do it with hosted storage domain ?   Regards 

 Le 14-Mar-2018 11:54:52 +0100, eshen...@redhat.com a crit:   
 Hi,   NFS 4.1 supported and working since version 3.6 (according to this bug 
fix [1])   [1] Support NFS v4.1 connections - 
https://bugzilla.redhat.com/show_bug.cgi?id=1283964   

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

   -- 
  Regards, Eyal Shenitzky 

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

   -- 
  Regards, Eyal Shenitzky 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt and OVH vRack

2018-03-15 Thread Fabien Carré
Hello,
Thank you for the answer.

I'll try your solution.
Fabien

On Thu, 15 Mar 2018 at 11:59 Dominik Holler  wrote:

> On Thu, 15 Mar 2018 09:09:41 +
> Fabien Carré  wrote:
>
> > Hello,
> > I am trying to set up an oVirt environment using OVH servers. So far
> > I have installed an engine (4.2) and a node. The node is attached to
> > a NAS through a vRack
> > https://www.ovh.co.uk/solutions/vrack/network-technology.xml. I am
> > using one vlan to connect it, which is the management network
> >
> >
> > However it is not a perfect setup (cf attached screenshot). The
> > management network is in  "Out-of-Sync" state.
> > on the node :
> > # ip addr
> > 28: eno4.100@eno4:  mtu 1500 qdisc
> > noqueue master ovirtmgmt state UP qlen 1000
> > link/ether 0c:c4:ff:7a:6c:13 brd ff:ff:ff:ff:ff:ff
> > 29: ovirtmgmt:  mtu 1500 qdisc
> > noqueue state UP qlen 1000
> > link/ether 0c:c4:ff:7a:6c:13 brd ff:ff:ff:ff:ff:ff
> > inet 10.100.0.11/24 brd 10.100.0.255 scope global ovirtmgmt
> >valid_lft forever preferred_lft forever
> >
> >
> > [image: Screenshot from 2018-03-15 09-03-37.png]
> > It does not seem possible to add extra vlan. I wanted to have one for
> > the vms and one for the hosts.
> > Can you give me some help or guidance ?
> >
> > Also generally speaking do you think such a setup is fine ?
> >
> > Thank you
> > Fabien
>
>
> If you are limited to a single VLAN, I would use this as a single
> logical network in oVirt. To isolate the traffic between VMs, I
> would use external logical networks on the ovirt-provider-ovn.
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 4.2.2-rc3 switching from legacy to OVS..

2018-03-15 Thread Robert O'Kane

Make sure STP is OFF for each bridge. Then the warnings go away.

Cheers,

Robert O'Kane


On 03/15/2018 11:21 AM, Dan Kenigsberg wrote:

I know OVS is Experimental, but it worked in 4.1.x, and now we have to do a
step back to legacy bridge just to use 4.2.x, which in a vlan environment
just wreaks havoc (every VLAN need's a unique mac assigned to the bridge,
which vdsm does not do, so suddenly you get the kernel complaining about
seeing it's mac address several times.)

Could you elaborate on this issue? What is wrong with a bridge that
learns its mac from its underlying device? What wold like Vdsm to do,
in your opinion? You can file a bug (or even send a patch) if there is
a functionality that you'd like to fix.



--
Robert O'Kane
Systems Administrator
Kunsthochschule für Medien Köln
Peter-Welter-Platz 2
50676 Köln

fon: +49(221)20189-223
fax: +49(221)20189-49223
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] improvement for web ui during the create template stage.

2018-03-15 Thread Alexander Wels
On Wednesday, March 14, 2018 5:19:55 PM EDT Nicolas Vaye wrote:
> Hi,
> 
> I thought it was the problem.
> I did a test again and i have recorded the test (in attachment).
> What is the problem ?
> 
> Regards,
> 
> Nicolas VAYE
> 

Interesting, as that name is not long enough to trigger the name length 
validation. You have 64 characters total for the name. I just tried your 
scenario on the latest master branch, and it worked as expected, it created 
the template from the snapshot without issues with that exact same name.

I don't see any recent changes to the frontend code for that dialog either. If 
you look in the engine.log does it say anything? I can only assume some 
validation is failing, and that validation message is not properly propagated 
to the frontend, but it should show something in the backend log regardless.

>  Message initial 
> 
> Date: Wed, 14 Mar 2018 08:36:48 -0400
> Objet: Re: [ovirt-users] improvement for web ui during the create template
> stage.
 À: users@ovirt.org, Nicolas Vaye
>  nce-sud.nc%3e>> De: Alexander Wels
> > 
> On Wednesday, March 14, 2018 12:04:18 AM EDT Nicolas Vaye wrote:
> 
> 
> Hi,
> I 'have 2 ovirt node with HE in version 4.2.1.7-1.
> 
> If i make a template from a VM's snapshot in the web ui, there is a form ui
> to enter several parameter
> 
> 
>  [cid:1521000255.509.1.camel@province-sud.nc rovince-sud.nc>]
 
> 
> 
> if the name of the template is missing and if we clic on the OK button,
> there is an highlighting red border on the name to indicate the problem.
> if i enter a long name for the template and if we clic on the OK button,
> nothing happend, and there is no highlight or error message to indicate
> there is a problem with the long name.
> Could you improve that ?
> 
> Thanks,
> 
> Regards,
> 
> Nicolas VAYE
> 
> 
> 
> 
> It appears to me it already does that, this a screenshot of me putting in a
> long template name, and it is highlighted right and if I hover I see a
> tooltip explaining I can't have more than 64 characters.
> 




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


Re: [ovirt-users] Issue...

2018-03-15 Thread Pavol Brilla
Is your highlighted VM up? I just check in 4.2 and Change CD is greyed out
for VMs which are down, I have it ok for VM which are UP

On Tue, Mar 13, 2018 at 11:06 AM, Nasrum Minallah Manzoor <
nasrumminall...@hotmail.com> wrote:

> Hi,
>
>
>
> I am facing issue when I click on “change CD” option in ovirt’s engine it
> doesn’t works. It was working fine, I don’t how it stopped working!
>
>
>
> Any suggestions guys!
>
>
>
>
>
>
>
> Regards,
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 

PAVOL BRILLA

RHV QUALITY ENGINEER, CLOUD

Red Hat Czech Republic, Brno 

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


Re: [ovirt-users] Ovirt and OVH vRack

2018-03-15 Thread Dominik Holler
On Thu, 15 Mar 2018 09:09:41 +
Fabien Carré  wrote:

> Hello,
> I am trying to set up an oVirt environment using OVH servers. So far
> I have installed an engine (4.2) and a node. The node is attached to
> a NAS through a vRack
> https://www.ovh.co.uk/solutions/vrack/network-technology.xml. I am
> using one vlan to connect it, which is the management network
> 
> 
> However it is not a perfect setup (cf attached screenshot). The
> management network is in  "Out-of-Sync" state.
> on the node :
> # ip addr
> 28: eno4.100@eno4:  mtu 1500 qdisc
> noqueue master ovirtmgmt state UP qlen 1000
> link/ether 0c:c4:ff:7a:6c:13 brd ff:ff:ff:ff:ff:ff
> 29: ovirtmgmt:  mtu 1500 qdisc
> noqueue state UP qlen 1000
> link/ether 0c:c4:ff:7a:6c:13 brd ff:ff:ff:ff:ff:ff
> inet 10.100.0.11/24 brd 10.100.0.255 scope global ovirtmgmt
>valid_lft forever preferred_lft forever
> 
> 
> [image: Screenshot from 2018-03-15 09-03-37.png]
> It does not seem possible to add extra vlan. I wanted to have one for
> the vms and one for the hosts.
> Can you give me some help or guidance ?
> 
> Also generally speaking do you think such a setup is fine ?
> 
> Thank you
> Fabien


If you are limited to a single VLAN, I would use this as a single
logical network in oVirt. To isolate the traffic between VMs, I
would use external logical networks on the ovirt-provider-ovn.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [4.2.2-1.el7.centos] Image locked and unending task

2018-03-15 Thread spfma . tech
Thanks for that quick answer !
   Yes indeed I had some connectivity troubles on this server, a strange 
bonding problem I am investigating on since yesterday. But with just one link, 
it is working ok, I have no similar errors after the ones you saw.   What can I 
do to really remove the task from the list ? Manual database cleanup ?   

 Le 15-Mar-2018 11:15:40 +0100, eshen...@redhat.com a crit:   
 Thank you for sending the logs.   According to the logs, it seems that you had 
some connectivity issue while you tried to preview the snapshot. The preview 
operation rolled back but according to you failed to finish.   It seems like 
you still have a connectivity issue with that host 
('pfm-srv-virt-1.pfm-ad.pfm.loc), try to see what happens to it.   Here is the 
relevant part from the log:2018-03-14 17:00:48,652+01 ERROR 
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] 
Heartbeat exceeded for host 'pfm-srv-virt-1.pfm-ad.pfm.loc', last response 
arrived 2003 ms ago. 2018-03-14 17:00:53,561+01 INFO 
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] 
Connecting to pfm-srv-virt-1.pfm-ad.pfm.loc/10.100.1.50 2018-03-14 
17:02:21,832+01 INFO 
[org.ovirt.engine.core.utils.transaction.TransactionSupport] 
(EE-ManagedThreadFactory-engine-Thread-118906) [] transaction rolled back   
2018-03-14 17:02:21,836+01 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-118906) [] EVENT_ID: 
USER_TRY_BACK_TO_SNAPSHOT_FINISH_FAILURE(99), Failed to complete 
Snapshot-Preview AFTER_INSTALL for VM pfm-ltsp-1. 2018-03-14 17:02:21,836+01 
ERROR [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] 
(EE-ManagedThreadFactory-engine-Thread-118906) [] [within thread]: endAction 
for action type TryBackToAllSnapshotsOfVm threw an exception.: 
java.lang.NullPointerException at 
org.ovirt.engine.core.bll.snapshots.SnapshotsManager.deviceCanBeRemoved(SnapshotsManager.java:463)
 [bll.jar:] at 
org.ovirt.engine.core.bll.snapshots.SnapshotsManager.attempToRestoreVmConfigurationFromSnapshot(SnapshotsManager.java:415)
 [bll.jar:] at 
org.ovirt.engine.core.bll.snapshots.TryBackToAllSnapshotsOfVmCommand.restoreVmConfigFromSnapshot(TryBackToAllSnapshotsOfVmCommand.java:204)
 [bll.jar:] at 
org.ovirt.engine.core.bll.snapshots.TryBackToAllSnapshotsOfVmCommand.endSuccessfully(TryBackToAllSnapshotsOfVmCommand.java:168)
 [bll.jar:] at 
org.ovirt.engine.core.bll.CommandBase.internalEndSuccessfully(CommandBase.java:675)
 [bll.jar:] at 
org.ovirt.engine.core.bll.CommandBase.endActionInTransactionScope(CommandBase.java:630)
 [bll.jar:] at 
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1936) 
[bll.jar:] at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:202)
 [utils.jar:] at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInRequired(TransactionSupport.java:137)
 [utils.jar:] at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:105)
 [utils.jar:] at 
org.ovirt.engine.core.bll.CommandBase.endAction(CommandBase.java:495) 
[bll.jar:] at 
org.ovirt.engine.core.bll.tasks.DecoratedCommand.endAction(DecoratedCommand.java:17)
 [bll.jar:] at 
org.ovirt.engine.core.bll.tasks.CoCoAsyncTaskHelper.endAction(CoCoAsyncTaskHelper.java:353)
 [bll.jar:] at 
org.ovirt.engine.core.bll.tasks.CommandCoordinatorImpl.endAction(CommandCoordinatorImpl.java:347)
 [bll.jar:] at 
org.ovirt.engine.core.bll.tasks.CommandAsyncTask.endCommandAction(CommandAsyncTask.java:160)
 [bll.jar:] at 
org.ovirt.engine.core.bll.tasks.CommandAsyncTask.lambda$endActionIfNecessary$0(CommandAsyncTask.java:112)
 [bll.jar:] at 
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:96)
 [utils.jar:] at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[rt.jar:1.8.0_161] at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
[rt.jar:1.8.0_161] at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[rt.jar:1.8.0_161] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[rt.jar:1.8.0_161] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_161] 
at 
org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
 [javax.enterprise.concurrent-1.0.jar:] at 
org.jboss.as.ee.concurrent.service.ElytronManagedThreadFactory$ElytronManagedThread.run(ElytronManagedThreadFactory.java:78)
   2018-03-14 17:02:21,838+01 INFO 
[org.ovirt.engine.core.bll.tasks.CommandAsyncTask] 
(EE-ManagedThreadFactory-engine-Thread-118906) [] 
CommandAsyncTask::HandleEndActionResult: endAction for action type 
'TryBackToAllSnapshotsOfVm' threw an unrecoverable RuntimeException the task 
will be cleared. 2018-03-14 17:02:21,841+01 INFO 

Re: [ovirt-users] oVirt Engine 4.2 -> 4.2.1 Upgrade

2018-03-15 Thread Yedidyah Bar David
On Thu, Mar 15, 2018 at 8:33 AM, Yedidyah Bar David  wrote:
> On Wed, Mar 14, 2018 at 6:56 PM, Andrei Verovski  wrote:
>> Hi !
>>
>> After oVirt Engine 4.2 -> 4.2.1 Upgrade do I need to run these commands as 
>> described in this article
>> https://www.ovirt.org/release/4.2.1/
>
> Please note that the start of this section says:
>
> "For databases managed by engine-setup this is performed
> automatically, but non-managed databases (usually remote databases)
> this needs to be done manually by administrators."
>
> Is your database remote or managed manually, or local and managed by
> engine-setup? If latter, it's enough to run 'engine-setup'.
>
>>
>> su - postgres -c "scl enable rh-postgresql95 – psql -d engine"
>> postgres=# DROP FUNCTION IF EXISTS uuid_generate_v1();
>> postgres=# CREATE EXTENSION "uuid-ossp”;
>
> Sorry, this is a bug in the documentation. The commands should be:
>
>su - postgres -c "scl enable rh-postgresql95 -- psql -d engine"
>postgres=# DROP FUNCTION IF EXISTS uuid_generate_v1();
>postgres=# CREATE EXTENSION "uuid-ossp";
>
>>
>> BTW, this yelds error:
>> [root@node00 ~]# su - postgres -c "scl enable rh-postgresql95 – psql -d 
>> engine"
>> Unable to open /etc/scl/conf/–!
>
> Indeed.
>
> The reason that this bug happened is that the release notes are (partially)
> auto-generated, where this part is taken from the doc-text of the linked bug:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1515635
>
> The text there is ok.
>
> We should somehow make the resultant markdown mark such doc text as
> pre-formatted,
> to prevent it from replacing '--' with '–'. Adding Sandro for this.
>
> Thanks for the report!

This should fix 4.2.1 release notes page:

https://github.com/oVirt/ovirt-site/pull/1552

This should fix similar cases for future release notes pages:

https://gerrit.ovirt.org/89033

Best regards,

>
>>
>> node00 is a dedicated PC with CentOS and oVirt Host Engine.
>
> Sounds to me like you are in the "this will happen automatically" case.
>
> Best regards,
> --
> Didi



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


Re: [ovirt-users] ovirt 4.2.2-rc3 switching from legacy to OVS..

2018-03-15 Thread Dan Kenigsberg
On Thu, Mar 15, 2018 at 1:50 AM, Thomas Davis  wrote:
> Well, I just hit
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1513991
>
> And it's been closed, which means with vdsm-4.20.17-1.el7.centos.x86_64
>  OVS networking is totally borked..

You are welcome to reopen that bug, specifying your use case for OvS.
I cannot promise fixing this bug, as our resources are limited, and
that bug, which was introduced in 4.2, was not deemed as urgently
needed. https://gerrit.ovirt.org/#/c/86932/ attempts to fix the bug,
but it still needs a lot of work.

>
> I know OVS is Experimental, but it worked in 4.1.x, and now we have to do a
> step back to legacy bridge just to use 4.2.x, which in a vlan environment
> just wreaks havoc (every VLAN need's a unique mac assigned to the bridge,
> which vdsm does not do, so suddenly you get the kernel complaining about
> seeing it's mac address several times.)

Could you elaborate on this issue? What is wrong with a bridge that
learns its mac from its underlying device? What wold like Vdsm to do,
in your opinion? You can file a bug (or even send a patch) if there is
a functionality that you'd like to fix.

>
> There is zero documentation on how to use OVN instead of OVS.

I hope that 
https://ovirt.org/develop/release-management/features/network/provider-physical-network/
can help.

> thomas
>
> On 03/13/2018 09:22 AM, Thomas Davis wrote:
>>
>> I'll work on it some more.  I have 2 different clusters in the data center
>> (1 is the Hosted Engine systems, another is not..)  I had trouble with both.
>> I'll try again on the non-hosted engine cluster to see what it is doing.  I
>> have it working in 4.1, but we are trying to do a clean wipe since the 4.1
>> engine has been upgraded so many times from v3.5 plus we want to move to
>> hosted-engine-ha from a single engine node and the ansible modules/roles
>> (which also have problems..)
>>
>> thomas
>>
>> On Tue, Mar 13, 2018 at 6:27 AM, Edward Haas > > wrote:
>>
>>
>> OVS switch support is experimental at this stage and in some cases
>> when trying to change from one switch to the other, it fails.
>> It was also not checked against a hosted engine setup, which handles
>> networking a bit differently for the management network (ovirtmgmt).
>> Nevertheless, we are interested in understanding all the problems
>> that exists today, so if you can, please share the supervdsm log, it
>> has the interesting networking traces.
>>
>> We plan to block cluster switch editing until these problems are
>> resolved. It will be only allowed to define a new cluster as OVS,
>> not convert an existing one from Linux Bridge to OVS.
>>
>> On Fri, Mar 9, 2018 at 9:54 AM, Thomas Davis > > wrote:
>>
>> I'm getting further along with 4.2.2rc3 than the 4.2.1 when it
>> comes to hosted engine and vlans..  it actually does install
>> under 4.2.2rc3.
>>
>> But it's a complete failure when I switch the cluster from Linux
>> Bridge/Legacy to OVS.  The first time I try, vdsm does
>> not properly configure the node, it's all messed up.
>>
>> I'm getting this in vdsmd logs:
>>
>> 2018-03-08 23:12:46,610-0800 INFO  (jsonrpc/7) [api.network]
>> START setupNetworks(networks={u'ovirtmgmt': {u'ipv6autoconf':
>> True, u'nic': u'eno1', u'vlan': u'50', u'ipaddr':
>> u'192.168.85.49', u'switch': u'ovs', u'mtu': 1500, u'netmask':
>> u'255.255.252.0', u'dhcpv6': False, u'STP': u'no', u'bridged':
>> u'true', u'gateway': u'192.168.85.254', u'defaultRoute': True}},
>> bondings={}, options={u'connectivityCheck': u'true',
>> u'connectivityTimeout': 120}) from=:::192.168.85.24,56806,
>> flow_id=4147e25f-0a23-4f47-a0a4-d424a3437d11 (api:46)
>>
>> 2018-03-08 23:12:52,449-0800 INFO  (jsonrpc/2)
>> [jsonrpc.JsonRpcServer] RPC call Host.ping2 succeeded in 0.00
>> seconds (__init__:573)
>>
>> 2018-03-08 23:12:52,511-0800 INFO  (jsonrpc/7) [api.network]
>> FINISH setupNetworks error=[Errno 19] ovirtmgmt is not present
>> in the system from=:::192.168.85.24,56806,
>> flow_id=4147e25f-0a23-4f47-a0a4-d424a3437d11 (api:50)
>> 2018-03-08 23:12:52,512-0800 ERROR (jsonrpc/7)
>> [jsonrpc.JsonRpcServer] Internal server error (__init__:611)
>> Traceback (most recent call last):
>>File
>> "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line
>> 606, in _handle_request
>>  res = method(**params)
>>File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py",
>> line 201, in _dynamicMethod
>>  result = fn(*methodArgs)
>>File "", line 2, in setupNetworks
>>File "/usr/lib/python2.7/site-packages/vdsm/common/api.py",
>> line 48, in 

Re: [ovirt-users] [4.2.2-1.el7.centos] Image locked and unending task

2018-03-15 Thread Eyal Shenitzky
Thank you for sending the logs.

According to the logs, it seems that you had some connectivity issue while
you tried to preview the snapshot.
The preview operation rolled back but according to you failed to finish.

It seems like you still have a connectivity issue with that host (
'pfm-srv-virt-1.pfm-ad.pfm.loc), try to see what happens to it.

Here is the relevant part from the log:

2018-03-14 17:00:48,652+01 ERROR
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor)
[] Heartbeat exceeded for host 'pfm-srv-virt-1.pfm-ad.pfm.loc', last
response arrived 2003 ms ago.
2018-03-14 17:00:53,561+01 INFO
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor)
[] Connecting to pfm-srv-virt-1.pfm-ad.pfm.loc/10.100.1.50
2018-03-14 17:02:21,832+01 INFO
[org.ovirt.engine.core.utils.transaction.TransactionSupport]
(EE-ManagedThreadFactory-engine-Thread-118906) [] transaction rolled back
2018-03-14 17:02:21,836+01 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedThreadFactory-engine-Thread-118906) [] EVENT_ID:
USER_TRY_BACK_TO_SNAPSHOT_FINISH_FAILURE(99), Failed to complete
Snapshot-Preview AFTER_INSTALL for VM pfm-ltsp-1.
2018-03-14 17:02:21,836+01 ERROR
[org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
(EE-ManagedThreadFactory-engine-Thread-118906) [] [within thread]:
endAction for action type TryBackToAllSnapshotsOfVm threw an exception.:
java.lang.NullPointerException
at
org.ovirt.engine.core.bll.snapshots.SnapshotsManager.deviceCanBeRemoved(SnapshotsManager.java:463)
[bll.jar:]
at
org.ovirt.engine.core.bll.snapshots.SnapshotsManager.attempToRestoreVmConfigurationFromSnapshot(SnapshotsManager.java:415)
[bll.jar:]
at
org.ovirt.engine.core.bll.snapshots.TryBackToAllSnapshotsOfVmCommand.restoreVmConfigFromSnapshot(TryBackToAllSnapshotsOfVmCommand.java:204)
[bll.jar:]
at
org.ovirt.engine.core.bll.snapshots.TryBackToAllSnapshotsOfVmCommand.endSuccessfully(TryBackToAllSnapshotsOfVmCommand.java:168)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.internalEndSuccessfully(CommandBase.java:675)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.endActionInTransactionScope(CommandBase.java:630)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1936)
[bll.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:202)
[utils.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInRequired(TransactionSupport.java:137)
[utils.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:105)
[utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.endAction(CommandBase.java:495)
[bll.jar:]
at
org.ovirt.engine.core.bll.tasks.DecoratedCommand.endAction(DecoratedCommand.java:17)
[bll.jar:]
at
org.ovirt.engine.core.bll.tasks.CoCoAsyncTaskHelper.endAction(CoCoAsyncTaskHelper.java:353)
[bll.jar:]
at
org.ovirt.engine.core.bll.tasks.CommandCoordinatorImpl.endAction(CommandCoordinatorImpl.java:347)
[bll.jar:]
at
org.ovirt.engine.core.bll.tasks.CommandAsyncTask.endCommandAction(CommandAsyncTask.java:160)
[bll.jar:]
at
org.ovirt.engine.core.bll.tasks.CommandAsyncTask.lambda$endActionIfNecessary$0(CommandAsyncTask.java:112)
[bll.jar:]
at
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:96)
[utils.jar:]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[rt.jar:1.8.0_161]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[rt.jar:1.8.0_161]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[rt.jar:1.8.0_161]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[rt.jar:1.8.0_161]
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_161]
at
org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
[javax.enterprise.concurrent-1.0.jar:]
at
org.jboss.as.ee.concurrent.service.ElytronManagedThreadFactory$ElytronManagedThread.run(ElytronManagedThreadFactory.java:78)

2018-03-14 17:02:21,838+01 INFO
[org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
(EE-ManagedThreadFactory-engine-Thread-118906) []
CommandAsyncTask::HandleEndActionResult: endAction for action type
'TryBackToAllSnapshotsOfVm' threw an unrecoverable RuntimeException the
task will be cleared.
2018-03-14 17:02:21,841+01 INFO
[org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
(EE-ManagedThreadFactory-engine-Thread-118906)


On Thu, Mar 15, 2018 at 11:35 AM,  wrote:

> Thanks for your reply.
>
> Yesterday, I realized I was doing nothing good with some the software I
> planed to install in a VM, so I tried to revert to a snapshot a took just
> after OS installation, as I always do.
>
> As I had added a second disk to the VM in between, I choose to revert to
> snapshot without taking care of the second disk contents.
>
> But the 

Re: [ovirt-users] NFS 4.1 support and migration

2018-03-15 Thread Eyal Shenitzky
You can edit the storage domain setting after the storage domain
deactivated (entered to maintenance mode).


On Thu, Mar 15, 2018 at 11:12 AM,  wrote:

> In fact I don't really know how to change storage domains setttings (like
> nfs version or export path, ...), if it is only possible.
>
> I thought they could be disabled after stopping all related VMS, and maybe
> settings panel would then unlock ?
>
> But this should be impossible with hosted engine dedicated storage domain
> as it is required for the GUI itself.
>
> So I am stuck.
>
> Le 15-Mar-2018 09:59:30 +0100, eshen...@redhat.com a écrit:
>
>
> I am not sure what you mean,
> Can you please try to explain what is the difference between "VMs domain"
> to "hosted storage domain" according to you?
>
> Thanks,
>
> On Thu, Mar 15, 2018 at 10:45 AM,  wrote:
>
>> Thanks for your answer.
>>
>> And to use V4.1 instead of V3 on a domain, do I just have to disconnect
>> it and change its settings ? Seems to be easy to do with VMs domains, but
>> how to do it with hosted storage domain ?
>>
>> Regards
>>
>>
>>
>> Le 14-Mar-2018 11:54:52 +0100, eshen...@redhat.com a écrit:
>>
>>
>> Hi,
>>
>> NFS 4.1 supported and working since version 3.6 (according to this bug
>> fix [1])
>>
>> [1] Support NFS v4.1 connections - https://bugzilla.redhat.com/
>> show_bug.cgi?id=1283964
>>
>>
>> --
>> FreeMail powered by mail.fr
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
> Regards,
> Eyal Shenitzky
>
>
> --
> FreeMail powered by mail.fr
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
Regards,
Eyal Shenitzky
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [4.2.2-1.el7.centos] Image locked and unending task

2018-03-15 Thread Eyal Shenitzky
Hi,

Can you please specify the version of the engine and supply the engine.log
and the vdsm.log?

Moreover, can you please specify the steps that you did that led you to
this issue?

Thanks,

On Thu, Mar 15, 2018 at 11:05 AM,  wrote:

> Hi,
>
> I tried to rollback to a snapshot on a VM, but the preview never ended.
>
> The task has been running for about 15 hours, with this state :
>
> {
> "916b67fb-8808-43d2-850c-1c12650ccc49": {
> "verb": "createVolume",
> "code": 0,
> "state": "finished",
> "tag": "spm",
> "result": {
> "uuid": "d37ca118-820f-46a3-b99b-714018ea8b42"
> },
> "message": "1 jobs completed successfully",
> "id": "916b67fb-8808-43d2-850c-1c12650ccc49"
> }
> }
>
> I just canceled it : the task list is now empty on the CLI but no change
> on GUI.
>
> So I restared the engine VM, but no success.
>
> With "/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh" I was able
> to manually unlock the image, but the task is still "finalizing".
>
> Is this a bug ?
>
> Regards
>
> --
> FreeMail powered by mail.fr
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
Regards,
Eyal Shenitzky
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] NFS 4.1 support and migration

2018-03-15 Thread spfma . tech
In fact I don't really know how to change storage domains setttings (like nfs 
version or export path, ...), if it is only possible. 

I thought they could be disabled after stopping all related VMS, and maybe 
settings panel would then unlock ? 

But this should be impossible with hosted engine dedicated storage domain as it 
is required for the GUI itself. 

So I am stuck.

 Le 15-Mar-2018 09:59:30 +0100, eshen...@redhat.com a crit:   
 I am not sure what you mean, Can you please try to explain what is the 
difference between "VMs domain" to "hosted storage domain" according to you?   
Thanks,  
 On Thu, Mar 15, 2018 at 10:45 AM,  wrote:

 Thanks for your answer.
   And to use V4.1 instead of V3 on a domain, do I just have to disconnect it 
and change its settings ? Seems to be easy to do with VMs domains, but how to 
do it with hosted storage domain ?   Regards 

 Le 14-Mar-2018 11:54:52 +0100, eshen...@redhat.com a crit:   
 Hi,   NFS 4.1 supported and working since version 3.6 (according to this bug 
fix [1])   [1] Support NFS v4.1 connections - 
https://bugzilla.redhat.com/show_bug.cgi?id=1283964   

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

   -- 
  Regards, Eyal Shenitzky 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ovirt and OVH vRack

2018-03-15 Thread Fabien Carré
Hello,
I am trying to set up an oVirt environment using OVH servers. So far I have
installed an engine (4.2) and a node. The node is attached to a NAS through
a vRack https://www.ovh.co.uk/solutions/vrack/network-technology.xml. I am
using one vlan to connect it, which is the management network


However it is not a perfect setup (cf attached screenshot). The management
network is in  "Out-of-Sync" state.
on the node :
# ip addr
28: eno4.100@eno4:  mtu 1500 qdisc noqueue
master ovirtmgmt state UP qlen 1000
link/ether 0c:c4:ff:7a:6c:13 brd ff:ff:ff:ff:ff:ff
29: ovirtmgmt:  mtu 1500 qdisc noqueue
state UP qlen 1000
link/ether 0c:c4:ff:7a:6c:13 brd ff:ff:ff:ff:ff:ff
inet 10.100.0.11/24 brd 10.100.0.255 scope global ovirtmgmt
   valid_lft forever preferred_lft forever


[image: Screenshot from 2018-03-15 09-03-37.png]
It does not seem possible to add extra vlan. I wanted to have one for the
vms and one for the hosts.
Can you give me some help or guidance ?

Also generally speaking do you think such a setup is fine ?

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


[ovirt-users] [4.2.2-1.el7.centos] Image locked and unending task

2018-03-15 Thread spfma . tech
Hi,
   I tried to rollback to a snapshot on a VM, but the preview never ended.   
The task has been running for about 15 hours, with this state :   {
 "916b67fb-8808-43d2-850c-1c12650ccc49": {
 "verb": "createVolume", 
 "code": 0, 
 "state": "finished", 
 "tag": "spm", 
 "result": {
 "uuid": "d37ca118-820f-46a3-b99b-714018ea8b42"
 }, 
 "message": "1 jobs completed successfully", 
 "id": "916b67fb-8808-43d2-850c-1c12650ccc49"
 }
}
   I just canceled it : the task list is now empty on the CLI but no change on 
GUI.   So I restared the engine VM, but no success.   With 
"/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh" I was able to manually 
unlock the image, but the task is still "finalizing".   Is this a bug ?
Regards 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] NFS 4.1 support and migration

2018-03-15 Thread Eyal Shenitzky
I am not sure what you mean,
Can you please try to explain what is the difference between "VMs domain"
to "hosted storage domain" according to you?

Thanks,

On Thu, Mar 15, 2018 at 10:45 AM,  wrote:

> Thanks for your answer.
>
> And to use V4.1 instead of V3 on a domain, do I just have to disconnect it
> and change its settings ? Seems to be easy to do with VMs domains, but how
> to do it with hosted storage domain ?
>
> Regards
>
>
>
> Le 14-Mar-2018 11:54:52 +0100, eshen...@redhat.com a écrit:
>
>
> Hi,
>
> NFS 4.1 supported and working since version 3.6 (according to this bug fix
> [1])
>
> [1] Support NFS v4.1 connections - https://bugzilla.redhat.com/
> show_bug.cgi?id=1283964
>
>
> --
> FreeMail powered by mail.fr
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
Regards,
Eyal Shenitzky
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] NFS 4.1 support and migration

2018-03-15 Thread spfma . tech
Thanks for your answer.
   And to use V4.1 instead of V3 on a domain, do I just have to disconnect it 
and change its settings ? Seems to be easy to do with VMs domains, but how to 
do it with hosted storage domain ?   Regards 

 Le 14-Mar-2018 11:54:52 +0100, eshen...@redhat.com a crit:   
 Hi,   NFS 4.1 supported and working since version 3.6 (according to this bug 
fix [1])   [1] Support NFS v4.1 connections - 
https://bugzilla.redhat.com/show_bug.cgi?id=1283964   

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] NFS 4.1 support and migration

2018-03-15 Thread spfma . tech
Thanks for your answer.
   And in order to use V4.1 instead of V3 on a domain, do I just have to 
disconnect it and change its settings ? Seems to be doable with VMs domains, 
but how to do it with hosted storage domain ? I haven't find a command line way 
to do this yet.
   Regards   

 Le 14-Mar-2018 11:54:52 +0100, eshen...@redhat.com a crit:   
 Hi,   NFS 4.1 supported and working since version 3.6 (according to this bug 
fix [1])   [1] Support NFS v4.1 connections - 
https://bugzilla.redhat.com/show_bug.cgi?id=1283964   

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.2.2.2-1 Starting hosted engine on all hosts

2018-03-15 Thread Yedidyah Bar David
On Thu, Mar 15, 2018 at 8:50 AM, Maton, Brett  wrote:
> The last three 4.2.2 release candidates that I've tried have been starting
> self hosted engine all all physical hosts at the same time.
>
> Same with the latest RC, what logs  do you need to investigate the problem?

/var/log/ovirt-hosted-engine-ha/*
/var/log/sanlock.log
/var/log/vdsm/*

Adding Martin.

Thanks and best regards,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 回复:Re: Re: ovirt-engine add_host_failed

2018-03-15 Thread Alona Kaplan
On Thu, Mar 15, 2018 at 5:03 AM,  wrote:

> Hi Alona,
>  I test your patch, it is work, thank you very much, but I seem not know
> how to  triggered this bug?
>

https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine

Component - bll/network
Version - 4.2.0


> - 原始邮件 -
> 发件人:
> 收件人:"Alona Kaplan" 
> 抄送人:users 
> 主题:[ovirt-users] 回复:Re: Re: ovirt-engine add_host_failed
> 日期:2018年03月15日 10点42分
>
> Hi Alona,
>  I has file a bug in the bugzilla. url is  https://bugzilla.redhat.com/
> show_bug.cgi?id=1556668, thanks.
>
> - 原始邮件 -
> 发件人:Alona Kaplan 
> 收件人:dhy...@sina.com
> 抄送人:users 
> 主题:Re: Re: [ovirt-users] ovirt-engine add host failed
> 日期:2018年03月14日 22点56分
>
> Hi,
>
> I posted a patch with a proposed fix (https://gerrit.ovirt.org/#/c/88999/
> ).
> Please open a bug so you can track the version the fix is included in.
>
> Please attach to the bug vdsm.log, engine.log and server.log (If you had
> several attempts to reinstall/remove-add the host please add the logs with
> all the attempts).
>
>
> On Wed, Mar 14, 2018 at 1:42 PM,  wrote:
>
> Hi, Alona
>
> 1.  not  opened the SetupNetwoks dialog.  while installing the host .
> 2.   I try to many times to  re-install (or remove and re-add) the host
> - 原始邮件 -
> 发件人:Alona Kaplan 
> 收件人:dhy...@sina.com
> 抄送人:users 
> 主题:Re: [ovirt-users] ovirt-engine add host failed
> 日期:2018年03月14日 18点47分
>
> Hi,
>
> Seems the communication with the host is slow and you get a timeout error.
>
> Is there a chance you opened the SetupNetwoks dialog while installing the
> host (it may slow down the host since it queries the host for lldp
> information)?
>
> Please try to re-install (or remove and re-add) the host (don't open the
> setup network dialog during the installation).
>
> More technically, there is a bug in the code -
> Collecting and persisting the data from the host is done inside a
> transaction.
> Only the persisting should be done in a transaction.
> According to the attached log seems the collection of the data from the
> host finished successfully (was slow, but finished without a timeout), but
> the persistence of the data fails since during the persistence the
> transaction reached to the timeout.
>
> Can you please file a bug in the bugzilla and attach the relevant logs
> (engine.log, server.log and vdsm.log)
>
> Thanks.
> Alona.
>
>
>
> On Wed, Mar 14, 2018 at 5:15 AM,  wrote:
>
> I add host for ovirt-engine,  when SetupNetworks faild, server.log has
> some error. But I do not how fix it,  could someone give me some advise?
> ___
> 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


[ovirt-users] 4.2.2.2-1 Starting hosted engine on all hosts

2018-03-15 Thread Maton, Brett
The last three 4.2.2 release candidates that I've tried have been starting
self hosted engine all all physical hosts at the same time.

Same with the latest RC, what logs  do you need to investigate the problem?

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


Re: [ovirt-users] oVirt Engine 4.2 -> 4.2.1 Upgrade

2018-03-15 Thread Yedidyah Bar David
On Wed, Mar 14, 2018 at 6:56 PM, Andrei Verovski  wrote:
> Hi !
>
> After oVirt Engine 4.2 -> 4.2.1 Upgrade do I need to run these commands as 
> described in this article
> https://www.ovirt.org/release/4.2.1/

Please note that the start of this section says:

"For databases managed by engine-setup this is performed
automatically, but non-managed databases (usually remote databases)
this needs to be done manually by administrators."

Is your database remote or managed manually, or local and managed by
engine-setup? If latter, it's enough to run 'engine-setup'.

>
> su - postgres -c "scl enable rh-postgresql95 – psql -d engine"
> postgres=# DROP FUNCTION IF EXISTS uuid_generate_v1();
> postgres=# CREATE EXTENSION "uuid-ossp”;

Sorry, this is a bug in the documentation. The commands should be:

   su - postgres -c "scl enable rh-postgresql95 -- psql -d engine"
   postgres=# DROP FUNCTION IF EXISTS uuid_generate_v1();
   postgres=# CREATE EXTENSION "uuid-ossp";

>
> BTW, this yelds error:
> [root@node00 ~]# su - postgres -c "scl enable rh-postgresql95 – psql -d 
> engine"
> Unable to open /etc/scl/conf/–!

Indeed.

The reason that this bug happened is that the release notes are (partially)
auto-generated, where this part is taken from the doc-text of the linked bug:

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

The text there is ok.

We should somehow make the resultant markdown mark such doc text as
pre-formatted,
to prevent it from replacing '--' with '–'. Adding Sandro for this.

Thanks for the report!

>
> node00 is a dedicated PC with CentOS and oVirt Host Engine.

Sounds to me like you are in the "this will happen automatically" case.

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


Re: [ovirt-users] Using VDSM to edit management interface

2018-03-15 Thread Peter Hudec
Hi Kirin,

I suggest to do it old way and edit the /etc/resolv.conf manually.

And one advice. Do not relay on the DNS on infrastructure servers. Use
/etc/hosts. If he DNS will not be accessible, you will have problem to
put it infrastructure up/working. As side effect the hosts allow you
to use short names to access servers.

If you are ansible positive, you could use

hudecof.resolv  https://galaxy.ansible.com/hudecof/resolv/
hudecof.hosts   https://galaxy.ansible.com/hudecof/hosts/


Peter

On 15/03/2018 06:03, Kirin van der Veer wrote:
> Hi oVirt people, I have setup a new cluster consisting of many
> oVirt Nodes with a single dedicated oVirt Engine machine. For the
> most part things are working, however despite entering the DNS 
> search domain during install on the Nodes the management interface
> is not aware of my search domain and it has not been added to 
> /etc/resolv.conf (perhaps that is unnecessary?). I eventually
> worked out that the DNS search domain should be included in 
> /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt However as per the
> header/warning, that file is generated by VDSM. I assumed that I
> should be able to edit the search domain with vdsClient, but when I
> run "vdsClient -m" I don't see any options related to network
> config. I found the following page on DNS config: 
> https://www.ovirt.org/develop/release-management/features/network/allowExplicitDnsConfiguration/
>
> 
But it does not seem to offer a way of specifying the DNS search domain
> (other than perhaps directly editing /etc/resolv.conf - which is 
> generated/managed by Network Manager). nmcli reports that all of my
> interfaces (including ovirtmgmt) are "unmanaged". Indeed when I
> attempt to run nmtui there is nothing listed to configure. This
> should be really simple! I just want to add my local search domain 
> so I can use the short name for my NFS server. I'd appreciate any
> advice.
> 
> Thanks in advance, Kirin.
> 
> 
> .
> 
> *IMPORTANT NOTE. *If you are NOT AN AUTHORISED RECIPIENT of this
> e-mail, please contact Planet Innovation Pty Ltd by return e-mail
> or by telephone on +613 9945 7510.  In this case, you should not
> read, print, re-transmit, store or act in reliance on this e-mail
> or any attachments, and should destroy all copies of them.  This
> e-mail and any attachments are confidential and may contain legally
> privileged information and/or copyright material of Planet
> Innovation Pty Ltd or third parties.  You should only re-transmit,
> distribute or commercialise the material if you are authorised to
> do so.  Although we use virus scanning software, we deny all
> liability for viruses or alike in any message or attachment. This
> notice should not be removed.
> 
> **
> 
> 
> ___ Users mailing list 
> Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
> 


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk 

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* 

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