Re: [ovirt-users] Answer file key for "nonlocal postgres"

2017-03-25 Thread Yedidyah Bar David
On Fri, Mar 24, 2017 at 3:08 AM, Jamie Lawrence
 wrote:
> Hello,
>
> I’m working on an answerfile for an unattended Ovirt install. The engine and 
> the data warehouse DBs live remotely. I think I have most of the relevant 
> keys defined, but appear to be missing one, because the installer is 
> attempting to manage a local Postgres.  Log and error below. Keys I’ve 
> defined so far are:
>
> OVESETUP_DB/secured=bool:False
> OVESETUP_DB/user=str:engine
> OVESETUP_DB/password=str:[SNIP]
> OVESETUP_DB/dumper=str:pg_custom
> OVESETUP_DB/database=str:ovirt_engine
> OVESETUP_DB/fixDbViolations=none:None
> OVESETUP_DB/host=str:[SNIP]
> OVESETUP_DB/port=int:5435
> OVESETUP_DB/filter=none:None
> OVESETUP_DB/restoreJobs=int:2
> OVESETUP_DB/securedHostValidation=bool:False
>
> And a similar set for the DWH.
>
> Anyone know what I am missing?

Probably OVESETUP_PROVISIONING/postgresProvisioningEnabled
and OVESETUP_DWH_PROVISIONING/postgresProvisioningEnabled .

That said, I strongly recommend to not try and write the answer file
by hand. Instead, do an interactive setup with the exact conditions
you want it for eventually (including remote DBs etc), and use the
generated one. You are of course welcome to review it and edit if
you think it's needed, but that's much easier than guessing what
needs to be added (or removed). See also:

https://www.ovirt.org/develop/developer-guide/engine/engine-setup/
http://www.ovirt.org/develop/developer-guide/engine/otopi/

And also:

https://bugzilla.redhat.com/show_bug.cgi?id=1396925

If eventually getting into 4.2 (no promises), it will not really
help you to _guess_, but will help better understand the relation
between the interaction and the generated answerfile.

>
>
> Thanks in advance,
>
> -j
>
> - - - -
> The user error is:
>
> [ INFO  ] Creating PostgreSQL 'ovirt_engine' database
> [ ERROR ] Failed to execute stage 'Misc configuration': Failed to start 
> service 'postgresql'
> [ INFO  ] Yum Performing yum transaction rollback
>
>
>
> From the installer log, it obviously still thinks it is supposed to set up PG 
> locally:

Indeed, but I'd say the user error (from your pov) isn't that this failed
(although why this failed is a good question too) but that it tried.
Are you sure you do not have the above keys set to True in the answer file?

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Error attempting to create dwh readonly user

2017-03-25 Thread Berger, Sandy
I am running oVirt 4.1.1.

I am following the instructions in the "Data Warehouse Guide" to create an 
account for readonly access to the data warehouse history database. I am not 
familiar with postgres. I am using the command:

psql -U postgres -c "CREATE ROLE username WITH LOGIN ENCRYPTED PASSWORD 
'password';" -d ovirt_engine_history

But I am getting the error:

psql: FATAL:  Peer authentication failed for user "postgres"

Any suggestions would be appreciated.

Sandy Berger
IT - EUX

Quad/Graphics
Performance through Innovation

Sussex, Wisconsin
414.566.2123 phone
414.566.4010/2123 pager/PIN

sandy.ber...@qg.com
www.QG.com

Follow Us: Facebook | 
Twitter | LinkedIn | 
YouTube
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cloud init and vms

2017-03-25 Thread Artyom Lukianov
Also, you need to be aware of the fact that the engine applies the
cloud-init configuration only when you start the VM first time. So the
scenario must be:

   1. Create a VM for template
   2. Install and enable on it cloud-init and seal it
   3. Make template from the VM
   4. Make new VM from the template and fill all relevant cloud-init
   parameters
   5. Start the VM

If you do not sure if the VM attached the cloud-init file you can check VM
devices via # virsh -r dumpxml 
Best Regards

On Thu, Mar 23, 2017 at 5:33 PM, Endre Karlson 
wrote:

> Yeah i tried that with ubuntu but it looks to just fail whebmn it starts
> the vm because it tries to contact the metadata api instead of using the
> cdrom source
>
> 23. mar. 2017 4:26 p.m. skrev "Artyom Lukianov" :
>
>> Just be sure that the cloud-init service enabled before you create the
>> template, otherwise it will fail to initialize a VM.
>> Best Regards
>>
>> On Thu, Mar 23, 2017 at 1:06 PM, Endre Karlson 
>> wrote:
>>
>>> Hi, is there any prerequisite setup on a Ubuntu vm that is turned into a
>>> template that needs to be done except installing cloud init packages and
>>> sealing the template?
>>>
>>> Endre
>>>
>>> ___
>>> 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] appliance upgrade 4.0 to 4.1

2017-03-25 Thread Artyom Lukianov
The correct way to upgrade appliance from 4.0 to 4.1

   1. Enable GlobalMaintenance
   2. Add the 4.1 repositories to the appliance
   3. Update the relevant packages
   4. Run # engine-setup
   5. Disable GlobalMaintenance
   6. Change cluster and datacenter compatibility version

The --upgrade-appliance command was added just for the purpose to make an
easier pass from 3.6 to 4.0, all other scenarios not supported.
Best Regards

On Fri, Mar 24, 2017 at 5:35 PM, Nelson Lameiras <
nelson.lamei...@lyra-network.com> wrote:

> (I should add that I'm trying to upgrade "oVirt Engine Appliance 4.0" to
> "oVirt Engine Appliance 4.1")
>
> Hello,
>
> I'm trying to upgrade an appliance based oVirt install (2 nodes with
> centos 7.3, ovirt 4.0) using "hosted-engine --upgrade-appliance" on one
> host.
>
> After multiples tries, I always get this error at the end :
>
> [ INFO  ] Running engine-setup on the appliance
>   |- Preparing to restore:
>   |- - Unpacking file '/root/engine_backup.tar.gz'
>   |- FATAL: Backup was created by version '4.0' and can not be
> restored using the installed version 4.1
>   |- HE_APPLIANCE_ENGINE_RESTORE_FAIL
> [ ERROR ] Engine backup restore failed on the appliance
>
> is this normal?
> is this process not yet compatible with oVirt 4.1 appliance?
> which is the "official" way to update oVirt from 4.0 to 4.1
>
> I tried to do a "yum update && engine setup && reboot" on engine, and
> indeed it works, but there is no rollback possible, so it seems a little
> dangerours (?)
>
>
>
> cordialement, regards,
>
> 
> Nelson LAMEIRAS
> Ingénieur Systèmes et Réseaux / Systems and Networks engineer
> Tel: +33 5 32 09 09 70 <+33%205%2032%2009%2009%2070>
> nelson.lamei...@lyra-network.com
> www.lyra-network.com | www.payzen.eu 
> 
> 
> 
> 
> --
> Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE
>
>
> ___
> 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
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Gluster network

2017-03-25 Thread Arsène Gschwind

Hi,

I do have a recuring warning in engine.log and i'm not able to figure 
out what is wrong in my setup.


2017-03-25 10:13:12,391+01 WARN 
[org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturn] 
(DefaultQuartzScheduler4) [e02bacbc-75ab-4c48-81c0-e3d64e4bd3e9] Could 
not associate brick 'spfy-hw01:/gluster/engine/brick' of volume 
'af169181-d72e-4325-9947-d7dd09e512f0' with correct network as no 
gluster network found in cluster '0002-0002-0002-0002-02a6'
2017-03-25 10:13:12,394+01 WARN 
[org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturn] 
(DefaultQuartzScheduler4) [e02bacbc-75ab-4c48-81c0-e3d64e4bd3e9] Could 
not associate brick 'spfy-hw02:/gluster/engine/brick' of volume 
'af169181-d72e-4325-9947-d7dd09e512f0' with correct network as no 
gluster network found in cluster '0002-0002-0002-0002-02a6'
2017-03-25 10:13:12,397+01 WARN 
[org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturn] 
(DefaultQuartzScheduler4) [e02bacbc-75ab-4c48-81c0-e3d64e4bd3e9] Could 
not associate brick 'spfy-hw03:/gluster/engine/brick' of volume 
'af169181-d72e-4325-9947-d7dd09e512f0' with correct network as no 
gluster network found in cluster '0002-0002-0002-0002-02a6'


My setup:

 * oVirt 4.1.0
 * gluster 3.8.10-1.el7

I've setup a gluster network and dedicated to gluster:

gluster

Could someone explain why I do have this warning and how to resolve the 
problem .


Thanks a lot

rgds,

Arsène

--

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


Re: [ovirt-users] engine upgrade 4.1.0 => 4.1.1, no more engine console available

2017-03-25 Thread Arsène Gschwind

Hi,

After updating to 4.1.1 i'm observing the same behavior, HE without any 
console.
Even when trying to edit the HE VMs it doesn't change anything, Graphics 
stays to NONE.


Thanks for any Help.

Regards,
Arsène

On 03/24/2017 03:11 PM, Nelson Lameiras wrote:

Hello,

When upgrading my test setup from 4.0 to 4.1, my engine vm lost it's 
console (from SPICE to None in GUI)


My test setup :
2 manually built hosts using centos 7.3, ovirt 4.1
1 manually built hosted engine centos 7.3, oVirt 4.1.0.4-el7, 
accessible with SPICE console via GUI


I updated ovirt-engine from 4.1.0 to 4.1.1 by doing on engine :
- yum update
- engine-setup
- reboot engine

When accessing 4.1.1 GUI, Graphics is set to "None" on "Virtual 
Machines" page, with "console button" greyed out (all other VMs have 
the same Graphics set to the same value as before)
I tried to edit engine VM settings, and console options are same as 
before (SPLICE, QXL).


I'm hopping this is not a new feature, since if we loose network on 
engine, console is the only way to debug...


Is this a bug?

ps. I was able to reproduce this bug 2 times

cordialement, regards,



Nelson LAMEIRAS
Ingénieur Systèmes et Réseaux/ Systems and Networks engineer
Tel: +33 5 32 09 09 70
nelson.lamei...@lyra-network.com 
www.lyra-network.com  | www.payzen.eu 










Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE




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


--

*Arsène Gschwind*
Fa. Sapify AG im Auftrag der Universität Basel
IT Services
Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
Tel. +41 79 449 25 63  | http://its.unibas.ch 
ITS-ServiceDesk: support-...@unibas.ch | +41 61 267 14 11

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


Re: [ovirt-users] Getting error when i try to assign logical networks to interfaces

2017-03-25 Thread martin chamambo
Good day @Dan

Thank you for the pointers , on my hypervisor there is this directory path
/usr/libexec/vdsm/hooks/before_network_setup   and in that folder there was
a file named 50_fcoe  ,i removed that and its working nowI dont know
how it got there but seems to have worked and thanx for your help

On Fri, Mar 24, 2017 at 4:36 PM, Dan Kenigsberg  wrote:

> On Fri, Mar 24, 2017 at 11:36 AM, martin chamambo 
> wrote:
> > @ Dan i am not using FCOE , i am trying to set up logical networks , my
> > oVirt Engine Version: 4.0.6.3-1.el7.centos and my vdsm versions is
> > vdsm-4.18.4.1-0.el7.centos
>
> And what it the version of your vdsm-hook-fcoe?
>
> rpm -qa |grep vdsm
> rpm -qf /usr/libexec/vdsm/hooks/before_network_setup/50_fcoe
>
> I assumed that the 50_fcoe script is out of date. It looks like a 3.6
> piece of code.
>
> You can just remove 50_fcoe to squelch the problem for a while, but
> I'd like to understand why it is there.
>
> >
> > On Thu, Mar 23, 2017 at 11:26 PM, Dan Kenigsberg 
> wrote:
> >>
> >> On Thu, Mar 23, 2017 at 9:25 AM, martin chamambo 
> >> wrote:
> >> > I havent set up any hooks and when i try to assign logical networks to
> >> > an
> >> > already existing interface on the host ,it gives me this error
> >> >
> >> > Hook error: Hook Error: ('Traceback (most recent call last):\n  File
> >> > "/usr/libexec/vdsm/hooks/before_network_setup/50_fcoe", line 18, in
> >> > \nfrom vdsm.netconfpersistence import
> >> > RunningConfig\nImportError: No module named netconfpersistence\n',)
> >> >
> >>
> >> vdsm-hook-fcoe is installed by default on ovirt-node.
> >> Which version of vdsm (and vdsm-hook-fcoe) are you using?
> >> This Traceback smells like a mismatch between the two.
> >
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] installing a new host when engine in 4.1 and 4.1.1 just released

2017-03-25 Thread Sandro Bonazzola
Il 24/Mar/2017 17:54, "Gianluca Cecchi"  ha
scritto:

Hello,
suppose current situation with 4.1.1 just released:

- my environment is in 4.1 with an engine a DC/Cluster with some hosts
- I configure a new DC/Cluster/Host connected to the same engine
- when I add the 4.1 repo for the host and install host from the engine,
the picked up packages are indeed 4.1.1, while my engine is still 4.1

Does this constitute a problem?


Shouldn't. But I would recommend to update the hosts in the same cluster
especially if they now have different qemu version.


If this is the case, how to install a 4.1 (not 4.1.1) host if I have still
engine in 4.1 and I have not intention to upgrade right now?


You can keep 4.1.0 engine with 4.1.1 hosts even if I would recommend to
update it as well. For installing a 4.1.0 host the easiest way is to use
4.1.0 oVirt node.




On this new host I got for example

ovirt-release41-4.1.1-1.el7.centos.noarch
vdsm-4.19.10-1.el7.centos.x86_64


while on my current hosts I have

ovirt-release41-4.1.0-1.el7.centos.noarch
vdsm-4.19.4-1.el7.centos.x86_64

Thanks,
Gianluca

___
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] Best Storage Option: iSCSI/NFS/GlusterFS?

2017-03-25 Thread Charles Tassell

Hi Everyone,

  I'm about to setup an oVirt cluster with two hosts hitting a Linux 
storage server.  Since the Linux box can provide the storage in pretty 
much any form, I'm wondering which option is "best." Our primary focus 
is on reliability, with performance being a close second.  Since we will 
only be using a single storage server I was thinking NFS would probably 
beat out GlusterFS, and that NFSv4 would be a better choice than NFSv3.  
I had assumed that that iSCSI would be better performance wise, but from 
what I'm seeing online that might not be the case.


  Our servers will be using a 1G network backbone for regular traffic 
and a dedicated 10G backbone with LACP for redundancy and extra 
bandwidth for storage traffic if that makes a difference.


  I'll probably try to do some performance benchmarks with 2-3 options, 
but the reliability issue is a little harder to test for.  Has anyone 
had any particularly bad experiences with a particular storage option?  
We have been using iSCSI with a Dell MD3x00 SAN and have run into a 
bunch of issues with the multipath setup, but that won't be a problem 
with the new SAN since it's only got a single controller interface.



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