Re: [ovirt-users] Good practices

2017-08-06 Thread Yaniv Kaul
On Sun, Aug 6, 2017 at 5:49 PM, Moacir Ferreira 
wrote:

> I am willing to assemble a oVirt "pod", made of 3 servers, each with 2 CPU
> sockets of 12 cores, 256GB RAM, 7 HDD 10K, 1 SSD. The idea is to use
> GlusterFS to provide HA for the VMs. The 3 servers have a dual 40Gb NIC and
> a dual 10Gb NIC. So my intention is to create a loop like a server triangle
> using the 40Gb NICs for virtualization files (VMs .qcow2) access and to
> move VMs around the pod (east /west traffic) while using the 10Gb
> interfaces for giving services to the outside world (north/south traffic).
>

Very nice gear. How are you planning the network exactly? Without a switch,
back-to-back? (sounds OK to me, just wanted to ensure this is what the
'dual' is used for). However, I'm unsure if you have the correct balance
between the interface speeds (40g) and the disks (too many HDDs?).


>
> This said, my first question is: How should I deploy GlusterFS in such
> oVirt scenario? My questions are:
>
>
> 1 - Should I create 3 RAID (i.e.: RAID 5), one on each oVirt node, and
> then create a GlusterFS using them?
>
I would assume RAID 1 for the operating system (you don't want a single
point of failure there?) and the rest JBODs. The SSD will be used for
caching, I reckon? (I personally would add more SSDs instead of HDDs, but
it does depend on the disk sizes and your space requirements.


> 2 - Instead, should I create a JBOD array made of all server's disks?
>
> 3 - What is the best Gluster configuration to provide for HA while not
> consuming too much disk space?
>

Replica 2 + Arbiter sounds good to me.


> 4 - Does a oVirt hypervisor pod like I am planning to build, and the
> virtualization environment, benefits from tiering when using a SSD disk?
> And yes, will Gluster do it by default or I have to configure it to do so?
>

Yes, I believe using lvmcache is the best way to go.

>
> At the bottom line, what is the good practice for using GlusterFS in small
> pods for enterprises?
>

Don't forget jumbo frames. libgfapi (coming hopefully in 4.1.5). Sharding
(enabled out of the box if you use a hyper-converged setup via gdeploy).
Y.


>
> You opinion/feedback will be really appreciated!
>
> Moacir
>
> ___
> 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] [ANN] oVirt 4.1.5 Second Release Candidate is now available

2017-08-06 Thread Sandro Bonazzola
2017-08-05 1:11 GMT+02:00 Gianluca Cecchi :

> On Fri, Aug 4, 2017 at 5:42 PM, Sandro Bonazzola 
> wrote:
>
>> The oVirt Project is pleased to announce the availability of the Second
>> Release Candidate of oVirt 4.1.5 for testing, as of August 4th, 2017
>>
>>
> Was the first 4.1.5 RC a secret ;-) or did I miss the announcement?
>

Not a secret and not missed the announcement. We ended up with releasing
4.1.4 GA a bit later than expected to ensure it works on RHEL 7.4, so it
ended up overlapping with 4.1.5 RC1 release.
By the time we were ready to release 4.1.5 RC1, RC2 was already built so we
just skipped RC1 announce and gone with RC2.
We could have announced the RC2 as RC1 having skipped the announce but we
preferred to keep versioning aligned with what has been built.
Sorry for the confusion.


>
> An happy weekend to all the list
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA 

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


Re: [ovirt-users] Good practices

2017-08-06 Thread Colin Coe
1) RAID5 may be a performance hit

2) I'd be inclined to do this as JBOD by creating a distributed disperse
volume on each server.  Something like

echo gluster volume create dispersevol disperse-data 5 redundancy 2 \
$(for SERVER in a b c; do for BRICK in $(seq 1 5); do echo -e
"server${SERVER}:/brick/brick-${SERVER}${BRICK}/brick \c"; done; done)

3) I think the above

4) Gluster does support tiering, but IIRC you'd need the same number of SSD
as spindle drives.  There may be another way to use the SSD as a fast
cache.

Where are you putting the OS?

Hope I understood the question...

Thanks

On Sun, Aug 6, 2017 at 10:49 PM, Moacir Ferreira  wrote:

> I am willing to assemble a oVirt "pod", made of 3 servers, each with 2 CPU
> sockets of 12 cores, 256GB RAM, 7 HDD 10K, 1 SSD. The idea is to use
> GlusterFS to provide HA for the VMs. The 3 servers have a dual 40Gb NIC and
> a dual 10Gb NIC. So my intention is to create a loop like a server triangle
> using the 40Gb NICs for virtualization files (VMs .qcow2) access and to
> move VMs around the pod (east /west traffic) while using the 10Gb
> interfaces for giving services to the outside world (north/south traffic).
>
>
> This said, my first question is: How should I deploy GlusterFS in such
> oVirt scenario? My questions are:
>
>
> 1 - Should I create 3 RAID (i.e.: RAID 5), one on each oVirt node, and
> then create a GlusterFS using them?
>
> 2 - Instead, should I create a JBOD array made of all server's disks?
>
> 3 - What is the best Gluster configuration to provide for HA while not
> consuming too much disk space?
>
> 4 - Does a oVirt hypervisor pod like I am planning to build, and the
> virtualization environment, benefits from tiering when using a SSD disk?
> And yes, will Gluster do it by default or I have to configure it to do so?
>
>
> At the bottom line, what is the good practice for using GlusterFS in small
> pods for enterprises?
>
>
> You opinion/feedback will be really appreciated!
>
> Moacir
>
> ___
> 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] Good practices

2017-08-06 Thread Moacir Ferreira
I am willing to assemble a oVirt "pod", made of 3 servers, each with 2 CPU 
sockets of 12 cores, 256GB RAM, 7 HDD 10K, 1 SSD. The idea is to use GlusterFS 
to provide HA for the VMs. The 3 servers have a dual 40Gb NIC and a dual 10Gb 
NIC. So my intention is to create a loop like a server triangle using the 40Gb 
NICs for virtualization files (VMs .qcow2) access and to move VMs around the 
pod (east /west traffic) while using the 10Gb interfaces for giving services to 
the outside world (north/south traffic).


This said, my first question is: How should I deploy GlusterFS in such oVirt 
scenario? My questions are:


1 - Should I create 3 RAID (i.e.: RAID 5), one on each oVirt node, and then 
create a GlusterFS using them?

2 - Instead, should I create a JBOD array made of all server's disks?

3 - What is the best Gluster configuration to provide for HA while not 
consuming too much disk space?

4 - Does a oVirt hypervisor pod like I am planning to build, and the 
virtualization environment, benefits from tiering when using a SSD disk? And 
yes, will Gluster do it by default or I have to configure it to do so?


At the bottom line, what is the good practice for using GlusterFS in small pods 
for enterprises?


You opinion/feedback will be really appreciated!

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


Re: [ovirt-users] ovirt 4.1 : Can't install guest tools for Zentyal 5.0 (based on ubuntu 16.04 xenial)

2017-08-06 Thread Tomáš Golembiovský
Hi,

I just tried that with development version of Zentyal and it works for
me. Well, there are some caveats, see below.


On Fri, 4 Aug 2017 09:31:22 -0400
Wesley Stewart  wrote:

> Just wanted to add my input.  I just recently noticed the same thing.
> Luckily i was just testing Zentyal, but when I installed python-apt after
> reading the error message, apt seemed to completely break.  I would be
> curious on a workaround/fix for this as well.

Could you be more specific? What was the problem? Was it problem with
python-apt per-se or with ovirt-guest-agent using python-apt?


> 
> 
> On Fri, Aug 4, 2017 at 9:28 AM, yayo (j)  wrote:
> 
> > Hi all,
> >
> > I have this problem: I'm tring to install the guest tools following this
> > guide: https://www.ovirt.org/documentation/how-to/guest-
> > agent/install-the-guest-agent-in-ubuntu/#for-ubuntu-1604

I've noticed that the ovirt-guest-agent package available in the
repository mentioned on the oVirt site is missing dependency on
qemu-guest-agent. You have to install it additionally for oVirt to work
properly.

If you, however, instal the ovirt-guest-agent from official Ubuntu
repository there is different issue. There is this unresolved bug:

https://bugs.launchpad.net/ubuntu/+source/ovirt-guest-agent/+bug/1609130

You have to fix permissions on /var/log/ovirt-guest-agent as mentioned
in the bug report.


> >
> > This is the sources:
> >
> > deb http://it.archive.ubuntu.com/ubuntu/ xenial main restricted
> > deb http://it.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
> > deb http://it.archive.ubuntu.com/ubuntu/ xenial universe
> > deb http://it.archive.ubuntu.com/ubuntu/ xenial-updates universe
> > deb http://it.archive.ubuntu.com/ubuntu/ xenial multiverse
> > deb http://it.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
> > deb http://it.archive.ubuntu.com/ubuntu/ xenial-backports main restricted
> > universe multiverse
> >
> > deb http://archive.zentyal.org/zentyal 5.0 main extra
> >
> > deb http://security.ubuntu.com/ubuntu xenial-security main restricted
> > deb http://security.ubuntu.com/ubuntu xenial-security universe
> > deb http://security.ubuntu.com/ubuntu xenial-security multiverse
> >
> >
> > But when I try to install, I have this error:
> >
> >
> > root@vmdczen01:~# apt-get install ovirt-guest-agent
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Some packages could not be installed. This may mean that you have
> > requested an impossible situation or if you are using the unstable
> > distribution that some required packages have not yet been created
> > or been moved out of Incoming.
> > The following information may help to resolve the situation:
> >
> > The following packages have unmet dependencies:
> >  ovirt-guest-agent : Depends: python-apt but it is not going to be
> > installed
> > E: Unable to correct problems, you have held broken packages.
> >
> >
> > I've found that python-apt is in "main" repo:
> >
> >
> > https://packages.ubuntu.com/xenial/amd64/python-apt/download
> >
> >
> > So, what's the problem?

Did you run 'apt-get update' to synchronize the repository content?


Tomas

> >
> >
> > Can you help me?
> > Thank you
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> >  


-- 
Tomáš Golembiovský 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot set a quota to limit resources for each user

2017-08-06 Thread Yanir Quinn
Hi,
to get a reference for users and roles for a specific quota you can use:

.../ovirt-engine/api/datacenters/{datacenter: id}/quotas/{quota:
id}/permissions


for example:

GET
http://localhost:8080/ovirt-engine/api/datacenters/59746a95-0352-0329-02fd-026f/quotas/a86e8efd-7650-412d-8e3d-5d9729e891d6/permissions

result:






 



 



 
 

Regards,
Yanir Quinn






On Fri, Aug 4, 2017 at 1:01 PM, Staniforth, Paul <
p.stanifo...@leedsbeckett.ac.uk> wrote:

> Hi Soumya,
> You can copy  quotas, what I can't figure out is how
> to set a consumer from the API.
>
> In table 7.263 Attributes Summary at
> https://access.redhat.com/documentation/en-us/red_hat_
> virtualization/4.1/html/rest_api_guide/types#types-quota
>
> it show a users attribute but I only get
>
>  id="7e3f074f-9911-40b8-a8ed-a52f7e933fff">
> testcli
>  rel="permissions"/>
>  rel="quotastoragelimits"/>
>  rel="quotaclusterlimits"/>
> 20
> 80
>  href="/ovirt-engine/api/datacenters/0001-0001-0001-0001-012f"
> id="0001-0001-0001-0001-012f"/>
> 20
> 80
> 
>
> Regards,
>Paul S.
>
> 
> From: users-boun...@ovirt.org  on behalf of
> Soumya Koduri 
> Sent: 03 August 2017 15:16
> To: Artyom Lukianov
> Cc: users
> Subject: Re: [ovirt-users] Cannot set a quota to limit resources for each
>  user
>
> Hi Artyom,
>
> On 08/03/2017 04:07 PM, Artyom Lukianov wrote:
> > Hi Soumya,
> >
> >  1. Yes, you correct a quota is shared among all quota consumers.
> >  2. No, it not possible, the single possibility as you said is to create
> > a separate quota for each user. I believe it was designed to make
> > quota for group of users at first place, but I think it can be a
> > good RFE :)
>
> Thanks for confirming. I shall file a RFE then.
>
> Regards,
> Soumya
>
> >
> > Best Regards
> >
> > On Thu, Aug 3, 2017 at 10:54 AM, Soumya Koduri  > > wrote:
> >
> > Hi,
> >
> > We have a use-case to limit VM resources for each user and were
> > following guidelines specified in the admin guide to set quota and
> > limit resources for each user [section:  16.8. Using Quota to Limit
> > Resources by User]. However looks like that quota is shared by all
> > the users added as consumers.
> >
> > Suppose I have created a quota (say quota1) to limit the storage
> > capacity to 100GB for each user. Once I add user1 and user2 as
> > consumers to that quota, seems like both users combined are entitled
> > to 100GB. Is my understanding correct?
> >
> > Please let me know if there is any way to configure a single quota
> > which could be applied for each user individually (i.e, in the above
> > eg., each user should be limited to 100GB storage capacity).
> >
> > Or is the only way this can be done is by creating separate quota
> > for each user [which seems like tedious process and cannot scale]?
> >
> >
> > Thanks,
> > Soumya
> > ___
> > 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
> To view the terms under which this email is distributed, please go to:-
> http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
> ___
> 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] Created cluster, deleted Data-Center, Recreated Data-Center, Attempted to re-create Cluster (Same Name As Old Cluster), Now Fails

2017-08-06 Thread Fred Rolland
Hi,

When you delete the Data Center, the Clusters are not deleted.
You can delete the Cluster from the UI. Select the "System" icon on the
left tree, and select the "Cluster" tab.
You cluster should be there, and you can select it and delete.

Regards,

Freddy

On Sun, Aug 6, 2017 at 7:46 AM, Schorschi  wrote:

> Created cluster object, deleted Data-Center object, Recreated Data-Center
> object, Attempted to re-create Cluster object (Same Name As Old Cluster),
> Now Fails.
>
> Error message...
> Error while executing action: Cannot create Cluster. Cluster name is
> already in use.
>
> How to I remove existing cluster entry in ovirt database?
>
> Thanks.
>
> ___
> 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