[ovirt-users] Re: Obtain dynamic inventory onto local machine using ovirt4.py for self-hosted engine

2018-05-23 Thread Moran Goldboim
On Wed, May 23, 2018 at 12:10 PM, 03CE 007 <03ce...@gmail.com> wrote:

> Hello Ondra,
> you're correct, there was much accept removing 'connection: local' line
> from ovirt ansible roles.
>
> however, the example playbook to deploy new vm fails at template option
> and it complains that i don't have rhel7 template. Doesn't this come
> bundled with hosted-engine and is available after deployment?
>
> Do i need to create/install new template?
>

sounds like indeed you are missing this template in your system.
take a look at
https://github.com/oVirt/ovirt-ansible-image-template/blob/master/README.md
for automatically creating a template from a web srource.


>
>
>
> On 23 May 2018 at 06:50, Ondra Machacek  wrote:
>
>> On 05/22/2018 06:44 PM, 03ce...@gmail.com wrote:
>>
>>> I have successfully deployed self-hosted-engine (4.2) on centos (7.4)
>>> server.
>>>
>>> the server address is ovirt where the self-hosted engine running on it
>>> has fdqn as engine.ovirt. I  have ovirt,ini configured on server acan run
>>> the ovirt4.py from the server to obtain the vms in groups. But I want to
>>> control the vms using ansible from my macbook and run ansible playbooks
>>> locally.
>>>
>>> so I have downloaded the ovirt.ini and ovirt4.py from server and tried
>>> running it, but had no success.
>>>
>>> Is there something special needs setting up for
>>> 'self-hosted-ovirt-engine' as oppose to vanilla ovirt-engine which will
>>> allow me to control vms from my macbook?
>>>
>>
>> You don't need to do anything special.
>> What's the error you get?
>>
>>
>>
>>> thanks.
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>>
>>>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Gluster quorum

2018-05-23 Thread Demeter Tibor
Hi, 

I've updated again to the latest version, but there are no changes. All of 
bricks on my first node are down in the GUI (in console are ok) 
An Interesting thing, the "Self-Heal info" column show "OK" for all hosts and 
all bricks, but "Space used" column is zero for all hosts/bricks. 
Can I force remove and re-add my host to cluster awhile it is a gluster member? 
Is it safe ? 
What can I do? 

I haven't update other hosts while gluster not working fine, or the GUI does 
not detect . So my other hosts is remained 4.1 yet :( 

Thanks in advance, 

Regards 

Tibor 

- 2018. máj.. 23., 14:45, Denis Chapligin  írta: 

> Hello!

> On Tue, May 22, 2018 at 11:10 AM, Demeter Tibor < [ 
> mailto:tdeme...@itsmart.hu |
> tdeme...@itsmart.hu ] > wrote:

>> Is there any changes with this bug?

>> Still I haven't finish my upgrade process that i've started on 9th may:(

>> Please help me if you can.

> Looks like all required patches are already merged, so could you please to
> update your engine again to the latest night build?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] oVirt upgrade node from 4.1.9 to 4.2.3

2018-05-23 Thread rcasebier
My engine is upgraded and running 4.2.3. I am testing out upgrading my first 
local storage node. I installed the 4.2 release repo and ran a yum update. I 
had to manually install the following packages form CentOS (yum install udisks2 
lshw iotop libvirt-daemon-config-network virt-install python-prettytable) for 
some reason these dependencies did not exist in the oVirt repo's. I was able to 
run yum update after fixing this issue and my host was installed with 4.2.3. 
After a reboot, it failed to boot, the host failed to start the login service 
and the authorization manager. Has anyone run into this issue? 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: oVirt: single host install

2018-05-23 Thread Justin Zygmont
> This is true -- I have to bring everything down when I want to upgrade the 
> system, especially the host itself.  So I don't upgrade as often as I might 
> if I had multiple hosts where I could migrate.
>
> How can you do it without a second host and importing with a temporary 
> storage domain?

>I just shut everything down.  So long as it's planned my users can >handle a 
>30-60 minute outage.  And this is only when I update the >host.
>I can update the Engine on its own, and often will update my VMs 
>>simultaneously to minimize downtime.  But I'm okay with some >downtime.

I see, so you just did an in place update of engine I guess, what if you want 
to update the node as well, and install a new HE?  You'd lose the locally 
stored NFS domains.  Or what if the engine update stuffs up, there'd be no way 
to access the admin portal right?

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Using remote viewer outside lan

2018-05-23 Thread Derek Atkins
Hi,

Aziz  writes:

> Hi all,
>
> I am able to access my VMs from LAN using remote Viewer, however this is not
> working from outside LAN, my setup is as follow: 
>
> 1. Controller in a separate HW machine
> 2. Host in a server 
>
> When checking the console.vv file, I see that it includes the local IP address
> of the host + port 5900. Is there a way to force ovirt to generate a
> console.vv file with public IP port when the user tries to connect from
> Internet and another file with lan IP when the user tries to connect from LAN.
>
> Any hint on how to set this feature up ?

I don't think you can set up a different IP based on the connection
source. What I would recommend is setting up a web proxy on your ovirt
host and then tell it to always use the proxy.  Specifically, always use
the public IP address.

Of course, this assumes you can reach the public IP from inside your
network.  If you can't, then you might have a bigger issue.

> Best regards

-derek
-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   warl...@mit.eduPGP key available
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: oVirt: single host install

2018-05-23 Thread Derek Atkins
Hi,

Justin Zygmont  writes:

> -Original Message-
> From: Derek Atkins [mailto:warl...@mit.edu] 
> Sent: Monday, May 21, 2018 8:33 AM
> To: Simone Tiraboschi 
> Cc: users ; ov...@fateknollogee.com
> Subject: [ovirt-users] Re: oVirt: single host install
>
> Hi,
>
> Simone Tiraboschi  writes:
>
>> On Mon, May 21, 2018 at 7:49 AM,  wrote:
>>
>> Use case: small sites with a minimum number of vm's.
>>
>> Is there such a thing as a single host install?
>>
>> In the past we had the all-in-one mode but we deprecated it.
>> Now the suggested mode is hosted-engine since you could expand it 
>> adding other hosts in the future.
>>  
>
> Sounds like "local storage" is useless then?

IMHO, yes.  When I installed (4.0) you could not use it for
hosted-engine storage.  Don't know if that changed, but what's the point
of using different storage methods?  I already had to set up a local NFS
(pr theoretically Gluster) for HE -- so might as well re-use that for my
main storage too!

> I am running in this configuration and have had little problem.  I migrated 
> from an old vmware-server platform, and, modulo a few hiccups along the way 
> and a few false starts as I was installing ovirt, it's been pretty stable for 
> me!
>
> Did you use NFS for all storage domains?  

Yes.

Both HE and Main Data storage domains are backed by SSD.
My ISO domain is backed by spinning rust.

>> Is it valid for production use?
>>
>> With a single host the upgrades will become more intrusive: without 
>> the capability to migrate your VMs on other hosts at upgrade time, you 
>> will be required to bring down everything.
>>  
>
> This is true -- I have to bring everything down when I want to upgrade the 
> system, especially the host itself.  So I don't upgrade as often as I might 
> if I had multiple hosts where I could migrate.
>
> How can you do it without a second host and importing with a temporary 
> storage domain?

I just shut everything down.  So long as it's planned my users can
handle a 30-60 minute outage.  And this is only when I update the host.
I can update the Engine on its own, and often will update my VMs
simultaneously to minimize downtime.  But I'm okay with some downtime.

-derek

PS: I don't know what mailer you used, but I had a very hard time
differentiating your responses from mine.  Hopefully I did not miss one
of your questions.
-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   warl...@mit.eduPGP key available
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: CVE-2018-3639 - Important - oVirt - Speculative Store Bypass

2018-05-23 Thread WK



On 5/23/2018 7:57 AM, Sandro Bonazzola wrote:



Please note that to fully mitigate this vulnerability, system 
administrators must apply both hardware “microcode” updates and 
software patches that enable new functionality.
At this time, microprocessor microcode will be delivered by the 
individual manufacturers.





Intel has been promising microcode updates since January when Spectre 
first appeared and yet except for the very newest CPUs we haven't seen 
anything and in the cases of older CPUs, I wonder if we are ever going 
to see anything even if Intel has is on their "roadmap"


Can someone shed some light on the vulnerability at this time given we 
have no microcode update, but all Kernel/Os updates applied, which 
supposedly handle the original Meltdown and some Spectre Variants.


1) Does the unpatched microcode exploit require "root" permissions?

2) Do the existing libvirt/qemu patches prevent a user "root" or 
"otherwise" in a VM from snooping on other VMs and/or the host?


Sincerely,

-wk

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Second host deployment fails on self-hosted-engine

2018-05-23 Thread Simone Tiraboschi
On Wed, May 23, 2018 at 4:39 PM, <03ce...@gmail.com> wrote:

> I have self-hosted-engine (4.2) deployed successfully on cento (7.4)
> server.
>
> The physical server has 'ovirt' as hostname and the self-hosted engineVM
> deployed and running on it has 'engine.ovirt' as fdqn.
>
> I want to deploy another host on engineVM and I am using pre-baked
> oVirt.Infra role example playbook that has two host defined. But when I run
> it against the engineVM it fails with 'Connecting to host via SSH has
> failed' error. Below is the snippet from engine.log
>
> Failed to establish session with host 'host2': SSH connection timed out
> connecting to 'root@1.2.3.6'
> Validation of action 'AddVds' failed for user admin@internal-authz.
> Reasons: VAR__ACTION__ADD,VAR__TYPE__HOST,$server
> 1.2.3.6,VDS_CANNOT_CONNECT_TO_SERVER
>

Is the engine VM correctly able to resolve 'host2' address? does 1.2.3.6
make sense?


>
> I thought, the example playbook should run and deploy two hosts on already
> deployed engineVM. Do i need to update the example playbook?
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: ovirt and gluster disk config

2018-05-23 Thread Karli Sjöberg
Den 23 maj 2018 16:05 skrev William Dossett :Hi Jayme, thanks for the info… yes I’ve been googling and googling… I run a few VMware VSANs at the moment so HCI is my specialty … even one in my basement   going to upgrade that to all flash soon as the 2TB disks are getting cheaper! A question more to the Red Hatters here, don't you have reference architecture for HCI?/K  I tried doing this a couple of years back as my post says but it was pretty much undoable then.  I guess I am going to go h/w raid to start and see how that is.  I haven’t got the money to put SSD in the 720s, but I do have 10Gb networking so hoping that will help on speed…  anyway, it’s a PoC so I am sure I will building and rebuilding a few times and trying to remember what I know of GlusterFS. RegardsBill   From: Jayme [mailto:jay...@gmail.com] Sent: Wednesday, May 23, 2018 6:25 AMTo: william.doss...@gmail.comCc: users Subject: Re: [ovirt-users] ovirt and gluster disk config Unfortunately there is not a lot of info out there about ideal hardware configs for hyperconverged oVirt (at least not that I have found to date, and believe me I've looked).  If you have enough drives and especially if they are spinning disks as far as I know your best option would likely be to do a RAID-10 config to make up a single glusterfs brick on each physical server.  Raid-10 will add some performance benefits and also give you some options to replace failed disks without bringing the brick offline.  The downfall is that you waste a ton of usable space with Raid + gluster because each offer redundancy.   I'm about to build a 3 node hyperconverted oVirt setup on Dell R720s myself, but I'm planning on using two 2Tb SSDs in JBOD configuration per host w/ a gluster replica 3.  I've gone back and forth on using JBOD or Raid config with SSDs and never did get a clear answer (online or asking on this mailing list).  SSDs are too expensive right now to lose half usable space to raid then another half or more to gluster replication.  On Tue, May 22, 2018 at 7:17 PM,  wrote:Hey,  been a few years since I looked at ovirt.   3 years probably and at the time I was looking for compute and storage all in one -and was advised not to basically.  So Hyperconvergence  is now a thing and want to try it out.  I was looking at the blog - up and running with ovirt 4.1, but it seems that is mostly for a lab setup.  I've got some real hardware I am going to try this out on as a PoC, 5 Dell R720s with 12 TB raw storage in each.  Just wondered if there was a guide to the hardware setup of my storage that I am missing?  Should I configure the storage as hardware RAID before I start installing the Nodes?  I did setup glusterfs cluster 3 years ago as well but memory fails me on how I had the RAID controller setup if at all.Thanks___Users mailing list -- users@ovirt.orgTo unsubscribe send an email to users-le...@ovirt.org ___Users mailing list -- users@ovirt.orgTo unsubscribe send an email to users-le...@ovirt.org___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] CVE-2018-3639 - Important - oVirt - Speculative Store Bypass

2018-05-23 Thread Sandro Bonazzola
As you may have already heard, an industry-wide issue was found in the way
many modern microprocessor designs have implemented speculative execution
of Load & Store instructions.
This issue is well described by CVE-2018-3639 announce available at
https://access.redhat.com/security/cve/cve-2018-3639.

oVirt team has released right now an update of ovirt-engine to version
4.2.3.7 which add support for SSBD CPUs in order to mitigate the security
issue.

If you are running oVirt on Red Hat Enterprise Linux, please apply updates
described in https://access.redhat.com/security/cve/cve-2018-3639.

If you are running oVirt on CentOS Linux please apply updated described by:
CESA-2018:1629 Important CentOS 7 kernel Security Update

CESA-2018:1632 Important CentOS 7 libvirt Security Update

CESA-2018:1649 Important CentOS 7 java-1.8.0-openjdk Security Update

CESA-2018:1648 Important CentOS 7 java-1.7.0-openjdk Security Update


An update for qemu-kvm-ev has been also tagged for release and announced
with
CESA-2018:1655 Important: qemu-kvm-ev security update

but due to some issues in CentOS release process for Virt SIG content, it
is not yet available on mirrors.
We are working with CentOS community to get the packages signed and
published as soon as possible.
In the meanwhile you can still get the update package by enabling the test
repository https://buildlogs.centos.org/centos/7/virt/x86_64/kvm-common/ on
your systems or manually installing the package from the repository.

If you're running oVirt on a different Linux distribution, please check
with your vendor for available updates.

Please note that to fully mitigate this vulnerability, system
administrators must apply both hardware “microcode” updates and software
patches that enable new functionality.
At this time, microprocessor microcode will be delivered by the individual
manufacturers.

The oVirt team recommends end users and systems administrator to apply any
available updates as soon as practical.

Thanks,
-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

sbona...@redhat.com


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Hosted Engine Setup Erro

2018-05-23 Thread Simone Tiraboschi
On Wed, May 23, 2018 at 3:24 PM, Sakhi Hadebe  wrote:

> Hi,
>
> I am new to ansible and tring to deploy an ovrt cluster with gluster. I am
> following this documentation https://www.ovirt.org/blog/2018/02/up-and-
> running-with-ovirt-4-2-and-gluster-storage/, although the screenshots are
> not exactly the same. Gluster successfully deployed.
>
> Below  is what is insatlled on my OvirtNodes:
> 1. ansible --version
> ansible 2.5.3
>   config file = /etc/ansible/ansible.cfg
>
> ​2. ​glusterfs 3.12.9
>
> 3. oVirtNode 4.2.3
>
> 4. CentOS Linux release 7.4.1708 (Core)
>
> During the hosted engine setup it throws the ERROR below:
>
> [ INFO  ] TASK [Prepare CIDR for "virbr0"]
> [ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task includes an
> option with an undefined variable. The error was: 'dict object' has no
> attribute 'ipv4'\n\nThe error appears to have been in
> '/usr/share/ovirt-hosted-engine-setup/ansible/bootstrap_local_vm.yml':
> line 50, column 7, but may\nbe elsewhere in the file depending on the exact
> syntax problem.\n\nThe offending line appears to be:\n\n  tags: [
> 'skip_ansible_lint' ]\n- name: Prepare CIDR for \"{{ virbr_default
> }}\"\n  ^ here\nWe could be wrong, but this one looks like it might be
> an issue with\nmissing quotes.  Always quote template expression brackets
> when they\nstart a value. For instance:\n\nwith_items:\n  - {{ foo
> }}\n\nShould be written as:\n\nwith_items:\n  - \"{{ foo }}\"\n"}
> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
> ansible-playbook
>

> I have tried to use quotes on line 50 in the bootstrap_local_vm.yml file,
> it didn't work.
>
> Please help, I have been stuck on this almost the whole day.
>


It seams that your host failed getting an address on the libvirt default
natted network.
can you please share the output of
  ip a
?


>
>
>
> --
> Regards,
> Sakhi Hadebe
>
> Engineer: South African National Research Network (SANReN)Competency Area, 
> Meraka, CSIR
>
> Tel:   +27 12 841 2308 <+27128414213>
> Fax:   +27 12 841 4223 <+27128414223>
> Cell:  +27 71 331 9622 <+27823034657>
> Email: sa...@sanren.ac.za 
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] SSH into guest VM

2018-05-23 Thread 03ce007
I have self-hosted-engine (4.2) deployed successfully on cento (7.4) server. 

The physical server has 'ovirt' as hostname and the self-hosted engineVM 
deployed
and running on it has 'engine.ovirt' as fdqn.

I can successfully create new VM using the oVirt.vm-infra example playbook. But 
what other config/var i need to add in them so that I can ssh into this new VM. 
Some example, tips, hints would be helpful.

Thank you.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Second host deployment fails on self-hosted-engine

2018-05-23 Thread 03ce007
I have self-hosted-engine (4.2) deployed successfully on cento (7.4) server. 

The physical server has 'ovirt' as hostname and the self-hosted engineVM 
deployed and running on it has 'engine.ovirt' as fdqn.

I want to deploy another host on engineVM and I am using pre-baked oVirt.Infra 
role example playbook that has two host defined. But when I run it against the 
engineVM it fails with 'Connecting to host via SSH has failed' error. Below is 
the snippet from engine.log

Failed to establish session with host 'host2': SSH connection timed out 
connecting to 'root@1.2.3.6'
Validation of action 'AddVds' failed for user admin@internal-authz. Reasons: 
VAR__ACTION__ADD,VAR__TYPE__HOST,$server 1.2.3.6,VDS_CANNOT_CONNECT_TO_SERVER

I thought, the example playbook should run and deploy two hosts on already 
deployed engineVM. Do i need to update the example playbook?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: ovirt and gluster disk config

2018-05-23 Thread femi adegoke
I'd be interested in what you guys come up with.
I've had the same questions regarding RAID (or non-raid) & hardware.
I wish there was some handy guide to follow.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Hosted Engine Setup Erro

2018-05-23 Thread femi adegoke
For hosted engine setup:

- are you assigning your engine dhcp or static IP address?
- for the admin password, is your password complex (with special characters) or 
simple (upper & lowercase letters only)?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] hosted engine setup error

2018-05-23 Thread dhy336
hiI deploy ovirt-engine-4.2.2 hosted-engine by #hosted-engine --deploy, but 
face some error bridge ovirtmgmt is not configure, i should how to do? thanks

[ INFO  ] TASK [Get ovirtmgmt route table id][ ERROR ] fatal: [localhost]: 
FAILED! => {"attempts": 50, "changed": true, "cmd": "ip rule list | grep 
ovirtmgmt | sed s/[.*]\\ //g | awk '{ print $9 }'", "delta": 
"0:00:00.010899", "end": "2018-05-23 20:03:21.222559", "rc": 0, "start": 
"2018-05-23 20:03:21.211660", "stderr": "", "stderr_lines": [], "stdout": "", 
"stdout_lines": []}[ ERROR ] Failed to execute stage 'Closing up': Failed 
executing ansible-playbook[ INFO  ] Stage: Clean up[ INFO  ] Cleaning temporary 
resources

vdsm.log
2018-05-23 19:55:15,305+0800 INFO  (vm/bfc6f7cf) [virt.vm] 
(vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') VM wrapper has started 
(vm:2619)2018-05-23 19:55:15,454+0800 INFO  (vm/bfc6f7cf) [virt.vm] 
(vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') Starting connection 
(guestagent:245)2018-05-23 19:55:15,458+0800 ERROR (vm/bfc6f7cf) [virt.vm] 
(vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') Failed to connect to guest agent 
channel (vm:2403)Traceback (most recent call last):  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2401, in 
_vmDependentInitself.guestAgent.start()  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/guestagent.py", line 246, in start  
  self._prepare_socket()  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/guestagent.py", line 288, in 
_prepare_socketsupervdsm.getProxy().prepareVmChannel(self._socketName)  
File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 55, in 
__call__return callMethod()  File 
"/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 53, in 
**kwargs)  File "", line 2, in prepareVmChannel  File 
"/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _callmethod
raise convert_to_error(kind, result)OSError: [Errno 2] No such file or 
directory: 
'/var/lib/libvirt/qemu/channels/bfc6f7cf-3e8d-4368-97f8-78a5c74a5175.com.redhat.rhevm.vdsm'2018-05-23
 19:55:15,480+0800 INFO  (vm/bfc6f7cf) [virt.vm] 
(vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') CPU running: domain 
initialization (vm:5908)
[root@hosted-engine-test1 ~]# ip a 1: 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: eth0:  mtu 1500 qdisc 
pfifo_fast state UP qlen 1000link/ether 52:54:00:6c:ee:a8 brd 
ff:ff:ff:ff:ff:ffinet 192.168.122.217/24 brd 192.168.122.255 scope global 
dynamic eth0   valid_lft 2936sec preferred_lft 2936secinet6 
fe80::834a:9cc1:df2:83f/64 scope linkvalid_lft forever preferred_lft 
forever18: ;vdsmdummy;:  mtu 1500 qdisc noop state DOWN 
qlen 1000link/ether 9a:d1:bc:96:cc:c0 brd ff:ff:ff:ff:ff:ff19: virbr0: 
 mtu 1500 qdisc noqueue state DOWN qlen 1000 
   link/ether 52:54:00:55:06:26 brd ff:ff:ff:ff:ff:ffinet 192.168.124.1/24 
brd 192.168.124.255 scope global virbr0   valid_lft forever preferred_lft 
forever20: virbr0-nic:  mtu 1500 qdisc pfifo_fast master 
virbr0 state DOWN qlen 1000link/ether 52:54:00:55:06:26 brd 
ff:ff:ff:ff:ff:ff




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: ovirt and gluster disk config

2018-05-23 Thread William Dossett
Hi Jayme, thanks for the info… yes I’ve been googling and googling… I run a few 
VMware VSANs at the moment so HCI is my specialty … even one in my basement   
going to upgrade that to all flash soon as the 2TB disks are getting cheaper!  

 

I tried doing this a couple of years back as my post says but it was pretty 
much undoable then.  I guess I am going to go h/w raid to start and see how 
that is.  I haven’t got the money to put SSD in the 720s, but I do have 10Gb 
networking so hoping that will help on speed…  anyway, it’s a PoC so I am sure 
I will building and rebuilding a few times and trying to remember what I know 
of GlusterFS.

 

Regards

Bill

 

 

 

From: Jayme [mailto:jay...@gmail.com] 
Sent: Wednesday, May 23, 2018 6:25 AM
To: william.doss...@gmail.com
Cc: users 
Subject: Re: [ovirt-users] ovirt and gluster disk config

 

Unfortunately there is not a lot of info out there about ideal hardware configs 
for hyperconverged oVirt (at least not that I have found to date, and believe 
me I've looked).  If you have enough drives and especially if they are spinning 
disks as far as I know your best option would likely be to do a RAID-10 config 
to make up a single glusterfs brick on each physical server.  Raid-10 will add 
some performance benefits and also give you some options to replace failed 
disks without bringing the brick offline.  The downfall is that you waste a ton 
of usable space with Raid + gluster because each offer redundancy.  

 

I'm about to build a 3 node hyperconverted oVirt setup on Dell R720s myself, 
but I'm planning on using two 2Tb SSDs in JBOD configuration per host w/ a 
gluster replica 3.  I've gone back and forth on using JBOD or Raid config with 
SSDs and never did get a clear answer (online or asking on this mailing list).  
SSDs are too expensive right now to lose half usable space to raid then another 
half or more to gluster replication. 

 

On Tue, May 22, 2018 at 7:17 PM,  > wrote:

Hey,  been a few years since I looked at ovirt.   3 years probably and at the 
time I was looking for compute and storage all in one -and was advised not to 
basically.  So Hyperconvergence  is now a thing and want to try it out.  I was 
looking at the blog - up and running with ovirt 4.1, but it seems that is 
mostly for a lab setup.  I've got some real hardware I am going to try this out 
on as a PoC, 5 Dell R720s with 12 TB raw storage in each.  Just wondered if 
there was a guide to the hardware setup of my storage that I am missing?  
Should I configure the storage as hardware RAID before I start installing the 
Nodes?  I did setup glusterfs cluster 3 years ago as well but memory fails me 
on how I had the RAID controller setup if at all.

Thanks
___
Users mailing list -- users@ovirt.org  
To unsubscribe send an email to users-le...@ovirt.org 
 

 

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: attempting to upgrade ovirt host which fails.

2018-05-23 Thread Edward Clay
Interesting,  Looking in this log I see a large number of checks being 
done unrelated to updating the system.  When I initiated the update 
process with the host in maintenance mode I would see just a couple of 
lines about start/finish repo checks being performed. That was it.  
After seeing that I checked the yum.conf and disabled the glusterfs* 
exclude I had placed in there previously and the upgrade process 
completed.  Thought I had disabled that exclude already.  It's always 
something simple in the end.


Thanks for the help.


On 05/22/2018 09:46 PM, Eitan Raviv wrote:

***
**Security Notice - This external email is NOT from The Hut Group**
***

The failure should be reflected on the host in /var/log/vdsm/*vdsm.log
What do you see there?

HTH

On Tue, May 22, 2018 at 11:09 PM, Edward Clay  wrote:

Hello,  Today I began upgrading my ovirt 4.1 to 4.2 by updating the engine
following the steps in the 4.2 readme.  This went well and the upgrade
completed.  What I've run into is I have attempted to install the ovirt
release 4.2 on the host and then ran a yum upgrade on it while in
maintenance mode.  I rebooted the system and can put the host into active
mode but in the ovirt compute host screen is showing that updates are
available.  No mater what I do to tell it to check for updates it still
shows available updates.  If I install updates they fail.  I see events like
the following in the graphical interface.

Check for available updates on host host1 was completed successfully with
message 'found updates for packages ovirt-host'.

Host host1 was switched to Maintenance mode

Host host1 upgrade was started

Failed to upgrade Host host1

How can I resolve this issue?

Edward Clay
Systems Administrator
The Hut Group

Tel:
Email: edward.c...@uk2group.com


For the purposes of this email, the "company" means The Hut Group Limited, a
company registered in England and Wales (company number 6539496) whose
registered office is at Fifth Floor, Voyager House, Chicago Avenue,
Manchester Airport, M90 3DQ and/or any of its respective subsidiaries.

Confidentiality Notice
This e-mail is confidential and intended for the use of the named recipient
only. If you are not the intended recipient please notify us by telephone
immediately on +44(0)1606 811888 or return it to us by e-mail. Please then
delete it from your system and note that any use, dissemination, forwarding,
printing or copying is strictly prohibited. Any views or opinions are solely
those of the author and do not necessarily represent those of the company.

Encryptions and Viruses
Please note that this e-mail and any attachments have not been encrypted.
They may therefore be liable to be compromised. Please also note that it is
your responsibility to scan this e-mail and any attachments for viruses. We
do not, to the extent permitted by law, accept any liability (whether in
contract, negligence or otherwise) for any virus infection and/or external
compromise of security and/or confidentiality in relation to transmissions
sent by e-mail.

Monitoring
Activity and use of the company's systems is monitored to secure its
effective use and operation and for other lawful business purposes.
Communications using these systems will also be monitored and may be
recorded to secure effective use and operation and for other lawful business
purposes.

hgvyjuv

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Hosted Engine Setup Erro

2018-05-23 Thread Sakhi Hadebe
Hi,

I am new to ansible and tring to deploy an ovrt cluster with gluster. I am
following this documentation
https://www.ovirt.org/blog/2018/02/up-and-running-with-ovirt-4-2-and-gluster-storage/,
although the screenshots are not exactly the same. Gluster successfully
deployed.

Below  is what is insatlled on my OvirtNodes:
1. ansible --version
ansible 2.5.3
  config file = /etc/ansible/ansible.cfg

​2. ​glusterfs 3.12.9

3. oVirtNode 4.2.3

4. CentOS Linux release 7.4.1708 (Core)

During the hosted engine setup it throws the ERROR below:

[ INFO  ] TASK [Prepare CIDR for "virbr0"]
[ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task includes an
option with an undefined variable. The error was: 'dict object' has no
attribute 'ipv4'\n\nThe error appears to have been in
'/usr/share/ovirt-hosted-engine-setup/ansible/bootstrap_local_vm.yml': line
50, column 7, but may\nbe elsewhere in the file depending on the exact
syntax problem.\n\nThe offending line appears to be:\n\n  tags: [
'skip_ansible_lint' ]\n- name: Prepare CIDR for \"{{ virbr_default
}}\"\n  ^ here\nWe could be wrong, but this one looks like it might be
an issue with\nmissing quotes.  Always quote template expression brackets
when they\nstart a value. For instance:\n\nwith_items:\n  - {{ foo
}}\n\nShould be written as:\n\nwith_items:\n  - \"{{ foo }}\"\n"}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing
ansible-playbook

I have tried to use quotes on line 50 in the bootstrap_local_vm.yml file,
it didn't work.

Please help, I have been stuck on this almost the whole day.



-- 
Regards,
Sakhi Hadebe

Engineer: South African National Research Network (SANReN)Competency
Area, Meraka, CSIR

Tel:   +27 12 841 2308 <+27128414213>
Fax:   +27 12 841 4223 <+27128414223>
Cell:  +27 71 331 9622 <+27823034657>
Email: sa...@sanren.ac.za 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Gluster quorum

2018-05-23 Thread Denis Chaplygin
Hello!

On Tue, May 22, 2018 at 11:10 AM, Demeter Tibor  wrote:

>
> Is there any changes with this bug?
>
> Still I haven't finish my upgrade process that i've started on 9th may:(
>
> Please help me if you can.
>
>

Looks like all required patches are already merged, so could you please to
update your engine again to the latest night build?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Shameless networking question

2018-05-23 Thread Peter Harman
Ovirt Community,

First off: thank you - these emails have helped me to get Ovirt running. I 
barely know what I am doing but learning quickly.

I am trying to do a network separation and confusing myself. I have two 
physical networks (10.10.x.x/16 and 192.168.1.x/24) my ovirt management is 
bridged on 10.10.x.x. My (currently single) Hosts have at least one physical 
NIC connecting to each network. I am trying to get to the point there the VMs 
are on the 192.168.1.x network and the 10.10.x.x network. The goal is to join 
the VMs to a AD domain on 192.168.1.x but keep access as limited as possible to 
the 10.10.x.x network.

I've been on a googlethon over the past few days and still don't understand the 
best practice - or even a working practice - to accomplish this goal.

Peter Harman - Systems and Safety Cordinator  | Homeyer Precision Manufacturing

[Description: C:\Users\gruether\AppData\Local\Temp\Temp1_Homeyer Logo 
(2).zip\Homeyer Logo\Homeyer Logo.jpg]

16051 State Hwy 47, Marthasville, MO 63357| E phar...@homeyertool.com 
| P 636.433.2244 | F 636.433.5257

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Hosted Engine w Gluster - increase number of hosts

2018-05-23 Thread femi adegoke
Must all 7 hosts have the same amount of storage/number of disks?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: info about reinstall dead node

2018-05-23 Thread Gianluca Cecchi
On Wed, May 23, 2018 at 6:06 AM, Eitan Raviv  wrote:

> If the engine manages to 'reboot' the host as you say, it seems that
> the engine can communicate with the host.
>
> So it might be that you have a bit of a chicken and egg problem: the
> host is missing a required network and therefore goes back into
> non-responsive.
> If you have other (non mgmt) 'required' networks on the host, set the
> networks to non-required under Compute | Clusters |  |
> Logical Networks | Manager Networks temporarily.
>
> In Compute | Hosts |  | networks | setup networks
> can you attach 'ovirtmgmt' to the host in its current condition?
>
> Try to reboot the host.
>
> HTH
>
>
The configuration has only 2 logical networks: the ovirtmgmt and another
one that is already marked as not required
I just noticed that I configured wrong my first address of dns servers for
this host. This could be a source of timeout/problems
So I put the correct value for it.

NOTE: from cockpit web interface it seems it didn't maintain the config, it
continued to reverted with the wrong first entry of DNS servers; I had to
connect to host via ssh and execute

nmcli con mod "Bond connection 1" ipv4.dns "172.16.1.2,172.16.1.20"
nmcli con down "Bond connection 1"; nmcli con up "Bond connection 1"

and the resolv.conf configuration survived also a reboot of the node.

Then at this point I was able to put host into maintenance without werrors,
but not to activate it (acceptable because id doesn't have ovirtmgmt
configured yet), or better a reinstall, because I got now an "invalid
fingerprint" event for the node.
Indeed the ng-node os was re-installed from scratch with the same
parameters but I had not a backup of the ssh keys generated during the
first install.
But anyway at least now I could remove the host (the "Remove" button is not
grayed out as before) and install as a new host with the same name/ip
without problems.

It remains the question if a node fails and then remains inaccessible, if
I'm not wrong the "Remove" button is not a possible choice.
I can try to reproduce and verify.

Gianluca
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Obtain dynamic inventory onto local machine using ovirt4.py for self-hosted engine

2018-05-23 Thread 03CE 007
Hello Ondra,
you're correct, there was much accept removing 'connection: local' line
from ovirt ansible roles.

however, the example playbook to deploy new vm fails at template option and
it complains that i don't have rhel7 template. Doesn't this come bundled
with hosted-engine and is available after deployment?

Do i need to create/install new template?



On 23 May 2018 at 06:50, Ondra Machacek  wrote:

> On 05/22/2018 06:44 PM, 03ce...@gmail.com wrote:
>
>> I have successfully deployed self-hosted-engine (4.2) on centos (7.4)
>> server.
>>
>> the server address is ovirt where the self-hosted engine running on it
>> has fdqn as engine.ovirt. I  have ovirt,ini configured on server acan run
>> the ovirt4.py from the server to obtain the vms in groups. But I want to
>> control the vms using ansible from my macbook and run ansible playbooks
>> locally.
>>
>> so I have downloaded the ovirt.ini and ovirt4.py from server and tried
>> running it, but had no success.
>>
>> Is there something special needs setting up for
>> 'self-hosted-ovirt-engine' as oppose to vanilla ovirt-engine which will
>> allow me to control vms from my macbook?
>>
>
> You don't need to do anything special.
> What's the error you get?
>
>
>
>> thanks.
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>>
>>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: First host within Self-Hosted engine stays in non-responsive state

2018-05-23 Thread 03CE 007
this has worked, many thanks for helping.

On 18 May 2018 at 09:47, Sumit Bharadia <03ce...@gmail.com> wrote:

> thanks, will give it a try and report back.
>
> On 18 May 2018 at 09:45, Simone Tiraboschi  wrote:
>
>>
>>
>> On Fri, May 18, 2018 at 10:30 AM, Sumit Bharadia <03ce...@gmail.com>
>> wrote:
>>
>>> I see, which one specific step during the hosted-engine-setup option, is
>>> it 1st or the 2nd question I need to set value for?
>>>
>>>
>>>1. Please provide a comma-separated list (max 3) of IP addresses of
>>>domain name servers for the engine VM
>>>2. Add lines for the appliance itself and for this host to
>>>/etc/hosts on the engine VM?
>>>
>>> Say yes to this one.
>>
>>
>>
>>> thank you.
>>>
>>>
>>> On 18 May 2018 at 09:20, Simone Tiraboschi  wrote:
>>>


 On Fri, May 18, 2018 at 10:09 AM, Sumit Bharadia <03ce...@gmail.com>
 wrote:

> attached, initial engine.log from engine VM
>

 OK, your issue is here:

 2018-05-18 09:05:27,756+01 ERROR 
 [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient]
 (EE-ManagedThreadFactory-engineScheduled-Thread-12) [294c1528]
 Exception during connection
 2018-05-18 09:05:27,763+01 ERROR 
 [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
 (EE-ManagedThreadFactory-engineScheduled-Thread-12) [294c1528] Unable
 to RefreshCapabilities: UnknownHostException: ovirt
 2018-05-18 09:05:27,766+01 ERROR [org.ovirt.engine.core.vdsbrok
 er.vdsbroker.GetCapabilitiesAsyncVDSCommand]
 (EE-ManagedThreadFactory-engineScheduled-Thread-12) [294c1528] Command
 'GetCapabilitiesAsyncVDSCommand(HostName = ovirt,
 VdsIdAndVdsVDSCommandParametersBase:{hostId='80fed076-1789-4e8e-bbd9-cfde1b0faea2',
 vds='Host[ovirt,80fed076-1789-4e8e-bbd9-cfde1b0faea2]'})' execution
 failed: java.net.UnknownHostException: ovirt
 2018-05-18 09:05:27,786+01 ERROR [org.ovirt.engine.core.dal.dbb
 roker.auditloghandling.AuditLogDirector] 
 (EE-ManagedThreadFactory-engineScheduled-Thread-14)
 [294c1528] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirt
 command GetCapabilitiesAsyncVDS failed: Connection issue ovirt
 2018-05-18 09:05:27,786+01 ERROR 
 [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
 (EE-ManagedThreadFactory-engineScheduled-Thread-14) [294c1528] Unable
 to RefreshCapabilities: VDSNetworkException: VDSGenericException:
 VDSNetworkException: Connection issue ovirt


 When the engine VM restarts from the shared storage your engine VM
 could not resolve 'ovirt' address and so the host becomes unresponsive at
 engine eyes.
 Is your DNS properly working? if not, please take care that
 hosted-engine-setup has an option for injecting a value into /etc/hosts on
 the engine VM for you.


>
> thank you.
>
> On 18 May 2018 at 08:35, Simone Tiraboschi 
> wrote:
>
>> Here engine.log got already rotated, we need the initial engine.log;
>> can you please look for that?
>>
>>
>> On Fri, May 18, 2018 at 9:34 AM, Sumit Bharadia <03ce...@gmail.com>
>> wrote:
>>
>>> attached engine.log from engine VM
>>>
>>> thank you.
>>>
>>> On 18 May 2018 at 08:10, Simone Tiraboschi 
>>> wrote:
>>>
 Hi,
 can you please attach the whole engine.log file?

 On Fri, May 18, 2018 at 8:43 AM, <03ce...@gmail.com> wrote:

> I am trying to setup self-hosted-engine (4.2) on a single machine
> running centos 7.4.
>
> I ran hosted-engine deploy script and it ran all the way through
> but failed on last task (at "Wait for the local bootstrap VM to be 
> down at
> engine eyes") while creating the local engine VM. However, the 
> --vm-status
> shows the engine status as up and is in good health, but I cannot 
> interact
> with host installed on engine VM.
>
> The host within engine VM shows it is in non-responsive state, not
> clear why and what caused it. I can ssh into the local engine VM and 
> the
> engine.log has below entries -
>
> 2018-05-17 11:03:57,739+01 ERROR [org.ovirt.engine.core.vdsbrok
> er.monitoring.VmDevicesMonitoring] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-78)
> [6768004b] Exception:: 
> org.springframework.dao.DataIntegrityViolationException:
> CallableStatementCallback; SQL [{call insertvmdevice(?, ?, ?, ?, ?, 
> ?, ?,
> ?, ?, ?, ?, ?, ?, ?)}]; ERROR: insert or update on table "vm_device"
> violates foreign key constraint "fk_vm_device_vm_static"
>   Detail: Key (vm_id)=(114581bb-7fef-4b08-8e3c-85dd5a9e680b) is
> not present in table "vm_static".
> ...
> ...

[ovirt-users] Re: How to delete leftover of a failed live storage migration disk

2018-05-23 Thread Benny Zlotnik
Do you see this disk on engine side? it should be aware of this disk since
> it created
> the disk during live storage migration.
>
> Also, we should not have leftovers volumes after failed operations. Please
> file a bug
> for this and attach both engine.log and vdsm.log on the host doing the
> live storage
> migration.
>
> Nir
>
The fix is already in progress :)
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: update from 4.1.9 to 4.2.3 and OVN doubt

2018-05-23 Thread Marcin Mirecki
If the old setup is working, I would keep it, and manually update the
provider and openvswitch (yum update ...).
In the future 4.2 I hope the feature of re-using an existing provider will
already be there.

The setup is asking for user and password because we do not store these
values across invocations of engine-setup.
During a fresh install run we have it, as the user has to set it up, on
update runs we don't. The provider needs this in
order to authenticate users using ovirt-engine authentication.
Ovirt authentication for the provider can be disabled, but this has to be
done manually.

On Wed, May 23, 2018 at 10:22 AM, Gianluca Cecchi  wrote:

> On Wed, May 23, 2018 at 10:04 AM, Marcin Mirecki 
> wrote:
>
>> Hi Gianluca,
>>
>> The provider in version 4.1 was installed automatically, but it did not
>> save the fact of being installed.
>> Hence if you try to install it in 4.2, it will try to install itself
>> again (and this time it will save the info of being installed).
>>
>> I'm planning to add a feature that will allow reusing an already existing
>> provider during engine-setup. For now you can skip the provider
>> installation, the existing one will be kept as it is.
>>
>> Thanks,
>> Marcin
>>
>>
> If the reinstall doesn't imply broken upgrade it is not a problem for me
> and then delete the old ovn setup and reconfigure the few vnics involved
> with OVN on the new environment.
>
> If I choose to install the new one, the two inputs required:
>
>   oVirt OVN provider user[admin@internal]:
>   oVirt OVN provider password:
>
> can be any settings or have to be related with the old setup?
>
> So you advise to keep the old one and skip OVN for now and I can continue
> to use in the mean time the OVN provider already setup in 4.1, correct?
> Then in a future 4.2.x release when I will run engine-setup again I can
> choose instead to install ovn provider, and it will keep anyway the already
> configured one without need to resetup OVN and vNICS, correct?
> In this case I will follow what you suggest.
>
> Gianluca
>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: oVirt reports using Grafana

2018-05-23 Thread Alejandro Cortina
Hi Shirly,

I went through your instructions just yesterday and they work but some
troubleshooting was needed. This is what I have found:

* When adding the graph I also got syntax errors: '*pq: syntax error at or
near "$"'*, maybe add an "ignore this error" line to the docs would be an
improvement
* I am new to grafana then I could not understand about templating. Took me
a few *trips* to http://docs.grafana.org/reference/templating/ to
understand it. Maybe some simple instructions would make experience better.
* Regarding tremplating:

cluster_name
- fails: SELECT cluster_name FROM v4_2_configuration_history_clusters WHERE
datacenter_id = $datacenter_id
- not fail: SELECT cluster_name FROM v4_2_configuration_history_clusters
WHERE datacenter_id='$datacenter_id'

cluster_id
- fails: SELECT cluster_id FROM v4_2_configuration_history_clusters WHERE
datacenter_id = $datacenter_id
- not fail: SELECT cluster_id FROM v4_2_configuration_history_clusters
WHERE datacenter_id ='$datacenter_id'

there are many more.

* Modifying DB, even DWH views are stable I think it would be better to
instruct to make backup.

Regarding modifying DB, Is it possible to revert these changes?

Thanks!

On Tue, May 22, 2018 at 6:09 PM, Shirly Radco  wrote:

>
>
> --
>
> SHIRLY RADCO
>
> BI SENIOR SOFTWARE ENGINEER
>
> Red Hat Israel
>
>
> TRIED. TESTED. TRUSTED.
>
>
>
> On Fri, May 18, 2018, 16:02 Vincent Royer  wrote:
>
>> Yes I agree, because the database contains so many version specific
>> pointers, all of them will stop working when you upgrade. So that's no good!
>>
>
> Not sure what you mean. The DWH  views are stable and we currently support
> 3.6 and above views. It means you do not have to update the version of the
> view.
> Also DWH is pretty stable. So you should not expect many changes.
>
>
>> If you ever get something decent working with Grafana, I'd be very
>> interested.  I'm still not happy with the integration with the engine
>> history database, I was never really able to get predictable output from
>> it, and spent way too many hours messing around with it.
>>
>
> Ill try and add a few more meaningful examples if that will help.
>
> Is the problem is how to join the tables together?
>
>
>>
>> On Thu, May 17, 2018 at 11:21 PM Karli Sjöberg 
>> wrote:
>>
>>> On Thu, 2018-05-17 at 10:37 -0700, Vincent Royer wrote:
>>> > These are the same issues I ran into.  I did get it working, look up
>>> > my post history and you'll find some solutions to the errors
>>>
>>> Big thanks, now I understand what the problem was!
>>>
>>> But I must say, after reading that thread, I´m actually more interested
>>> in setting up the metrics store as it seems you get way more data out
>>> of it without having to access the database directly. The point being,
>>> the less manual stuff you do to alter the original setup in the engine,
>>> the less issues you are going to have later on, with upgrades and such.
>>>
>>> /K
>>>
>>> >
>>> > On Thu, May 17, 2018, 1:01 AM Sandro Bonazzola, 
>>> > wrote:
>>> > > Shirly, can you please update the blog post pointing to an updated
>>> > > documentation page?
>>> > >
>>> > > 2018-05-17 9:35 GMT+02:00 Karli Sjöberg :
>>> > > > Heya!
>>> > > >
>>> > > > I've been whishing for reports in oVirt ever since the old
>>> > > > 'Jasper
>>> > > > Reports' was removed. For an Enterprise, having pretty graphs to
>>> > > > look
>>> > > > at is a must.
>>> > > >
>>> > > > Searching the subject, I've found this[*] and have managed to get
>>> > > > it
>>> > > > installed OK but having issues trying to follow the guide setting
>>> > > > it
>>> > > > up.
>>> > > >
>>> > > > First of all, I think the guide should have at least mentioned
>>> > > > that
>>> > > > 'pg_hba.conf' needs to be edited for the read only user to be
>>> > > > able to
>>> > > > connect to the database, I scratched my head around that for a
>>> > > > while
>>> > > > before I got it.
>>> > > >
>>> > > > When I first type in the query example, I got syntax errors:
>>> > > > 'pq: syntax error at or near "$"'. I continued anyways since I
>>> > > > figured
>>> > > > it would be solved at a later point, which turned out to be true,
>>> > > > since
>>> > > > the next step is to use the "Templating feature" to add
>>> > > > variables.
>>> > > >
>>> > > > Unfortunately this doesn't go so well, even though I followed the
>>> > > > instructions very carefully. After hitting save on the first
>>> > > > variable I
>>> > > > am rewarded with the error message:
>>> > > > 'Template variables could not be initialized: pq: column "en_us"
>>> > > > does
>>> > > > not exist.'
>>> > > >
>>> > > > Are the queries stated in the guide still correct? This is for
>>> > > > 'user_locale':
>>> > > > "SELECT DISTINCT language_code from enum_translator"
>>> > > >
>>> > > > [*]:https://www.ovirt.org/blog/2018/01/ovirt-report-using-grafana
>>> > > > /
>>> > > >
>>> > > > TIA
>>> 

[ovirt-users] Re: update from 4.1.9 to 4.2.3 and OVN doubt

2018-05-23 Thread Gianluca Cecchi
On Wed, May 23, 2018 at 10:04 AM, Marcin Mirecki 
wrote:

> Hi Gianluca,
>
> The provider in version 4.1 was installed automatically, but it did not
> save the fact of being installed.
> Hence if you try to install it in 4.2, it will try to install itself again
> (and this time it will save the info of being installed).
>
> I'm planning to add a feature that will allow reusing an already existing
> provider during engine-setup. For now you can skip the provider
> installation, the existing one will be kept as it is.
>
> Thanks,
> Marcin
>
>
If the reinstall doesn't imply broken upgrade it is not a problem for me
and then delete the old ovn setup and reconfigure the few vnics involved
with OVN on the new environment.

If I choose to install the new one, the two inputs required:

  oVirt OVN provider user[admin@internal]:
  oVirt OVN provider password:

can be any settings or have to be related with the old setup?

So you advise to keep the old one and skip OVN for now and I can continue
to use in the mean time the OVN provider already setup in 4.1, correct?
Then in a future 4.2.x release when I will run engine-setup again I can
choose instead to install ovn provider, and it will keep anyway the already
configured one without need to resetup OVN and vNICS, correct?
In this case I will follow what you suggest.

Gianluca
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: update from 4.1.9 to 4.2.3 and OVN doubt

2018-05-23 Thread Marcin Mirecki
Hi Gianluca,

The provider in version 4.1 was installed automatically, but it did not
save the fact of being installed.
Hence if you try to install it in 4.2, it will try to install itself again
(and this time it will save the info of being installed).

I'm planning to add a feature that will allow reusing an already existing
provider during engine-setup. For now you can skip the provider
installation, the existing one will be kept as it is.

Thanks,
Marcin

On Mon, May 21, 2018 at 4:55 PM, Gianluca Cecchi 
wrote:

>
>
>>
>>
> Another information regarding my current environment:
> From engine database it results that my OVN provider name is "OVN"
>
> engine=# select id,name from providers;
>   id  |  name
> --+
>  ceab03af-7220-4d42-8f5c-9b557f5d29af | ovirt-image-repository
>  84546a85-2958-4c1d-bbfe-afeb486ebda9 | OVN
> (2 rows)
>
> engine=#
>
> why it seems that in its default config it would name it
> "ovirt-provider-ovn"?
> Does this mean that it will be no conflict in name? But what about the
> current nortbridge and southbridge configs?
>
> Currently my central server is the engine (that is external to the infra)
> and it shows this:
>
> [root@ovmgr1 ~]# ovn-sbctl show
> Chassis "1dce5b7c-a9fc-4ddb-99b4-e2c9e0fa54c5"
> hostname: "ov200.mydomain"
> Encap geneve
> ip: "10.4.192.32"
> options: {csum="true"}
> Chassis "b8872ab5-4606-4a79-b77d-9d956a18d349"
> hostname: "ov301.mydomain"
> Encap geneve
> ip: "10.4.192.34"
> options: {csum="true"}
> Chassis "ddecf0da-4708-4f93-958b-6af365a5eeca"
> hostname: "ov300.mydomain"
> Encap geneve
> ip: "10.4.192.33"
> options: {csum="true"}
> [root@ovmgr1 ~]#
>
> and
>
> [root@ovmgr1 ~]# ovn-nbctl show
> switch 32367d8a-460f-4447-b35a-abe9ea5187e0 (ovn192)
> port affc5570-3e5a-439c-9fdf-d75d6810e3a3
> addresses: ["00:1a:4a:17:01:73 dynamic"]
> port f639d541-2118-4c24-b478-b7a586eb170c
> addresses: ["00:1a:4a:17:01:75 dynamic"]
> switch 6110649a-db2b-4de7-8fbc-601095cfe510 (ovn192)
> switch 64c4c17f-cd67-4e29-939e-2b952495159f (ovn172)
> port 32c348d9-12e9-4bcf-a43f-69338c887cfc
> addresses: ["00:1a:4a:17:01:72 dynamic"]
> port 3c77c2ea-de00-43f9-a5c5-9b3ffea5ec69
> addresses: ["00:1a:4a:17:01:74 dynamic"]
> switch 04501f6b-3977-4ba1-9ead-7096768d796d (ovn172)
> port 0a2a47bc-ea0d-4f1d-8f49-ec903e519983
> addresses: ["00:1a:4a:17:01:65 dynamic"]
> port 8fc7bed4-7663-4903-922b-05e490c6a5a1
> addresses: ["00:1a:4a:17:01:64 dynamic"]
> port f2b64f89-b719-484c-ac02-2a1ac8eaacdb
> addresses: ["00:1a:4a:17:01:59 dynamic"]
> port f7389c88-1ea1-47c2-92fd-6beffb2e2190
> addresses: ["00:1a:4a:17:01:58 dynamic"]
> [root@ovmgr1 ~]#
>
>
> and on my hosts currently I have something like this (eg on ov200):
>
> [root@ov200 ~]# ovs-vsctl show
> ae0a1256-7250-46a2-a1b6-8f0ae6105c20
> Bridge br-int
> fail_mode: secure
> Port br-int
> Interface br-int
> type: internal
> Port "ovn-ddecf0-0"
> Interface "ovn-ddecf0-0"
> type: geneve
> options: {csum="true", key=flow, remote_ip="10.4.192.33"}
> Port "ovn-b8872a-0"
> Interface "ovn-b8872a-0"
> type: geneve
> options: {csum="true", key=flow, remote_ip="10.4.192.34"}
> ovs_version: "2.7.3"
> [root@ov200 ~]#
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Hosted Engine w Gluster - increase number of hosts

2018-05-23 Thread femi adegoke
Martin, thank you.

7 is perfect, since my 2 SuperMicro servers are 4-node 2U server's.
I am using nodes, so, I will add 4 HE nodes.
This is all for testing, no production.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Hosted Engine w Gluster - increase number of hosts

2018-05-23 Thread Martin Sivak
Hi,

we recommend up to 7 HE hosts, it is not important if the number is
odd or even. The real implementation limit is much higher and you
won't reach it. But since we do not test more than 7 as part of the QE
process, we can't recommend it.

Best regards

Martin Sivak

On Wed, May 23, 2018 at 9:43 AM, femi adegoke  wrote:
>> On Wed, May 23, 2018 at 8:47 AM, femi adegoke > wrote:
>>
>>
>> Additional hosts should be directly added from the engine.
> How many host should I add per best practice.
> I have 3 now, do I add 2 or 4 more.
> Should the total number of host be odd or even?
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Hosted Engine w Gluster - increase number of hosts

2018-05-23 Thread femi adegoke
> On Wed, May 23, 2018 at 8:47 AM, femi adegoke  wrote:
> 
> 
> Additional hosts should be directly added from the engine.
How many host should I add per best practice.
I have 3 now, do I add 2 or 4 more.
Should the total number of host be odd or even?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Hosted Engine w Gluster - increase number of hosts

2018-05-23 Thread Simone Tiraboschi
On Wed, May 23, 2018 at 8:47 AM, femi adegoke 
wrote:

> Still looking for answers?
>
> What's the proper process to add more hosts using the Cockpit hosted
> engine wizard?
>

Additional hosts should be directly added from the engine.


> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: update from 4.1.9 to 4.2.3 and OVN doubt

2018-05-23 Thread Simone Tiraboschi
On Tue, May 22, 2018 at 5:50 PM, Gianluca Cecchi 
wrote:

> On Tue, May 22, 2018 at 5:35 PM, Simone Tiraboschi 
> wrote:
>
>>
>>
>> On Tue, May 22, 2018 at 5:27 PM, Simone Tiraboschi 
>> wrote:
>>
>>> Hi,
>>> Adding also Marcin here.
>>> I reproduced it as well and I can confirm that the external provider was
>>> called 'OVN' by default at 4.1 time but now engine-setup will create by
>>> default a new provider called 'ovirt-provider-ovn'.
>>> Both the two providers are now configured in the engine to be reached at
>>> https://:9696
>>>
>>> The engine can successfully talk with ovirt-provider-ovn while I get
>>> errors like 'Error while listing external networks: EngineException:
>>> (Failed with error Connection reset and code 5050)' when I try to query
>>> the old OVN provider.
>>> Logical networks previously attached to the old OVN provider are still
>>> there in the engine and they are still attached to the old OVN provider.
>>> Unfortunately I'm not able to start/restart VMs with interfaces on a
>>> logical network defined on the OVN provider.
>>> I manually recreated the missing networks on the new 'ovirt-provider-ovn'
>>> provider and I reattached my VMs there and at that point I was finally able
>>> to start again my VMs.
>>>
>>
>>
>> Another strange behavior.
>> I was't able to remove the old OVN provider since a few logical networks
>> was still attached to that.
>> So I removed all of them from the engine and then I manually removed the
>> old OVN provider and only at this point all of my old logical networks
>> manually reappeared in the engine as attached to the new 4.2
>> 'ovirt-provider-ovn'.
>>
>>
>
> Thank you very much Simone for your tests!
> This is a test environment, but with about 40 VMs of a certain importance
> and I would like to preserve it in 4.2
> So with your tests you are confirming that the engine-setup for updating
> engine completes without problems and impacts on current databases and then
> the  update of the hosts doesn't go into exception, correct?
>

I simply had to manually restart ovn related services on the host to
reestablish correct TLS communication.
No other issue on host side.


> I can manage to have a temporary downtime for the few VMs defined on ovn
> (mainly used as intracluster network) and re-setup them on the new provider
> in 4.2
>
> Just a curiosity: does this mean that when the engine-setup should
> configure the Northbound and Southbound DBs (and not... bridge... as I
> wrote before ;-) it simply skips without aborting?
> This was one of my major concerns...
>

Yes, no errors from engine-setup; all the OVN related services got
reconfigured and their TLS cert got regenerated.



>
> Gianluca
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: oVirt: engine backup

2018-05-23 Thread Alejandro Cortina
> Question: must the node be in maint mode before engine is backed up?

only for restore AFAIK

On Wed, May 23, 2018 at 3:28 AM, femi adegoke 
wrote:

> Reading this: https://www.ovirt.org/documentation/self-hosted/
> chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/
> It says the node must be in maintenance mode.
>
> I was having a discussion on IRC & they were using this (see link) to
> backup, it makes no mention of maint mode
> https://scottlinux.com/2015/08/20/create-daily-rhevm-backups/
> https://access.redhat.com/solutions/797463
>
> Question: must the node be in maint mode before engine is backed up?
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Hosted Engine w Gluster - increase number of hosts

2018-05-23 Thread femi adegoke
Still looking for answers?

What's the proper process to add more hosts using the Cockpit hosted engine 
wizard?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org