[ovirt-users] UPS with USB Support

2018-11-29 Thread florentl

Hi everybody,
I'm currently setting up an ovirt solution.
I have three servers with glusterfs. They run hosted engine.

I configured the power management of the node for using idrac agent (I 
have Dell servers).
The communication is ok but I don't really know if configuring power 
management is very usefull with only three servers.


My three servers are powered via an ups which have only one usb port. 
I'm wondering what is the best option to shutdown the datacenter in case 
of power failure.

I have read in previous posts that I have to write a script.

So I think I'm going to :
- install apcupsd on the node connected with the ups via usb
- configure apcupsd.conf to lanch a script and send a mail
- write a script to shutdown properly all the wm and to put the 
datacenter in maintenance mode


What do you think about this solution ?

Is there a better way to manage the vm's and datacenter's shutdown with 
the power management solution associated with ovirt host ?


Regards,
Florent
___
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/GYYU6N73FHMUFIXFR74IKOALS757Q2EC/


[ovirt-users] Gluster deployment - Arbiter volume - different disk size - volumes sizes

2018-09-12 Thread florentl

Hello,
I have one more question for the gluster deployment.
I have three servers with different disk sizes :
- server1 : 3 x SSD configured in raid 5 mode for a total capacity of 900 GB
- server2 : 6 x SSD configurerd in raid 6 mode for a total capacity of 
2,2 TB

- server3 : same as server2 (2,2TB)
Because my server1 has less capacity than the others I will use it as an 
arbiter volume (during the deployment I will declare it as the last host 
: host3).

Is-it correct ?

So I will create 4 volumes :
- engine : 50 GB type replicated without arbiter
- data : ??
- vmstore : ???
- iso : 15 GB replicated with arbiter volume

Can someone tell me what are the differences between data and vmstore 
volume ? In the earlier version there was only information about data 
volume and export volume. I found nothing about vmstore volume.


If the wmstore is, as its name suggests, the place where all vm files 
will be stored including vm disks images, I think I have to set most of 
the capacity for this volume.

So at the end my 4 volumes will be :
- engine : 50 GB type replicated without arbiter
- data : 500 TB replicated with arbiter volume
- vmstore : 1,5 TB replicated with arbiter volume
- iso : 15 GB replicated with arbiter volume

What do you think of this ?

Thanks,

Florent

___
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/S6Q7D734NCFDS3CU736ZI5SM3GSWKAUC/


[ovirt-users] Ovirt and gluster deployment - host name

2018-09-11 Thread florentl

Hello,
I want to deploy ovirt (hosted engine) and gluster on three servers. I 
have thought about a configuration but I'm not sure that it's the most 
suitable one.

All the servers have 2 ten gigabit Ethernet nic.
I read that, am besten,  I must dedicate one nic for the storage and 
another one for the system.

So I will have two netnork address space :
- for the system : 192.168.176.0/24 with a gateway configured
- for the storage : 10.255.255.0/24 without a gateway

Inside my hosts file on all the server I will have :
192.168.176.1 server1
192.168.176.2 server2
192.168.176.3 server3
10.255.255.1 gluster1
10.255.255.2 gluster2
10.255.255.3 gluster2

When I start the gluster deployment I will use gluster1, gluster2 and 
gluster3 name. And after the gluster deployment during  the 
hyperconverged setup I will use server1, server2 and server3 name.


May I have your opinion about this deployment  ?
Thanks in advance for the help.

Florent LORNE
___
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/YP3TTFJUICBEBDLZNMK6BNDTRWUSRHNC/


[ovirt-users] Re: User permission. All user can access (start, shutdown) all vm in User/VM portal

2018-07-10 Thread florentl

I tried to remove the UserRole permission but I failed.
There is this error message :
"Error while executing action : It's not allowed to remove system 
permissions assigned to built-in Everyone group".



Le 05/07/2018 à 15:52, p.stanifo...@leedsbeckett.ac.uk a écrit :
The system permissions are at the highest level so Everyone has UserRole 
for everything.

If you go into Configure then System Permissions you can remove the UserRole 
permission. The default permission for Everyone is UserProfileEditor.

Regards,
Paul S.
___
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/A6EQJHNVI6HQZUW7T7RRBGL56GQWA6P2/

___
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/5F6HGOCIRBBVXZAJOOGGAWXWY4DCRLT3/


[ovirt-users] Re: User permission. All user can access (start, shutdown) all vm in User/VM portal

2018-07-05 Thread florentl

Hi Paul,
The permission I gave to the user etudiant2 was only on an object, a VM.
But the Everyone permission (UserRole) is a system permission Inherited. 
I can't remove this permission on the VM that I don't want that 
etudiant2 will be able to access.

Regards,
Florent



Le 05/07/2018 à 11:39, Staniforth, Paul a écrit :

Hi Florent,
 are the permissions system or on a object 
(Datacenter,Cluster).

Regards,
  Paul S.

From: florentl 
Sent: 05 July 2018 09:29
To: users
Subject: [ovirt-users] User permission. All user can access (start, shutdown) 
all vm in User/VM portal

Hello,
There is something I don't understand in permissions.
I'm using Ovirt 4.2.3.5-1.
I created a user :

On the Administration Portal I gave him (etudiant2) the permission
UserVmManager on only one VM and nothing else. But when he logs in the
VM Portal he can view, start, stop all the VM.
I think it's because all users are member of the group Everyone and this
group has by default the UserRole. And in my config (the default/install
config) the UserRole can do Basic Operation an VM.
Moreover the UserRole is given to the group Everyone on all VM I
created, and I can't remove this permission (Remove button is greyed).
How can I make a VM "private", only visible by one user ?
   Thanks in advance,
Florent
___
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/DNLZESAC6XTJXMFNX4C2XULJTNRU2M5I/
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
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/DFB4GR4JKRUOD7HW4736LQVYGIO2LOPB/


[ovirt-users] User permission. All user can access (start, shutdown) all vm in User/VM portal

2018-07-05 Thread florentl

Hello,
There is something I don't understand in permissions.
I'm using Ovirt 4.2.3.5-1.
I created a user :
- ovirt-aaa-jdbc-tool user add etudiant2 --attribute=firstName=Etudiant2 
--attribute=lastName=Etudiant2-Lastname
- ovirt-aaa-jdbc-tool user password-reset etudiant2 
--password-valid-to="2025-01-01 10:30:00Z"
On the Administration Portal I gave him (etudiant2) the permission 
UserVmManager on only one VM and nothing else. But when he logs in the 
VM Portal he can view, start, stop all the VM.
I think it's because all users are member of the group Everyone and this 
group has by default the UserRole. And in my config (the default/install 
config) the UserRole can do Basic Operation an VM.
Moreover the UserRole is given to the group Everyone on all VM I 
created, and I can't remove this permission (Remove button is greyed).

How can I make a VM "private", only visible by one user ?
 Thanks in advance,
Florent
___
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/DNLZESAC6XTJXMFNX4C2XULJTNRU2M5I/


[ovirt-users] Re: Install hosted-engine - Task Get local VM IP failed

2018-06-07 Thread florentl
ed\': False, \'_ansible_no_log\': 
False}\ndir: [\'__class__\', \'__cmp__\', \'__contains__\', 
\'__delattr__\', \'__delitem__\', \'__doc__\', \'__eq__\', 
\'__format__\', \'__ge__\', \'__getattribute__\', \'__getitem__\', 
\'__gt__\', \'__hash__\', \'__init__\', \'__iter__\', \'__le__\', 
\'__len__\', \'__lt__\', \'__ne__\', \'__new__\', \'__reduce__\', 
\'__reduce_ex__\', \'__repr__\', \'__setattr__\', \'__setitem__\', 
\'__sizeof__\', \'__str__\', \'__subclasshook__\', \'clear\', \'copy\', 
\'fromkeys\', \'get\', \'has_key\', \'items\', \'iteritems\', 
\'iterkeys\', \'itervalues\', \'keys\', \'pop\', \'popitem\', 
\'setdefault\', \'update\', \'values\', \'viewitems\', \'viewkeys\', 
\'viewvalues\']\npprint: {\'_ansible_no_log\': False,\n \'changed\': 
False,\n \'msg\': u\'The system may not be provisioned according to the 
playbook results: please check the logs for the issue, fix accordingly 
or re-deploy from scratch.\\n\'}\n{\'msg\': u\'The system may not be 
provisioned according to the playbook results: please check the 
logs.__doc__: "dict() -> new empty dictionary\\ndict(mapping) -> new 
dictionary initialized from a mapping object\'s\\n    (key, value) 
pairs\\ndict(iterable) -> new dictionary initialized as if via:\\n    d 
= {}\\n    for k, v in iterable:\\n    d[k] = v\\ndict(**kwargs) -> 
new dictionary initialized with the name=value pairs\\n    in the 
keyword argument list.  For example:  dict(one=1, two=2)"\n{\'msg\': 
u\'The system may not be provisioned according to the playbook results: 
please check the logs.__hash__: None', 'ansible_host': u'localhost', 
'ansible_playbook': 
u'/usr/share/ovirt-hosted-engine-setup/ansible/bootstrap_local_vm.yml'}
2018-06-01 11:17:39,634+0200 DEBUG ansible on_any args 
 
kwargs ignore_errors:None
2018-06-01 11:17:39,637+0200 INFO ansible stats {'status': 'FAILED', 
'ansible_playbook_duration': 759.083283, 'ansible_result': u'type: \'dict\'>\nstr: {u\'localhost\': {\'unreachable\': 0, \'skipped\': 10, 
\'ok\': 58, \'changed\': 19, \'failures\': 2}}\nrepr: {u\'localhost\': 
{\'unreachable\': 0, \'skipped\': 10, \'ok\': 58, \'changed\': 19, 
\'failures\': 2}}\ndir: [\'__class__\', \'__cmp__\', \'__contains__\', 
\'__delattr__\', \'__delitem__\', \'__doc__\', \'__eq__\', 
\'__format__\', \'__ge__\', \'__getattribute__\', \'__getitem__\', 
\'__gt__\', \'__hash__\', \'__init__\', \'__iter__\', \'__le__\', 
\'__len__\', \'__lt__\', \'__ne__\', \'__new__\', \'__reduce__\', 
\'__reduce_ex__\', \'__repr__\', \'__setattr__\', \'__setitem__\', 
\'__sizeof__\', \'__str__\', \'__subclasshook__\', \'clear\', \'copy\', 
\'fromkeys\', \'get\', \'has_key\', \'items\', \'iteritems\', 
\'iterkeys\', \'itervalues\', \'keys\', \'pop\', \'popitem\', 
\'setdefault\', \'update\', \'values\', \'viewitems\', \'viewkeys\', 
\'viewvalues\']\npprint: {u\'localhost\': {\'changed\': 
19,\n    \'failures\': 2,\n    \'ok\': 
58,\n    \'skipped\': 10,\n \'unreachable\': 
0}}\n{u\'localhost\': {\'unreachable\': 0, \'skipped\': 10, \'ok\': 58, 
\'changed\': 19, \'failures\': 2}}.__doc__: "dict() -> new empty 
dictionary\\ndict(mapping) -> new dictionary initialized from a mapping 
object\'s\\n (key, value) pairs\\ndict(iterable) -> new dictionary 
initialized as if via:\\n    d = {}\\n    for k, v in 
iterable:\\n    d[k] = v\\ndict(**kwargs) -> new dictionary 
initialized with the name=value pairs\\n    in the keyword argument 
list.  For example:  dict(one=1, two=2)"\n{u\'localhost\': 
{\'unreachable\': 0, \'skipped\': 10, \'ok\': 58, \'changed\': 19, 
\'failures\': 2}}.__hash__: None', 'ansible_playbook': 
u'/usr/share/ovirt-hosted-engine-setup/ansible/bootstrap_local_vm.yml', 
'ansible_type': 'finish'}
2018-06-01 11:17:39,637+0200 DEBUG ansible on_any args 
 kwargs



Thanks,



Le 04/06/2018 à 14:20, Phillip Bailey a écrit :

Hi Florent,

Could you please provide the log for the stage in which the wizard is 
failing? Logs can be found in /var/log/ovirt-hosted-engine-setup.


Thanks!

-Phillip Bailey

On Fri, Jun 1, 2018 at 7:57 AM, florentl <mailto:florentl.i...@laposte.net>> wrote:


Hi all,
I try to install hosted-engine on node :
ovirt-node-ng-4.2.3-0.20180518.
Every times I get stuck on :
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50,
"changed": true, "cmd": "virsh -r net-dhcp-leases default | grep
-i 00:16:3e:6c:5a:91 | awk '{ print $5 }' | cut -f1 -d'/'",
"delta": "0:00:00.108872", "end": "2018-06-01 11:17:34.421769",
"rc": 0, "start": "2018-06-01 11:17:34.312897", "stderr": "",
"stderr_lines": [], "stdout": "", "stdout_lines": []}
I tried with static IP Address and with DHCP but both failed.

To be more specific,

[ovirt-users] Install hosted-engine - Task Get local VM IP failed

2018-06-01 Thread florentl

Hi all,
I try to install hosted-engine on node : ovirt-node-ng-4.2.3-0.20180518.
Every times I get stuck on :
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": 
true, "cmd": "virsh -r net-dhcp-leases default | grep -i 
00:16:3e:6c:5a:91 | awk '{ print $5 }' | cut -f1 -d'/'", "delta": 
"0:00:00.108872", "end": "2018-06-01 11:17:34.421769", "rc": 0, "start": 
"2018-06-01 11:17:34.312897", "stderr": "", "stderr_lines": [], 
"stdout": "", "stdout_lines": []}

I tried with static IP Address and with DHCP but both failed.

To be more specific, I installed three nodes, deployed glusterfs with 
the wizard. I'm in a nested virtualization environment for this lab 
(Vmware Esxi Hypervisor).
My node IP is : 192.168.176.40 / and I want the hosted-engine vm has 
192.168.176.43.


Thanks,
Florent
___
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/F3BNUQ2T434EASIX56F7KQQJVF7OCDUM/