Re: [ovirt-users] multiple ip routing table issue

2017-11-21 Thread Edward Clay
On Tue, 2017-11-21 at 16:01 -0700, Edward Clay wrote:
> On Wed, 2017-11-22 at 00:17 +0200, Edward Haas wrote:
> > On Tue, Nov 21, 2017 at 6:16 PM, Edward Clay  > com> wrote:
> > > On Tue, 2017-11-21 at 09:00 +0200, Edward Haas wrote:
> > > > On Tue, Nov 21, 2017 at 1:24 AM, Edward Clay  > > > oup.com> wrote:
> > > > > Hello,
> > > > > 
> > > > > We have an issue where hosts are configured with the public
> > > > > facing nework interface as the ovirtmgmt network and it's
> > > > > default route is added to a ovirt created table but not to
> > > > > the main routing table.  From my searching I've found this
> > > > > snippet from https://www.ovirt.org/develop/release-management
> > > > > /features/network/multiple-gateways/ which seems to explain
> > > > > why I can't ping anything or communicate with any other
> > > > > system needing a default route.
> > > > 
> > > > By default, the default route is set on the ovirtmgmt network
> > > > (the default one, defined on the interface/ip which you added
> > > > the host to Engine).
> > > > Do you have a different network set up which you will like to
> > > > set the default route on?
> > > > 
> > > >  
> > > > > "And finally, here's the host's main routing table. Any
> > > > > traffic coming in to the host will use the ip rules and an
> > > > > interface's routing table. The main routing table is only
> > > > > used for traffic originating from the host."
> > > > > 
> > > > > I'm seeing the following main and custom ovirt created
> > > > > tables.
> > > > > 
> > > > > main:
> > > > > # ip route show table main
> > > > > 10.0.0.0/8 via 10.4.16.1 dev enp3s0.106 
> > > > > 10.4.16.0/24 dev enp3s0.106 proto kernel scope link src
> > > > > 10.4.16.15 
> > > > > 1.1.1.0/24 dev PUBLICB proto kernel scope link src
> > > > > 1.1.1.1 169.254.0.0/16 dev enp6s0 scope link metric 1002 
> > > > > 169.254.0.0/16 dev enp3s0 scope link metric 1003 
> > > > > 169.254.0.0/16 dev enp7s0 scope link metric 1004 
> > > > > 169.254.0.0/16 dev enp3s0.106 scope link metric 1020 
> > > > > 169.254.0.0/16 dev PRIVATE scope link metric 1022 
> > > > > 169.254.0.0/16 dev PUBLIC scope link metric 1024 
> > > > > 
> > > > > table 1138027711
> > > > > # ip route show table 1138027711
> > > > > default via 1.1.1.1 dev PUBLIC
> > > > > 1.1.1.0/24 via 1.1.1.1 dev PUBLIC
> > > > > 
> > > > > If I manually execute the following command to add the
> > > > > default route as well to the main table I can ping ouside of
> > > > > the local network.
> > > > > 
> > > > > ip route add 0.0.0.0/0 via 1.1.1.1 dev PUBLIC
> > > > > 
> > > > > If I attempt to modify the /etc/sysconfig/network-
> > > > > scripts/route-PUBLIC ad reboot the server ad one would think
> > > > > this file is recreated by vdsm on boot.
> > > > > 
> > > > > What I'm looking for is the correct way to setup a default
> > > > > gateway for the main routing table so the hosts can get OS
> > > > > updates and communicate with the outside world.
> > > > 
> > > > Providing the output from "ip addr" may help clear up some
> > > > things.
> > > > It looks like you have on the host the default route set as
> > > > 10.4.16.1 (on enp3s0.106), could you elaborate what this
> > > > interface is?
> > > 
> > > We have setup vlan taging to utilize the 2 internetal network
> > > interfaces (originally enp6s0 and enp7s0) to be configured with
> > > mulitiple networks each.  We eventually added 10Gb nics to all
> > > servers to improve san glusterfs performance which is enp3s0
> > > which replaced enp6s0 in our setup.
> > > 
> > > enp3s0.106 = ovirtmgmt network access to private internal
> > > networks only
> > > enp3s0.206 = private network bridge PRIVATE used for private
> > > internal network access for VMs
> > > enp7s0.606 = is used for public access for both VMs (bridge) and
> > > each host/cp/san in our ovirt setup named PUBLIC
> > > 
> > > # ip addr show
> > > 1: lo:  mtu 65536 qdisc noqueue state
> > > UNKNOWN qlen 1
> > > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> > > inet 127.0.0.1/8 scope host lo
> > >valid_lft forever preferred_lft forever
> > > inet6 ::1/128 scope host 
> > >valid_lft forever preferred_lft forever
> > > 2: enp6s0:  mtu 1500 qdisc
> > > pfifo_fast state UP qlen 1000
> > > link/ether 00:25:90:38:d6:2c brd ff:ff:ff:ff:ff:ff
> > > inet6 fe80::225:90ff:fe38:d62c/64 scope link 
> > >valid_lft forever preferred_lft forever
> > > 3: enp3s0:  mtu 1500 qdisc mq
> > > state UP qlen 1000
> > > link/ether 90:e2:ba:1d:a4:00 brd ff:ff:ff:ff:ff:ff
> > > inet6 fe80::92e2:baff:fe1d:a400/64 scope link 
> > >valid_lft forever preferred_lft forever
> > > 4: enp7s0:  mtu 1500 qdisc
> > > pfifo_fast state UP qlen 1000
> > > link/ether 00:25:90:38:d6:2d brd ff:ff:ff:ff:ff:ff
> > > 20: enp3s0.106@enp3s0: 

Re: [ovirt-users] multiple ip routing table issue

2017-11-21 Thread Edward Clay
On Wed, 2017-11-22 at 00:17 +0200, Edward Haas wrote:
> On Tue, Nov 21, 2017 at 6:16 PM, Edward Clay  m> wrote:
> > On Tue, 2017-11-21 at 09:00 +0200, Edward Haas wrote:
> > > On Tue, Nov 21, 2017 at 1:24 AM, Edward Clay  > > p.com> wrote:
> > > > Hello,
> > > > 
> > > > We have an issue where hosts are configured with the public
> > > > facing nework interface as the ovirtmgmt network and it's
> > > > default route is added to a ovirt created table but not to the
> > > > main routing table.  From my searching I've found this snippet
> > > > from https://www.ovirt.org/develop/release-management/features/
> > > > network/multiple-gateways/ which seems to explain why I can't
> > > > ping anything or communicate with any other system needing a
> > > > default route.
> > > 
> > > By default, the default route is set on the ovirtmgmt network
> > > (the default one, defined on the interface/ip which you added the
> > > host to Engine).
> > > Do you have a different network set up which you will like to set
> > > the default route on?
> > > 
> > >  
> > > > "And finally, here's the host's main routing table. Any traffic
> > > > coming in to the host will use the ip rules and an interface's
> > > > routing table. The main routing table is only used for traffic
> > > > originating from the host."
> > > > 
> > > > I'm seeing the following main and custom ovirt created tables.
> > > > 
> > > > main:
> > > > # ip route show table main
> > > > 10.0.0.0/8 via 10.4.16.1 dev enp3s0.106 
> > > > 10.4.16.0/24 dev enp3s0.106 proto kernel scope link src
> > > > 10.4.16.15 
> > > > 1.1.1.0/24 dev PUBLICB proto kernel scope link src
> > > > 1.1.1.1 169.254.0.0/16 dev enp6s0 scope link metric 1002 
> > > > 169.254.0.0/16 dev enp3s0 scope link metric 1003 
> > > > 169.254.0.0/16 dev enp7s0 scope link metric 1004 
> > > > 169.254.0.0/16 dev enp3s0.106 scope link metric 1020 
> > > > 169.254.0.0/16 dev PRIVATE scope link metric 1022 
> > > > 169.254.0.0/16 dev PUBLIC scope link metric 1024 
> > > > 
> > > > table 1138027711
> > > > # ip route show table 1138027711
> > > > default via 1.1.1.1 dev PUBLIC
> > > > 1.1.1.0/24 via 1.1.1.1 dev PUBLIC
> > > > 
> > > > If I manually execute the following command to add the default
> > > > route as well to the main table I can ping ouside of the local
> > > > network.
> > > > 
> > > > ip route add 0.0.0.0/0 via 1.1.1.1 dev PUBLIC
> > > > 
> > > > If I attempt to modify the /etc/sysconfig/network-
> > > > scripts/route-PUBLIC ad reboot the server ad one would think
> > > > this file is recreated by vdsm on boot.
> > > > 
> > > > What I'm looking for is the correct way to setup a default
> > > > gateway for the main routing table so the hosts can get OS
> > > > updates and communicate with the outside world.
> > > 
> > > Providing the output from "ip addr" may help clear up some
> > > things.
> > > It looks like you have on the host the default route set as
> > > 10.4.16.1 (on enp3s0.106), could you elaborate what this
> > > interface is?
> > 
> > We have setup vlan taging to utilize the 2 internetal network
> > interfaces (originally enp6s0 and enp7s0) to be configured with
> > mulitiple networks each.  We eventually added 10Gb nics to all
> > servers to improve san glusterfs performance which is enp3s0 which
> > replaced enp6s0 in our setup.
> > 
> > enp3s0.106 = ovirtmgmt network access to private internal networks
> > only
> > enp3s0.206 = private network bridge PRIVATE used for private
> > internal network access for VMs
> > enp7s0.606 = is used for public access for both VMs (bridge) and
> > each host/cp/san in our ovirt setup named PUBLIC
> > 
> > # ip addr show
> > 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN
> > qlen 1
> > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> > inet 127.0.0.1/8 scope host lo
> >valid_lft forever preferred_lft forever
> > inet6 ::1/128 scope host 
> >valid_lft forever preferred_lft forever
> > 2: enp6s0:  mtu 1500 qdisc
> > pfifo_fast state UP qlen 1000
> > link/ether 00:25:90:38:d6:2c brd ff:ff:ff:ff:ff:ff
> > inet6 fe80::225:90ff:fe38:d62c/64 scope link 
> >valid_lft forever preferred_lft forever
> > 3: enp3s0:  mtu 1500 qdisc mq
> > state UP qlen 1000
> > link/ether 90:e2:ba:1d:a4:00 brd ff:ff:ff:ff:ff:ff
> > inet6 fe80::92e2:baff:fe1d:a400/64 scope link 
> >valid_lft forever preferred_lft forever
> > 4: enp7s0:  mtu 1500 qdisc
> > pfifo_fast state UP qlen 1000
> > link/ether 00:25:90:38:d6:2d brd ff:ff:ff:ff:ff:ff
> > 20: enp3s0.106@enp3s0:  mtu 1500
> > qdisc noqueue state UP qlen 1000
> > link/ether 90:e2:ba:1d:a4:00 brd ff:ff:ff:ff:ff:ff
> > inet 10.4.16.15/24 brd 10.4.16.255 scope global enp3s0.106
> >valid_lft forever preferred_lft forever
> > 21: 

Re: [ovirt-users] multiple ip routing table issue

2017-11-21 Thread Edward Haas
On Tue, Nov 21, 2017 at 6:16 PM, Edward Clay 
wrote:

>
> On Tue, 2017-11-21 at 09:00 +0200, Edward Haas wrote:
>
>
>
> On Tue, Nov 21, 2017 at 1:24 AM, Edward Clay 
> wrote:
>
> Hello,
>
> We have an issue where hosts are configured with the public facing nework
> interface as the ovirtmgmt network and it's default route is added to a
> ovirt created table but not to the main routing table. From my searching
> I've found this snippet from https://www.ovirt.org/develop/
> release-management/features/network/multiple-gateways/ which seems to
> explain why I can't ping anything or communicate with any other system
> needing a default route.
>
>
> By default, the default route is set on the ovirtmgmt network (the default
> one, defined on the interface/ip which you added the host to Engine).
> Do you have a different network set up which you will like to set the
> default route on?
>
>
>
> "And finally, here's the host's main routing table. Any traffic coming in
> to the host will use the ip rules and an interface's routing table. The
> main routing table is only used for traffic originating from the host."
>
> I'm seeing the following main and custom ovirt created tables.
>
> main:
> # ip route show table main
> 10.0.0.0/8 via 10.4.16.1 dev enp3s0.106
> 10.4.16.0/24 dev enp3s0.106 proto kernel scope link src 10.4.16.15
> 1.1.1.0/24 dev PUBLICB proto kernel scope link src 1.1.1.1 169.254.0.0/16
> dev enp6s0 scope link metric 1002
> 169.254.0.0/16 dev enp3s0 scope link metric 1003
> 169.254.0.0/16 dev enp7s0 scope link metric 1004
> 169.254.0.0/16 dev enp3s0.106 scope link metric 1020
> 169.254.0.0/16 dev PRIVATE scope link metric 1022
> 169.254.0.0/16 dev PUBLIC scope link metric 1024
>
> table 1138027711
> # ip route show table 1138027711
> default via 1.1.1.1 dev PUBLIC
> 1.1.1.0/24 via 1.1.1.1 dev PUBLIC
>
> If I manually execute the following command to add the default route as
> well to the main table I can ping ouside of the local network.
>
> ip route add 0.0.0.0/0 via 1.1.1.1 dev PUBLIC
>
> If I attempt to modify the /etc/sysconfig/network-scripts/route-PUBLIC ad
> reboot the server ad one would think this file is recreated by vdsm on boot.
>
> What I'm looking for is the correct way to setup a default gateway for the
> main routing table so the hosts can get OS updates and communicate with the
> outside world.
>
>
> Providing the output from "ip addr" may help clear up some things.
> It looks like you have on the host the default route set as 10.4.16.1 (on
> enp3s0.106), could you elaborate what this interface is?
>
>
> We have setup vlan taging to utilize the 2 internetal network interfaces
> (originally enp6s0 and enp7s0) to be configured with mulitiple networks
> each. We eventually added 10Gb nics to all servers to improve san glusterfs
> performance which is enp3s0 which replaced enp6s0 in our setup.
>
> enp3s0.106 = ovirtmgmt network access to private internal networks only
> enp3s0.206 = private network bridge PRIVATE used for private internal
> network access for VMs
> enp7s0.606 = is used for public access for both VMs (bridge) and each
> host/cp/san in our ovirt setup named PUBLIC
>
> # ip addr show
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN qlen 1
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
>valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
>valid_lft forever preferred_lft forever
> 2: enp6s0:  mtu 1500 qdisc pfifo_fast
> state UP qlen 1000
> link/ether 00:25:90:38:d6:2c brd ff:ff:ff:ff:ff:ff
> inet6 fe80::225:90ff:fe38:d62c/64 scope link
>valid_lft forever preferred_lft forever
> 3: enp3s0:  mtu 1500 qdisc mq state UP
> qlen 1000
> link/ether 90:e2:ba:1d:a4:00 brd ff:ff:ff:ff:ff:ff
> inet6 fe80::92e2:baff:fe1d:a400/64 scope link
>valid_lft forever preferred_lft forever
> 4: enp7s0:  mtu 1500 qdisc pfifo_fast
> state UP qlen 1000
> link/ether 00:25:90:38:d6:2d brd ff:ff:ff:ff:ff:ff
> 20: enp3s0.106@enp3s0:  mtu 1500 qdisc
> noqueue state UP qlen 1000
> link/ether 90:e2:ba:1d:a4:00 brd ff:ff:ff:ff:ff:ff
> inet 10.4.16.15/24 brd 10.4.16.255 scope global enp3s0.106
>valid_lft forever preferred_lft forever
> 21: enp3s0.206@enp3s0:  mtu 1500 qdisc
> noqueue master PRIVATEB state UP qlen 1000
> link/ether 90:e2:ba:1d:a4:00 brd ff:ff:ff:ff:ff:ff
> 22: PRIVATE:  mtu 1500 qdisc noqueue
> state UP qlen 1000
> link/ether 90:e2:ba:1d:a4:00 brd ff:ff:ff:ff:ff:ff
> 23: enp7s0.606@enp7s0:  mtu 1500 qdisc
> noqueue master PUBLICB state UP qlen 1000
> link/ether 00:25:90:38:d6:2d brd ff:ff:ff:ff:ff:ff
> 24: PUBLIC:  

Re: [ovirt-users] Failed to open grubx64.efi

2017-11-21 Thread Yuval Turgeman
Boot partition reqs should be handled the same on both ovirt node and
centos (or rhel) and you having to add this manually on rhel can give us a
hint that this is a bug in anaconda (doesnt detect efi?).

In other words, if you need to add this to rhel you'd need to add it to
ovirt node and autopart shouldnt scare you off, just follow the
partitioning guidelines, add your changes and you are all set.  You can
grab some ks examples here:

git clone https://gerrit.ovirt.org/ovirt-node-ng

On Nov 21, 2017 20:13, "Luca 'remix_tj' Lorenzetto" <
lorenzetto.l...@gmail.com> wrote:

> On Tue, Nov 21, 2017 at 4:54 PM, Yuval Turgeman  wrote:
> > Hi,
> >
> > I tried to recreate this without success, i'll try with different hw
> > tomorrow.
> > The thing is, autopart with thinp doesn't mean that everything is
> lvm-thin -
> > /boot should be a regular (primary) partition (for details you can check
> > anaconda's ovirt install class)
> > This could be a bug in anaconda or in the kickstart that deploys the node
> > (if not installing directly from the iso), can you install CentOS-7.4
> with
> > UEFI enabled on this machine ?  If you have some installation logs, that
> > would help :)
>
> Hi,
>
> on the same hardware i can install with success rhel 7.4 using UEFI.
> This required to change my default partitioning to another one
> containing
> /boot/efi/ partition, adding this entry:
>
> part /boot/efi --fstype=efi --size=200 --ondisk=sda
>
> I suppose that autopart doesn't create this partition.
>
> Luca
>
>
> --
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
> calcoli che potrebbero essere affidati a chiunque se si usassero delle
> macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
> lorenzetto.l...@gmail.com>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Need advise/help/ideas to implement a two sites disaster-recovery with ovirt

2017-11-21 Thread Luca 'remix_tj' Lorenzetto
On Tue, Nov 21, 2017 at 2:40 PM, wodel youchi  wrote:
>
> Hi,
>
> We want to implement two sites with ovirt and have disaster-recovery, if site 
> one is unreachable, then site two takes-over.
>
> We will be using iSCSI for Data domains
>
> Our initial idea is :
> - install the first site :
>- self-hosted engine
>- iscsi blocks for data domains
>
> - install the second site:
>- self-hosted engine.
>- iscsi blocks for data domain.
>
> Use the snapshot synchronization of the disk-array to sync iscsi 
> blocks/volumes.
>
> The two self-hosted engine will be independent.
> In case of a failure :
>  - break the synchronization
>  - Access the data domain in site two
>  - start the VMs.
>
>
> oVirt does not manage replication of VMs itself, someone may argue that it's 
> not it's purpose, but what about selecting the VMs to replicate?? in case of 
> NFS we may (I don't know really if it's possible) have some access to the VMs 
> disk files, but in block mode with LVM in it, things become complicated.
>
> So if someone has implemented such architecture, could you please share the 
> experience, give advice and ideas on how to best implement this.


Hello,

what you're saying is exactly what we designed and implemented in a
test env, in few months we'll move to production.

We have two EMC VNX arrays supporting our storage, one in our main
site, one in our DR site. We're using FC, not iSCSI, but the idea
behind is the same.

We have this setup in the main site:

- hosted-engine
- one storage domain not replicated (needed for completing the setup)
- some storage domains replicated via storage replication (EMC
MirrorView). From the ovirt point of view are standard storage
domains.
- some networks, let's call A, B, C.

On DR side:
- hosted-engine
- one storage domain not replicated (needed for completing the setup)
- Exactly the same networks configured with the same name

Data are replicated with a RPO of 1 Hour, so we need that OVFStore on
each storage domain is up to date.
We call the API for updating the ovf_store of each replicated SD (as
Yaniv suggested in
https://www.mail-archive.com/users@ovirt.org/msg43896.html ):

POST api/storagedomains/{sd_id}/updateovfstore

In this way not only the VMS disks are replicated, but also VMS
hardware informations.

In case of disaster what's happening?

On the recovery side we set the disks on VNX Storage as R/W accessible
(Promote to Primary Image). Then disks are made available to the
hosts, that can the use the "Import Storage" to attach them.
You'll be warned that SD are marked as up in another datacenter, but
you can clearly ignore that message because the "other" datacenter is
now offline due to the disaster.
Once attached the SD, you set them as available (SD are imported in
maintenance mode). Once Available, go to each SD, select the tab "VM
Import" and you can so import any VM that are inside them.
If you created all the required networks, with the same name, vms will
be already connected to the network so powering on is the last action
you require.

I did it manually and works. I'm now waiting to have all the necessary
support from my colleagues to start developing a full DR Solution to
replicate this behavior though python.


Let me know if you need any clarification,

Luca


-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issue with ovirt-ansible-roles

2017-11-21 Thread Luca 'remix_tj' Lorenzetto
Hello,

a quick resume of my issue. I haven't really solved yet because i'm
hitting a pair of bugs, but Ondra Machaceck helped me troubleshooting
and finding out the bug.

We had a conversation out of the mailinglist, so i've been to send him
uncensored logs.

First thing he suggested me is to introduce a change to:

 /usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py

and change line 468 to:

 raise Error("Failed to read response: {}".format(err_list))

So i had a more informative error. This is clearly a violation of the
principles of the zen of python, because the error was not explicit
and is somewhat a bit silenced.

Error changed then to:

Error: Failed to read response: [(,
6, 'Could not resolve host: ovirtengine.intranet.**y; Name
or service not known')]


This is an ansible bug: https://github.com/ansible/ansible/issues/19278

Since my password is (not the real one) "compan", ansible hides any
possible entry of "compan" (the password) in all the parameters. So
ansible scrables the params and the module is instructed to connect to
the url ovirtengine.intranet.**y and not to
ovirtengine.intranet.company.

The only workaround available is to have a password that is not used
anywhere else, or ansible will replace pieces of parameters with
sequences of *.

Weird, but that's it.

Thank you Ondra for the RCA.

Luca

2017-11-17 11:02 GMT+01:00 Luca 'remix_tj' Lorenzetto
:
> On Thu, Nov 16, 2017 at 5:47 PM, Luca 'remix_tj' Lorenzetto
>  wrote:
> [cut]
>> The engine i want to manage is running oVirt Engine Version:
>> 4.1.0.3-1.el7.centos
>>
>> I can upgrade, but i'd like also to test the playbook for upgrading
>> the infrastructure...
>>
>
> Just for information, upgrading to latest version of ovirt-engine didn't help:
>
> oVirt Engine Version: 4.1.7.6-1.el7.centos
>
> Luca
>
>
> --
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
> calcoli che potrebbero essere affidati a chiunque se si usassero delle
> macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
> 



-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failed to open grubx64.efi

2017-11-21 Thread Luca 'remix_tj' Lorenzetto
On Tue, Nov 21, 2017 at 4:54 PM, Yuval Turgeman  wrote:
> Hi,
>
> I tried to recreate this without success, i'll try with different hw
> tomorrow.
> The thing is, autopart with thinp doesn't mean that everything is lvm-thin -
> /boot should be a regular (primary) partition (for details you can check
> anaconda's ovirt install class)
> This could be a bug in anaconda or in the kickstart that deploys the node
> (if not installing directly from the iso), can you install CentOS-7.4 with
> UEFI enabled on this machine ?  If you have some installation logs, that
> would help :)

Hi,

on the same hardware i can install with success rhel 7.4 using UEFI.
This required to change my default partitioning to another one
containing
/boot/efi/ partition, adding this entry:

part /boot/efi --fstype=efi --size=200 --ondisk=sda

I suppose that autopart doesn't create this partition.

Luca


-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt node and NFS

2017-11-21 Thread Shani Leviim
Hi Mangnus,
Have you tried the troubleshooting-nfs-storage-issues page?
https://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues/


*Regards,*

*Shani Leviim*

On Tue, Nov 21, 2017 at 12:26 PM, Magnus Isaksson  wrote:

> Anyone?
>
>
>
> //Magnus
>
>
>
> *From:* Magnus Isaksson
> *Sent:* den 20 november 2017 16:01
> *To:* 'users@ovirt.org' 
> *Subject:* oVirt node and NFS
>
>
>
> Hi,
>
>
>
> This is probably an easy thing, but I can’t seem to find the solution.
>
>
>
> On my oVirt node 4.1 I have some NFS shares that I want other hosts to
> reach, but I noticed that the firewall is not open for that on the host.
>
> So, how to I configure the Nodes firewall?
>
>
>
> Regards
>
> Magnus Isaksson
>
>
>
> ___
> 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] multiple ip routing table issue

2017-11-21 Thread Edward Clay

On Tue, 2017-11-21 at 09:00 +0200, Edward Haas wrote:
> On Tue, Nov 21, 2017 at 1:24 AM, Edward Clay  m> wrote:
> > Hello,
> > 
> > We have an issue where hosts are configured with the public facing
> > nework interface as the ovirtmgmt network and it's default route is
> > added to a ovirt created table but not to the main routing
> > table.  From my searching I've found this snippet from https://www.
> > ovirt.org/develop/release-management/features/network/multiple-
> > gateways/ which seems to explain why I can't ping anything or
> > communicate with any other system needing a default route.
> 
> By default, the default route is set on the ovirtmgmt network (the
> default one, defined on the interface/ip which you added the host to
> Engine).
> Do you have a different network set up which you will like to set the
> default route on?
> 
>  
> > "And finally, here's the host's main routing table. Any traffic
> > coming in to the host will use the ip rules and an interface's
> > routing table. The main routing table is only used for traffic
> > originating from the host."
> > 
> > I'm seeing the following main and custom ovirt created tables.
> > 
> > main:
> > # ip route show table main
> > 10.0.0.0/8 via 10.4.16.1 dev enp3s0.106 
> > 10.4.16.0/24 dev enp3s0.106 proto kernel scope link src 10.4.16.15 
> > 1.1.1.0/24 dev PUBLICB proto kernel scope link src
> > 1.1.1.1 169.254.0.0/16 dev enp6s0 scope link metric 1002 
> > 169.254.0.0/16 dev enp3s0 scope link metric 1003 
> > 169.254.0.0/16 dev enp7s0 scope link metric 1004 
> > 169.254.0.0/16 dev enp3s0.106 scope link metric 1020 
> > 169.254.0.0/16 dev PRIVATE scope link metric 1022 
> > 169.254.0.0/16 dev PUBLIC scope link metric 1024 
> > 
> > table 1138027711
> > # ip route show table 1138027711
> > default via 1.1.1.1 dev PUBLIC
> > 1.1.1.0/24 via 1.1.1.1 dev PUBLIC
> > 
> > If I manually execute the following command to add the default
> > route as well to the main table I can ping ouside of the local
> > network.
> > 
> > ip route add 0.0.0.0/0 via 1.1.1.1 dev PUBLIC
> > 
> > If I attempt to modify the /etc/sysconfig/network-scripts/route-
> > PUBLIC ad reboot the server ad one would think this file is
> > recreated by vdsm on boot.
> > 
> > What I'm looking for is the correct way to setup a default gateway
> > for the main routing table so the hosts can get OS updates and
> > communicate with the outside world.
> 
> Providing the output from "ip addr" may help clear up some things.
> It looks like you have on the host the default route set as 10.4.16.1
> (on enp3s0.106), could you elaborate what this interface is?

We have setup vlan taging to utilize the 2 internetal network
interfaces (originally enp6s0 and enp7s0) to be configured with
mulitiple networks each.  We eventually added 10Gb nics to all servers
to improve san glusterfs performance which is enp3s0 which replaced
enp6s0 in our setup.
enp3s0.106 = ovirtmgmt network access to private internal networks
onlyenp3s0.206 = private network bridge PRIVATE used for private
internal network access for VMsenp7s0.606 = is used for public access
for both VMs (bridge) and each host/cp/san in our ovirt setup named
PUBLIC
# ip addr show1: lo:  mtu 65536 qdisc noqueue
state UNKNOWN qlen 1link/loopback 00:00:00:00:00:00 brd
00:00:00:00:00:00inet 127.0.0.1/8 scope host lo   valid_lft
forever preferred_lft foreverinet6 ::1/128 scope
hostvalid_lft forever preferred_lft forever2: enp6s0:
 mtu 1500 qdisc pfifo_fast state UP
qlen 1000link/ether 00:25:90:38:d6:2c brd
ff:ff:ff:ff:ff:ffinet6 fe80::225:90ff:fe38:d62c/64 scope
linkvalid_lft forever preferred_lft forever3: enp3s0:
 mtu 1500 qdisc mq state UP qlen
1000link/ether 90:e2:ba:1d:a4:00 brd ff:ff:ff:ff:ff:ffinet6
fe80::92e2:baff:fe1d:a400/64 scope linkvalid_lft forever
preferred_lft forever4: enp7s0:  mtu
1500 qdisc pfifo_fast state UP qlen 1000link/ether
00:25:90:38:d6:2d brd ff:ff:ff:ff:ff:ff20: enp3s0.106@enp3s0:
 mtu 1500 qdisc noqueue state UP qlen
1000link/ether 90:e2:ba:1d:a4:00 brd ff:ff:ff:ff:ff:ffinet
10.4.16.15/24 brd 10.4.16.255 scope global enp3s0.106   valid_lft
forever preferred_lft forever21: enp3s0.206@enp3s0:
 mtu 1500 qdisc noqueue master
PRIVATEB state UP qlen 1000link/ether 90:e2:ba:1d:a4:00 brd
ff:ff:ff:ff:ff:ff22: PRIVATE:  mtu
1500 qdisc noqueue state UP qlen 1000link/ether 90:e2:ba:1d:a4:00
brd ff:ff:ff:ff:ff:ff23: enp7s0.606@enp7s0:
 mtu 1500 qdisc noqueue master PUBLICB
state UP qlen 1000link/ether 00:25:90:38:d6:2d brd
ff:ff:ff:ff:ff:ff24: PUBLIC:  mtu 1500
qdisc noqueue state UP qlen 1000link/ether 00:25:90:38:d6:2d brd

Re: [ovirt-users] oVirt node and NFS

2017-11-21 Thread Magnus Isaksson
Anyone?

//Magnus

From: Magnus Isaksson
Sent: den 20 november 2017 16:01
To: 'users@ovirt.org' 
Subject: oVirt node and NFS

Hi,

This is probably an easy thing, but I can't seem to find the solution.

On my oVirt node 4.1 I have some NFS shares that I want other hosts to reach, 
but I noticed that the firewall is not open for that on the host.
So, how to I configure the Nodes firewall?

Regards
Magnus Isaksson

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


Re: [ovirt-users] Failed to open grubx64.efi

2017-11-21 Thread Yuval Turgeman
Hi,

I tried to recreate this without success, i'll try with different hw
tomorrow.
The thing is, autopart with thinp doesn't mean that everything is lvm-thin
- /boot should be a regular (primary) partition (for details you can check
anaconda's ovirt install class)
This could be a bug in anaconda or in the kickstart that deploys the node
(if not installing directly from the iso), can you install CentOS-7.4 with
UEFI enabled on this machine ?  If you have some installation logs, that
would help :)

Thanks,
Yuval.


On Thu, Nov 16, 2017 at 9:02 PM, Luca 'remix_tj' Lorenzetto <
lorenzetto.l...@gmail.com> wrote:

> Hello Julio,
>
> On Thu, Nov 16, 2017 at 6:41 PM, Julio Cesar Bustamante
>  wrote:
> > Hi there,
> >
> > I have installed Ovirt Host in a HS22 Blade Ibm, but I have this bug.
> >
> > Failed to open \efi\centos\grubx64.efi not found
> > Falied to load image \EFI\centos\grubx64.efi Not found
> >
>
> I had the same problem with a newer Lenovo Blade (x240 M5, IIRC).
> The problem is that ovirt-node-ng by default uses autopart with thin
> provisioning and that partition scheme doesn't create /boot/efi drive.
>
> Without that drive, grub-efi cannot be installed.
>
> I switched my blades back to legacy only and everything worked as expected.
>
> I'm planning to extend my tests with UEFI in future, but at the moment
> i don't see the necessity switch from legacy mode.
>
> Luca
>
>
>
>
> --
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
> calcoli che potrebbero essere affidati a chiunque se si usassero delle
> macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
> lorenzetto.l...@gmail.com>
> ___
> 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] iSCSI multipathing missing tab

2017-11-21 Thread Nicolas Ecarnot

Hello,

oVirt 4.1.6.2-1.el7.centos

Under the datacenter section, I see no iSCSI multipathing tab.
As I'm building this new DC, could this be because this DC is not yet 
initialized?


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


[ovirt-users] Need advise/help/ideas to implement a two sites disaster-recovery with ovirt

2017-11-21 Thread wodel youchi
Hi,

We want to implement two sites with ovirt and have disaster-recovery, if
site one is unreachable, then site two takes-over.

We will be using iSCSI for Data domains

Our initial idea is :
- install the first site :
   - self-hosted engine
   - iscsi blocks for data domains

- install the second site:
   - self-hosted engine.
   - iscsi blocks for data domain.

Use the snapshot synchronization of the disk-array to sync iscsi
blocks/volumes.

The two self-hosted engine will be independent.
In case of a failure :
 - break the synchronization
 - Access the data domain in site two
 - start the VMs.


oVirt does not manage replication of VMs itself, someone may argue that
it's not it's purpose, but what about selecting the VMs to replicate?? in
case of NFS we may (I don't know really if it's possible) have some access
to the VMs disk files, but in block mode with LVM in it, things become
complicated.

So if someone has implemented such architecture, could you please share the
experience, give advice and ideas on how to best implement this.

Regards.


Garanti
sans virus. www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Some tests results: lustrefs over nfs on VM

2017-11-21 Thread Arman Khalatyan
Ok, thanks, looks like a BUG, I will open one...


On Tue, Nov 21, 2017 at 12:40 PM, Yaniv Kaul  wrote:
>
>
> On Mon, Nov 20, 2017 at 4:24 PM, Arman Khalatyan  wrote:
>>
>> On Mon, Nov 20, 2017 at 12:23 PM, Yaniv Kaul  wrote:
>> >
>> >
>> > Define QoS on the NIC.
>> > But I think you wish to limit IO, no?
>> > Y.
>> >
>> For the moment QoS is unlimited.
>> Actually for some tasks I wish to allocate 80% of 10Gbit interface,
>> but the VM interface is always 1Gbit.
>
>
> The VM interface is virtual. It's not limited or set to 1G. Due to some
> ancient Windows certification requirements (that required that an interface
> would have a defined speed!), 1G was set for it.
>
>>
>> Inside the QoS of the host interface I cannot put 8000 for the Rate
>> Limit, it claims that rate limit should be between number 1...1024,
>> looks like it assumes only 1Gbit interfaces?
>
>
> I kinda remember we had this issue in the past - and it was fixed - please
> file a bug so we'll look at it.
> Y.
>
>>
>> a.
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Error during delete snapshot

2017-11-21 Thread Benny Zlotnik
Please attach the full engine log (at least from the moment you attempted
the to delete).
Do you have access to the host the VM is running on? The vdsm log is
available at /var/log/vdsm/vdsm.log

On Tue, Nov 21, 2017 at 2:17 PM, Arthur Melo  wrote:

> engine.log
> --
> 2017-11-21 10:15:02,536-02 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler2)
> [70cc2ffa-2414-4a00-9e24-6b6378408a9d] EVENT_ID:
> USER_REMOVE_SNAPSHOT_FINISHED_FAILURE(357), Correlation ID:
> 70cc2ffa-2414-4a00-9e24-6b6378408a9d, Job ID: 
> ec197072-7c38-42b6-9aef-99635d4ee135,
> Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Failed to
> delete snapshot '' for VM 'proxy03'.
> 2017-11-21 10:15:02,537-02 ERROR 
> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
> (DefaultQuartzScheduler2) [70cc2ffa-2414-4a00-9e24-6b6378408a9d] Failed
> invoking callback end method 'onFailed' for command
> 'a84519fe-6b23-4084-84a2-b7964cbcde26' with exception 'null', the
> callback is marked for end method retries
> 2017-11-21 10:15:12,551-02 ERROR 
> [org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand]
> (DefaultQuartzScheduler5) [70cc2ffa-2414-4a00-9e24-6b6378408a9d] Ending
> command 'org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand' with
> failure.
> 2017-11-21 10:15:12,555-02 INFO  
> [org.ovirt.engine.core.utils.transaction.TransactionSupport]
> (DefaultQuartzScheduler5) [70cc2ffa-2414-4a00-9e24-6b6378408a9d]
> transaction rolled back
> 2017-11-21 10:15:12,567-02 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler5)
> [70cc2ffa-2414-4a00-9e24-6b6378408a9d] EVENT_ID:
> USER_REMOVE_SNAPSHOT_FINISHED_FAILURE(357), Correlation ID:
> 70cc2ffa-2414-4a00-9e24-6b6378408a9d, Job ID: 
> ec197072-7c38-42b6-9aef-99635d4ee135,
> Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Failed to
> delete snapshot '' for VM 'proxy03'.
> 2017-11-21 10:15:12,567-02 ERROR 
> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
> (DefaultQuartzScheduler5) [70cc2ffa-2414-4a00-9e24-6b6378408a9d] Failed
> invoking callback end method 'onFailed' for command
> 'a84519fe-6b23-4084-84a2-b7964cbcde26' with exception 'null', the
> callback is marked for end method retries
> 2017-11-21 10:15:22,582-02 ERROR 
> [org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand]
> (DefaultQuartzScheduler10) [70cc2ffa-2414-4a00-9e24-6b6378408a9d] Ending
> command 'org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand' with
> failure.
> 2017-11-21 10:15:22,585-02 INFO  
> [org.ovirt.engine.core.utils.transaction.TransactionSupport]
> (DefaultQuartzScheduler10) [70cc2ffa-2414-4a00-9e24-6b6378408a9d]
> transaction rolled back
> 2017-11-21 10:15:22,599-02 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler10)
> [70cc2ffa-2414-4a00-9e24-6b6378408a9d] EVENT_ID:
> USER_REMOVE_SNAPSHOT_FINISHED_FAILURE(357), Correlation ID:
> 70cc2ffa-2414-4a00-9e24-6b6378408a9d, Job ID: 
> ec197072-7c38-42b6-9aef-99635d4ee135,
> Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Failed to
> delete snapshot '' for VM 'proxy03'.
> 2017-11-21 10:15:22,600-02 ERROR 
> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
> (DefaultQuartzScheduler10) [70cc2ffa-2414-4a00-9e24-6b6378408a9d] Failed
> invoking callback end method 'onFailed' for command
> 'a84519fe-6b23-4084-84a2-b7964cbcde26' with exception 'null', the
> callback is marked for end method retries
> --
>
> I don't have vdsm log. (I don't know why).
>
> Atenciosamente,
> Arthur Melo
> Linux User #302250
>
>
> 2017-11-21 10:14 GMT-02:00 Benny Zlotnik :
>
>> Please attach engine and vdsm logs
>>
>> On Tue, Nov 21, 2017 at 2:11 PM, Arthur Melo  wrote:
>>
>>> Can someone help me with this error?
>>>
>>>
>>> Failed to delete snapshot '' for VM 'proxy03'.
>>>
>>>
>>>
>>> Atenciosamente,
>>> Arthur Melo
>>> Linux User #302250
>>>
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Error during delete snapshot

2017-11-21 Thread Arthur Melo
engine.log
--
2017-11-21 10:15:02,536-02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(DefaultQuartzScheduler2) [70cc2ffa-2414-4a00-9e24-6b6378408a9d] EVENT_ID:
USER_REMOVE_SNAPSHOT_FINISHED_FAILURE(357), Correlation ID:
70cc2ffa-2414-4a00-9e24-6b6378408a9d, Job ID:
ec197072-7c38-42b6-9aef-99635d4ee135, Call Stack: null, Custom ID: null,
Custom Event ID: -1, Message: Failed to delete snapshot '' for VM
'proxy03'.
2017-11-21 10:15:02,537-02 ERROR
[org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
(DefaultQuartzScheduler2) [70cc2ffa-2414-4a00-9e24-6b6378408a9d] Failed
invoking callback end method 'onFailed' for command
'a84519fe-6b23-4084-84a2-b7964cbcde26' with exception 'null', the callback
is marked for end method retries
2017-11-21 10:15:12,551-02 ERROR
[org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand]
(DefaultQuartzScheduler5) [70cc2ffa-2414-4a00-9e24-6b6378408a9d] Ending
command 'org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand' with
failure.
2017-11-21 10:15:12,555-02 INFO
[org.ovirt.engine.core.utils.transaction.TransactionSupport]
(DefaultQuartzScheduler5) [70cc2ffa-2414-4a00-9e24-6b6378408a9d]
transaction rolled back
2017-11-21 10:15:12,567-02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(DefaultQuartzScheduler5) [70cc2ffa-2414-4a00-9e24-6b6378408a9d] EVENT_ID:
USER_REMOVE_SNAPSHOT_FINISHED_FAILURE(357), Correlation ID:
70cc2ffa-2414-4a00-9e24-6b6378408a9d, Job ID:
ec197072-7c38-42b6-9aef-99635d4ee135, Call Stack: null, Custom ID: null,
Custom Event ID: -1, Message: Failed to delete snapshot '' for VM
'proxy03'.
2017-11-21 10:15:12,567-02 ERROR
[org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
(DefaultQuartzScheduler5) [70cc2ffa-2414-4a00-9e24-6b6378408a9d] Failed
invoking callback end method 'onFailed' for command
'a84519fe-6b23-4084-84a2-b7964cbcde26' with exception 'null', the callback
is marked for end method retries
2017-11-21 10:15:22,582-02 ERROR
[org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand]
(DefaultQuartzScheduler10) [70cc2ffa-2414-4a00-9e24-6b6378408a9d] Ending
command 'org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand' with
failure.
2017-11-21 10:15:22,585-02 INFO
[org.ovirt.engine.core.utils.transaction.TransactionSupport]
(DefaultQuartzScheduler10) [70cc2ffa-2414-4a00-9e24-6b6378408a9d]
transaction rolled back
2017-11-21 10:15:22,599-02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(DefaultQuartzScheduler10) [70cc2ffa-2414-4a00-9e24-6b6378408a9d] EVENT_ID:
USER_REMOVE_SNAPSHOT_FINISHED_FAILURE(357), Correlation ID:
70cc2ffa-2414-4a00-9e24-6b6378408a9d, Job ID:
ec197072-7c38-42b6-9aef-99635d4ee135, Call Stack: null, Custom ID: null,
Custom Event ID: -1, Message: Failed to delete snapshot '' for VM
'proxy03'.
2017-11-21 10:15:22,600-02 ERROR
[org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
(DefaultQuartzScheduler10) [70cc2ffa-2414-4a00-9e24-6b6378408a9d] Failed
invoking callback end method 'onFailed' for command
'a84519fe-6b23-4084-84a2-b7964cbcde26' with exception 'null', the callback
is marked for end method retries
--

I don't have vdsm log. (I don't know why).

Atenciosamente,
Arthur Melo
Linux User #302250


2017-11-21 10:14 GMT-02:00 Benny Zlotnik :

> Please attach engine and vdsm logs
>
> On Tue, Nov 21, 2017 at 2:11 PM, Arthur Melo  wrote:
>
>> Can someone help me with this error?
>>
>>
>> Failed to delete snapshot '' for VM 'proxy03'.
>>
>>
>>
>> Atenciosamente,
>> Arthur Melo
>> Linux User #302250
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Error during delete snapshot

2017-11-21 Thread Benny Zlotnik
Please attach engine and vdsm logs

On Tue, Nov 21, 2017 at 2:11 PM, Arthur Melo  wrote:

> Can someone help me with this error?
>
>
> Failed to delete snapshot '' for VM 'proxy03'.
>
>
>
> Atenciosamente,
> Arthur Melo
> Linux User #302250
>
>
> ___
> 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] Error during delete snapshot

2017-11-21 Thread Arthur Melo
Can someone help me with this error?


Failed to delete snapshot '' for VM 'proxy03'.



Atenciosamente,
Arthur Melo
Linux User #302250
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] After trying to use OVS can't recover a node to use ovirtmgmt

2017-11-21 Thread Juan Manuel Nieto
Hello,

I've unsucessfully tried in a node to use ovs, now I want to switch back to
use ovirtmgmt but I cant.

for some reason my node is not operational and I have the following on
ovirt-engine.log:

--0--->
ERROR [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand]
(DefaultQuartzScheduler7) [1472e53b] Host 'labarq01.lda' is set to
Non-Operational, it is missing the following networks: 'ovirtmgmt'
<--0---

When I was installing OVS for some reason the ovirtmgmt was removed I
recreated it and its functional.

5: ovirtmgmt:  mtu 1500 qdisc noqueue
state UP qlen 1000
link/ether a0:8c:fd:c7:1a:00 brd ff:ff:ff:ff:ff:ff
inet 10.3.38.11/24 brd 10.3.38.255 scope global ovirtmgmt
   valid_lft forever preferred_lft forever
inet6 fe80::a28c:fdff:fec7:1a00/64 scope link
   valid_lft forever preferred_lft forever

root@labarq01 ovirt-engine]# cat
/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=ovirtmgmt
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
IPADDR=10.3.38.11
NETMASK=255.255.255.0
GATEWAY=10.3.38.1
BOOTPROTO=none
MTU=1500
DEFROUTE=yes
NM_CONTROLLED=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
DNS1=10.12.1.110
DNS2=10.113.24.145

root@labarq01 ovirt-engine]# brctl show
bridge name bridge id   STP enabled interfaces
;vdsmdummy; 8000.   no
ovirtmgmt   8000.a08cfdc71a00   no  eno1


I'm using Centos 7 and ovirt 4.1.7 the rest of the nodes work properly.
Is there any way to configure this network for this host manually?

Thank you in advance.
Best regards
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Some tests results: lustrefs over nfs on VM

2017-11-21 Thread Yaniv Kaul
On Mon, Nov 20, 2017 at 4:24 PM, Arman Khalatyan  wrote:

> On Mon, Nov 20, 2017 at 12:23 PM, Yaniv Kaul  wrote:
> >
> >
> > Define QoS on the NIC.
> > But I think you wish to limit IO, no?
> > Y.
> >
> For the moment QoS is unlimited.
> Actually for some tasks I wish to allocate 80% of 10Gbit interface,
> but the VM interface is always 1Gbit.
>

The VM interface is virtual. It's not limited or set to 1G. Due to some
ancient Windows certification requirements (that required that an interface
would have a defined speed!), 1G was set for it.


> Inside the QoS of the host interface I cannot put 8000 for the Rate
> Limit, it claims that rate limit should be between number 1...1024,
> looks like it assumes only 1Gbit interfaces?
>

I kinda remember we had this issue in the past - and it was fixed - please
file a bug so we'll look at it.
Y.


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


Re: [ovirt-users] Openshift in VMs created from oVirt

2017-11-21 Thread Yaniv Kaul
On Fri, Nov 17, 2017 at 3:26 PM, Wayna Runa  wrote:

> Hi there!,
>
> I've oVirt running and providing several VMs (CentOS and RedHat), now I
> want to provide VMs with minimalist Openshift cluster running inside to
> developers.
> Minishift creates a VM with Openshift locally, that is fine, but now we
> have oVirt to provide VMs which the developers can get access remotely.
>
> How I can use oVirt to do that?.
> Thanks in advance.
>

See
https://github.com/openshift/openshift-ansible-contrib/tree/master/reference-architecture/rhv-ansible
Y.


>
> --
> *Wayna Runa*
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt node and logical networks on same physical one

2017-11-21 Thread Gianluca Cecchi
Hello,
I'm going to setup an environment where unfortunately I will have only a
flat physical class B private network available, for all my scopes.
There are 2 stacked switches where the hypervisors' nics will connect to.
My hypervisors will have 6 network interfaces so that potentially I could
configure 3 bonds: one for mgmt, one for migration, one for VMs.
But this way each hypervisor will have its mgmt ip and its migration ip on
the same lan and also the IP of a VM running inside it will stay in the
same lan.
Is this kind of configuration feasible for a test? Any suggestion based on
these constraints?

If this matter, I'm going to install hypervisors as oVirt nodes

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


[ovirt-users] Info about xeon mp dunnington support

2017-11-21 Thread Gianluca Cecchi
Hello,
I should start configuring a lab environment where I should have available
some IBM 3850 M2 servers with E7450 Xeon cpu (also known as Dunnington).
Spec page of processor here:
https://ark.intel.com/it/products/36941/Intel-Xeon-Processor-E7450-12M-Cache-2_40-GHz-1066-MHz-FSB

Can you tell me if they are compatible with oVirt 4.1 for testing; used by
anyone on list?

Base on this following link I presume it should be detected as Penryn from
oVirt, correct?
https://en.wikipedia.org/wiki/List_of_Intel_codenames

I have not them physically accessible right now but I'm just moving to
avoid, if possible, compatibility problems.

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


Re: [ovirt-users] Why was HE Install made OVA only?

2017-11-21 Thread Simone Tiraboschi
On Tue, Nov 21, 2017 at 10:26 AM, Alan Griffiths 
wrote:

> I was building my own image, using Foreman, Puppet and PXE. There's a
> specific partitioning schema I'm required to use in my environment and
> building my own image from Kickstart is by far the easiest way to
> achieve this.
>

Also our default appliance is built from a kickstart file.
You can simply customize it as you need and rebuild your custom appliance
to be used with hosted-engine-setup.

Look here to see how the ovirt engine appliance is built:
https://github.com/oVirt/ovirt-appliance/tree/master/engine-appliance


> I can appreciate that in most scenarios the OVA install is the
> best/easiest option, but it would have been nice to keep PXE and ISO
> options.


The point is that now hosted-engine-setup is strongly using cloud-init to
automatically configure the appliance and execute engine-setup there.
It's simply using the no-cloud datasource which is just a cloud-init
specific iso file attached on the fly as a CDROM; doing it over a pxe boot
will instead require a zero conf network to supply cloud init data and it's
by far more complex.


> On 20 November 2017 at 17:24, Simone Tiraboschi 
> wrote:
> >
> > On Mon, Nov 20, 2017 at 4:39 PM, Alan Griffiths  >
> > wrote:
> >>
> >> Hi,
> >>
> >> What was the reasoning behind making Hosted Engine install OVA only?
> >> The PXEBoot feature always worked really well for me, and now I have a
> >> number of extra steps to achieve the same end result.
> >>
> >
> > Do you mean that you were customizing the image shipped via PXE?
> > Deploying from the OVA is pretty convenient, if you want just to forget
> > about it, you have to install also ovirt-engine-appliance rpm when you
> > install ovirt-hosted-engine-setup one.
> > I don't see other additional steps.
> >
> >
> >>
> >> Thanks,
> >>
> >> Alan
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot remove snapshot

2017-11-21 Thread Nicolas Ecarnot

Le 17/11/2017 à 16:38, Nicolas Ecarnot a écrit :
- export the VM then re-import, if this is related to some LV space 
missing. Then removing the snapshot the usual way.


Self-replying, for the record:

The backing image was seen full of errors by qemu-img check.
I exported the whole backing + img without commiting the snapshot.
I then imported with commiting, and it all went well.

4 hours of doubt.

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


[ovirt-users] Host Non Operational - Filed to configure management network on host Vollansicht Vollansicht

2017-11-21 Thread jean . hort

Hey folks,

 

I have an oVirt installation on a dedicated hetzner root server, the server does run the ovirt-engine and it will be used as node.

The installation via ovirt-engine went fine, but after adding a Host to the default cluster hosts (with working ssh connection to localhost!) I get the following errors in the event log after the node went to status Non Operational:

 

"Failed to configure management network on host myhost.net due to setup networks failure."

and

"Host cipherspec.net installation failed. Failed to configure management network on the host.".

 

Under "Networks" I have the ovirtmgmt network with checkbox "VM-Network" and none at "external provider".

 

My hosts publicly available IP Adress is: 46.4.70.9 and the Gateway is: 46.4.70.1 (slightly changed the ip adresses by two digits just for the case).

 

I have the following network-scripts activated:

 

(prior outgoing network interface, now used for the bridge ovirtmgmt):

[root@xxx network-scripts]# cat /etc/sysconfig/network-scripts/ifcfg-enp4s0  
### Hetzner Online GmbH installimage
DEVICE=enp4s0
_ONBOOT_=yes
BRIDGE=ovirtmgmt

 

(the bridge)

[root@xxx network-scripts]# cat /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt  
DEVICE=ovirtmgmt
TYPE="Bridge"
BOOTPROTO=static
IPADDR=46.4.70.9
NETMASK=255.255.255.255
SCOPE="peer 46.4.70.1"
GATEWAY=46.4.70.1
_ONBOOT_=yes
DELAY=no

 

(the (only) route):

[root@xxx network-scripts]# cat route-ovirtmgmt  
### Hetzner Online GmbH installimage

ADDRESS0=0.0.0.0
NETMASK0=0.0.0.0
GATEWAY0=46.4.70.1

 

 

So, long text short: my host has connection to internet, all firewall rules are set correctly (I can access the webinterface, I can ssh to a changed port, I allow root login via key from localhost to localhost).

 

There must be a flaw in my network- or my ovirt-configuration. But yet, I don't know where to check the ovirt-Config so I can't post its config or logs, only my network setup. Hopefully the flaw is in there, elsely, I would be thankful if you can support me to active the (one and only) host as node.

 

Cheers

jpsh

 

 

Ps.: just in case I duplicated this mailing - sorry!

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


[ovirt-users] Host Non Operational - Filed to configure management network on host Vollansicht

2017-11-21 Thread jean . hort

Hey folks,

 

I have an oVirt installation on a dedicated hetzner root server, the server does run the ovirt-engine and it will be used as node.

The installation via ovirt-engine went fine, but after adding a Host to the default cluster hosts (with working ssh connection to localhost!) I get the following errors in the event log after the node went to status Non Operational:

 

"Failed to configure management network on host myhost.net due to setup networks failure."

and

"Host cipherspec.net installation failed. Failed to configure management network on the host.".

 

Under "Networks" I have the ovirtmgmt network with checkbox "VM-Network" and none at "external provider".

 

My hosts publicly available IP Adress is: 46.4.70.9 and the Gateway is: 46.4.70.1 (slightly changed the ip adresses by two digits just for the case).

 

I have the following network-scripts activated:

 

(prior outgoing network interface, now used for the bridge ovirtmgmt):

[root@xxx network-scripts]# cat /etc/sysconfig/network-scripts/ifcfg-enp4s0  
### Hetzner Online GmbH installimage
DEVICE=enp4s0
_ONBOOT_=yes
BRIDGE=ovirtmgmt

 

(the bridge)

[root@xxx network-scripts]# cat /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt  
DEVICE=ovirtmgmt
TYPE="Bridge"
BOOTPROTO=static
IPADDR=46.4.70.9
NETMASK=255.255.255.255
SCOPE="peer 46.4.70.1"
GATEWAY=46.4.70.1
_ONBOOT_=yes
DELAY=no

 

(the (only) route):

[root@xxx network-scripts]# cat route-ovirtmgmt  
### Hetzner Online GmbH installimage

ADDRESS0=0.0.0.0
NETMASK0=0.0.0.0
GATEWAY0=46.4.70.1

 

 

So, long text short: my host has connection to internet, all firewall rules are set correctly (I can access the webinterface, I can ssh to a changed port, I allow root login via key from localhost to localhost).

 

There must be a flaw in my network- or my ovirt-configuration. But yet, I don't know where to check the ovirt-Config so I can't post its config or logs, only my network setup. Hopefully the flaw is in there, elsely, I would be thankful if you can support me to active the (one and only) host as node.

 

Cheers

jpsh

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


Re: [ovirt-users] Why was HE Install made OVA only?

2017-11-21 Thread Alan Griffiths
I was building my own image, using Foreman, Puppet and PXE. There's a
specific partitioning schema I'm required to use in my environment and
building my own image from Kickstart is by far the easiest way to
achieve this.

I can appreciate that in most scenarios the OVA install is the
best/easiest option, but it would have been nice to keep PXE and ISO
options.

On 20 November 2017 at 17:24, Simone Tiraboschi  wrote:
>
> On Mon, Nov 20, 2017 at 4:39 PM, Alan Griffiths 
> wrote:
>>
>> Hi,
>>
>> What was the reasoning behind making Hosted Engine install OVA only?
>> The PXEBoot feature always worked really well for me, and now I have a
>> number of extra steps to achieve the same end result.
>>
>
> Do you mean that you were customizing the image shipped via PXE?
> Deploying from the OVA is pretty convenient, if you want just to forget
> about it, you have to install also ovirt-engine-appliance rpm when you
> install ovirt-hosted-engine-setup one.
> I don't see other additional steps.
>
>
>>
>> Thanks,
>>
>> Alan
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users