Re: [ovirt-users] Importing existing KVM hosts to Ovirt

2017-04-18 Thread Shahar Havivi
I am glad its works.
btw the vdsm user is exists you can see it in /etc/passwd but it have no
shell login so the ssh key generation will be in /var/ (which mean it may
not survive reboot).
the instruction for the ssh are for Xen but the instruction in the section
"importing-vm" are working for kvm as well.

 Shahar.

On Wed, Apr 19, 2017 at 12:56 AM, Konstantin Raskoshnyi 
wrote:

> So eventually it worked fine! Thanks
>
> On Tue, Apr 18, 2017 at 2:28 AM, Shahar Havivi  wrote:
>
>> for more info about setting the vdsm user you can see this section:
>> https://www.ovirt.org/develop/release-management/features/vi
>> rt/XenToOvirt/#importing-vm
>> its for importing from Xen hypervisiors but the ssh generation for vdsm
>> user is the same.
>>
>>  Shahar.
>>
>> On Tue, Apr 18, 2017 at 12:20 PM, Michal Skrivanek <
>> michal.skriva...@redhat.com> wrote:
>>
>>>
>>> On 18 Apr 2017, at 09:25, Konstantin Raskoshnyi 
>>> wrote:
>>>
>>> Hi Shahar,
>>> That's for the info,
>>> I'm getting this errors when trying to do with ssh method, even though I
>>> can run virsh -c qemu+ssh://user@tank4/system list without any problems
>>>
>>>
>>> can you run that as a “vdsm” user? You need to exchange keys for “vdsm”
>>> (note it has disabled login, so you need to use "runuser" or something)
>>>
>>> Thanks,
>>> michal
>>>
>>>
>>> Here's the error,
>>>
>>> 2017-04-18 07:24:06,152Z ERROR [org.ovirt.engine.core.vdsbrok
>>> er.vdsbroker.GetVmsNamesFromExternalProviderVDSCommand] (default
>>> task-20) [69b6998b-e451-4a9b-8112-d57c8b9e88ec] Command
>>> 'GetVmsNamesFromExternalProviderVDSCommand(HostName = tank5,
>>> GetVmsFromExternalProviderParameters:{runAsync='true',
>>> hostId='aa9ef44e-04e4-4a63-b982-e0ead9a8d497', url='
>>> qemu+ssh://test@tank4/system', username='test', originType='KVM',
>>> namesOfVms='null'})' execution failed: VDSGenericException:
>>> VDSErrorException: Failed to GetVmsNamesFromExternalProviderVDS, error
>>> = Cannot recv data: Host key verification failed.: Connection reset by
>>> peer, code = 65
>>>
>>> 2017-04-18 07:18:05,381Z ERROR 
>>> [org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery]
>>> (default task-52) [bb2db0e0-d0f8-4619-b6a0-8a7efdd06a6c] Exception:
>>> org.ovirt.engine.core.common.errors.EngineException: EngineException:
>>> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
>>> VDSGenericException: VDSErrorException: Failed to
>>> GetVmsNamesFromExternalProviderVDS, error = Cannot recv data: Host key
>>> verification failed.: Connection reset by peer, code = 65 (Failed with
>>> error unexpected and code 16)
>>> at org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:118)
>>> [bll.jar:]
>>> at org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.runVdsComman
>>> d(VDSBrokerFrontendImpl.java:33) [bll.jar:]
>>> at 
>>> org.ovirt.engine.core.bll.QueriesCommandBase.runVdsCommand(QueriesCommandBase.java:242)
>>> [bll.jar:]
>>> at org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.ge
>>> tVmsFromExternalProvider(GetVmsFromExternalProviderQuery.java:46)
>>> [bll.jar:]
>>> at org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.ex
>>> ecuteQueryCommand(GetVmsFromExternalProviderQuery.java:40) [bll.jar:]
>>> at 
>>> org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:110)
>>> [bll.jar:]
>>> at org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33)
>>> [dal.jar:]
>>> at org.ovirt.engine.core.bll.executor.DefaultBackendQueryExecut
>>> or.execute(DefaultBackendQueryExecutor.java:14) [bll.jar:]
>>> at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:579)
>>> [bll.jar:]
>>> at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:547)
>>> [bll.jar:]
>>> at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
>>> [:1.8.0_121]
>>> at 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> [rt.jar:1.8.0_121]
>>> at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]
>>>
>>> On Mon, Apr 17, 2017 at 11:12 PM, Shahar Havivi 
>>> wrote:
>>>
 Hi,
 There is a wiki page for importing VMs from other hypervisors here:
 https://www.ovirt.org/develop/release-management/features/vi
 rt/virt-v2v-integration/

 and specific for KVM from Libvirt the wiki page is in progress but you
 can read about it here:
 https://github.com/oVirt/ovirt-site/pull/876/files

 On Fri, Apr 14, 2017 at 9:05 PM, Michal Skrivanek <
 michal.skriva...@redhat.com> wrote:

>
> > On 14 Apr 2017, at 19:48, Konstantin Raskoshnyi 
> wrote:
> >
> > Hi guys, I just installed oVirt 4.1 - works great!
> >
> > But the questing is, we have around 50 existing  kvm hosts, is it
> really possible during adding them to oVirt add all VMs from them to 
> oVirt?
>
> you can try GUI Import VM via libvirt, unless you 

Re: [ovirt-users] massive simultaneous vms migrations ?

2017-04-18 Thread Konstantin Shalygin

Hello.

What is your Migration Network?



We have some hosts that have 60 vms. So this will create a 60 vms migrating 
simultaneously.
Some vms are under so much heavy loads that migration fails often (our guess is that 
massive simultaneous migrations does not help migration convergence) - even with 
"suspend workload if needed" migraton policy.


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


[ovirt-users] PXELinux BIOS reboot loop on Ubuntu 16.04

2017-04-18 Thread Matt .
When I have build a successfull host using Foreman it gets the PXE
Menu showed in the attachment.

This menu with the first option selected gets into a reboot loop:

Chanload into bootloader on the first disk




When I manually switch to:

Chanload into bootloader on the first disk - alternative


the host boots as normal.

Why does this happens just at once on Debian/Ubuntu and not on Fedora/CentOS ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Importing existing KVM hosts to Ovirt

2017-04-18 Thread Konstantin Raskoshnyi
I don't have that user at all.
The old hosts have only libvirtd installed and running kvm hosts

Also instruction is for XEN, we don't run XEN VMs

So it

On Tue, Apr 18, 2017 at 2:20 AM, Michal Skrivanek <
michal.skriva...@redhat.com> wrote:

>
> On 18 Apr 2017, at 09:25, Konstantin Raskoshnyi 
> wrote:
>
> Hi Shahar,
> That's for the info,
> I'm getting this errors when trying to do with ssh method, even though I
> can run virsh -c qemu+ssh://user@tank4/system list without any problems
>
>
> can you run that as a “vdsm” user? You need to exchange keys for “vdsm”
> (note it has disabled login, so you need to use "runuser" or something)
>
> Thanks,
> michal
>
>
> Here's the error,
>
> 2017-04-18 07:24:06,152Z ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.
> GetVmsNamesFromExternalProviderVDSCommand] (default task-20)
> [69b6998b-e451-4a9b-8112-d57c8b9e88ec] Command '
> GetVmsNamesFromExternalProviderVDSCommand(HostName = tank5,
> GetVmsFromExternalProviderParameters:{runAsync='true',
> hostId='aa9ef44e-04e4-4a63-b982-e0ead9a8d497', url='qemu+ssh://test@tank4/
> system', username='test', originType='KVM', namesOfVms='null'})'
> execution failed: VDSGenericException: VDSErrorException: Failed to
> GetVmsNamesFromExternalProviderVDS, error = Cannot recv data: Host key
> verification failed.: Connection reset by peer, code = 65
>
> 2017-04-18 07:18:05,381Z ERROR [org.ovirt.engine.core.bll.
> GetVmsFromExternalProviderQuery] (default task-52)
> [bb2db0e0-d0f8-4619-b6a0-8a7efdd06a6c] Exception:
> org.ovirt.engine.core.common.errors.EngineException: EngineException:
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
> VDSGenericException: VDSErrorException: Failed to
> GetVmsNamesFromExternalProviderVDS, error = Cannot recv data: Host key
> verification failed.: Connection reset by peer, code = 65 (Failed with
> error unexpected and code 16)
> at org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:118)
> [bll.jar:]
> at 
> org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.runVdsCommand(VDSBrokerFrontendImpl.java:33)
> [bll.jar:]
> at 
> org.ovirt.engine.core.bll.QueriesCommandBase.runVdsCommand(QueriesCommandBase.java:242)
> [bll.jar:]
> at org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuer
> y.getVmsFromExternalProvider(GetVmsFromExternalProviderQuery.java:46)
> [bll.jar:]
> at org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuer
> y.executeQueryCommand(GetVmsFromExternalProviderQuery.java:40) [bll.jar:]
> at 
> org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:110)
> [bll.jar:]
> at org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33)
> [dal.jar:]
> at org.ovirt.engine.core.bll.executor.DefaultBackendQueryExecutor.execute(
> DefaultBackendQueryExecutor.java:14) [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:579)
> [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:547) [bll.jar:]
> at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
> [:1.8.0_121]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_121]
> at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]
>
> On Mon, Apr 17, 2017 at 11:12 PM, Shahar Havivi 
>  wrote:
>
>> Hi,
>> There is a wiki page for importing VMs from other hypervisors here:
>> https://www.ovirt.org/develop/release-management/features/vi
>> rt/virt-v2v-integration/
>>
>> and specific for KVM from Libvirt the wiki page is in progress but you
>> can read about it here:
>> https://github.com/oVirt/ovirt-site/pull/876/files
>>
>> On Fri, Apr 14, 2017 at 9:05 PM, Michal Skrivanek <
>> michal.skriva...@redhat.com> wrote:
>>
>>>
>>> > On 14 Apr 2017, at 19:48, Konstantin Raskoshnyi 
>>> wrote:
>>> >
>>> > Hi guys, I just installed oVirt 4.1 - works great!
>>> >
>>> > But the questing is, we have around 50 existing  kvm hosts, is it
>>> really possible during adding them to oVirt add all VMs from them to oVirt?
>>>
>>> you can try GUI Import VM via libvirt, unless you use some exotic
>>> options/storage it should work just fine
>>>
>>> >
>>> > Second options I see - import disks to oVirts and re-create machines
>>>
>>> that’s possible as well, disk by disk.
>>>
>>> Thanks,
>>> michal
>>>
>>> >
>>> > Thanks for the help.
>>> > ___
>>> > 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
>>>
>>
>>
>
>
On Tue, Apr 18, 2017 at 2:28 AM, Shahar Havivi  wrote:

> for more info about setting the vdsm user you can see this section:
> https://www.ovirt.org/develop/release-management/features/
> virt/XenToOvirt/#importing-vm
> its for importing from Xen hypervisiors but 

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

2017-04-18 Thread Bryan Sockel
Was reading over this post to the group about storage options.  I am more of 
a windows guy as appose to a linux guy, but am learning quickly and had a 
question.  You said that LACP will not provide extra band with (Especially 
with NFS).  Does the same hold true with GlusterFS.  We are currently using 
GlusterFS for the file replication piece.  Does Glusterfs take advantage of 
any multipathing?

Thanks


-Original Message-
From: Yaniv Kaul 
To: Charles Tassell 
Cc: users 
Date: Sun, 26 Mar 2017 10:40:00 +0300
Subject: Re: [ovirt-users] Best Storage Option: iSCSI/NFS/GlusterFS?



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


Re: [ovirt-users] storage redundancy in Ovirt

2017-04-18 Thread Pavel Gashev
On Tue, 2017-04-18 at 17:19 +, Nir Soffer wrote:
On Tue, Apr 18, 2017 at 12:23 AM Pavel Gashev 
> wrote:

Nir,

A process can chdir into mount point and then lazy umount it. Filesystem 
remains mounted while the process exists and current directory is on mounted 
filesystem.

# struncate -s 1g masterfs.img
# mkfs.ext4 masterfs.img
# mkdir masterfs
# mount -o loop masterfs.img masterfs
# cd masterfs
# umount -l .
# touch file
# ls
# cd ..
# ls masterfs

Interesting idea!

The only issue I see if not having a way to tell if the file system was actually
unmounted. Does process termination guarantee that the file system was
unmounted?

You can double check that by deactivating underlying LV. It should not be busy.

As I understand it unmounts FS as soon as all inodes are closed. Since killing 
of process is closing all open inodes, you can be sure that file system is 
unmounted if there are no other processes. Of course this is a place for race 
conditions. For example, unmounting can be stuck some time if underlying 
storage is unresponsive. Multipath should drop all IOs with EIO. VDSM has to 
wait enough time after acquiring the lock before mounting masterfs.

Do you know if the behaviour is documented somewhere?

umount(8):

-l, --lazy
Lazy unmount.  Detach the filesystem from the filesystem hierarchy now, and 
cleanup all references to the filesystem as soon as it is not busy anymore.  
(Requires kernel 2.4.11 or later.)


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


Re: [ovirt-users] Empty ovirt engine web pages

2017-04-18 Thread shubham dubey
Thanks,the error is resolved.

On Tue, Apr 18, 2017 at 1:23 PM, Maor Lipchuk  wrote:

>
>
> On Tue, Apr 18, 2017 at 10:50 AM, Maor Lipchuk 
> wrote:
>
>> Hi Shubham,
>>
>> In case you do not need the DWH setup, you can disable the Dashboard
>> background queries via the ovirt-engine.conf.
>>
>> Please, add the following file to your $DEV_OVIRT_PREFIX folder:
>>  "$DEV_OVIRT_PREFIX/etc/ovirt-engine/engine.conf.d/99-no-dashboard.conf"
>> and add it the following content:
>>
>>  #
>>  # Enable/disable updating the dashboard DB query caches at regular
>> intervals.
>>  #
>>  DASHBOARD_CACHE_UPDATE=false
>>
>> This should stop the error message
>>
>> Regards,
>> Maor
>>
>
> Deleted the extra copied info, it should be irrelevant.
>
>
>>
>> On Mon, Apr 17, 2017 at 3:50 PM, Alexander Wels  wrote:
>>
>>> On Friday, April 14, 2017 9:38:23 AM EDT Sandro Bonazzola wrote:
>>> > Adding Martin
>>> >
>>>
>>> That exception is telling you it can't run the queries needed to
>>> populate the
>>> dashboard. Highly likely you don't have the DWH properly
>>> installed/configured.
>>> That still shouldn't give you just a blank page, the code is written to
>>> display an error stating unable to display dashboard or something of that
>>> nature.
>>>
>>> > On Thu, Apr 13, 2017 at 5:51 AM, shubham dubey 
>>> wrote:
>>> > > Hello,
>>> > > I have installed ovirt engine from source and installed all other
>>> required
>>> > > packages also,
>>> > > including ovirt-js-dependencies.But when I am login to the admin
>>> account I
>>> > > am getting blank
>>> > > page everytime. Some other pages are also coming empty sometime.
>>> > > I have pasted the logs for $HOME/ovirt-engine/share/
>>> > > ovirt-engine/services/ovirt-engine/ovirt-engine.py start[1].The
>>> possible
>>> > > error log is
>>> > >
>>> > > 2017-04-13 09:07:09,902+05 ERROR [org.ovirt.engine.ui.frontend.
>>> > > server.dashboard.DashboardDataServlet.CacheUpdate.Utilization]
>>> > > (EE-ManagedThreadFactory-default-Thread-1) [] Could not update the
>>> > > Utilization Cache: Error while running SQL query:
>>> > > org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataE
>>> xception:
>>> > > Error while running SQL query
>>> > >
>>> > >at
>>> > >org.ovirt.engine.ui.frontend.server.dashboard.dao.BaseDao.ru
>>> nQuery
>>> > >(BaseDao.java:60)>
>>> > > [frontend.jar:]
>>> > >
>>> > >at org.ovirt.engine.ui.frontend.s
>>> erver.dashboard.dao.HostDwhDao.
>>> > >
>>> > > getTotalCpuMemCount(HostDwhDao.java:78) [frontend.jar:]
>>> > >
>>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>>> > >
>>> > > HourlySummaryHelper.getTotalCpuMemCount(HourlySummaryHelper.java:43)
>>> > > [frontend.jar:]
>>> > >
>>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>>> > >
>>> > > HourlySummaryHelper.getCpuMemSummary(HourlySummaryHelper.java:21)
>>> > > [frontend.jar:]
>>> > >
>>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>>> > >
>>> > > DashboardDataServlet.lookupGlobalUtilization(DashboardDataSe
>>> rvlet.java:294
>>> > > )
>>> > > [frontend.jar:]
>>> > >
>>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>>> > >
>>> > > DashboardDataServlet.getDashboard(DashboardDataServlet.java:268)
>>> > > [frontend.jar:]
>>> > >
>>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>>> > >
>>> > > DashboardDataServlet.populateUtilizationCache(DashboardDataS
>>> ervlet.java:23
>>> > > 1) [frontend.jar:]
>>> > >
>>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>>> > >
>>> > > DashboardDataServlet.access$000(DashboardDataServlet.java:26)
>>> > > [frontend.jar:]
>>> > >
>>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>>> > >
>>> > > DashboardDataServlet$1.run(DashboardDataServlet.java:106)
>>> [frontend.jar:]
>>> > >
>>> > >at
>>> > >java.util.concurrent.Executors$RunnableAdapter.call(Executor
>>> s.java
>>> > >:511)
>>> > >
>>> > > [rt.jar:1.8.0_121]
>>> > >
>>> > >at java.util.concurrent.FutureTas
>>> k.runAndReset(FutureTask.java:308)
>>> > >
>>> > > [rt.jar:1.8.0_121]
>>> > >
>>> > >at org.glassfish.enterprise.concurrent.internal.
>>> > >
>>> > > ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTas
>>> k.access$201(
>>> > > ManagedScheduledThreadPoolExecutor.java:383)
>>> [javax.enterprise.concurrent-
>>> > > 1.0.jar:]
>>> > >
>>> > >at org.glassfish.enterprise.concurrent.internal.
>>> > >
>>> > > ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.run(
>>> > > ManagedScheduledThreadPoolExecutor.java:534)
>>> [javax.enterprise.concurrent-
>>> > > 1.0.jar:]
>>> > >
>>> > >at
>>> > >java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>>> Execut
>>> > >or.java:1142)>
>>> > > [rt.jar:1.8.0_121]
>>> > >
>>> > >at
>>> > >

Re: [ovirt-users] storage redundancy in Ovirt

2017-04-18 Thread Nir Soffer
On Tue, Apr 18, 2017 at 12:23 AM Pavel Gashev  wrote:

> Nir,
>
> A process can chdir into mount point and then lazy umount it. Filesystem
> remains mounted while the process exists and current directory is on
> mounted filesystem.
>
> # struncate -s 1g masterfs.img
> # mkfs.ext4 masterfs.img
> # mkdir masterfs
> # mount -o loop masterfs.img masterfs
> # cd masterfs
> # umount -l .
> # touch file
> # ls
> # cd ..
> # ls masterfs
>
Interesting idea!

The only issue I see if not having a way to tell if the file system was
actually
unmounted. Does process termination guarantee that the file system was
unmounted?

Do you know if the behaviour is documented somewhere?

Nir


>
> --
> *From:* Nir Soffer 
> *Sent:* Apr 17, 2017 8:40 PM
> *To:* Adam Litke; Pavel Gashev
> *Cc:* users
>
> *Subject:* Re: [ovirt-users] storage redundancy in Ovirt
>
> On Mon, Apr 17, 2017 at 6:54 PM Adam Litke  wrote:
>
>> On Mon, Apr 17, 2017 at 11:04 AM, Pavel Gashev  wrote:
>>
>>> Adam,
>>>
>>>
>>>
>>> You know, Sanlock has recovery mechanism that kills VDSM, or even
>>> triggers Watchdog to reboot SPM host in case it has lost the SPM lock.
>>>
>>> I’m asking because I had issues with my master storage that caused SPM
>>> host to reboot by Watchdog. And I was sure that it’s an intended behaviour.
>>> Isn’t it?
>>>
>>
>> Yes of course.  But an SPM host can fail but still maintain its
>> connection to the storage lease.  In this case still you need classic
>> fencing.
>>
>> Something new we are investigating is the use of sanlock's request
>> feature which allows a new host to take the lease away from the current
>> holder.  The current holder would be fenced by sanlock (watchdog if
>> necessary) and only once the lease is free would it be granted to the new
>> requester.
>>
>
> We can use the SPM lease to kill vdsm on the non-responsive SPM host,
> and start the SPM on another host, similar to the way we handle vms with
> a lease.
>
> But this does not help with the masterfs mounted on the SPM host. if vdsm
> is killed before it unmount it, strating the SPM on another host (and
> mounting
> the msasterfs on the new host) will corrupt the masterfs.
>
> When using file based storage (nfs, glusterfs) we don't have a masterfs so
> killing vdsm on the SPM should be good enough to start the SPM on another
> host, even if fencing is not possible.
>
> We can start with enabling sanlock based SPM fencing on file based storage.
>
> Nir
>
>
>>
>>
>>>
>>>
>>>
>>>
>>> *From: *Adam Litke 
>>> *Date: *Monday, 17 April 2017 at 17:32
>>> *To: *Pavel Gashev 
>>> *Cc: *Nir Soffer , users 
>>>
>>> *Subject: *Re: [ovirt-users] storage redundancy in Ovirt
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Apr 17, 2017 at 9:26 AM, Pavel Gashev  wrote:
>>>
>>> Nir,
>>>
>>>
>>>
>>> Isn’t SPM managed via Sanlock? I believe there is no need to fence SPM
>>> host. Especially if there are no SPM tasks running.
>>>
>>>
>>>
>>> It's true that the exclusivity of the SPM role is enforced by Sanlock
>>> but you always need to fence a non-responsive SPM because there is no way
>>> to guarantee that the host is not still manipulating storage (eg. LV
>>> extensions) and we must ensure that only one host has the masterfs on the
>>> master storage domain mounted.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *From: * on behalf of Nir Soffer <
>>> nsof...@redhat.com>
>>> *Date: *Monday, 17 April 2017 at 16:06
>>> *To: *Konstantin Raskoshnyi , Dan Yasny <
>>> dya...@gmail.com>
>>> *Cc: *users , FERNANDO FREDIANI <
>>> fernando.fredi...@upx.com>
>>> *Subject: *Re: [ovirt-users] storage redundancy in Ovirt
>>>
>>>
>>>
>>> On Mon, Apr 17, 2017 at 8:24 AM Konstantin Raskoshnyi <
>>> konra...@gmail.com> wrote:
>>>
>>> But actually, it didn't work well. After main SPM host went down I see
>>> this
>>>
>>>
>>>
>>>
>>>
>>> 2017-04-17 05:23:15,554Z ERROR
>>> [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy]
>>> (DefaultQuartzScheduler5) [4dcc033d-26bf-49bb-bfaa-03a970dbbec1] SPM Init:
>>> could not find reported vds or not up - pool: 'STG' vds_spm_id: '1'
>>>
>>> 2017-04-17 05:23:15,567Z INFO
>>>  [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy]
>>> (DefaultQuartzScheduler5) [4dcc033d-26bf-49bb-bfaa-03a970dbbec1] SPM
>>> selection - vds seems as spm 'tank5'
>>>
>>> 2017-04-17 05:23:15,567Z WARN
>>>  [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy]
>>> (DefaultQuartzScheduler5) [4dcc033d-26bf-49bb-bfaa-03a970dbbec1] spm vds is
>>> non responsive, stopping spm selection.
>>>
>>>
>>>
>>> So that means only if BMC is up it's possible to automatically switch
>>>  SPM host?
>>>
>>>
>>>
>>> BMC?
>>>
>>>
>>>
>>> If your SPM is no responsive, the system will try to fence it. Did you
>>>
>>> configure power management for all hosts? did you check that 

Re: [ovirt-users] options for fence_ipmilan?

2017-04-18 Thread Martin Perina
On Tue, Apr 18, 2017 at 12:29 PM, Gianluca Cecchi  wrote:

> On Tue, Apr 18, 2017 at 12:16 PM, Matthias Leopold <
> matthias.leop...@meduniwien.ac.at> wrote:
>
>> hi,
>>
>> i'm trying to make fencing (via ipmilan) work with a ipmi user with only
>> "OPERATOR" privileges. This works with CLI (-L OPERATOR). when trying to
>> configure this via GUI i fail. interface tells me
>>
>> Test failed: [WARNING:root:Parse error: Ignoring unknown option
>> 'L=OPERATOR', , ERROR:root:Failed: Unable to obtain correct plug status or
>> plug is not available, , , Failed: Unable to obtain correct plug status or
>> plug is not available, , ]
>>
>> i tried "-L OPERATOR" and "L=OPERATOR", with and without quotes, no
>> avail...
>>
>
​Hi,

please take a look at man page of fence_ipmilan agent, there are 2 types of
options:

1. Command line options like '-L'
2. Stdin options like 'privlvl'

For 'Options' field of power management agent in oVirt you need to use
stdin options, so please add 'privlvl=operator' into Options as already
Gianluca suggested

Thanks

Martin


>> can somebody help me?
>>
>> ovirt 4.1.1
>>
>>
> Hi,
> this works for me in options part of host power mgmt configuration with
> 4.1.1 and Dell M610 hypervisors:
>
> privlvl=operator,lanplus=on
>
> 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


Re: [ovirt-users] massive simultaneous vms migrations ?

2017-04-18 Thread Pavel Gashev
VDSM has the following config option:

# Maximum concurrent outgoing migrations
# max_outgoing_migrations = 2

On Tue, 2017-04-18 at 18:48 +0200, Nelson Lameiras wrote:
hello,

When putting a host on "maintenance mode", all vms start migrating to other 
hosts.

We have some hosts that have 60 vms. So this will create a 60 vms migrating 
simultaneously.
Some vms are under so much heavy loads that migration fails often (our guess is 
that massive simultaneous migrations does not help migration convergence) - 
even with "suspend workload if needed" migraton policy.

- Does oVirt really launches 60 simultaneous migrations or is there a queuing 
system ?
- If there is a queuing system, is there a way to configure a maximum number of 
simultaneous migrations ?

I did see a "migration bandwidth limit", but this is quite what we are looking 
for.

my setup:
ovirt-engine +hosted engine 4.1.1
hosts : centos 7.3 fully updated.

for full context to understand this question : 2 times in the past, when trying 
to put a host in maintenance, host stopped responding during massive migrations 
and was fenced by engine. It's still unclear why host stopped responding, but 
we think that migrating 60+ vms simultaneously puts a heavy strain on storage ? 
So we would like to better control migration process in order to better 
understand what's happening. This scenario is "production only" since our labs 
do not contain nearly as much vm with such heavy loads. So rather than trying 
to reproduce, we are trying to avoid ;)

cordialement, regards,

[cid:1492535709.17056.4.camel@acronis.com]

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


[cid:1492535709.17056.3.camel@acronis.com]
[cid:1492535709.17056.2.camel@acronis.com] 

[cid:1492535709.17056.1.camel@acronis.com] 

[cid:1492535709.17056.0.camel@acronis.com] 



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


[ovirt-users] massive simultaneous vms migrations ?

2017-04-18 Thread Nelson Lameiras
hello, 

When putting a host on "maintenance mode", all vms start migrating to other 
hosts. 

We have some hosts that have 60 vms. So this will create a 60 vms migrating 
simultaneously. 
Some vms are under so much heavy loads that migration fails often (our guess is 
that massive simultaneous migrations does not help migration convergence) - 
even with "suspend workload if needed" migraton policy. 

- Does oVirt really launches 60 simultaneous migrations or is there a queuing 
system ? 
- If there is a queuing system, is there a way to configure a maximum number of 
simultaneous migrations ? 

I did see a "migration bandwidth limit", but this is quite what we are looking 
for. 

my setup: 
ovirt-engine +hosted engine 4.1.1 
hosts : centos 7.3 fully updated. 

for full context to understand this question : 2 times in the past, when trying 
to put a host in maintenance, host stopped responding during massive migrations 
and was fenced by engine. It's still unclear why host stopped responding, but 
we think that migrating 60+ vms simultaneously puts a heavy strain on storage ? 
So we would like to better control migration process in order to better 
understand what's happening. This scenario is "production only" since our labs 
do not contain nearly as much vm with such heavy loads. So rather than trying 
to reproduce, we are trying to avoid ;) 

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


[ovirt-users] Question about Huge Pages

2017-04-18 Thread Gianluca Cecchi
Hello,
I'm testing virtualization of some Oracle servers.
I have 4.1.1 with CentOS 7.3 servers as hypervisors.
Typically on physical Oracle servers I configure huge pages for Oracle
memory areas.
In particular I disable Transparent Huge Pages, because they are known to
be in conflict with Oracle performances, both in RAC and in standalone
configurations.
In RHEL systems I configure "transparent_hugepage=never" boot parameter,
while in Oracle Linux OS uek kernels it is already disabled by default.
I notice that in CentOS 7.3, by default, transparent huge pages are
configured:

[root@ov300 ~]# cat /proc/meminfo | grep -i huge
AnonHugePages:  17006592 kB
HugePages_Total:   0
HugePages_Free:0
HugePages_Rsvd:0
HugePages_Surp:0
Hugepagesize:   2048 kB
[root@ov300 ~]#

I'm going to configure a VM with 64Gb of ram and with an Oracle RDBMS that
would have 16Gb of SGA.
I suspect that I could have problems if I dont' change configuration at
hypervisor level...

What do you think about this subject?
Is there any drawback if I manually configure the hypervisors to boot with
 the "transparent_hugepage=never" boot parameter?

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


Re: [ovirt-users] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-18 Thread Rafał Wojciechowski

hi,

I was unable to just remove glibc and install it again - I have 
reinstalled it and rebooted the machine but it was not fixed anything

Thanks anyway.

Regards,
Rafal Wojciechowski

W dniu 18.04.2017 o 10:53, Yanir Quinn pisze:

Hi Rafal
not sure it relates to your issue, but i experienced a similar issue 
with segfault (running on fedora 25)
to resolve it i had to remove glibc packages and then install them 
again (maybe a same workaround for libvirt will do the job here)


Regards
Yanir Quinn

On Tue, Apr 18, 2017 at 9:32 AM, Francesco Romani > wrote:




On 04/18/2017 08:09 AM, Rafał Wojciechowski wrote:
>
> hello,
>
> I made comparison(+diff) between xml passing through vdsm which is
> working and another one which cause libvirtd segfault
>
>

https://paste.fedoraproject.org/paste/eqpe8Byu2l-3SRdXc6LTLl5M1UNdIGYhyRLivL9gydE=


>
>
> I am not sure if below setting are fine but I dont know how to
change them
>
> 
> (I dont have so much ram and vgamem)
>

those are kibibytes though
(https://libvirt.org/formatdomain.html#elementsVideo
), are pretty
conservarvative settings
>
>  passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1"
type="spice">
> (ports with "-"? maybe it is fine because of autoport settings...)
>

Yes, "-1" means "autoallocation from libvirt".
I don't see obvious issues in this XML, and, most importantly, one
invalid XML should never cause libvirtd to segfault.

I'd file a libvirt bug.


--
Francesco Romani
Senior SW Eng., Virtualization R
Red Hat
IRC: fromani github: @fromanirh

___
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] engine upgrade 4.1.0 => 4.1.1, no more engine console available

2017-04-18 Thread Rafał Wojciechowski

hi,

I applied it for 
/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ 
content, then rebooted, reinstalled host in ovirt engine web 
administrator, again rebooted and tried again but I have still the same 
issue with libvirtd segfault



Regards,
Rafal Wojciechowski


W dniu 18.04.2017 o 14:20, Evgenia Tokar pisze:

Hi,

Thanks for bringing the issue to our attention and for answering the 
questions.


There is a patch to fix this: https://gerrit.ovirt.org/#/c/75515/
After applying the patch a restart to the hosted engine vm is required 
(not just the engine).


Let me know if you are still experiencing issues with this.

Thanks,
Jenny


On Wed, Apr 12, 2017 at 8:05 PM, Rafał Wojciechowski 
> wrote:


hi,

I will answer also. however I am using single hypervisor so
without ha and I have no performed steps:
https://www.ovirt.org/documentation/how-to/hosted-engine/


1. yes - however I have to start in headless mode so it is quite
obvius
if I am trying to start with spice/vnc console I am getting
segfault from libvirtd
2. as above
3. as above


W dniu 12.04.2017 o 14:12, Arsène Gschwind pisze:


Hi all,

I will answer your questions:

1. definitively yes
2. the command hosted-engine --console works well and I'm able to
connect.
3. Here are the device entries


devices={device:qxl,alias:video0,type:video,deviceId:5210a3c3-9cc4-4aed-90c6-432dd2d37c46,address:{slot:0x02,
bus:0x00,domain:0x,type:pci,function:0x0}}
devices={device:console,type:console}

Thanks and rgds,
Arsène

On 04/12/2017 10:53 AM, Evgenia Tokar wrote:

Hi all,

I have managed to reproduce this issue and opened a bug for
tracking it: https://bugzilla.redhat.com/show_bug.cgi?id=1441570
 .

There is no solution yet, but I would appreciate if any who
encountered this issue will answer some questions:
1. Is the console button greyed out in the UI?
2. On the hosted engine host, does the command hosted-engine
--console fails?
 If it fails, try upgrading ovirt-hosted-engine-ha on the
hosted engine host. We had a bug related to this issue that was
fixed (https://bugzilla.redhat.com/show_bug.cgi?id=1364132
).
 After upgrade and restart of the vm, this should work, and
you should be able to connect to the console.
3. On the hosted engine host look at the content of:
/var/run/ovirt-hosted-engine-ha/vm.conf
Does it contain a graphical device? Or a console device?

Thanks,
Jenny


On Mon, Apr 10, 2017 at 11:44 AM, Martin Sivak
> wrote:

Hi,

we are working on that, we can only ask for patience now,
Jenny was trying to find out what happened and how to fix it
all week.

Best regards

--
Martin Sivak
SLA / oVirt

On Mon, Apr 10, 2017 at 9:38 AM, Rafał Wojciechowski
>
wrote:

hi,

I have similiar issue(I also started my mailthread)
after upgrade 4.0 to 4.1

Version 4.1.1.8-1.el7.centos (before it was some 4.1.0.x
or similiar - update not fixed it)

to run VM I have to set in Console tab Headless mode -
without it I got libvirtd segfault(logs attached in my
mailthread).

So I am able to run VMs only without Console - do you
also have to set headless before run VM?

I noticed that libvirt-daemon was also upgraded to 2.0
version during ovirt upgrade - I dont think that 4.1 was
not testes due to such libvirtd upgrade... but maybe?

Regards,
Rafal Wojciechowski

W dniu 10.04.2017 o 08:24, Arsène Gschwind pisze:


Hi,

After updating to oVirt 4.1.1 Async release i can
confirm that the problem still persists.

Rgds,
Arsène


On 03/25/2017 12:25 PM, Arsène Gschwind wrote:


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

Re: [ovirt-users] Storage latency message

2017-04-18 Thread Chris Adams
Once upon a time, Nir Soffer  said:
> Ovirt is reading 4k from the metadata special volume every 10 secods. If
> the read takes more than 5 seconds, you will see this warning in engine
> event log.
> 
> Maybe your storage or the host was overloaded at that time (e.g. vm backup)?

I don't see any evidence that the storage was having any problem.  The
times the message gets logged are not at any high-load times either
(either scheduled backups or just high demand).

I wrote a perl script to replicate the check, and I ran it on a node in
maintenance mode (so no other traffic on the node).  My script opens a
block device with O_DIRECT, reads the first 4K, and closes it, reporting
the time.  I do see some latency jumps with that check, but not on the
raw block device, just the LV.

By that I mean I'm running it on two devices: the multipath device that
is the PV and the metadata LV.  The multipath device latency is pretty
stable, running around 0.3 to 0.5ms.  The LV latency is higher (just a
little normally) but has a higher variability and spikes to 50-125ms (at
the same time that reading the multipath device took under 0.5ms).

Seems like this might be a problem somewhere in the Linux logical volume
layer, not the block or network layer (or with the network/storage
itself).
-- 
Chris Adams 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change DNS Server

2017-04-18 Thread Kai Wagner
Ok I found /var/lib/vdsm/persistence/netconf/ and fixed my problem.

I'm not sure if that's the usual way but it worked.


On 04/18/2017 10:47 AM, Kai Wagner wrote:
> Hi,
>
> where can I change the dns server for my hosts? I know the DNS entry is
> part of the ifcfg-* file, but I tried to change it there and after a
> reboot the old entry was restored from anywhere.
>
> Kai
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-- 
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 
(AG Nürnberg)



signature.asc
Description: OpenPGP digital signature
___
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-04-18 Thread Evgenia Tokar
Hi,

Thanks for bringing the issue to our attention and for answering the
questions.

There is a patch to fix this: https://gerrit.ovirt.org/#/c/75515/
After applying the patch a restart to the hosted engine vm is required (not
just the engine).

Let me know if you are still experiencing issues with this.

Thanks,
Jenny


On Wed, Apr 12, 2017 at 8:05 PM, Rafał Wojciechowski <
i...@rafalwojciechowski.pl> wrote:

> hi,
>
> I will answer also. however I am using single hypervisor so without ha and
> I have no performed steps:
> https://www.ovirt.org/documentation/how-to/hosted-engine/
>
> 1. yes - however I have to start in headless mode so it is quite obvius
> if I am trying to start with spice/vnc console I am getting segfault from
> libvirtd
> 2. as above
> 3. as above
>
> W dniu 12.04.2017 o 14:12, Arsène Gschwind pisze:
>
> Hi all,
>
> I will answer your questions:
>
> 1. definitively yes
> 2. the command hosted-engine --console works well and I'm able to connect.
> 3. Here are the device entries
>
> devices={device:qxl,alias:video0,type:video,deviceId:
> 5210a3c3-9cc4-4aed-90c6-432dd2d37c46,address:{slot:0x02,
> bus:0x00,domain:0x,type:pci,function:0x0}}
> devices={device:console,type:console}
>
> Thanks and rgds,
> Arsène
> On 04/12/2017 10:53 AM, Evgenia Tokar wrote:
>
> Hi all,
>
> I have managed to reproduce this issue and opened a bug for tracking it:
> https://bugzilla.redhat.com/show_bug.cgi?id=1441570 .
>
> There is no solution yet, but I would appreciate if any who encountered
> this issue will answer some questions:
> 1. Is the console button greyed out in the UI?
> 2. On the hosted engine host, does the command hosted-engine --console
> fails?
>  If it fails, try upgrading ovirt-hosted-engine-ha on the hosted
> engine host. We had a bug related to this issue that was fixed (
> https://bugzilla.redhat.com/show_bug.cgi?id=1364132).
>  After upgrade and restart of the vm, this should work, and you should
> be able to connect to the console.
> 3. On the hosted engine host look at the content of:
> /var/run/ovirt-hosted-engine-ha/vm.conf
> Does it contain a graphical device? Or a console device?
>
> Thanks,
> Jenny
>
>
> On Mon, Apr 10, 2017 at 11:44 AM, Martin Sivak  wrote:
>
>> Hi,
>>
>> we are working on that, we can only ask for patience now, Jenny was
>> trying to find out what happened and how to fix it all week.
>>
>> Best regards
>>
>> --
>> Martin Sivak
>> SLA / oVirt
>>
>> On Mon, Apr 10, 2017 at 9:38 AM, Rafał Wojciechowski <
>> i...@rafalwojciechowski.pl> wrote:
>>
>>> hi,
>>>
>>> I have similiar issue(I also started my mailthread) after upgrade 4.0 to
>>> 4.1
>>>
>>> Version 4.1.1.8-1.el7.centos (before it was some 4.1.0.x or similiar -
>>> update not fixed it)
>>> to run VM I have to set in Console tab Headless mode - without it I got
>>> libvirtd segfault(logs attached in my mailthread).
>>>
>>> So I am able to run VMs only without Console - do you also have to set
>>> headless before run VM?
>>>
>>> I noticed that libvirt-daemon was also upgraded to 2.0 version during
>>> ovirt upgrade - I dont think that 4.1 was not testes due to such libvirtd
>>> upgrade... but maybe?
>>>
>>> Regards,
>>> Rafal Wojciechowski
>>>
>>> W dniu 10.04.2017 o 08:24, Arsène Gschwind pisze:
>>>
>>> Hi,
>>>
>>> After updating to oVirt 4.1.1 Async release i can confirm that the
>>> problem still persists.
>>>
>>> Rgds,
>>> Arsène
>>>
>>> On 03/25/2017 12:25 PM, Arsène Gschwind wrote:
>>>
>>> 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 

Re: [ovirt-users] options for fence_ipmilan?

2017-04-18 Thread Matthias Leopold



Am 2017-04-18 um 12:29 schrieb Gianluca Cecchi:

On Tue, Apr 18, 2017 at 12:16 PM, Matthias Leopold
> wrote:

hi,

i'm trying to make fencing (via ipmilan) work with a ipmi user with
only "OPERATOR" privileges. This works with CLI (-L OPERATOR). when
trying to configure this via GUI i fail. interface tells me

Test failed: [WARNING:root:Parse error: Ignoring unknown option
'L=OPERATOR', , ERROR:root:Failed: Unable to obtain correct plug
status or plug is not available, , , Failed: Unable to obtain
correct plug status or plug is not available, , ]

i tried "-L OPERATOR" and "L=OPERATOR", with and without quotes, no
avail...

can somebody help me?

ovirt 4.1.1


Hi,
this works for me in options part of host power mgmt configuration with
4.1.1 and Dell M610 hypervisors:

privlvl=operator,lanplus=on

Gianluca


thx, that solved it (privlvl=OPERATOR in my case)


--
Matthias Leopold
IT Systems & Communications
Medizinische Universität Wien
Spitalgasse 23 / BT 88 /Ebene 00
A-1090 Wien
Tel: +43 1 40160-21241
Fax: +43 1 40160-921200
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] options for fence_ipmilan?

2017-04-18 Thread Gianluca Cecchi
On Tue, Apr 18, 2017 at 12:16 PM, Matthias Leopold <
matthias.leop...@meduniwien.ac.at> wrote:

> hi,
>
> i'm trying to make fencing (via ipmilan) work with a ipmi user with only
> "OPERATOR" privileges. This works with CLI (-L OPERATOR). when trying to
> configure this via GUI i fail. interface tells me
>
> Test failed: [WARNING:root:Parse error: Ignoring unknown option
> 'L=OPERATOR', , ERROR:root:Failed: Unable to obtain correct plug status or
> plug is not available, , , Failed: Unable to obtain correct plug status or
> plug is not available, , ]
>
> i tried "-L OPERATOR" and "L=OPERATOR", with and without quotes, no
> avail...
>
> can somebody help me?
>
> ovirt 4.1.1
>
>
Hi,
this works for me in options part of host power mgmt configuration with
4.1.1 and Dell M610 hypervisors:

privlvl=operator,lanplus=on

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


[ovirt-users] options for fence_ipmilan?

2017-04-18 Thread Matthias Leopold

hi,

i'm trying to make fencing (via ipmilan) work with a ipmi user with only 
"OPERATOR" privileges. This works with CLI (-L OPERATOR). when trying to 
configure this via GUI i fail. interface tells me


Test failed: [WARNING:root:Parse error: Ignoring unknown option 
'L=OPERATOR', , ERROR:root:Failed: Unable to obtain correct plug status 
or plug is not available, , , Failed: Unable to obtain correct plug 
status or plug is not available, , ]


i tried "-L OPERATOR" and "L=OPERATOR", with and without quotes, no avail...

can somebody help me?

ovirt 4.1.1

--
Matthias Leopold
IT Systems & Communications
Medizinische Universität Wien
Spitalgasse 23 / BT 88 /Ebene 00
A-1090 Wien
Tel: +43 1 40160-21241
Fax: +43 1 40160-921200
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vm "maximum memory" setting questions

2017-04-18 Thread Nelson Lameiras
Hello michal, 

Thanks for your answers. 
If others have same questions, I did found this information below on oVirt web 
site 
(http://www.ovirt.org/develop/release-management/features/engine/maximum-memory-size/)
 
Note on size of maximum memory 


If memory hot-plug is not required, max memory can be set to be the same as VM 
memory. Suggested value is 4x size of VM memory. Larger max memory is 
discouraged because: 

* I can make QEMU process to start for longer time. 
* If hot plugged memory is also required to be hot unpluggable, it needs to 
be considered as movable by the guest kernel. Kernel requires the amount of 
movable memory to be at most 4x larger that non-movable memory for stable run. 
* On PowerPC platform continuous block of non-movable memory of size 1/64 
of the max memory needs to be allocated for each VM. 

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 



From: "Michal Skrivanek"  
To: "Nelson Lameiras"  
Cc: "ovirt users"  
Sent: Tuesday, April 18, 2017 11:55:46 AM 
Subject: Re: [ovirt-users] vm "maximum memory" setting questions 





On 18 Apr 2017, at 11:46, Nelson Lameiras < nelson.lamei...@lyra-network.com > 
wrote: 

Hello, 

A new vm setting "maximum memory" has appeared in oVirt >4 which by default has 
the value "current memory”*4 




In 4.1 


BQ_BEGIN


- Why is "maximum memory" setting necessary to set? 

BQ_END


BQ_BEGIN

- Why isn't this value set to "infinity" by default ? 

BQ_END


Because it’s recommended to be about 4x the startup size by linux kernel 


BQ_BEGIN


It seems to me kind of uselessly counter productif to have to decide a maximum 
memory amount beforehand. if we do this, will we have to set maximum CPU cores 
also in the future (being devil's advocate here ;) ) 

BQ_END


You don’t have to decide, you can keep the default 4x. 
For CPUs it is not currently needed and is set according to engine-config 
maximum supported by qemu-kvm - 288 in 4.1 

Thanks, 
michal 
. 

BQ_BEGIN


I did searched oVirt documentation, but very little information is available. 
Maybe this is an libvirt question, but I'm hopping a oVirt guru could quickly 
enlighten me. 

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 

BQ_END



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


Re: [ovirt-users] vm "maximum memory" setting questions

2017-04-18 Thread Michal Skrivanek

> On 18 Apr 2017, at 11:46, Nelson Lameiras  
> wrote:
> 
> Hello,
> 
> A new vm setting "maximum memory" has appeared in oVirt >4 which by default 
> has the value "current memory”*4

In 4.1

> 
> - Why is "maximum memory" setting necessary to set?

> - Why isn't this value set to "infinity" by default ?

Because it’s recommended to be about 4x the startup size by linux kernel

> 
> It seems to me kind of uselessly counter productif to have to decide a 
> maximum memory amount beforehand. if we do this, will we have to set maximum 
> CPU cores also in the future (being devil's advocate here ;) )

You don’t have to decide, you can keep the default 4x.
For CPUs it is not currently needed and is set according to engine-config 
maximum supported by qemu-kvm - 288 in 4.1

Thanks,
michal
.
> 
> I did searched oVirt documentation, but very little information is available.
> Maybe this is an libvirt question, but I'm hopping a oVirt guru could quickly 
> enlighten me.
> 
> 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

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


[ovirt-users] vm "maximum memory" setting questions

2017-04-18 Thread Nelson Lameiras
Hello, 

A new vm setting "maximum memory" has appeared in oVirt >4 which by default has 
the value "current memory"*4 

- Why is "maximum memory" setting necessary to set? 
- Why isn't this value set to "infinity" by default ? 

It seems to me kind of uselessly counter productif to have to decide a maximum 
memory amount beforehand. if we do this, will we have to set maximum CPU cores 
also in the future (being devil's advocate here ;) ) 

I did searched oVirt documentation, but very little information is available. 
Maybe this is an libvirt question, but I'm hopping a oVirt guru could quickly 
enlighten me. 

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


Re: [ovirt-users] Importing existing KVM hosts to Ovirt

2017-04-18 Thread Shahar Havivi
for more info about setting the vdsm user you can see this section:
https://www.ovirt.org/develop/release-management/features/virt/XenToOvirt/#importing-vm
its for importing from Xen hypervisiors but the ssh generation for vdsm
user is the same.

 Shahar.

On Tue, Apr 18, 2017 at 12:20 PM, Michal Skrivanek <
michal.skriva...@redhat.com> wrote:

>
> On 18 Apr 2017, at 09:25, Konstantin Raskoshnyi 
> wrote:
>
> Hi Shahar,
> That's for the info,
> I'm getting this errors when trying to do with ssh method, even though I
> can run virsh -c qemu+ssh://user@tank4/system list without any problems
>
>
> can you run that as a “vdsm” user? You need to exchange keys for “vdsm”
> (note it has disabled login, so you need to use "runuser" or something)
>
> Thanks,
> michal
>
>
> Here's the error,
>
> 2017-04-18 07:24:06,152Z ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.
> GetVmsNamesFromExternalProviderVDSCommand] (default task-20)
> [69b6998b-e451-4a9b-8112-d57c8b9e88ec] Command '
> GetVmsNamesFromExternalProviderVDSCommand(HostName = tank5,
> GetVmsFromExternalProviderParameters:{runAsync='true',
> hostId='aa9ef44e-04e4-4a63-b982-e0ead9a8d497', url='qemu+ssh://test@tank4/
> system', username='test', originType='KVM', namesOfVms='null'})'
> execution failed: VDSGenericException: VDSErrorException: Failed to
> GetVmsNamesFromExternalProviderVDS, error = Cannot recv data: Host key
> verification failed.: Connection reset by peer, code = 65
>
> 2017-04-18 07:18:05,381Z ERROR [org.ovirt.engine.core.bll.
> GetVmsFromExternalProviderQuery] (default task-52)
> [bb2db0e0-d0f8-4619-b6a0-8a7efdd06a6c] Exception:
> org.ovirt.engine.core.common.errors.EngineException: EngineException:
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
> VDSGenericException: VDSErrorException: Failed to
> GetVmsNamesFromExternalProviderVDS, error = Cannot recv data: Host key
> verification failed.: Connection reset by peer, code = 65 (Failed with
> error unexpected and code 16)
> at org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:118)
> [bll.jar:]
> at 
> org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.runVdsCommand(VDSBrokerFrontendImpl.java:33)
> [bll.jar:]
> at 
> org.ovirt.engine.core.bll.QueriesCommandBase.runVdsCommand(QueriesCommandBase.java:242)
> [bll.jar:]
> at org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuer
> y.getVmsFromExternalProvider(GetVmsFromExternalProviderQuery.java:46)
> [bll.jar:]
> at org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuer
> y.executeQueryCommand(GetVmsFromExternalProviderQuery.java:40) [bll.jar:]
> at 
> org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:110)
> [bll.jar:]
> at org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33)
> [dal.jar:]
> at org.ovirt.engine.core.bll.executor.DefaultBackendQueryExecutor.execute(
> DefaultBackendQueryExecutor.java:14) [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:579)
> [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:547) [bll.jar:]
> at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
> [:1.8.0_121]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_121]
> at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]
>
> On Mon, Apr 17, 2017 at 11:12 PM, Shahar Havivi 
> wrote:
>
>> Hi,
>> There is a wiki page for importing VMs from other hypervisors here:
>> https://www.ovirt.org/develop/release-management/features/vi
>> rt/virt-v2v-integration/
>>
>> and specific for KVM from Libvirt the wiki page is in progress but you
>> can read about it here:
>> https://github.com/oVirt/ovirt-site/pull/876/files
>>
>> On Fri, Apr 14, 2017 at 9:05 PM, Michal Skrivanek <
>> michal.skriva...@redhat.com> wrote:
>>
>>>
>>> > On 14 Apr 2017, at 19:48, Konstantin Raskoshnyi 
>>> wrote:
>>> >
>>> > Hi guys, I just installed oVirt 4.1 - works great!
>>> >
>>> > But the questing is, we have around 50 existing  kvm hosts, is it
>>> really possible during adding them to oVirt add all VMs from them to oVirt?
>>>
>>> you can try GUI Import VM via libvirt, unless you use some exotic
>>> options/storage it should work just fine
>>>
>>> >
>>> > Second options I see - import disks to oVirts and re-create machines
>>>
>>> that’s possible as well, disk by disk.
>>>
>>> Thanks,
>>> michal
>>>
>>> >
>>> > Thanks for the help.
>>> > ___
>>> > 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] ISSUES WITH EDITING A CLUSTER SO IT CAN BE PART OF A NEW DATACENTER

2017-04-18 Thread Yaniv Kaul
On Tue, Apr 18, 2017 at 8:05 AM, martin chamambo 
wrote:

> @gianlucca yes you are right that would have worked definitely...because a
> prerequisite for removing a storage domain is having another say nfs or
> iscsi as the master then decommissioning the old onei opted for the
> longer route of deleting the data center, since I am also still testing the
> platform.
>
> I don't think there is a work flow we are missing...im still researching
> for options and will update..but seems there is no easy way
>

You could edit the storage connection via the API (perhaps the 'force'
attribute is needed).
See https://bugzilla.redhat.com/show_bug.cgi?id=1379771
Y.


> On Apr 18, 2017 12:29 AM, "Gianluca Cecchi" 
> wrote:
> >
> > On Mon, Apr 17, 2017 at 4:03 PM, martin chamambo 
> wrote:
> >>
> >> I had issues with my master data storage domain and the only way was to
> set the hosts in maintenence mode ,delete the datacenter so i can recreate
> it
> >>
> >> I managed to delete the datacenter and the storage domains , and
> created a new datacenter , but now the existing clusters are not part of a
> datacenter and trying to add them to the datacenter gives out this error
> below
> >>
> >> Error while executing action: Cannot edit Cluster. Changing management
> network in a non-empty cluster is not allowed.
> >>
> >> and by non empty i guess it means there is a host inside that cluster ?
> fair enough
> >>
> >> trying to change a node cluster comes with the Host Cluster Dropdown
> with this
> >>
> >> Datacenter:Undefined
> >>
> >> How can i fix the catch 22 scenario without deleting clusters or hosts..
> >>
> >>
> >> surely there should be a smarter way ?
> >>
> >
> > I don't know how to manage your current situation.
> > But I somehow had a similar problem as your initial one a few weeks ago
> but for other reasons.
> > My case was that I defined an iSCSI DC and then used a LUN to create an
> iSCSI storage domain.
> > I initially formatted and tested the infrastructure to manage all the
> relevant configuration (iSCSI config, multipath config, ecc.) before going
> to production.
> > Then I had to decommission/re-create this storage domain at its target
> stage: my iSCSI lun had to be a raw copy of a SAN FC lun I migrated from
> older DC.
> > But in the mean time I created a cluster of two hosts and such and I
> discovered that I was in problem as you described
> > My solution was to create a smaller NFS share and add it as a new
> storage domain: in old releases of oVirt it was not possible to mix
> different types of storage domains in the same DC, but since 3.4 (oVirt
> version and DC version) it is:
> > http://www.ovirt.org/develop/release-management/features/
> storage/mixed-types-data-center/
> >
> > With this workaround I was able to put then my iSCSI storage domain into
> maintenance and have the small NFS one to become the master.
> > And finally to remove the iSCSI storage domain and import the copied
> one, finally decommissioning the temporary NFS share.
> >
> > Not the best way but it could have helped you too, eventually setting a
> directory of the host itself as a share for a temporary operation of this
> kind.
> > In the past it was discussed about SPM removal and by consequence the
> removal of master storage domain concept... but probably it didn't get any
> update.
> > See this whole thread for example:
> > http://lists.ovirt.org/pipermail/users/2016-May/039782.html
> >
> > For sure it would be nice to have a clean way (if we are not missing
> some other correct workflow) to manage the case when you have only one SD
> and for some reason you need to scratch it but preserve your DC/cluster
> config.
> > HIH,
> > 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


Re: [ovirt-users] Importing existing KVM hosts to Ovirt

2017-04-18 Thread Michal Skrivanek

> On 18 Apr 2017, at 09:25, Konstantin Raskoshnyi  wrote:
> 
> Hi Shahar,
> That's for the info,
> I'm getting this errors when trying to do with ssh method, even though I can 
> run virsh -c qemu+ssh://user@tank4/system list without any problems

can you run that as a “vdsm” user? You need to exchange keys for “vdsm” (note 
it has disabled login, so you need to use "runuser" or something)

Thanks,
michal

> 
> Here's the error,
> 
> 2017-04-18 07:24:06,152Z ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsNamesFromExternalProviderVDSCommand]
>  (default task-20) [69b6998b-e451-4a9b-8112-d57c8b9e88ec] Command 
> 'GetVmsNamesFromExternalProviderVDSCommand(HostName = tank5, 
> GetVmsFromExternalProviderParameters:{runAsync='true', 
> hostId='aa9ef44e-04e4-4a63-b982-e0ead9a8d497', 
> url='qemu+ssh://test@tank4/system', username='test', originType='KVM', 
> namesOfVms='null'})' execution failed: VDSGenericException: 
> VDSErrorException: Failed to GetVmsNamesFromExternalProviderVDS, error = 
> Cannot recv data: Host key verification failed.: Connection reset by peer, 
> code = 65
> 
> 2017-04-18 07:18:05,381Z ERROR 
> [org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery] (default task-52) 
> [bb2db0e0-d0f8-4619-b6a0-8a7efdd06a6c] Exception: 
> org.ovirt.engine.core.common.errors.EngineException: EngineException: 
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: 
> VDSGenericException: VDSErrorException: Failed to 
> GetVmsNamesFromExternalProviderVDS, error = Cannot recv data: Host key 
> verification failed.: Connection reset by peer, code = 65 (Failed with error 
> unexpected and code 16)
>   at 
> org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:118) 
> [bll.jar:]
>   at 
> org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.runVdsCommand(VDSBrokerFrontendImpl.java:33)
>  [bll.jar:]
>   at 
> org.ovirt.engine.core.bll.QueriesCommandBase.runVdsCommand(QueriesCommandBase.java:242)
>  [bll.jar:]
>   at 
> org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.getVmsFromExternalProvider(GetVmsFromExternalProviderQuery.java:46)
>  [bll.jar:]
>   at 
> org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.executeQueryCommand(GetVmsFromExternalProviderQuery.java:40)
>  [bll.jar:]
>   at 
> org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:110)
>  [bll.jar:]
>   at 
> org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33) 
> [dal.jar:]
>   at 
> org.ovirt.engine.core.bll.executor.DefaultBackendQueryExecutor.execute(DefaultBackendQueryExecutor.java:14)
>  [bll.jar:]
>   at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:579) 
> [bll.jar:]
>   at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:547) 
> [bll.jar:]
>   at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) 
> [:1.8.0_121]
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  [rt.jar:1.8.0_121]
>   at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]
> 
> On Mon, Apr 17, 2017 at 11:12 PM, Shahar Havivi  > wrote:
> Hi,
> There is a wiki page for importing VMs from other hypervisors here:
> https://www.ovirt.org/develop/release-management/features/virt/virt-v2v-integration/
>  
> 
> 
> and specific for KVM from Libvirt the wiki page is in progress but you can 
> read about it here:
> https://github.com/oVirt/ovirt-site/pull/876/files 
> 
> 
> On Fri, Apr 14, 2017 at 9:05 PM, Michal Skrivanek 
> > wrote:
> 
> > On 14 Apr 2017, at 19:48, Konstantin Raskoshnyi  > > wrote:
> >
> > Hi guys, I just installed oVirt 4.1 - works great!
> >
> > But the questing is, we have around 50 existing  kvm hosts, is it really 
> > possible during adding them to oVirt add all VMs from them to oVirt?
> 
> you can try GUI Import VM via libvirt, unless you use some exotic 
> options/storage it should work just fine
> 
> >
> > Second options I see - import disks to oVirts and re-create machines
> 
> that’s possible as well, disk by disk.
> 
> Thanks,
> michal
> 
> >
> > Thanks for the help.
> > ___
> > 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

[ovirt-users] impossible to change console graphics on hosted engine

2017-04-18 Thread Nelson Lameiras
Hello, 

My hosted engine has currently VNC (+cirrus) graphics console, which has 
serious performance issues with my remote-viewer (theses issues are not 
important for this mail) 

I know that SPICE (+QXL) works perfect for me, so I tried to update my 
hostedEngine console settings on oVirt GUI, but I get the message below : 

"There was an attempt to change Hosted Engine VM values that are locked" 

So my question is : how can I change this setting on HostedEngine? 

This question could be applied to other settings wich I would like to also 
change on HostedEngine but are also locked (ex: "optimise for 
[server|desktop]") 

my setup: 
hostedEngine : centos 7.3 (full updated) + oVirt engine 4.1.1 
node running engine : centos 7.3 (full updated) + engine 4.1.1 
cluster running engine : compatibility 4.0 
engine running on dedicated ISCSI volume 

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


Re: [ovirt-users] VDSM overwrites network config

2017-04-18 Thread Edward Haas
On Tue, Apr 11, 2017 at 4:46 PM, Alan Cowles  wrote:

> Hey Dan,
>
> Here is a layout of my environment setup, and the primary issue I have run
> into, hopefully it helps to clear up the confusion.
>
> Configure 2 hosts identically, eth0, eth1, eth0.502 (mgmt), eth1.504 (NFS)
> and do the self-hosted engine install on one host.
> As part of the install you have to identify the network that rhevm needs
> to go on, and the network you need to mount your first NFS storage domain
> from. In this case, eth0.502, and eth1.504 respectively.
> That host, and the rhev-m hosted engine come up, however if you notice,
> under Networks for the default datacenter, only rhevm exists as an actual
> network.
> You need to create a new network for NFS, in order to mount ISO/Data
> storage domains, even though the engine setup has already mounted NFS via
> eth1.504.
> When you go to assign this new network from the engine, you cannot place
> it on the eth1.504 only directly on eth0 or eth1 iteself.
> Thus I have to be sure to tag that network in the rhev-m engine
> When the tagged NFS network is placed on eth1, it looks like it breaks the
> already existing NFS mount that supports the hosted engine, and causes
> items to be non-responsive.
> Rebooting the host at this stage, items still don't come up correctly and
> the hosted engine remains down.
> If I console to it, and manually setup the eth0 & eth1 interfaces,
> eth0.502 & eth1.504 VLANS,  and rhevm & NFS bridges, and reboot the host,
> the host and the engine come up wonderfully with the defined networks vlan
> tagged, and placed on the appropriate tag interfaces.
>
> I then go to deploy a 2nd host as an additional hosted engine, and find
> that I can select eth0.502 for rhevm and eth1.504 for nfs during the deploy
> stages. But when it gets to the stage where it requires to you define the
> networks that exist in the current cluster in order to activate the host
> and proceed, I'm stuck in the same spot with applying networks, I can only
> place them on the eth0/eth1 interfaces. I select ignore to exit the hosted
> engine deployment wizard, and attempt to manually apply them, hoping to
> repeat the steps from node 1 but was finding myself in a pickle because
> starting VDSM would overwrite the network configs I had defined manually.
> Why it does this on one host, and not on the other still perplexes me.
>
> What I ended up doing once my primary host was rebuilt using the
> appropriate bridges and vlan tagged interfaces, was reinstalling my 2nd
> host completely, and configuring it as a self-hosted engine additional
> host. This time it imports the network config from the first host
> completely here, and I wind up with all tagged interfaces working correctly
> and VDSM running as designed.
>
> I guess the thing that bothered me mainly is the functionality in
> assigning the networks in rhev manager, as it shows the vlans as
> sub-interfaces of eth0/eth1, but doesn't let you assign networks to them,
> and the odd behavior of VDSM overwriting configs on one host, but not the
> other?
>
> I'll admit the setup I have is convoluted, but it's what I have to work
> with for this project.
>
> Thank you very much for the time and advice thus far.
>

In general, when VDSM acquires an interface, it marks its ifcfg file and
some logic exists around that. I'm not sure if this is the case here, but
it may explain what you saw.
If the ifcfg file is now identified as 'acquired' it will be overwritten
with the config VDSM supports.
Networks are attached to nics or bonds, the way to assign a network to a
specific VLAN is to create a VLAN network (mentioning the TAG) as you have
done. The logic behind this is to allow the user to create multiple
networks on the same nic/bond as long as they do not collide (in terms of
vlan ids), letting oVirt handle the vlan interface creation behind the
scene.

When you create a network, even if its infrastructure already partially
exists (the vlan iface), it will tear down the configuration and create it
again.
This is especially true when originally there was no bridge and now one
needs to be added.
You could try to create a non-VM network (remove the VM check-box), which
does not add a bridge, perhaps that will help.

Please let us know if you still see this problem with 4.0 or 4.1.

Thanks,
Edy.


>
> On Sun, Apr 9, 2017 at 4:33 AM, Dan Kenigsberg  wrote:
>
>> On Fri, Apr 7, 2017 at 4:24 PM, Alan Cowles 
>> wrote:
>> > Hey guys,
>> >
>> > I'm in a lab setup currently with 2 hosts, running RHEV-3.5, with a
>> > self-hosted engine on RHEL 6.9 servers. I am doing this in order to
>> plot out
>> > a production upgrade I am planning going forward to 4.0, and I'm a bit
>> stuck
>> > and I'm hoping it's ok to ask questions here concerning this product and
>> > version.
>> >
>> > In my lab, I have many vlans trunked on my switchports, so I have to
>> create
>> > individual vlan interfaces 

Re: [ovirt-users] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-18 Thread Yanir Quinn
Hi Rafal
not sure it relates to your issue, but i experienced a similar issue with
segfault (running on fedora 25)
to resolve it i had to remove glibc packages and then install them again
(maybe a same workaround for libvirt will do the job here)

Regards
Yanir Quinn

On Tue, Apr 18, 2017 at 9:32 AM, Francesco Romani 
wrote:

>
>
> On 04/18/2017 08:09 AM, Rafał Wojciechowski wrote:
> >
> > hello,
> >
> > I made comparison(+diff) between xml passing through vdsm which is
> > working and another one which cause libvirtd segfault
> >
> > https://paste.fedoraproject.org/paste/eqpe8Byu2l-
> 3SRdXc6LTLl5M1UNdIGYhyRLivL9gydE=
> >
> >
> > I am not sure if below setting are fine but I dont know how to change
> them
> >
> > 
> > (I dont have so much ram and vgamem)
> >
>
> those are kibibytes though
> (https://libvirt.org/formatdomain.html#elementsVideo), are pretty
> conservarvative settings
> >
> >  > passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1" type="spice">
> > (ports with "-"? maybe it is fine because of autoport settings...)
> >
>
> Yes, "-1" means "autoallocation from libvirt".
> I don't see obvious issues in this XML, and, most importantly, one
> invalid XML should never cause libvirtd to segfault.
>
> I'd file a libvirt bug.
>
>
> --
> Francesco Romani
> Senior SW Eng., Virtualization R
> Red Hat
> IRC: fromani github: @fromanirh
>
> ___
> 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] Latency threshold between Hosted Engine and Hosts

2017-04-18 Thread Piotr Kliczewski
Fernando,

We use heartbeats to understand health of the connection. Potentially
you may see heartbeat exceeded exceptions
so you may want to increase vdsHeartbeatInSeconds. I would not change
it in advance but as you see the issue
and slowly increase the value.

Thanks,
Piotr

On Tue, Apr 18, 2017 at 10:20 AM, Edward Haas  wrote:
> Hello Fernando,
>
> There is no known problem with such delay figures.
> The heartbeat to the hosts is of several seconds.
>
> Thanks,
> Edy.
>
> On Mon, Apr 17, 2017 at 5:11 PM, FERNANDO FREDIANI
>  wrote:
>>
>> Hello.
>>
>> I have a Engine which is hosted in a optimal location for the people who
>> access it and this Engine manage multiple Datacenters, some close by and
>> some far away in terms of latency.
>>
>> What is the maximum latency advised between the Engine and the hosts for a
>> healthy operation or that doesn't matter much as long the Engine can always
>> reach the hosts ?
>>
>> Currently the maximum latency I have between Engine and Hosts is 110ms and
>> sometimes when there is a non-optimal route latency goes up to 170ms. Should
>> I be concerned about this ?
>>
>> Thanks
>> Fernando
>>
>>
>> ___
>> 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] [oVirt 4.1] oVirt installation and hotplug memory to the hosted-engine VM

2017-04-18 Thread Martin Sivak
> can the force-download be disabled

I will defer to Simone here

> 2 - Can we hotplug memory on the hosted-engine VM? if yes how?

We do not support hotplug. However, editing the VM in webadmin should
trigger a sync that distributes the new settings to all hosted engine
nodes. This might take a minute in normal case. A VM restart will then
pickup the new values.

Please attach the engine.log from the engine machine and agent log
from HE node if this does not work for you.

Best regards

--
Martin Sivak
oVirt / SLA

On Fri, Apr 14, 2017 at 8:26 PM, wodel youchi  wrote:
> Hi,
>
> I am testing oVirt 4.1 using oVirt node and oVirt appliance, I have two
> questions :
>
> 1 - Installation process :
> I found that the installation process has changed regarding the appliance
> use, it forces the download of the appliance before continuing the
> installation, but it still offer the use of another image later on, which is
> somehow disturbing.
> can the force-download be disabled, When installing the first time, I did
> download the rpm appliance before starting the hosted-engine deployment, but
> I had to re-install the nodes, and since I have a poor internet connection
> and to save time I saved the ova file of the appliance, but I couldn't use
> later, because the deployment script forces me to download the image again.
>
> 2 - Can we hotplug memory on the hosted-engine VM? if yes how? I can edit
> the VM, but the changes are not taken into account. I then stopped the VM
> engine and started it again, still the changes are not taken into account,
> in the webui I have the new value, but free -m shows me the old one.
>
> Thanks in advance and thank you all for your work and efforts
>
> Regards.
>
> ___
> 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] Change DNS Server

2017-04-18 Thread Kai Wagner
Hi,

where can I change the dns server for my hosts? I know the DNS entry is
part of the ifcfg-* file, but I tried to change it there and after a
reboot the old entry was restored from anywhere.

Kai


-- 
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 
(AG Nürnberg)




signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Latency threshold between Hosted Engine and Hosts

2017-04-18 Thread Edward Haas
Hello Fernando,

There is no known problem with such delay figures.
The heartbeat to the hosts is of several seconds.

Thanks,
Edy.

On Mon, Apr 17, 2017 at 5:11 PM, FERNANDO FREDIANI <
fernando.fredi...@upx.com> wrote:

> Hello.
>
> I have a Engine which is hosted in a optimal location for the people who
> access it and this Engine manage multiple Datacenters, some close by and
> some far away in terms of latency.
>
> What is the maximum latency advised between the Engine and the hosts for a
> healthy operation or that doesn't matter much as long the Engine can always
> reach the hosts ?
>
> Currently the maximum latency I have between Engine and Hosts is 110ms and
> sometimes when there is a non-optimal route latency goes up to 170ms.
> Should I be concerned about this ?
>
> Thanks
> Fernando
>
>
> ___
> 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] Empty ovirt engine web pages

2017-04-18 Thread Maor Lipchuk
On Tue, Apr 18, 2017 at 10:50 AM, Maor Lipchuk  wrote:

> Hi Shubham,
>
> In case you do not need the DWH setup, you can disable the Dashboard
> background queries via the ovirt-engine.conf.
>
> Please, add the following file to your $DEV_OVIRT_PREFIX folder:
>  "$DEV_OVIRT_PREFIX/etc/ovirt-engine/engine.conf.d/99-no-dashboard.conf"
> and add it the following content:
>
>  #
>  # Enable/disable updating the dashboard DB query caches at regular
> intervals.
>  #
>  DASHBOARD_CACHE_UPDATE=false
>
> This should stop the error message
>
> Regards,
> Maor
>

Deleted the extra copied info, it should be irrelevant.


>
> On Mon, Apr 17, 2017 at 3:50 PM, Alexander Wels  wrote:
>
>> On Friday, April 14, 2017 9:38:23 AM EDT Sandro Bonazzola wrote:
>> > Adding Martin
>> >
>>
>> That exception is telling you it can't run the queries needed to populate
>> the
>> dashboard. Highly likely you don't have the DWH properly
>> installed/configured.
>> That still shouldn't give you just a blank page, the code is written to
>> display an error stating unable to display dashboard or something of that
>> nature.
>>
>> > On Thu, Apr 13, 2017 at 5:51 AM, shubham dubey 
>> wrote:
>> > > Hello,
>> > > I have installed ovirt engine from source and installed all other
>> required
>> > > packages also,
>> > > including ovirt-js-dependencies.But when I am login to the admin
>> account I
>> > > am getting blank
>> > > page everytime. Some other pages are also coming empty sometime.
>> > > I have pasted the logs for $HOME/ovirt-engine/share/
>> > > ovirt-engine/services/ovirt-engine/ovirt-engine.py start[1].The
>> possible
>> > > error log is
>> > >
>> > > 2017-04-13 09:07:09,902+05 ERROR [org.ovirt.engine.ui.frontend.
>> > > server.dashboard.DashboardDataServlet.CacheUpdate.Utilization]
>> > > (EE-ManagedThreadFactory-default-Thread-1) [] Could not update the
>> > > Utilization Cache: Error while running SQL query:
>> > > org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataException:
>> > > Error while running SQL query
>> > >
>> > >at
>> > >org.ovirt.engine.ui.frontend.server.dashboard.dao.BaseDao.ru
>> nQuery
>> > >(BaseDao.java:60)>
>> > > [frontend.jar:]
>> > >
>> > >at org.ovirt.engine.ui.frontend.s
>> erver.dashboard.dao.HostDwhDao.
>> > >
>> > > getTotalCpuMemCount(HostDwhDao.java:78) [frontend.jar:]
>> > >
>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>> > >
>> > > HourlySummaryHelper.getTotalCpuMemCount(HourlySummaryHelper.java:43)
>> > > [frontend.jar:]
>> > >
>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>> > >
>> > > HourlySummaryHelper.getCpuMemSummary(HourlySummaryHelper.java:21)
>> > > [frontend.jar:]
>> > >
>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>> > >
>> > > DashboardDataServlet.lookupGlobalUtilization(DashboardDataSe
>> rvlet.java:294
>> > > )
>> > > [frontend.jar:]
>> > >
>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>> > >
>> > > DashboardDataServlet.getDashboard(DashboardDataServlet.java:268)
>> > > [frontend.jar:]
>> > >
>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>> > >
>> > > DashboardDataServlet.populateUtilizationCache(DashboardDataS
>> ervlet.java:23
>> > > 1) [frontend.jar:]
>> > >
>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>> > >
>> > > DashboardDataServlet.access$000(DashboardDataServlet.java:26)
>> > > [frontend.jar:]
>> > >
>> > >at org.ovirt.engine.ui.frontend.server.dashboard.
>> > >
>> > > DashboardDataServlet$1.run(DashboardDataServlet.java:106)
>> [frontend.jar:]
>> > >
>> > >at
>> > >java.util.concurrent.Executors$RunnableAdapter.call(
>> Executors.java
>> > >:511)
>> > >
>> > > [rt.jar:1.8.0_121]
>> > >
>> > >at java.util.concurrent.FutureTas
>> k.runAndReset(FutureTask.java:308)
>> > >
>> > > [rt.jar:1.8.0_121]
>> > >
>> > >at org.glassfish.enterprise.concurrent.internal.
>> > >
>> > > ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTas
>> k.access$201(
>> > > ManagedScheduledThreadPoolExecutor.java:383)
>> [javax.enterprise.concurrent-
>> > > 1.0.jar:]
>> > >
>> > >at org.glassfish.enterprise.concurrent.internal.
>> > >
>> > > ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.run(
>> > > ManagedScheduledThreadPoolExecutor.java:534)
>> [javax.enterprise.concurrent-
>> > > 1.0.jar:]
>> > >
>> > >at
>> > >java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>> Execut
>> > >or.java:1142)>
>> > > [rt.jar:1.8.0_121]
>> > >
>> > >at
>> > >java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>> lExecu
>> > >tor.java:617)>
>> > > [rt.jar:1.8.0_121]
>> > >
>> > >at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
>> > >at org.glassfish.enterprise.concu
>> rrent.ManagedThreadFactoryImpl$
>> > >
>> > > 

Re: [ovirt-users] Empty ovirt engine web pages

2017-04-18 Thread Maor Lipchuk
Hi Shubham,

In case you do not need the DWH setup, you can disable the Dashboard
background queries via the ovirt-engine.conf.

Please, add the following file to your $DEV_OVIRT_PREFIX folder:
 "$DEV_OVIRT_PREFIX/etc/ovirt-engine/engine.conf.d/99-no-dashboard.conf"
and add it the following content:

 #
 # Enable/disable updating the dashboard DB query caches at regular
intervals.
 #
 DASHBOARD_CACHE_UPDATE=false

This should stop the error message

Regards,
Maor


-- 
Scott Dickerson
Senior Software Engineer
RHEV-M Engineering - UX Team
Red Hat, Inc

___
Devel mailing list
de...@ovirt.org
http://lists.phx.ovirt.org/mailman/listinfo/devel
Yanir Quinn yqu...@redhat.com via
 ovirt.org
12/12/16
to Scott, devel
setting DASHBOARD_CACHE_UPDATE=false indeed stops the issue.

Thanks.

___
Devel mailing list
de...@ovirt.org
http://lists.phx.ovirt.org/mailman/listinfo/devel

On Mon, Apr 17, 2017 at 3:50 PM, Alexander Wels  wrote:

> On Friday, April 14, 2017 9:38:23 AM EDT Sandro Bonazzola wrote:
> > Adding Martin
> >
>
> That exception is telling you it can't run the queries needed to populate
> the
> dashboard. Highly likely you don't have the DWH properly
> installed/configured.
> That still shouldn't give you just a blank page, the code is written to
> display an error stating unable to display dashboard or something of that
> nature.
>
> > On Thu, Apr 13, 2017 at 5:51 AM, shubham dubey 
> wrote:
> > > Hello,
> > > I have installed ovirt engine from source and installed all other
> required
> > > packages also,
> > > including ovirt-js-dependencies.But when I am login to the admin
> account I
> > > am getting blank
> > > page everytime. Some other pages are also coming empty sometime.
> > > I have pasted the logs for $HOME/ovirt-engine/share/
> > > ovirt-engine/services/ovirt-engine/ovirt-engine.py start[1].The
> possible
> > > error log is
> > >
> > > 2017-04-13 09:07:09,902+05 ERROR [org.ovirt.engine.ui.frontend.
> > > server.dashboard.DashboardDataServlet.CacheUpdate.Utilization]
> > > (EE-ManagedThreadFactory-default-Thread-1) [] Could not update the
> > > Utilization Cache: Error while running SQL query:
> > > org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataException:
> > > Error while running SQL query
> > >
> > >at
> > >org.ovirt.engine.ui.frontend.server.dashboard.dao.BaseDao.
> runQuery
> > >(BaseDao.java:60)>
> > > [frontend.jar:]
> > >
> > >at org.ovirt.engine.ui.frontend.server.dashboard.dao.
> HostDwhDao.
> > >
> > > getTotalCpuMemCount(HostDwhDao.java:78) [frontend.jar:]
> > >
> > >at org.ovirt.engine.ui.frontend.server.dashboard.
> > >
> > > HourlySummaryHelper.getTotalCpuMemCount(HourlySummaryHelper.java:43)
> > > [frontend.jar:]
> > >
> > >at org.ovirt.engine.ui.frontend.server.dashboard.
> > >
> > > HourlySummaryHelper.getCpuMemSummary(HourlySummaryHelper.java:21)
> > > [frontend.jar:]
> > >
> > >at org.ovirt.engine.ui.frontend.server.dashboard.
> > >
> > > DashboardDataServlet.lookupGlobalUtilization(
> DashboardDataServlet.java:294
> > > )
> > > [frontend.jar:]
> > >
> > >at org.ovirt.engine.ui.frontend.server.dashboard.
> > >
> > > DashboardDataServlet.getDashboard(DashboardDataServlet.java:268)
> > > [frontend.jar:]
> > >
> > >at org.ovirt.engine.ui.frontend.server.dashboard.
> > >
> > > DashboardDataServlet.populateUtilizationCache(
> DashboardDataServlet.java:23
> > > 1) [frontend.jar:]
> > >
> > >at org.ovirt.engine.ui.frontend.server.dashboard.
> > >
> > > DashboardDataServlet.access$000(DashboardDataServlet.java:26)
> > > [frontend.jar:]
> > >
> > >at org.ovirt.engine.ui.frontend.server.dashboard.
> > >
> > > DashboardDataServlet$1.run(DashboardDataServlet.java:106)
> [frontend.jar:]
> > >
> > >at
> > >java.util.concurrent.Executors$RunnableAdapter.
> call(Executors.java
> > >:511)
> > >
> > > [rt.jar:1.8.0_121]
> > >
> > >at java.util.concurrent.FutureTask.runAndReset(
> FutureTask.java:308)
> > >
> > > [rt.jar:1.8.0_121]
> > >
> > >at org.glassfish.enterprise.concurrent.internal.
> > >
> > > ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.
> access$201(
> > > ManagedScheduledThreadPoolExecutor.java:383)
> [javax.enterprise.concurrent-
> > > 1.0.jar:]
> > >
> > >at org.glassfish.enterprise.concurrent.internal.
> > >
> > > ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.run(
> > > ManagedScheduledThreadPoolExecutor.java:534)
> [javax.enterprise.concurrent-
> > > 1.0.jar:]
> > >
> > >at
> > >java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecut
> > >or.java:1142)>
> > > [rt.jar:1.8.0_121]
> > >
> > >at
> > >java.util.concurrent.ThreadPoolExecutor$Worker.run(
> 

Re: [ovirt-users] Importing existing KVM hosts to Ovirt

2017-04-18 Thread Konstantin Raskoshnyi
Hi Shahar,
That's for the info,
I'm getting this errors when trying to do with ssh method, even though I
can run virsh -c qemu+ssh://user@tank4/system list without any problems

Here's the error,

2017-04-18 07:24:06,152Z ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsNamesFromExternalProviderVDSCommand]
(default task-20) [69b6998b-e451-4a9b-8112-d57c8b9e88ec] Command
'GetVmsNamesFromExternalProviderVDSCommand(HostName = tank5,
GetVmsFromExternalProviderParameters:{runAsync='true',
hostId='aa9ef44e-04e4-4a63-b982-e0ead9a8d497',
url='qemu+ssh://test@tank4/system',
username='test', originType='KVM', namesOfVms='null'})' execution failed:
VDSGenericException: VDSErrorException: Failed to
GetVmsNamesFromExternalProviderVDS, error = Cannot recv data: Host key
verification failed.: Connection reset by peer, code = 65

2017-04-18 07:18:05,381Z ERROR
[org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery] (default
task-52) [bb2db0e0-d0f8-4619-b6a0-8a7efdd06a6c] Exception:
org.ovirt.engine.core.common.errors.EngineException: EngineException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
VDSGenericException: VDSErrorException: Failed to
GetVmsNamesFromExternalProviderVDS, error = Cannot recv data: Host key
verification failed.: Connection reset by peer, code = 65 (Failed with
error unexpected and code 16)
at
org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:118)
[bll.jar:]
at
org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.runVdsCommand(VDSBrokerFrontendImpl.java:33)
[bll.jar:]
at
org.ovirt.engine.core.bll.QueriesCommandBase.runVdsCommand(QueriesCommandBase.java:242)
[bll.jar:]
at
org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.getVmsFromExternalProvider(GetVmsFromExternalProviderQuery.java:46)
[bll.jar:]
at
org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.executeQueryCommand(GetVmsFromExternalProviderQuery.java:40)
[bll.jar:]
at
org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:110)
[bll.jar:]
at org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33)
[dal.jar:]
at
org.ovirt.engine.core.bll.executor.DefaultBackendQueryExecutor.execute(DefaultBackendQueryExecutor.java:14)
[bll.jar:]
at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:579)
[bll.jar:]
at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:547) [bll.jar:]
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) [:1.8.0_121]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]

On Mon, Apr 17, 2017 at 11:12 PM, Shahar Havivi  wrote:

> Hi,
> There is a wiki page for importing VMs from other hypervisors here:
> https://www.ovirt.org/develop/release-management/features/
> virt/virt-v2v-integration/
>
> and specific for KVM from Libvirt the wiki page is in progress but you can
> read about it here:
> https://github.com/oVirt/ovirt-site/pull/876/files
>
> On Fri, Apr 14, 2017 at 9:05 PM, Michal Skrivanek <
> michal.skriva...@redhat.com> wrote:
>
>>
>> > On 14 Apr 2017, at 19:48, Konstantin Raskoshnyi 
>> wrote:
>> >
>> > Hi guys, I just installed oVirt 4.1 - works great!
>> >
>> > But the questing is, we have around 50 existing  kvm hosts, is it
>> really possible during adding them to oVirt add all VMs from them to oVirt?
>>
>> you can try GUI Import VM via libvirt, unless you use some exotic
>> options/storage it should work just fine
>>
>> >
>> > Second options I see - import disks to oVirts and re-create machines
>>
>> that’s possible as well, disk by disk.
>>
>> Thanks,
>> michal
>>
>> >
>> > Thanks for the help.
>> > ___
>> > 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] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-18 Thread Francesco Romani


On 04/18/2017 08:09 AM, Rafał Wojciechowski wrote:
>
> hello,
>
> I made comparison(+diff) between xml passing through vdsm which is
> working and another one which cause libvirtd segfault
>
> https://paste.fedoraproject.org/paste/eqpe8Byu2l-3SRdXc6LTLl5M1UNdIGYhyRLivL9gydE=
>
>
> I am not sure if below setting are fine but I dont know how to change them
>
> 
> (I dont have so much ram and vgamem)
>

those are kibibytes though
(https://libvirt.org/formatdomain.html#elementsVideo), are pretty
conservarvative settings
>
>  passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1" type="spice">
> (ports with "-"? maybe it is fine because of autoport settings...)
>

Yes, "-1" means "autoallocation from libvirt".
I don't see obvious issues in this XML, and, most importantly, one
invalid XML should never cause libvirtd to segfault.

I'd file a libvirt bug.


-- 
Francesco Romani
Senior SW Eng., Virtualization R
Red Hat
IRC: fromani github: @fromanirh

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


Re: [ovirt-users] Importing existing KVM hosts to Ovirt

2017-04-18 Thread Shahar Havivi
Hi,
There is a wiki page for importing VMs from other hypervisors here:
https://www.ovirt.org/develop/release-management/features/virt/virt-v2v-integration/

and specific for KVM from Libvirt the wiki page is in progress but you can
read about it here:
https://github.com/oVirt/ovirt-site/pull/876/files

On Fri, Apr 14, 2017 at 9:05 PM, Michal Skrivanek <
michal.skriva...@redhat.com> wrote:

>
> > On 14 Apr 2017, at 19:48, Konstantin Raskoshnyi 
> wrote:
> >
> > Hi guys, I just installed oVirt 4.1 - works great!
> >
> > But the questing is, we have around 50 existing  kvm hosts, is it really
> possible during adding them to oVirt add all VMs from them to oVirt?
>
> you can try GUI Import VM via libvirt, unless you use some exotic
> options/storage it should work just fine
>
> >
> > Second options I see - import disks to oVirts and re-create machines
>
> that’s possible as well, disk by disk.
>
> Thanks,
> michal
>
> >
> > Thanks for the help.
> > ___
> > 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] Compiling oVirt for Debian.

2017-04-18 Thread Yedidyah Bar David
On Sun, Apr 16, 2017 at 6:54 AM, Leni Kadali Mutungi
 wrote:
>>> I think that all of them are maintained on gerrit.ovirt.org, and most
>>> have
>>> mirrors on github.com/ovirt.
>>>
> Found all the source code on gerrit.ovirt.org; not all of it is
> mirrored to github.com/ovirt
>
>>> If you haven't yet, you might want to check also:
>>>
>>> http://www.ovirt.org/develop/developer-guide/engine/engine-development-environment/
>>> Adding to otopi support for apt/dpkg is indeed interesting and useful,
>>> but
>>> imo isn't mandatory for a first milestone. Not having an apt packager
>>> will
>>> simply mean you can't install/update packages using otopi, but other
>>> things
>>> should work. Notably, you won't be able to use engine-setup for upgrades,
>>> at least not the way it's done with yum and versionlock.
>
> So does this mean I shouldn't bother with installing otopi, because
> according to the development guide for RPM-based systems, it seems
> only the ovirt-host-deploy, ovirt-setup-lib, and ovirt-js-dependencies
> are the packages required.

ovirt-host-deploy requires otopi, and also engine-setup (from the engine
git repo) does. So unless you want to start manually imitating what these
do (which might not be a terrible idea, if you want to understand more
deeply how things work, but will take more time), you do need otopi.

Also please note that the above developer guide is probably not complete
or up-to-date - please check also README.adoc from the engine sources.

> The guide for Debian is blank and marked as
> TODO.

Indeed, patches are welcome :-)

I expect at least some packages to be missing there, didn't check
personally.

> Another query I had was that should I make the config files
> myself as referenced by the README or can I expect that it will be
> done during make install?

which ones? postgresql's? It's automatically done when you install
from RPMs, but not in dev-env mode. So you'll have to do that
manually for now.

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


Re: [ovirt-users] Ovirt 4.0 to 4.1 CentOS7.3 and libvirtd 2.0.0 segfault issue

2017-04-18 Thread Rafał Wojciechowski

hello,

I made comparison(+diff) between xml passing through vdsm which is 
working and another one which cause libvirtd segfault


https://paste.fedoraproject.org/paste/eqpe8Byu2l-3SRdXc6LTLl5M1UNdIGYhyRLivL9gydE= 



I am not sure if below setting are fine but I dont know how to change them


(I dont have so much ram and vgamem)

passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1" type="spice">

(ports with "-"? maybe it is fine because of autoport settings...)


Regards,
Rafal Wojciechowski


hello,

I extracted xml from /var/log/core for some test VM and tried to 
validy via virt-xml-validate

maybe it could help in this case

https://paste.fedoraproject.org/paste/F878jO-16OEQZAQX0imQx15M1UNdIGYhyRLivL9gydE=


Regards,
Rafal Wojciechowski



hi,

I will add few informations:

currently I am using:

libvirt-daemon-kvm-2.0.0-10.el7_3.5.x86_64
libvirt-daemon-driver-qemu-2.0.0-10.el7_3.5.x86_64
qemu-kvm-ev-2.6.0-28.el7_3.6.1.x86_64
ovirt-engine-4.1.1.8-1.el7.centos.noarch(I tried update, to see if it 
will help but nothing has changed)


same problem exists with SELinux and without SELinux(now it is in 
permissive mode; after the reboot)


Regards,
Rafal Wojciechowski

W dniu 14.04.2017 o 15:39, Sandro Bonazzola pisze:

Adding Francesco and Michal

On Sun, Apr 9, 2017 at 1:05 PM, Rafał Wojciechowski 
> wrote:


hi, I am having some problems after upgrade Ovirt from 4.0 to 4.1
version. I made full reinstall of Ovirt, but it seems to be not
ovirt upgrade related problem(libvirt)
strange thing is that I am able to run any VM in headless mode
without console
and with Console(spice) it it throwing error like here

https://paste.fedoraproject.org/paste/4WZIackx7ndzv2Kg-ucybl5M1UNdIGYhyRLivL9gydE=


if someone knows the resolution here I will be very happy to apply it


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





--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

  
TRIED. TESTED. TRUSTED. 





___
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