[ovirt-users] Fwd: How to deploy hosted-engine to the second and later host machines

2017-03-26 Thread Tatsuya
Dear Didi

> Even if you never heard about hosted-engine in previous versions and 4.1
>  was your first attempt? Any suggestions for improvement to make it easier
>  to find?

Sorry to late reply. I notice that I forget to add "users "
as a destination.

The inquiry of the other day was about oVirt 4.0.

Yesterday I installed 4.1 for the first time.

I think that if I had been able to deploy self hosted engine not only when
reinstalling host
but also when adding new host, I could have noticed.

Or it may be useful to pop up the deployment method of self hosted engine
when adding new host is completed.

Regards
Tatsuya

-- Forwarded message --
From: Tatsuya 
Date: 2017-03-23 1:10 GMT+09:00
Subject: Re: [ovirt-users] How to deploy hosted-engine to the second and
later host machines
To: Yedidyah Bar David 


Dear Didi

> e.g. that if the storage
> domain is not empty, a message will be emitted saying something like:
> "To add this host as an additional one to an existing hosted-engine HA
> cluster, please use the engine web administration ui or the API/SDK".

It seems to be a very appropriate explanation when reading after
understanding,
but it may be better to ready specific steps.For example, this is one
example among many:
"In particular, when creating a new host from the engine web administration
ui,
please select "Deploy" on the self hosted engine tab."

Also, "hosted-engine --deploy --config-append=answers.conf" was an error
from cli,
but "hosted-engine --deploy" wasn't an error, so I almost created a new
hosted-engine
using "hosted-engine --deploy"  to the second and later host machines.
>From the above, It wil be better to warn also when running "hosted-engine
--deploy".

Regards
Tatsuya

2017-03-21 15:29 GMT+09:00 Yedidyah Bar David :

> On Mon, Mar 20, 2017 at 5:44 PM, Tatsuya  wrote:
> > Dear lan and Didi
> >
> >> Found a working option to get second and subsequent hosts deployed with
> >> ovirt 4.1
> >>
> >> 1-Set second host into maintenance
> >> 2-highlight second host and choose "Installation --> Reinstall", edit
> >> params in popup and click OK
> >> 3-Ignore warning that pops up and watch the vdsm.log or look for
> >> "Installing" status in webui
> >> 4-It should show you that the install is running, keep watching
> vdsm.log.
> >> 5-Click 'ok' on warning and wait patiently for install to finish.
> >>
> >> Second node comes up and is active.
> >
> >> No, sorry for not being clear. I referred to the engine web admin ui
> >> (and also API/SDK). Thanks, Ian, for your reply explaining this.
> >
> > I apologize for this late reply.I had been trying again from reinstalling
> > the host.
> >
> > Thanks to you, I was able to install HostedEngine in second and
> subsequent
> > hosts.
> > I think that I could not find this option by myself.
>
> Even if you never heard about hosted-engine in previous versions and 4.1
> was your first attempt? Any suggestions for improvement to make it easier
> to find?
>
> >
> > I'm grateful for your support.
>
> You might want to open one or more RFEs for some clarifications in the
> interface - both command line and cockpit - e.g. that if the storage
> domain is not empty, a message will be emitted saying something like:
> "To add this host as an additional one to an existing hosted-engine HA
> cluster, please use the engine web administration ui or the API/SDK".
>
> Best,
> --
> Didi
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Automatic restart of VM on another host if a host goes down

2017-03-26 Thread Anantha Raghava

Hi,

Thanks. Will try this.

--

Thanks & Regards,


Anantha Raghava

Do not print this e-mail unless required. Save Paper & trees.

On 27/03/17 2:11 AM, Fred Rolland wrote:

If you don't have power management, you should check VM lease:

http://www.ovirt.org/develop/release-management/features/storage/vm-leases/

https://youtu.be/WLnU_YsHWtU

On Mar 26, 2017 11:28 PM, "Luca 'remix_tj' Lorenzetto" 
> wrote:




Il 26 mar 2017 6:34 PM, "Anantha Raghava"
> ha scritto:

Hello,

We are now using oVirt 4.1 in our lab with 2 hosts and a
separate server for engine. Both hosts (Dell R710 Servers) are
in a single cluster and load balancing & migrations work
perfectly.

However, if a physical server goes down, the VMs running on
that server, gets paused ans status goes changes to "?". They
do not move or restart on the another host automatically. We
have to manually intervene, stop the VMs, restart them on
another server.

Is there a way in which this migration can be automated?


Hello,

Did you configure power management?

HA works only if power management is configured and vms are set as
highly available.

Luca


___
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] Automatic restart of VM on another host if a host goes down

2017-03-26 Thread Anantha Raghava

Hi,

I tried to configure the power management. But, the agent (idrac) is 
failing. It is unable to contact the idrac management interface.


Any document that explains the process you can guide me to?

--

Thanks & Regards,


Anantha Raghava

Do not print this e-mail unless required. Save Paper & trees.
On 27/03/17 1:57 AM, Luca 'remix_tj' Lorenzetto wrote:



Il 26 mar 2017 6:34 PM, "Anantha Raghava" 
> 
ha scritto:


Hello,

We are now using oVirt 4.1 in our lab with 2 hosts and a separate
server for engine. Both hosts (Dell R710 Servers) are in a single
cluster and load balancing & migrations work perfectly.

However, if a physical server goes down, the VMs running on that
server, gets paused ans status goes changes to "?". They do not
move or restart on the another host automatically. We have to
manually intervene, stop the VMs, restart them on another server.

Is there a way in which this migration can be automated?


Hello,

Did you configure power management?

HA works only if power management is configured and vms are set as 
highly available.


Luca



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


[ovirt-users] 4.1.1 Storage overview not in DC>Strorage only in dropdown and System>Storage

2017-03-26 Thread Matt .
Hi Guys,

I have upgraded from 4.0.6 to 4.1.1 and I see now that my storage is
now shown in the overview tab when you do Datacenter>Storage, but they
are shown under the Storage Tab of the domain.

System>Storage shows them as well, also the dropdown in "Add Disk" shows them.

What went wrong ?

Thanks.

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


Re: [ovirt-users] Best Storage Option: iSCSI/NFS/GlusterFS?

2017-03-26 Thread Marcin Kruk
But on the Dell MD32x00 you have got two controllers. The trick is that you
have to sustain link to both controllers, so the best option is to use
multipath as Yaniv said. Otherwise you get an error notifications from the
array.
The problem is with iSCSI target.
After server reboot, VDSM tries to connect to target which was previously
set, but it could be inactive.
So in that case you have to remember to edit configuration in vdsm.conf,
because vdsm.conf do not accept target with multi IP addresses.

2017-03-26 9:40 GMT+02:00 Yaniv Kaul :

>
>
> On Sat, Mar 25, 2017 at 9:20 AM, Charles Tassell 
> wrote:
>
>> 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.
>>
>
> NFS 4.2 is better than NFS 3 in the sense that you'll get DISCARD support,
> which is nice.
> Gluster probably requires 3 servers.
> In most cases, I don't think people see the difference in performance
> between NFS and iSCSI. The theory is that block storage is faster, but in
> practice, most don't get to those limits where it matters really.
>
>
>>
>>   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.
>>
>
> LCAP many times (especially on NFS) does not provide extra bandwidth, as
> the (single) NFS connection tends to be sticky to a single physical link.
> It's one of the reasons I personally prefer iSCSI with multipathing.
>
>
>>
>>   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.
>>
>
> A single controller is not very reliable. If reliability is your primary
> concern, I suggest ensuring there is no single point of failure - or at
> least you are aware of all of them (does the storage server have redundant
> power supply? to two power sources? Of course in some scenarios it's an
> overkill and perhaps not practical, but you should be aware of your weak
> spots).
>
> I'd stick with what you are most comfortable managing - creating, backing
> up, extending, verifying health, etc.
> Y.
>
>
>>
>> ___
>> 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


Re: [ovirt-users] Automatic restart of VM on another host if a host goes down

2017-03-26 Thread Fred Rolland
If you don't have power management, you should check VM lease:

http://www.ovirt.org/develop/release-management/features/storage/vm-leases/

https://youtu.be/WLnU_YsHWtU

On Mar 26, 2017 11:28 PM, "Luca 'remix_tj' Lorenzetto" <
lorenzetto.l...@gmail.com> wrote:

>
>
> Il 26 mar 2017 6:34 PM, "Anantha Raghava" 
> ha scritto:
>
> Hello,
>
> We are now using oVirt 4.1 in our lab with 2 hosts and a separate server
> for engine. Both hosts (Dell R710 Servers) are in a single cluster and load
> balancing & migrations work perfectly.
>
> However, if a physical server goes down, the VMs running on that server,
> gets paused ans status goes changes to "?". They do not move or restart on
> the another host automatically. We have to manually intervene, stop the
> VMs, restart them on another server.
>
> Is there a way in which this migration can be automated?
>
>
> Hello,
>
> Did you configure power management?
>
> HA works only if power management is configured and vms are set as highly
> available.
>
> Luca
>
>
> ___
> 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] Automatic restart of VM on another host if a host goes down

2017-03-26 Thread Luca 'remix_tj' Lorenzetto
Il 26 mar 2017 6:34 PM, "Anantha Raghava" 
ha scritto:

Hello,

We are now using oVirt 4.1 in our lab with 2 hosts and a separate server
for engine. Both hosts (Dell R710 Servers) are in a single cluster and load
balancing & migrations work perfectly.

However, if a physical server goes down, the VMs running on that server,
gets paused ans status goes changes to "?". They do not move or restart on
the another host automatically. We have to manually intervene, stop the
VMs, restart them on another server.

Is there a way in which this migration can be automated?


Hello,

Did you configure power management?

HA works only if power management is configured and vms are set as highly
available.

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


Re: [ovirt-users] Installation of ovirtNode3.6 on VMware workstation is failing

2017-03-26 Thread martin chamambo
ovirt-node-ng-installer-ovirt-3.6-2016052403 this is the version of the
installer that i am using , can anyone confirm then which version of Ovirt
(Both Node and Engine) are equivalent to which RHEV equivalentsi am
studying for RHCVA and thought ovirtNode 3.6 and 4.0 would work

On Sun, Mar 26, 2017 at 9:06 PM, Sandro Bonazzola 
wrote:

>
>
> Il 24/Mar/2017 09:32, "martin chamambo"  ha scritto:
>
> Good day
>
> I am using ovirtEngine 4.0 and ovirtnode 4.0  on the same engine i
> also need to test ovirtNode 3.6 since its  supported.
>
>
> Please note 3.6 and 4.0 have both reached end of life and current
> supported version is 4.1.
>
> Also in 3.6 oVirt Node NG was in tech preview. Are you using a "legacy"
> oVirt Node iso?
>
>
>
>
> Initially i struggled with installing ovirt engine 4.0 until i selected
> LVM thin provisioning
>
> the  same trick is not working with ovirtNode3.6 any type of
> partition  ,standard partition ,LVM ,LVM thin provisioning is not working
>
> is there anyone who experienced the same issue
>
> ___
> 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] Installation of ovirtNode3.6 on VMware workstation is failing

2017-03-26 Thread Sandro Bonazzola
Il 24/Mar/2017 09:32, "martin chamambo"  ha scritto:

Good day

I am using ovirtEngine 4.0 and ovirtnode 4.0  on the same engine i also
need to test ovirtNode 3.6 since its  supported.


Please note 3.6 and 4.0 have both reached end of life and current supported
version is 4.1.

Also in 3.6 oVirt Node NG was in tech preview. Are you using a "legacy"
oVirt Node iso?




Initially i struggled with installing ovirt engine 4.0 until i selected LVM
thin provisioning

the  same trick is not working with ovirtNode3.6 any type of partition
,standard partition ,LVM ,LVM thin provisioning is not working

is there anyone who experienced the same issue

___
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] Automatic restart of VM on another host if a host goes down

2017-03-26 Thread Devin Acosta

Have you marked the Virtual Machine as “highly available?” Under the “highly 
availability tab” under Advanced Options while editing the VM?

Devin

On Mar 26, 2017, 9:34 AM -0700, Anantha Raghava 
, wrote:
> Hello,
> We are now using oVirt 4.1 in our lab with 2 hosts and a separate server for 
> engine. Both hosts (Dell R710 Servers) are in a single cluster and load 
> balancing & migrations work perfectly.
> However, if a physical server goes down, the VMs running on that server, gets 
> paused ans status goes changes to "?". They do not move or restart on the 
> another host automatically. We have to manually intervene, stop the VMs, 
> restart them on another server.
> Is there a way in which this migration can be automated?
> --
> Thanks & Regards,
>
> Anantha Raghava
> Do not print this e-mail unless required. Save Paper & trees.
> ___
> 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] Installation of ovirtNode3.6 on VMware workstation is failing

2017-03-26 Thread martin chamambo
@Yaniv , OvirtNode 4.0 is working flawlessly , and the issue is with DISK
partitioning and VMware exposes the same drivers as with ovirtNode 4.0 
changing to thin LVM ddnt work either..

FYI - i am currently using ovirtNode 4.0 and OvirtEngine 4.0 and its working

On Sun, Mar 26, 2017 at 4:40 PM, Yaniv Kaul  wrote:

>
>
> On Fri, Mar 24, 2017 at 11:31 AM, martin chamambo 
> wrote:
>
>> Good day
>>
>> I am using ovirtEngine 4.0 and ovirtnode 4.0  on the same engine i
>> also need to test ovirtNode 3.6 since its  supported.
>>
>> Initially i struggled with installing ovirt engine 4.0 until i selected
>> LVM thin provisioning
>>
>> the  same trick is not working with ovirtNode3.6 any type of
>> partition  ,standard partition ,LVM ,LVM thin provisioning is not working
>>
>
> Are you trying to install it nested, on top of a virtualization solution
> (VMware) ?
> Perhaps the kind of HW you are exposing to the node is problematic? Try
> non-UEFI, for example.
>
>
>>
>> is there anyone who experienced the same issue
>>
>
> I'm not aware of many people trying node on VMware. It works flawlessly on
> KVM, nested.
> Y.
>
>
>>
>> ___
>> 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] Automatic restart of VM on another host if a host goes down

2017-03-26 Thread Anantha Raghava

Hello,

We are now using oVirt 4.1 in our lab with 2 hosts and a separate server 
for engine. Both hosts (Dell R710 Servers) are in a single cluster and 
load balancing & migrations work perfectly.


However, if a physical server goes down, the VMs running on that server, 
gets paused ans status goes changes to "?". They do not move or restart 
on the another host automatically. We have to manually intervene, stop 
the VMs, restart them on another server.


Is there a way in which this migration can be automated?

--

Thanks & Regards,


Anantha Raghava

Do not print this e-mail unless required. Save Paper & trees.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] The host xxx did not satisfy internal filter Memory because its available memory is too low

2017-03-26 Thread yimao
Hi,

When I create vm after I have installed ovirt Node 4.1.1 successfully,
I got this error message "The host  did not satisfy internal
filter Memory because its available memory is too low".

I use ovirt node:ovirt-node-ng-installer-ovirt-4.1-2017032304.iso and
ovirt-engine-appliance-4.1-20170322.1.el7.centos.noarch.rpm. And I
followed the steps in http://www.ovirt.org/node/.

I found the informations in  "hosts"->"general"->"info" page:
"Max free Memory for scheduling new VMs: 356 MB"
"Physical Memory: 15747 MB total, 5039 MB used, 10708 MB free"

Why the free memory for scheduling new vms is so little? Is there
anything wrong with my configuration?

Thanks in advance,
Yiimao Yang.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Installation of ovirtNode3.6 on VMware workstation is failing

2017-03-26 Thread Yaniv Kaul
On Fri, Mar 24, 2017 at 11:31 AM, martin chamambo 
wrote:

> Good day
>
> I am using ovirtEngine 4.0 and ovirtnode 4.0  on the same engine i
> also need to test ovirtNode 3.6 since its  supported.
>
> Initially i struggled with installing ovirt engine 4.0 until i selected
> LVM thin provisioning
>
> the  same trick is not working with ovirtNode3.6 any type of
> partition  ,standard partition ,LVM ,LVM thin provisioning is not working
>

Are you trying to install it nested, on top of a virtualization solution
(VMware) ?
Perhaps the kind of HW you are exposing to the node is problematic? Try
non-UEFI, for example.


>
> is there anyone who experienced the same issue
>

I'm not aware of many people trying node on VMware. It works flawlessly on
KVM, nested.
Y.


>
> ___
> 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] Bulk move vm disks?

2017-03-26 Thread Yaniv Kaul
On Fri, Mar 24, 2017 at 1:29 PM, Ernest Beinrohr  wrote:

> On 24.03.2017 11:11, gflwqs gflwqs wrote:
>
> Hi list,
> I need to move 600+ vms:from one data domain to another, however from what
> i can see in the GUI i can only move one vm disk at the time which would be
> very time consuming.
>
> I there any way i can bulk move those vm disks?
> By the way, I can't stop the vms they have to be online during the
> migration..
>
> This is my python program:
>
> # ... API init
>
> vms= api.vms.list(query = 'vmname')
>
> for vm in vms:
>   print vm.name
>   for disk in vm.disks.list( ):
>

I personally would not move it disk by disk, VM by VM. It'll take a lot of
time and you can usually move multiple disks at a time.
How many, depend on your storage bottlenecks usually, but few at a time
makes sense to me.


>
> print " disk: " + disk.name + " " + disk.get_alias()
> sd = api.storagedomains.get('NEWSTORAGE')
>
> try:
>   disk.move(params.Action(storage_domain=sd))
>
>   disk_id = disk.get_id()
>   while True:
>

Not breaking for any kind of timeout or state other than 'ok' ?


>
>   print("Waiting for movement to complete ...")
>   time.sleep(10)
>   disk = vm.disks.get(id=disk_id)
>   if disk.get_status().get_state() == "ok":
>   break
>
> except:
>   print "Cannot move."
>

A bit more information here might help diagnosing what has failed.
Y.


>
>
> api.disconnect()
>
>
>
> --
> Ernest Beinrohr, AXON PRO
> Ing , RHCE
> , RHCVA ,
> LPIC , VCA
> ,
> +421-2-62410360 <+421%202/624%20103%2060> +421-903-482603
> <+421%20903%20482%20603>
>
> ___
> 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] Summer Of Code

2017-03-26 Thread Yaniv Kaul
On Thu, Mar 23, 2017 at 4:19 PM, Tomislav Kulušić 
wrote:

> Hello, my name is Tomislav Kulusic and I am coming from Split Croatia.
> Right now I am a second year student at Rochester Institute Of Technology
> Croatia enrolled on Web and Mobile Computing major. I would like to know
> more about your company and to see how to properly propose proposal for
> summer of code project. Thanks in advance and I’m hoping to get response
> from you soon.
>

Please take a look @
http://www.ovirt.org/community/activities/summer-of-code/ , where we have
the relevant information and ideas for projects?
TIA,
Y.


> ___
> 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] Error attempting to create dwh readonly user

2017-03-26 Thread Yedidyah Bar David
On Sun, Mar 26, 2017 at 10:57 AM, Berger, Sandy  wrote:
> Thanks. That worked. However, now when I try to use that user from a remote
> system I am getting this error. I’m not sure what I need to add to the
> pg_hba.conf file or what I need to do after editing it.
>
>
>
> Credential validation was not successful: no pg_hba.conf entry for host
> "ip_address", user "username", database "ovirt_engine_history", SSL off

Find the file (should be in /var/lib/pgsql/data)

Find lines in it with 'ovirt_engine_history'. You should have two, like these:

hostovirt_engine_history ovirt_engine_history 0.0.0.0/0   md5
hostovirt_engine_history ovirt_engine_history ::0/0   md5


Duplicate them, put the duplicates right below the existing ones, and
edit the duplicates, replacing the _second_ occurrence of 'ovirt_engine_history'
with the user you created. E.g.:

hostovirt_engine_history ovirt_engine_history 0.0.0.0/0   md5
hostovirt_engine_history ovirt_engine_history ::0/0   md5
hostovirt_engine_history ro_user 0.0.0.0/0   md5
hostovirt_engine_history ro_user ::0/0   md5


Then 'systemctl restart postgresql'.

Best,

>
>
>
> -Original Message-
> From: Yedidyah Bar David [mailto:d...@redhat.com]
> Sent: Sunday, March 26, 2017 1:43 AM
> To: Berger, Sandy 
> Cc: users@ovirt.org
> Subject: Re: [ovirt-users] Error attempting to create dwh readonly user
>
>
>
> On Sun, Mar 26, 2017 at 6:12 AM, Berger, Sandy  wrote:
>
>> 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.
>
>
>
> Are you doing this as root? Please try to do this from OS user 'postgres'.
>
>
>
> Best,
>
>
>
>>
>
>>
>
>>
>
>> 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
>
>>
>
>
>
>
>
>
>
> --
>
> Didi
>
> Follow Us: Facebook | Twitter | LinkedIn | YouTube



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


Re: [ovirt-users] Cloud init and vms

2017-03-26 Thread Yaniv Kaul
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
>

Can you share vdsm logs, to ensure the CloudInit payload (in the CDROM) has
been created?
Then please also check CloudInit logs - is it looking for it in the CD?
Y.


>
> 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
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users