[ovirt-users] Re: oVirt + Gluster

2019-09-22 Thread Strahil
On the opposite - ovirt supports up to v6 of gluster and in cockpit, you can 
setup your hyperconverged setup (on gluster) abd your hosted engine ontop.

Best Regards,
Strahil NikolovOn Sep 23, 2019 07:20, TomK  wrote:
>
> Hey All, 
>
> Seeing GlusterFS up to version 7, do any of the oVirt versions support 
> anything higher then 3.X? 
>
> Or is Gluster not the preferred distributed file system choice for oVirt? 
>
> -- 
> Thx, 
> TK.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/NNKXLMIGLV3GJJVW3PIF2OXV6V3PS3BV/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XAOPAL66Y6DEP3DKBQAMA5QYI4HX5HH5/


[ovirt-users] oVirt + Gluster

2019-09-22 Thread TomK

Hey All,

Seeing GlusterFS up to version 7, do any of the oVirt versions support 
anything higher then 3.X?


Or is Gluster not the preferred distributed file system choice for oVirt?

--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NNKXLMIGLV3GJJVW3PIF2OXV6V3PS3BV/


[ovirt-users] Re: Change hostname of physical hosts under an oVirt and Gluster combination

2019-09-22 Thread TomK
Or in other words, how do I remove all resources, clusters, datacenters, 
hosts and readd them under different names?


Cheers,
TK


On 9/22/2019 6:48 PM, TomK wrote:

Hey All,

Would like to change the hostname of hosts within a gluster volume 
that's been added to oVirt.


I also need to readd the bricks to the gluster volume under the new 
hostname.  What's the recommended approach to do so when all this is 
added to oVirt?





--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3GROTSXKJX4UGKXZAV33AA4UFDUNSJBT/


[ovirt-users] Change hostname of physical hosts under an oVirt and Gluster combination

2019-09-22 Thread TomK

Hey All,

Would like to change the hostname of hosts within a gluster volume 
that's been added to oVirt.


I also need to readd the bricks to the gluster volume under the new 
hostname.  What's the recommended approach to do so when all this is 
added to oVirt?


--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7JCTEOMPWBQD2DD32VQGTZZ7LUUE3D25/


[ovirt-users] Creating Bricks via the REST API

2019-09-22 Thread Julian Schill
Under "Compute -> Hosts -> Host Name -> Storage Devices" one can create new 
Gluster Bricks on free partitions. How can i do this via the REST API?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/THFM6YI6R6F4LE6W34SJ7REIKVYCPALL/


[ovirt-users] Re: ifcfg-bond0 getting overwritten.

2019-09-22 Thread TomK

Thanks All!

Ok, so configured auditd to watch /etc/resolv.conf and that pointed out 
the problem.


A host that was reverting my changes had these /etc/resolv.conf* files:

[root@mdskvm-p01 etc]# grep -EiR "# Generated by NetworkManager" *
grep: extlinux.conf: No such file or directory
resolv.conf:# Generated by NetworkManager
resolv.conf.save:# Generated by NetworkManager  # <<<
[root@mdskvm-p01 etc]#

[root@mdskvm-p01 etc]# grep -Ei search resolv.conf resolv.conf.save
resolv.conf:search mds.xyz nix.mds.xyz mws.mds.xyz
resolv.conf.save:search mds.xyz
[root@mdskvm-p01 etc]#

and a host where changes to /etc/resolv.conf were not occurring, had 
these files (note the missing .save file):


[root@mdskvm-p02 etc]# grep -EiR "# Generated by NetworkManager" *
grep: extlinux.conf: No such file or directory
resolv.conf:# Generated by NetworkManager
resolv.conf-original:# Generated by NetworkManager
[root@mdskvm-p02 etc]#

The reason why /etc/resolv.conf was reverting on the first host is 
because there is a line in the following ifdown-post network script that 
overwrites /etc/resolv.conf from /etc/resolv.conf.save, if you have it:


[root@mdskvm-p02 network-scripts]# vi ifdown-post
.
.
.
# Remove duplicate DNS entries and shift them,
# to have always correct condition below...
update_DNS_entries

if ! is_false "${PEERDNS}" || is_true "${RESOLV_MODS}" && \
    [ "${DEVICETYPE}" = "ppp" -o "${DEVICETYPE}" = "ippp" -o -n "${DNS1}" \
    -o "${BOOTPROTO}" = "bootp" -o "${BOOTPROTO}" = "dhcp" ] ; then
    if [ -f /etc/resolv.conf.save ]; then  # <
        change_resolv_conf /etc/resolv.conf.save
        rm -f /etc/resolv.conf.save# <
    fi
    if [ "${DEVICETYPE}" = "ppp" -o "${DEVICETYPE}" = "ippp" ]; then
        if [ -f /etc/ppp/peers/$DEVICE ] ; then
            rm -f /etc/ppp/peers/$DEVICE
        fi
    fi
fi
.
.
.
.


And the function change_resolv_conf() effectively copies the contents of 
/etc/resolv.conf.save over /etc/resolv.conf thereby overwriting anything 
in it, if it exists (See # <<< 
markers below ):



[root@mdskvm-p02 network-scripts]# vi network-functions
# Invoke this when /etc/resolv.conf has changed:
change_resolv_conf ()
{
s=$(/bin/grep '^[\ \   ]*option' /etc/resolv.conf 2>/dev/null)
if [ $# -gt 1 ]; then
if [ "x$s" != "x" ]; then
s="$s"$'\n'
fi
n_args=$#
while [ $n_args -gt 0 ]; do
case "$s" in
*$1*)
shift
n_args=$(($n_args-1))
continue
;;
esac
s="$s$1"
shift
if [ $# -gt 0 ]; then
s="$s"$'\n'
fi
n_args=$(($n_args-1))
done
elif [ $# -eq 1 ]; then
if [ "x$s" != "x" ]; then
s="$s"$'\n'$(/bin/grep -vF "$s" $1)
else# <<<
s=$(cat $1)
fi  # <<<
fi
(echo "$s" > /etc/resolv.conf) >/dev/null 2>&1;  # <
r=$?
if [ $r -eq 0 ]; then
[ -x /sbin/restorecon ] && /sbin/restorecon /etc/resolv.conf 
>/dev/null 2>&1 # reset the correct context
/usr/bin/logger -p local7.notice -t "NET" -i "$0 : updated 
/etc/resolv.conf"
[ -e /var/run/nscd/socket ] && /usr/sbin/nscd -i hosts # 
invalidate cache

fi
return $r
}



So you have to modify both files in order to persist the changes or 
simply remove the /etc/resolv.conf.save file.  Appears when some 
older interface parameters were used before I installed oVirt here, they 
triggered creation of the .save file.  Because it exists, it's simply 
used by default.  Hence why changes directly to /etc/resolv.conf 
persisted on the second host: it didn't have a /etc/resolv.conf.save file.


Cheers,
TK

More notes and configuring auditd to watch changes to /etc/resolv.conf:
https://tinyurl.com/y68dgecx


On 9/22/2019 11:08 AM, Bell Levin wrote:

Hey,
I would like to add a small point to Edward's explanation.

If the config does really get overwritten, it probably means that more 
was changed to the bond but the search string.
If indeed what you are looking for is to add a dns search line, you 
should add it to /etc/resolv.conf.


On Sun, Sep 22, 2019 at 4:44 PM Edward Berger > wrote:


vdsm creates persistant network configs that overwrite manual
changes at reboot
in /var/lib/vdsm/persistence/netconf

You can check your other hosts for any differences there.

It is recommended that networks are set up and managed through ovirt
engine.

On Sun, Sep 22, 2019 at 6:01 AM TomK mailto:tomk...@mdevsys.com>> wrote:

This occurs on only one of the oVirt hosts in my cluster.
-- 
Thx,

TK.

On 9/22/2019 12:08 AM, TomK wrote:
 > Hey All,
 >
 

[ovirt-users] Re: ifcfg-bond0 getting overwritten.

2019-09-22 Thread Strahil
This depends if you use NetworkManager.service for other connections.
If you don't use NetworkManager , then that's a working approach.

Best Regards,
Strahil NikolovOn Sep 22, 2019 18:08, Bell Levin  wrote:
>
> Hey,
> I would like to add a small point to Edward's explanation.
>
> If the config does really get overwritten, it probably means that more was 
> changed to the bond but the search string.
> If indeed what you are looking for is to add a dns search line, you should 
> add it to /etc/resolv.conf.
>
> On Sun, Sep 22, 2019 at 4:44 PM Edward Berger  wrote:
>>
>> vdsm creates persistant network configs that overwrite manual changes at 
>> reboot
>> in /var/lib/vdsm/persistence/netconf 
>>
>> You can check your other hosts for any differences there.
>>
>> It is recommended that networks are set up and managed through ovirt engine.
>>
>> On Sun, Sep 22, 2019 at 6:01 AM TomK  wrote:
>>>
>>> This occurs on only one of the oVirt hosts in my cluster.
>>> -- 
>>> Thx,
>>> TK.
>>>
>>> On 9/22/2019 12:08 AM, TomK wrote:
>>> > Hey All,
>>> >
>>> > My ifcfg-bond0 is getting overwritten on reboot.  Need to add a search 
>>> > string to the configuration.
>>> >
>>> > What's overwriting it and should I be trying to add a search string to 
>>> > another location?
>>> >
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct: 
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives: 
>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/K5QTMQX4OGCKQZKZBQ4KI4IBXVTHALET/
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/DXIDOP24DKP7AKUN3JME252QHLSXZMMI/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CDKH5DI4LRBFXUNWF4ABVY5Z32VO7F6B/


[ovirt-users] Re: ifcfg-bond0 getting overwritten.

2019-09-22 Thread Bell Levin
Hey,
I would like to add a small point to Edward's explanation.

If the config does really get overwritten, it probably means that more was
changed to the bond but the search string.
If indeed what you are looking for is to add a dns search line, you should
add it to /etc/resolv.conf.

On Sun, Sep 22, 2019 at 4:44 PM Edward Berger  wrote:

> vdsm creates persistant network configs that overwrite manual changes at
> reboot
> in /var/lib/vdsm/persistence/netconf
>
> You can check your other hosts for any differences there.
>
> It is recommended that networks are set up and managed through ovirt
> engine.
>
> On Sun, Sep 22, 2019 at 6:01 AM TomK  wrote:
>
>> This occurs on only one of the oVirt hosts in my cluster.
>> --
>> Thx,
>> TK.
>>
>> On 9/22/2019 12:08 AM, TomK wrote:
>> > Hey All,
>> >
>> > My ifcfg-bond0 is getting overwritten on reboot.  Need to add a search
>> > string to the configuration.
>> >
>> > What's overwriting it and should I be trying to add a search string to
>> > another location?
>> >
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/K5QTMQX4OGCKQZKZBQ4KI4IBXVTHALET/
>>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/DXIDOP24DKP7AKUN3JME252QHLSXZMMI/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/52M6CUBRKRPBOR3W7MCUML7WJ4I7LOJQ/


[ovirt-users] Re: ifcfg-bond0 getting overwritten.

2019-09-22 Thread Edward Berger
vdsm creates persistant network configs that overwrite manual changes at
reboot
in /var/lib/vdsm/persistence/netconf

You can check your other hosts for any differences there.

It is recommended that networks are set up and managed through ovirt engine.

On Sun, Sep 22, 2019 at 6:01 AM TomK  wrote:

> This occurs on only one of the oVirt hosts in my cluster.
> --
> Thx,
> TK.
>
> On 9/22/2019 12:08 AM, TomK wrote:
> > Hey All,
> >
> > My ifcfg-bond0 is getting overwritten on reboot.  Need to add a search
> > string to the configuration.
> >
> > What's overwriting it and should I be trying to add a search string to
> > another location?
> >
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/K5QTMQX4OGCKQZKZBQ4KI4IBXVTHALET/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DXIDOP24DKP7AKUN3JME252QHLSXZMMI/


[ovirt-users] Re: ifcfg-bond0 getting overwritten.

2019-09-22 Thread TomK

This occurs on only one of the oVirt hosts in my cluster.
--
Thx,
TK.

On 9/22/2019 12:08 AM, TomK wrote:

Hey All,

My ifcfg-bond0 is getting overwritten on reboot.  Need to add a search 
string to the configuration.


What's overwriting it and should I be trying to add a search string to 
another location?



___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/K5QTMQX4OGCKQZKZBQ4KI4IBXVTHALET/


[ovirt-users] Re: Linked Clones?

2019-09-22 Thread Fred Rolland
Fabio,

Did you tried to create a VM based on a template with thin-provisioning
mode?
This looks like this is what you want to to achieve. The VM will have a
QCOW disk based on the template disk that will stay Read-Only.

Regards,
Freddy

On Thu, Sep 19, 2019 at 10:50 AM Simone Tiraboschi 
wrote:

>
>
> On Thu, Sep 19, 2019 at 9:24 AM  wrote:
>
>> Hi,
>>
>> I am approaching and studying oVirt in order to propose the solution to a
>> customer as a replacement for a commercial solution they have now.
>> They only need Desktop virtualization.
>> Sorry for the silly question, but I can't find a way to deploy a VM
>> (template) to users as a "linked-clone", meaning that the users' image
>> still refers to the original image but modification are written (and
>> afterwards read) from a new location. This technique is called
>> Copy-on-write.
>> Can this be achieved with oVirt?
>>
>
> Hi,
> oVirt provides VM Pools:
> https://www.ovirt.org/documentation/admin-guide/chap-Pools.html
>
> but the VMs in pool are designed to be stateless and so, on that user
> case, the user specific data should stored on an external (not on the VM
> disk) storage area like an NFS or SMB/CIFS share mounted inside the VM at
> user login time.
>
> Probably you can achieve something closer to your initial idea relying on
> oVirt-CinderLib integration over a capable SAN or a Ceph storage.
>
> https://ovirt.org/develop/release-management/features/storage/cinderlib-integration.html
> Please be aware that in 4.3 cinder-lib integration is still a
> "tech-preview" grade feature and the design of the whole solution will
> probably require a relevant integration/configuration effort on your side
> to correctly achieve copy-on-write behaviour on storage side.
>
>
>
>>
>> Fabio
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/3XITFLEJDICOFY3KQTBHFASBF7KANJCV/
>>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/2KFQCPLGDL6NEBLVLMO6WG4KMXURNJEI/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MYHC5QM5IUESI5U2TDUQPXSFOEGDFGJT/