[ovirt-users] Hyperconverged setup ovirt 4.3.x using ansible?

2019-08-16 Thread adrianquintero
Hi,
I am trying to do a Hyperconverged setup using ansible.
So far I have been able to run a playbook to setup gluster but have not been 
able to identify how to install the Hosted-Engine VM  using ansible and tie all 
the pieces together.
Can someone point me in the right direction to deploy a hyperconverged  
environment using ansible?

I have succesfully deployed ovirt 4.3.5 (Hyperconverged) using the web UI.

thanks.
___
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/5MHEOITDNKEYPUPN2AI2J4GRAK3LZSKI/


[ovirt-users] Re: Adding VLANs to a single-host, self-hosted-engine oVirt deployment?

2019-08-16 Thread Vincent Royer
On Fri, Aug 16, 2019 at 11:12 AM Derek Atkins  wrote:

> Hi,
>
> On Fri, August 16, 2019 1:49 pm, Vincent Royer wrote:
> > Definitely upgrade to 4.3.5, do this first.  If you can afford to just
> > image it and start over, do that.
>
> Does 4.3 still support ovirt-shell?


> I cannot re-image, I need to upgrade.  That only means I need to do it in
> two steps, 4.1 -> 4.2 -> 4.3.
>
> > As long as your switch ports are configured correctly, adding vlans is
> > simple. I don't put anything in maintenance to do it.
>
> I have a bonded NIC (2x1Gbps); I presume I just need to tell the switch
> that this is a vlan trunk?
>

You just need to tag whatever VLANs you want to get through.


> > Just go to networks -> New
> >
> > [image: image.png]
> >
> > Check the "enable VLAN tagging" and enter your vlan.  You don't really
> > need
> > to change anything else.
>
> Do I need to edit ovirtmgmt and enable vlan tagging too?
>

What for?



> > [image: image.png]
> >
> > Now you have a logical network and a Vnic profile for this vlan:
> >
> > [image: image.png]
> >
> > [image: image.png]
> >
> >
> > Now you need to tell Ovirt what physical NIC you want this to operate on.
> > Go to your host and select "Setup Host Networks"
> >
> > Drag the new network onto the NIC or bond you want to use:
>
> So there's nothing special I need to set up on the host?  I just need to
> add the new virtual networks to the existing bond/interface?
>

That's how it works for me.


>
> >
> >
> > [image: image.png]
> >
> > [image: image.png]
> >
> >
> >
> > You can click the pencil and have this interface get an IP address if you
> > want, but, you don't need to - your vms will get IPs. So you can leave
> > this
> > all alone in here:
>
> This would be a host address on the VLAN?   If so, I agree -- I don't
> think most VLANs will need that.
>

I think maybe you need to if you want to be able to access the HE from that
vlan?  I've never needed to.


>
> > [image: image.png]
> >
> > Now when you are creating a VM, you can attach this Vnic profile.  You
> > could also add the Vnic to an existing VM.
> >
> > [image: image.png]
> >
> > And that's it.  If you have the VM configured to DHCP, and you have a
> dhcp
> > server listening on that Vlan, it will work.  If your VM doesn't get an
> > IP,
> > check your router's DHCP logs to see if it hears anything from the Mac
> > address of your VM's nic.  If you also have a DNS resolver that adds DHCP
> > entries, and your VM has a hostname configured in cloud-init, you'll even
> > be able to resolve the FQDN to your VM immediately.
>
> Yeah, pretty much all VMs are DHCP.
>

What I do is leave them on DHCP, that way they come "UP" right away.  Then
I can reserve their IP in the router.


> Thanks.  I'll try this out.  I still have at least 1-2 months before I can
> even entertain migrating, and it could be as long as 3-4 months.  So I
> have time to think and plan.
>
> > Hope this helps!
>
> Indeed.  Major open question right now is ovirt-shell ;)
>
> -derek
>
> --
>Derek Atkins 617-623-3745
>de...@ihtfp.com www.ihtfp.com
>Computer and Internet Security Consultant
>
>
___
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/WWK6ORSOXRM6MLKPF6CLMDZSS5HEESZV/


[ovirt-users] Re: Adding VLANs to a single-host, self-hosted-engine oVirt deployment?

2019-08-16 Thread Derek Atkins
Hi,

On Fri, August 16, 2019 1:49 pm, Vincent Royer wrote:
> Definitely upgrade to 4.3.5, do this first.  If you can afford to just
> image it and start over, do that.

Does 4.3 still support ovirt-shell?

I cannot re-image, I need to upgrade.  That only means I need to do it in
two steps, 4.1 -> 4.2 -> 4.3.

> As long as your switch ports are configured correctly, adding vlans is
> simple. I don't put anything in maintenance to do it.

I have a bonded NIC (2x1Gbps); I presume I just need to tell the switch
that this is a vlan trunk?

> Just go to networks -> New
>
> [image: image.png]
>
> Check the "enable VLAN tagging" and enter your vlan.  You don't really
> need
> to change anything else.

Do I need to edit ovirtmgmt and enable vlan tagging too?

> [image: image.png]
>
> Now you have a logical network and a Vnic profile for this vlan:
>
> [image: image.png]
>
> [image: image.png]
>
>
> Now you need to tell Ovirt what physical NIC you want this to operate on.
> Go to your host and select "Setup Host Networks"
>
> Drag the new network onto the NIC or bond you want to use:

So there's nothing special I need to set up on the host?  I just need to
add the new virtual networks to the existing bond/interface?

>
>
> [image: image.png]
>
> [image: image.png]
>
>
>
> You can click the pencil and have this interface get an IP address if you
> want, but, you don't need to - your vms will get IPs. So you can leave
> this
> all alone in here:

This would be a host address on the VLAN?   If so, I agree -- I don't
think most VLANs will need that.

> [image: image.png]
>
> Now when you are creating a VM, you can attach this Vnic profile.  You
> could also add the Vnic to an existing VM.
>
> [image: image.png]
>
> And that's it.  If you have the VM configured to DHCP, and you have a dhcp
> server listening on that Vlan, it will work.  If your VM doesn't get an
> IP,
> check your router's DHCP logs to see if it hears anything from the Mac
> address of your VM's nic.  If you also have a DNS resolver that adds DHCP
> entries, and your VM has a hostname configured in cloud-init, you'll even
> be able to resolve the FQDN to your VM immediately.

Yeah, pretty much all VMs are DHCP.

Thanks.  I'll try this out.  I still have at least 1-2 months before I can
even entertain migrating, and it could be as long as 3-4 months.  So I
have time to think and plan.

> Hope this helps!

Indeed.  Major open question right now is ovirt-shell ;)

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
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/F4MS7MKSFPZMUT7QLTT7LLNTS5FU5I4E/


[ovirt-users] Hosted Engine on seperate L2 network from nodes?

2019-08-16 Thread Dan Poltawski
For some security requirements, I’ve been asked if it’s possible to segregate 
the hosted engine from the physical nodes, with specific firewalling for access 
to do node/ storage operations (I’m using managed block storage).

Is this an approach others us, or is it better practice and just ensure the 
nodes and engine are all sharing the same network?

Thanks,

dan


The Networking People (TNP) Limited. Registered office: Network House, Caton 
Rd, Lancaster, LA1 3PE. Registered in England & Wales with company number: 
07667393

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. If you are not the intended recipient you are 
notified that disclosing, copying, distributing or taking any action in 
reliance on the contents of this information is strictly prohibited.
___
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/C4SAO7NAQGEA326YL4FRQQJHRO2NMFTK/


[ovirt-users] Re: Can't add a pre-existing (storage-only) gluster member as a compute-also node using self-hosted hyper-convergent engine

2019-08-16 Thread thomas
I did rebuild, but that didn't resolve the problem or answer the real question, 
moved to a new topic:
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/X3UBQT3ZKAX64TWKZQSBJ2ZUCPYNOXH7/
 
___
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/QCR6W35OSPXRDSEWVICXIFZD3AFDZ75R/


[ovirt-users] Re: ovn networking

2019-08-16 Thread Miguel Duarte de Mora Barroso
On Wed, Aug 14, 2019 at 9:09 AM Staniforth, Paul
 wrote:
>
> Hello
>
>   I the latest release of the engine 4.3.5.5-1.el7
>
> ovn-nbctl  show
>
> ovn-sbctl  show
>
>
> both seem to work but produce the errors
>
>
> net_mlx5: cannot load glue library: libibverbs.so.1: cannot open shared 
> object file: No such file or directory
> net_mlx5: cannot initialize PMD due to missing run-time dependency on 
> rdma-core libraries (libibverbs, libmlx5)
> PMD: net_mlx4: cannot load glue library: libibverbs.so.1: cannot open shared 
> object file: No such file or directory
> PMD: net_mlx4: cannot initialize PMD due to missing run-time dependency on 
> rdma-core libraries (libibverbs, libmlx4)
>
>
> should libibverbs be a dependency?

It shouldn't, since has no use in the engine node - other than
silencing those errors.

Which OVS / OVN version are you using ?

>
> Paul S.
> To view the terms under which this email is distributed, please go to:-
> http://leedsbeckett.ac.uk/disclaimer/email/
>
> ___
> 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/J4T4YFAVYOMASVV3ACCNVFGF3YSAT3N4/
___
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/U27MNWZB33G37D6QB3VUTF6XALUJ7SY5/


[ovirt-users] Adding VLANs to a single-host, self-hosted-engine oVirt deployment?

2019-08-16 Thread Derek Atkins
HI,

I've got a single oVirt host running a self-contained hosted-engine
deployment.  When I set it up I did not use VLANs in my network.  I am in
the process of moving my equipment, and in part of this move I would like
to introduce VLANs into my network infrastructure.  The documentation
seems to imply that to add virtual networks and/or VLANs to a host that I
need to put it into maintenance mode, configure it in the engine, and then
resync the network.  However, I don't think I can do that with a
single-host environment.  If I put the host into local maint mode, it will
try to offload all my VMs, including the engine, which obviously it cannot
do because there is no other host to migrate them to.
So what's the approach to add VLANs in this situation?

I should add that this system started at 4.0, and I'm still only running
4.1 (although I do plan to upgrade to 4.2 as part of this move).  I'm
hesitant to upgrade further because of the impending removal of SDK-3 -- I
am depending on a script that uses ovirt-shell which I keep being told is
going away.  If ovirt-shell is still in 4.3 then I might consider
upgrading to that as well.  :)

Thanks.

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
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/3KR6PJE2XHNISXCJXG3GNADXEHWHWEXI/


[ovirt-users] Hyperconverged on a self-made Gluster: Considered normal or 'way-off'?

2019-08-16 Thread thomas
I use three very low power target nodes (J5005 Intel Atoms, 24GB RAM, 250GB 
SSD) to experiment with hyperconverged oVirt, and some bigger machines to act 
as pure compute nodes, preferably CentOS based, potentially oVirt Node image 
based.

I've used both CentOS7 and oVirt Node image bases (all latest versions and 
patches) and typically I use either a single partition and xfs root file system 
to avoid partitioning the constricted space on CentOS or the recommended 
partition layout with the oVirt node images, which still consumes the single 
primary SSD /dev/sda.

In both cases I don't have another device or partition left for the three-node 
hyperconverged wizard's ansible scripts to play with.

And since I want to understand better what is going on under the hood in any 
case I tried to separate the Gluster setup and the hosted-engine setup.

Question: Is the impact of that decision perhaps far bigger than I imagined?

So I went with the alternative A Hosted-Engine wizard, where the storage was 
already provisioned and I had set up 2+1 Gluster storage using bricks right on 
the xfs, assuming I would achieve something very similar to what the three node 
wizard would simplify, except without the LVM/VDO layer all done with Ansible.

But I am running into all kinds of problems and what continues to irritate me 
is the note in the manuals, that clusters need to be either 'compute' or 
'storage' but cannot be both--yet that's the very point of hyperconvergence...

So basically I am wondering whether at this point there is a strict 
bifurifcation of oVirt between the hyperconverged variant and the 
'Hosted-Engine' on existing storage, without any middle ground. Or is it ok to 
do a two-phased approach, where you separate out the Gluster aspect and the 
Hosted-Engine *but with physical servers that are doing both storage and 
compute*?

Also, I am wondering about the 'Enable Virt Service' and 'Enable Gluster 
Service' tick boxes in the Cluster property pages: For my 'hosted engine' 
wizard generated Cluster 'gluster' was unticked, even if it did run on Gluster 
storage. And while ticking 'gluster' in addition had no visible effect, 
unticking either one of the two is now impossible. I could not find any 
documentation on the significance or effect of these boxes.

While the prepared three node replicated storage Gluster for the /engine was 
running on CentOS nodes, the Hosted-Engine VM was then created on additional 
oVirt Node hosts using that Gluster storage (trying to do the same on CentOS 
nodes always fails, separate topic), with the assumption that I could then push 
the hosted-engine VM back to the gluster storage nodes and get rid of the 
temporary compute-only host used for hosted engine setup.

I then tried to add the Gluster nodes as hosts (and hosted-engine backup 
nodes), that also failed. Whether it failed because they were CentOS based or 
because they were already used for storage (and there is this hidden 
exclusivity), I would like to have some clarity on.

So to repeat once again my main question:
Is the (one or three) node hyperconverged oVirt setup a completely different 
thing from the hosted-engine on Gluster?
Are you supposed to be able to add extra compute hosts, storage etc. to be 
managed by a three-node HC based hosted-engine?
Are you supposed to be able to expand the three-node HC also in terms of 
storage, if perhaps currently only in quorum-maintaining multiples?
Is oVirt currently actually strictly mandating 100% segregation between compute 
and storage unless you use the wholly contained single/triple HC setups?
___
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/X3UBQT3ZKAX64TWKZQSBJ2ZUCPYNOXH7/


[ovirt-users] Re: Disk Allocation policy changes after a snapshot

2019-08-16 Thread Kevin Doyle
Hi I agree with everyone about using preallocated disks for DB and that is the 
setup I have, the issue I am raising is that when you create a snapshot of a 
preallocated disk it changes to a sparse disk, because of this change in policy 
the VM crashes under heavy writes. I modified vdsm.conf and added 
[irs]
volume_utilization_percent = 25
volume_utilization_chunk_mb = 2048

This has cured the VM crashing under intense writes after I have created a 
snapshot. My setup is using iSCSI disks
___
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/R366AK3S7XOEICC7AKZAHOTOHOX5FGUV/


[ovirt-users] Re: failed import ova vm

2019-08-16 Thread Michal Skrivanek


> On 16 Aug 2019, at 09:28, David David  wrote:
> 
> hi
> 
> cant import vmware OVA
> 
> Engine: 4.3.5.5-1.el7
> OS Version: RHEL - 7 - 6.1810.2.el7.centos
> Kernel Version: 3.10.0 - 957.27.2.el7.x86_64
> KVM Version: 2.12.0 - 18.el7_6.7.1
> LIBVIRT Version: libvirt-4.5.0-10.el7_6.12
> VDSM Version: vdsm-4.30.24-1.el7
> 
> 
> WebUI -> Virtual Machines -> Import (select vmware OVA, select OVAs
> path, Load) - OK(details) - OK
> 
> vdsm.log, engine.log in attachment

it failed in the actual v2v job, you need to look there too.
In your case it’s in 
/var/log/vdsm/import/import-38f066c0-fb9b-4cae-8c65-086fee410381-20190816T030932.log

> ___
> 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/POB34JI3EYDMQUPF6X66PPATBB7S5PER/
___
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/C7MAIYPQKXB34G44EKC3FRGHRKX4JPHZ/