Re: [ovirt-users] VM HostedEngie is down. Exist message: internal error Failed to acquire lock error -243

2014-06-06 Thread Andrew Lau
Ignore that, the issue came back after 10 minutes.

I've even tried a gluster mount + nfs server on top of that, and the
same issue has come back.

On Fri, Jun 6, 2014 at 6:26 PM, Andrew Lau  wrote:
> Interesting, I put it all into global maintenance. Shut it all down
> for 10~ minutes, and it's regained it's sanlock control and doesn't
> seem to have that issue coming up in the log.
>
> On Fri, Jun 6, 2014 at 4:21 PM, combuster  wrote:
>> It was pure NFS on a NAS device. They all had different ids (had no
>> redeployements of nodes before problem occured).
>>
>> Thanks Jirka.
>>
>>
>> On 06/06/2014 08:19 AM, Jiri Moskovcak wrote:
>>>
>>> I've seen that problem in other threads, the common denominator was "nfs
>>> on top of gluster". So if you have this setup, then it's a known problem. Or
>>> you should double check if you hosts have different ids otherwise they would
>>> be trying to acquire the same lock.
>>>
>>> --Jirka
>>>
>>> On 06/06/2014 08:03 AM, Andrew Lau wrote:

 Hi Ivan,

 Thanks for the in depth reply.

 I've only seen this happen twice, and only after I added a third host
 to the HA cluster. I wonder if that's the root problem.

 Have you seen this happen on all your installs or only just after your
 manual migration? It's a little frustrating this is happening as I was
 hoping to get this into a production environment. It was all working
 except that log message :(

 Thanks,
 Andrew


 On Fri, Jun 6, 2014 at 3:20 PM, combuster  wrote:
>
> Hi Andrew,
>
> this is something that I saw in my logs too, first on one node and then
> on
> the other three. When that happend on all four of them, engine was
> corrupted
> beyond repair.
>
> First of all, I think that message is saying that sanlock can't get a
> lock
> on the shared storage that you defined for the hostedengine during
> installation. I got this error when I've tried to manually migrate the
> hosted engine. There is an unresolved bug there and I think it's related
> to
> this one:
>
> [Bug 1093366 - Migration of hosted-engine vm put target host score to
> zero]
> https://bugzilla.redhat.com/show_bug.cgi?id=1093366
>
> This is a blocker bug (or should be) for the selfhostedengine and, from
> my
> own experience with it, shouldn't be used in the production enviroment
> (not
> untill it's fixed).
>
> Nothing that I've done couldn't fix the fact that the score for the
> target
> node was Zero, tried to reinstall the node, reboot the node, restarted
> several services, tailed a tons of logs etc but to no avail. When only
> one
> node was left (that was actually running the hosted engine), I brought
> the
> engine's vm down gracefully (hosted-engine --vm-shutdown I belive) and
> after
> that, when I've tried to start the vm - it wouldn't load. Running VNC
> showed
> that the filesystem inside the vm was corrupted and when I ran fsck and
> finally started up - it was too badly damaged. I succeded to start the
> engine itself (after repairing postgresql service that wouldn't want to
> start) but the database was damaged enough and acted pretty weird
> (showed
> that storage domains were down but the vm's were running fine etc).
> Lucky
> me, I had already exported all of the VM's on the first sign of trouble
> and
> then installed ovirt-engine on the dedicated server and attached the
> export
> domain.
>
> So while really a usefull feature, and it's working (for the most part
> ie,
> automatic migration works), manually migrating VM with the hosted-engine
> will lead to troubles.
>
> I hope that my experience with it, will be of use to you. It happened to
> me
> two weeks ago, ovirt-engine was current (3.4.1) and there was no fix
> available.
>
> Regards,
>
> Ivan
>
> On 06/06/2014 05:12 AM, Andrew Lau wrote:
>
> Hi,
>
> I'm seeing this weird message in my engine log
>
> 2014-06-06 03:06:09,380 INFO
> [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
> (DefaultQuartzScheduler_Worker-79) RefreshVmList vm id
> 85d4cfb9-f063-4c7c-a9f8-2b74f5f7afa5 status = WaitForLaunch on vds
> ov-hv2-2a-08-23 ignoring it in the refresh until migration is done
> 2014-06-06 03:06:12,494 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
> (DefaultQuartzScheduler_Worker-89) START, DestroyVDSCommand(HostName =
> ov-hv2-2a-08-23, HostId = c04c62be-5d34-4e73-bd26-26f805b2dc60,
> vmId=85d4cfb9-f063-4c7c-a9f8-2b74f5f7afa5, force=false,
> secondsToWait=0, gracefully=false), log id: 62a9d4c1
> 2014-06-06 03:06:12,561 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
> (DefaultQuartzScheduler_Worker-89) FINISH, DestroyVDSCommand

Re: [ovirt-users] experience with AMD Kabini (Jaguar) CPUs

2014-06-06 Thread i iordanov
Hi Francesco,

Thank you so much! I really appreciate it. I already ordered the parts
taking a small risk. Yes, this system promises to be so cool and
quiet, that I can practically use it as a pillow :).

Cheers!
iordan

On Fri, Jun 6, 2014 at 5:32 AM, Francesco Romani  wrote:
> - Original Message -
>> From: "Doron Fediuck" 
>> To: "i iordanov" 
>> Cc: users@ovirt.org
>> Sent: Thursday, June 5, 2014 6:50:58 PM
>> Subject: Re: [ovirt-users] experience with AMD Kabini (Jaguar) CPUs
>>
>>
>>
>> - Original Message -
>> > From: "i iordanov" 
>> > To: "Doron Fediuck" 
>> > Cc: users@ovirt.org, "Yedidyah Bar David" , "Sandro
>> > Bonazzola" 
>> > Sent: Thursday, June 5, 2014 7:46:24 PM
>> > Subject: Re: [ovirt-users] experience with AMD Kabini (Jaguar) CPUs
>> >
>> > Hi Doron,
>> >
>> > I haven't purchased the Kabini-based system. I hoping that I would be
>> > able to learn in advance whether an all-in-one installation of oVirt
>> > would work on it. Unfortunately, returning it would be a hassle and I
>> > would not get a full refund for it. If there is no way to discover in
>> > advance whether oVirt will work on the system, I can take a risk. Is
>> > an all-in-one oVirt installation known to work on any of the modern
>> > AMD offerings?
>> >
>> > Thanks!
>> > iordan
>
> Hi everyone,
>
> I'm playing with a new AMD Kabini host, to see how it behaves as very 
> low-cost[1],
> low-consumption hypervisor host[2]. I'm still installing the node, so I don't
> have actual data yet.
>
> According to libvirt, the host present itself as Opteron_G3.
>
> Plese find attached the output from
> virsh (1.2.5) capabilities (caps.txt)
> lscpu (lscpu.txt)
> lspci (lspci.txt)
>
>
> +++
>
> [1] You can get a CPU + mainboard with ~85 EURO or even less, and it will 
> consume
> 25W fully loaded, much less when idle. The fan is close to inaudible.
> [2] I'll put together a document/wiki page with my findings and experience
> afterwards.
>
> --
> Francesco Romani
> RedHat Engineering Virtualization R & D
> Phone: 8261328
> IRC: fromani



-- 
The conscious mind has only one thread of execution.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Memory and swap issue

2014-06-06 Thread Doron Fediuck
Jeff,
I'd appreciate to get some more info on this;

First of all which ovirt version are you using?
Next, I'd appreciate if you can restore the no swap (swapoff)
and run on the host:
vdsClient -s 0 getVdsCaps

Then share the output with us.

Generally speaking swap is really bad for VMs, so we should be fine
without it. However when calculating the needed amount of memory we
reserve safety margins for various components such as vdsm itself.
We published the calculation here: 
http://www.ovirt.org/Sla/FreeMemoryCalculation
So feel free to add the numbers or share the data with us.

Thanks for the feedback,
Doron

- Original Message -
> From: "Itamar Heim" 
> To: "Jeff Clay" 
> Cc: users@ovirt.org, "Doron Fediuck" 
> Sent: Thursday, June 5, 2014 10:58:39 PM
> Subject: Re: [ovirt-users] Memory and swap issue
> 
> On 06/05/2014 10:48 PM, Jeff Clay wrote:
> > Am I correct in understanding that vm's which aren't being actively used
> > are moved to swap space to free more available RAM? If so, that might be
> > what is causing my issue, since we usually have several VM's idle and
> > not in direct use.
> 
> yes, though i don't they are supposed to be swapped if there is enough
> available memory.
> 
> >
> >
> > On Thu, Jun 5, 2014 at 2:45 PM, Itamar Heim  > > wrote:
> >
> >     On 06/05/2014 10:36 PM, Jeff Clay wrote:
> >
> >         I'm concerned about disabling it and having unexpected behavior
> >         if the
> >         system actually does end up using all of its swap space. Any
> >         insight?
> >
> >
> >     change the percentage threshold then.
> >     the idea is if you are swapping - its bad.
> >     though, if you also have a lot of free memory, its kind of absurd to
> >     block because there is a swap, but its not needed so it remains
> >     swapped.
> >
> >
> >
> >         On Jun 5, 2014 2:34 PM, "Itamar Heim"  >         
> >         >> wrote:
> >
> >              On 06/05/2014 10:30 PM, Jeff Clay wrote:
> >
> >                  126455 MB total, 863 MB used, 125592 MB free
> >                     That's what I'm showing right now, but I don't have
> >         as many VM's
> >                  running at the moment. There are currently 8 running
> >         and I was
> >                  getting
> >                  that issue yesterday when I got around the 15 vm mark.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >                  On Thu, Jun 5, 2014 at 2:07 PM, Itamar Heim
> >         mailto:ih...@redhat.com>
> >                  >
> >                  
> >          >
> >                       On 06/05/2014 02:24 AM, Jeff Clay wrote:
> >
> >                           I'm getting the following error trying to
> >         start a VM. I
> >                  have 64
> >                           gb of
> >                           RAM on this host. I got this error once before
> >                           and
> >                  found that my
> >                           swap
> >                           partition was only 2gb or so. I increased the
> >         swap size
> >                  to 124GB
> >                           and the
> >                           problem went away. Below is the error when
> >         trying to
> >                  start a VM and
> >                           below that is what my output from "free -g". I
> >         don't
> >                  see why I'm
> >                           getting
> >                           a swap file error when there's plenty of it
> >         available.
> >
> >
> >                              * Cannot run VM. Host swap percentage is
> >         above the
> >                  defined
> >                           threshold.
> >
> >                                - Check your configuration parameters for
> >         Host
> >                  Swap Percentage.
> >                              * Cannot run VM. There is no host that
> >         satisfies current
> >                           scheduling
> >
> >                                constraints. See below for details:
> >                              * The host USARPAOVRTHOST02 did not satisfy
> >         internal
> >                  filter
> >                           Memory.
> >
> >
> >
> >
> >                           [root@usarpaovrthost02 ~]# free -g
> >                                          total       used       free
> >         shared
> >                    buffers
> >                                cached
> >                           Mem:            62         62          0
> >             0
> >                        0
> >                                  12
> >                           -/+ buffers/cache:         50         12
> >                           Swap:          123    

[ovirt-users] [ANN] oVirt 3.5.0 Second Alpha is now available for testing

2014-06-06 Thread Sandro Bonazzola
The oVirt team is pleased to announce that the 3.5.0 Second Alpha is now
available for testing.

Feel free to join us testing it!

You'll find all needed info for installing it on the release notes page,
already available on the wiki [1].

A new oVirt Live iso is already available for testing[2] including all 
available updates from CentOS.
An oVirt Guest Tools iso is now available too[3].

A new oVirt Node build will be available soon as well.

Please note that mirrors will need a couple of days before being synchronized.
If you want to be sure to use latest rpms and don't want to wait for the 
mirrors,
you can edit /etc/yum.repos.d/ovirt-3.5.repo commenting the mirror line and
removing the comment on baseurl line.

Known Issues
You can't add hosts to 3.5 clusters until a new VDSM build with 3.5 
compatibility level will be released (All in One won't work).

[1] http://www.ovirt.org/OVirt_3.5_Release_Notes
[2] 
http://resources.ovirt.org/pub/ovirt-3.5-pre/iso/ovirt-live-el6-3.5.0-alpha2.iso
[3] 
http://resources.ovirt.org/pub/ovirt-3.5-pre/iso/ovirt-guest-tools/ovirt-guest-tools-3.5-1.iso

-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Spam Re: Spam Re: Spam Windows guest agent

2014-06-06 Thread Bob Doolittle
Just gave this a try on Windows Server 2008 R2, and it worked almost 
perfectly!


The one small problem I had: 
https://bugzilla.redhat.com/show_bug.cgi?id=1105624
Service was configured with Type Manual rather than Autostart, so did 
not restart upon reboot.

Easy workaround.

Thanks guys - this will be an enormous help! :)

-Bob

P.S. On my system the "What would you like me to do with this CD?" 
AutoPlay dialog has a goofy option - "Import photos and videos (Using 
Dropbox)". Not sure if that's something you can control.


On 06/06/2014 09:56 AM, Sandro Bonazzola wrote:

Il 06/06/2014 15:29, Maurice James ha scritto:

I think I got it. Just a few key steps that are not obvious for us python for 
windows virgins. I will send in some screen shots with text so that
someone with write access to the wiki can edit and post it


I suggest to try the shiny new ovirt-guest-tools iso. You can find more info 
here:
http://www.ovirt.org/Features/oVirt_Windows_Guest_Tools





--
*From: *"Joop" 
*To: *users@ovirt.org
*Sent: *Friday, June 6, 2014 8:27:53 AM
*Subject: *Re: [ovirt-users] Spam Re:  Spam  Windows guest agent

On 6-6-2014 14:14, Karli Sjöberg wrote:


 Den 6 jun 2014 13:39 skrev Maurice James :
 >
 > Yes that FM in particular :)


The step of py2exe doesn't work: can't open File 'setup.py': [Errno 2] No such 
file or directory
My cd is where README-windows is located and the archive of today (-10min ago)

Just copying the parent dir to 'Program Files' and execute what is in the 
README will work though. Thats how I have done it all the time.

Joop


___
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] Spam Re: Spam Re: Spam Windows guest agent

2014-06-06 Thread Sandro Bonazzola
Il 06/06/2014 16:07, René Koch ha scritto:
> On 06/06/2014 03:56 PM, Sandro Bonazzola wrote:
>> Il 06/06/2014 15:29, Maurice James ha scritto:
>>> I think I got it. Just a few key steps that are not obvious for us python 
>>> for windows virgins. I will send in some screen shots with text so that
>>> someone with write access to the wiki can edit and post it
>>
>>
>> I suggest to try the shiny new ovirt-guest-tools iso. You can find more info 
>> here:
>> http://www.ovirt.org/Features/oVirt_Windows_Guest_Tools
> 
> Cool, didn't know that there's already an ISO available.
> 
> I just tried it and oVirt Guest Tools Installers says "Unsupported Windows 
> version" for my Windows Server 2012 R2 vm. Is this known or should I open a
> bugreport for this?

If I remember correctly 2012 R2 and 8.1 are not supported yet.


> 
>>
>>
>>>
>>>
>>>
>>> --
>>> *From: *"Joop" 
>>> *To: *users@ovirt.org
>>> *Sent: *Friday, June 6, 2014 8:27:53 AM
>>> *Subject: *Re: [ovirt-users] Spam Re:  Spam  Windows guest agent
>>>
>>> On 6-6-2014 14:14, Karli Sjöberg wrote:
>>>
>>>
>>>  Den 6 jun 2014 13:39 skrev Maurice James :
>>>  >
>>>  > Yes that FM in particular :)
>>>
>>>
>>> The step of py2exe doesn't work: can't open File 'setup.py': [Errno 2] No 
>>> such file or directory
>>> My cd is where README-windows is located and the archive of today (-10min 
>>> ago)
>>>
>>> Just copying the parent dir to 'Program Files' and execute what is in the 
>>> README will work though. Thats how I have done it all the time.
>>>
>>> Joop
>>>
>>>
>>> ___
>>> 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
>>>
>>
>>


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Spam Re: Spam Re: Spam Windows guest agent

2014-06-06 Thread René Koch

On 06/06/2014 03:56 PM, Sandro Bonazzola wrote:

Il 06/06/2014 15:29, Maurice James ha scritto:

I think I got it. Just a few key steps that are not obvious for us python for 
windows virgins. I will send in some screen shots with text so that
someone with write access to the wiki can edit and post it



I suggest to try the shiny new ovirt-guest-tools iso. You can find more info 
here:
http://www.ovirt.org/Features/oVirt_Windows_Guest_Tools


Cool, didn't know that there's already an ISO available.

I just tried it and oVirt Guest Tools Installers says "Unsupported 
Windows version" for my Windows Server 2012 R2 vm. Is this known or 
should I open a bugreport for this?









--
*From: *"Joop" 
*To: *users@ovirt.org
*Sent: *Friday, June 6, 2014 8:27:53 AM
*Subject: *Re: [ovirt-users] Spam Re:  Spam  Windows guest agent

On 6-6-2014 14:14, Karli Sjöberg wrote:


 Den 6 jun 2014 13:39 skrev Maurice James :
 >
 > Yes that FM in particular :)


The step of py2exe doesn't work: can't open File 'setup.py': [Errno 2] No such 
file or directory
My cd is where README-windows is located and the archive of today (-10min ago)

Just copying the parent dir to 'Program Files' and execute what is in the 
README will work though. Thats how I have done it all the time.

Joop


___
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] Spam Re: Spam Re: Spam Windows guest agent

2014-06-06 Thread Sandro Bonazzola
Il 06/06/2014 15:29, Maurice James ha scritto:
> I think I got it. Just a few key steps that are not obvious for us python for 
> windows virgins. I will send in some screen shots with text so that
> someone with write access to the wiki can edit and post it


I suggest to try the shiny new ovirt-guest-tools iso. You can find more info 
here:
http://www.ovirt.org/Features/oVirt_Windows_Guest_Tools


> 
> 
> 
> --
> *From: *"Joop" 
> *To: *users@ovirt.org
> *Sent: *Friday, June 6, 2014 8:27:53 AM
> *Subject: *Re: [ovirt-users] Spam Re:  Spam  Windows guest agent
> 
> On 6-6-2014 14:14, Karli Sjöberg wrote:
> 
> 
> Den 6 jun 2014 13:39 skrev Maurice James :
> >
> > Yes that FM in particular :)
> 
> 
> The step of py2exe doesn't work: can't open File 'setup.py': [Errno 2] No 
> such file or directory
> My cd is where README-windows is located and the archive of today (-10min ago)
> 
> Just copying the parent dir to 'Program Files' and execute what is in the 
> README will work though. Thats how I have done it all the time.
> 
> Joop
> 
> 
> ___
> 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
> 


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Spam Re: Spam Re: Spam Windows guest agent

2014-06-06 Thread Maurice James
I think I got it. Just a few key steps that are not obvious for us python for 
windows virgins. I will send in some screen shots with text so that someone 
with write access to the wiki can edit and post it 



- Original Message -

From: "Joop"  
To: users@ovirt.org 
Sent: Friday, June 6, 2014 8:27:53 AM 
Subject: Re: [ovirt-users] Spam Re: Spam Windows guest agent 

On 6-6-2014 14:14, Karli Sjöberg wrote: 





Den 6 jun 2014 13:39 skrev Maurice James  : 
> 
> Yes that FM in particular :) 


The step of py2exe doesn't work: can't open File 'setup.py': [Errno 2] No such 
file or directory 
My cd is where README-windows is located and the archive of today (-10min ago) 

Just copying the parent dir to 'Program Files' and execute what is in the 
README will work though. Thats how I have done it all the time. 

Joop 


___ 
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] Spam Re: Spam Windows guest agent

2014-06-06 Thread Joop

On 6-6-2014 14:34, René Koch wrote:

On 06/06/2014 02:27 PM, Joop wrote:

On 6-6-2014 14:14, Karli Sjöberg wrote:



Den 6 jun 2014 13:39 skrev Maurice James :
>
> Yes that FM in particular :)



The step of py2exe doesn't work: can't open File 'setup.py': [Errno 2]
No such file or directory
My cd is where README-windows is located and the archive of today
(-10min ago)


You have to be in ovirt-guest-agent/ovirt-guest-agent and in this 
directoy is a setup.py (and also the README-windows.txt as mentioned 
in oVirt wiki) file. It worked for me the last time I did this - 
haven't tried it today...


Found the problem, downloaded the zip file using the the button on 
github. It doesn''t include the setup.py :-(


Joop

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


Re: [ovirt-users] Spam Re: Spam Windows guest agent

2014-06-06 Thread René Koch

On 06/06/2014 02:27 PM, Joop wrote:

On 6-6-2014 14:14, Karli Sjöberg wrote:



Den 6 jun 2014 13:39 skrev Maurice James :
>
> Yes that FM in particular :)



The step of py2exe doesn't work: can't open File 'setup.py': [Errno 2]
No such file or directory
My cd is where README-windows is located and the archive of today
(-10min ago)


You have to be in ovirt-guest-agent/ovirt-guest-agent and in this 
directoy is a setup.py (and also the README-windows.txt as mentioned in 
oVirt wiki) file. It worked for me the last time I did this - haven't 
tried it today...




Just copying the parent dir to 'Program Files' and execute what is in
the README will work though. Thats how I have done it all the time.

Joop



___
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] Spam Re: Spam Windows guest agent

2014-06-06 Thread Joop

On 6-6-2014 14:14, Karli Sjöberg wrote:



Den 6 jun 2014 13:39 skrev Maurice James :
>
> Yes that FM in particular :)


The step of py2exe doesn't work: can't open File 'setup.py': [Errno 2] 
No such file or directory
My cd is where README-windows is located and the archive of today 
(-10min ago)


Just copying the parent dir to 'Program Files' and execute what is in 
the README will work though. Thats how I have done it all the time.


Joop

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


Re: [ovirt-users] Spam Re: Spam Windows guest agent

2014-06-06 Thread René Koch

Hi,

installing is quite simple:

1. Install SPICE Windows guest tools from 
http://www.spice-space.org/download.html -> this also install 
virtio-serial driver, which are required for the next steps


2. Follow this guide: http://www.ovirt.org/OVirt_Guest_Agent_For_Windows

If you can't start the service the issue may be because of missing 
virtio-serial drivers. If you're sure they are installed, reboot the vm 
as Windows sometimes requires a reboot for drivers to work properly.


If you want single-sign-on feature please let me know how you managed to 
do this, as I don't know it myself...



Regards,
René


On 06/06/2014 02:14 PM, Karli Sjöberg wrote:


Den 6 jun 2014 13:39 skrev Maurice James :
 >
 > Yes that FM in particular :)

What steps in it do you think are missing?

/K

 >
 >
 >
 > From: "Karli Sjöberg" 
 > To: "Maurice James" 
 > Cc: "users" 
 > Sent: Friday, June 6, 2014 1:53:39 AM
 > Subject: Re: [ovirt-users] Spam  Windows guest agent
 >
 >
 > Den 6 jun 2014 05:44 skrev Maurice James :
 > >
 > > Is there some special trick to get the windows guest agent to
install properly? I have the service installed but it wont start.
Perhaps someone made a youtube video of the install. I saw some prior
posts where other were having issues but when they asked for helped they
got the old RTFM answer. The problem is the FM seems to be missing some
steps. Any help would be appreciated. Thanks
 >
 > You mean this[1] FM?
 >
 > [1] http://www.ovirt.org/OVirt_Guest_Agent_For_Windows
 >
 > /K
 >
 >



___
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] Spam Re: Spam Windows guest agent

2014-06-06 Thread Karli Sjöberg

Den 6 jun 2014 13:39 skrev Maurice James :
>
> Yes that FM in particular :)

What steps in it do you think are missing?

/K

>
>
>
> From: "Karli Sjöberg" 
> To: "Maurice James" 
> Cc: "users" 
> Sent: Friday, June 6, 2014 1:53:39 AM
> Subject: Re: [ovirt-users] Spam  Windows guest agent
>
>
> Den 6 jun 2014 05:44 skrev Maurice James :
> >
> > Is there some special trick to get the windows guest agent to install 
> > properly? I have the service installed but it wont start. Perhaps someone 
> > made a youtube video of the install. I saw some prior posts where other 
> > were having issues but when they asked for helped they got the old RTFM 
> > answer. The problem is the FM seems to be missing some steps. Any help 
> > would be appreciated. Thanks
>
> You mean this[1] FM?
>
> [1] http://www.ovirt.org/OVirt_Guest_Agent_For_Windows
>
> /K
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Spam Re: Spam Windows guest agent

2014-06-06 Thread Maurice James
Yes that FM in particular :) 



From: "Karli Sjöberg"  
To: "Maurice James"  
Cc: "users"  
Sent: Friday, June 6, 2014 1:53:39 AM 
Subject: Re: [ovirt-users] Spam Windows guest agent 




Den 6 jun 2014 05:44 skrev Maurice James : 
> 
> Is there some special trick to get the windows guest agent to install 
> properly? I have the service installed but it wont start. Perhaps someone 
> made a youtube video of the install. I saw some prior posts where other were 
> having issues but when they asked for helped they got the old RTFM answer. 
> The problem is the FM seems to be missing some steps. Any help would be 
> appreciated. Thanks 

You mean this[1] FM? 

[1] http://www.ovirt.org/OVirt_Guest_Agent_For_Windows 

/K 

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


Re: [ovirt-users] Issue / strange behavior with GlusterFS nodes

2014-06-06 Thread René Koch

On 06/06/2014 11:21 AM, Sahina Bose wrote:


On 06/06/2014 02:03 PM, Joop wrote:

René Koch wrote:

Hi,

I have the following oVirt setup:
2 storage hosts with GlusterFS (replicated) - will be extended to 4
hosts (distributed-replicated)
4 virtualization hosts
1 datacenter
2 clusters (1 only for virtualization, 1 only for GlusterFS)

The strange thing is now:
One of the 2 GlusterFS hosts (these hosts and the Gluster volumes are
managed by oVirt) fails to mount one of the storage domains, but I
can mount it manually.

So the first question is: why should these hosts mount the storage
domains? They are in a cluster without virtualization, so it's not
possible to run virtual machines on these hosts. I think they try to
mount the storage domains because the storage domains are attached to
the data center, but imho the cluster should be checked as well if
virtualization is enabled.

So I was thinking of moving the GlusterFS cluster to a new data
center without storage domains, but this is impossible as Gluster
volumes are created. The only possibility would be to remove the
Gluster volume.

So do you have any idea how I can solve this issue? I mean the
Gluster volume is working fine, but it's really disturbing that I get
an error message every 5 minutes.


Just to let you know you're not the only one with this problem. I have
had it too a couple of times and still don't know the right
incantation to get rid of it. I have the same setup: 2 clusters,
storage and virt, 2 nodes each, one datacenter. Currently on 3.4.1 and
had the problem on the 3.2/3 series. For me it seemed related to
upgrading but that could be just chance. It might as well be related
to a complete shutdown/restart of all machines ( this test setup is
not behind a ups which gives some rare opportunities to troubleshoot
problems :-) )



Yes, this is a bug I would think. For a gluster only cluster, the
storage domain is not relevant.

Could you log a bug with the error attached, and we will try to fix
this. If it's a simple enough fix, we could backport it to 3.4


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

I used component vdsm, but maybe it should belong to webadmin - I'm a 
bit unsure which component is responsible for this.



Thanks,
René



thanks!
sahina



Joop

___
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] Users seeing all vm's

2014-06-06 Thread Artur Sarkisyan
Thanks for replay, I have an IPA server for authentication. I am trying
some scenarios, but I would like to setup pools of vm's for users, actually
one pool for one user.

Kind regards,
Artur


On Thu, Jun 5, 2014 at 8:30 PM, Jeff Clay  wrote:

> Yes, I have resolved this issue. It was due to my lack of understanding in
> how Ovirt expected things to be configured and setup. Are you using active
> directory for authentication and setting up pools of vm's for users to
> access?
>
>
> On Thu, Jun 5, 2014 at 1:10 PM, Artur Sarkisyan  wrote:
>
>> Hi Jeff,
>>
>> I would like to know if you have resolved this issue?
>>
>> At this moment i'm building a poc and i have the same problem like yours:
>> All users can see all vm's. Do you have some suggestions for me ?
>>
>> Thanks in advanced.
>>
>>
>> Kind regards,
>> Artur
>>
>>
>> On Tue, May 6, 2014 at 10:32 PM, Jeff Clay  wrote:
>>
>>> For some reason, when logged in as a user with a modifed copy role of
>>> UserRole (only has login permssion and VM -> Basic Operations -> Remote
>>> Log
>>> In permission) the user can see all of the VM's and has the ability to
>>> open
>>> a console, start, shutdown or suspend any of the VM's. I have verified
>>> that
>>> all of the VM's only show the SuperUser role in their permissions. I went
>>> through all of the roles and verified that the user is only a member of
>>> the
>>> Copy_of_UserRole. The only thing I can think of is that the user is
>>> inheriting permissions from something, but I can't find what it is or
>>> where. Any suggestions?
>>>
>>> Thanks.
>>>
>>> ___
>>> 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] experience with AMD Kabini (Jaguar) CPUs

2014-06-06 Thread Francesco Romani
- Original Message -
> From: "Doron Fediuck" 
> To: "i iordanov" 
> Cc: users@ovirt.org
> Sent: Thursday, June 5, 2014 6:50:58 PM
> Subject: Re: [ovirt-users] experience with AMD Kabini (Jaguar) CPUs
> 
> 
> 
> - Original Message -
> > From: "i iordanov" 
> > To: "Doron Fediuck" 
> > Cc: users@ovirt.org, "Yedidyah Bar David" , "Sandro
> > Bonazzola" 
> > Sent: Thursday, June 5, 2014 7:46:24 PM
> > Subject: Re: [ovirt-users] experience with AMD Kabini (Jaguar) CPUs
> > 
> > Hi Doron,
> > 
> > I haven't purchased the Kabini-based system. I hoping that I would be
> > able to learn in advance whether an all-in-one installation of oVirt
> > would work on it. Unfortunately, returning it would be a hassle and I
> > would not get a full refund for it. If there is no way to discover in
> > advance whether oVirt will work on the system, I can take a risk. Is
> > an all-in-one oVirt installation known to work on any of the modern
> > AMD offerings?
> > 
> > Thanks!
> > iordan

Hi everyone,

I'm playing with a new AMD Kabini host, to see how it behaves as very 
low-cost[1],
low-consumption hypervisor host[2]. I'm still installing the node, so I don't
have actual data yet.

According to libvirt, the host present itself as Opteron_G3.

Plese find attached the output from
virsh (1.2.5) capabilities (caps.txt)
lscpu (lscpu.txt)
lspci (lspci.txt)


+++

[1] You can get a CPU + mainboard with ~85 EURO or even less, and it will 
consume
25W fully loaded, much less when idle. The fan is close to inaudible.
[2] I'll put together a document/wiki page with my findings and experience
afterwards.

-- 
Francesco Romani
RedHat Engineering Virtualization R & D
Phone: 8261328
IRC: fromani
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor 
Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Kabini [Radeon HD 8400 / R3 Series]
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP 
Audio
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor 
Function 0
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor 
Functions 5:1
00:02.5 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor 
Functions 5:1
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI 
Controller (rev 01)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller 
[AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI 
Controller (rev 39)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI 
Controller (rev 39)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI 
Controller (rev 39)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI 
Controller (rev 39)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 3a)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller 
(rev 02)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor 
Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor 
Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor 
Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor 
Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor 
Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor 
Function 5
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 
PCI Express Gigabit Ethernet Controller (rev 11)
02:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
Architecture:  x86_64
CPU op-mode(s):32-bit, 64-bit
Byte Order:Little Endian
CPU(s):4
On-line CPU(s) list:   0-3
Thread(s) per core:1
Core(s) per socket:4
Socket(s): 1
NUMA node(s):  1
Vendor ID: AuthenticAMD
CPU family:22
Model: 0
Model name:AMD Athlon(tm) 5350 APU with Radeon(tm) R3
Stepping:  1
CPU MHz:   800.000
CPU max MHz:   2050.
CPU min MHz:   800.
BogoMIPS:  4092.62
Virtualization:AMD-V
L1d cache: 32K
L1i cache: 32K
L2 cache:  2048K
NUMA node0 CPU(s): 0-3


  
0e989c0a-956b-343d-c5ac-40167eb07d87

  x86_64
  Opteron_G3
  AMD
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  


  
  
  


  
  
tcp
  


  

  3400828
  




  
  

Re: [ovirt-users] Issue / strange behavior with GlusterFS nodes

2014-06-06 Thread Sahina Bose


On 06/06/2014 02:03 PM, Joop wrote:

René Koch wrote:

Hi,

I have the following oVirt setup:
2 storage hosts with GlusterFS (replicated) - will be extended to 4 
hosts (distributed-replicated)

4 virtualization hosts
1 datacenter
2 clusters (1 only for virtualization, 1 only for GlusterFS)

The strange thing is now:
One of the 2 GlusterFS hosts (these hosts and the Gluster volumes are 
managed by oVirt) fails to mount one of the storage domains, but I 
can mount it manually.


So the first question is: why should these hosts mount the storage 
domains? They are in a cluster without virtualization, so it's not 
possible to run virtual machines on these hosts. I think they try to 
mount the storage domains because the storage domains are attached to 
the data center, but imho the cluster should be checked as well if 
virtualization is enabled.


So I was thinking of moving the GlusterFS cluster to a new data 
center without storage domains, but this is impossible as Gluster 
volumes are created. The only possibility would be to remove the 
Gluster volume.


So do you have any idea how I can solve this issue? I mean the 
Gluster volume is working fine, but it's really disturbing that I get 
an error message every 5 minutes.


Just to let you know you're not the only one with this problem. I have 
had it too a couple of times and still don't know the right 
incantation to get rid of it. I have the same setup: 2 clusters, 
storage and virt, 2 nodes each, one datacenter. Currently on 3.4.1 and 
had the problem on the 3.2/3 series. For me it seemed related to 
upgrading but that could be just chance. It might as well be related 
to a complete shutdown/restart of all machines ( this test setup is 
not behind a ups which gives some rare opportunities to troubleshoot 
problems :-) )



Yes, this is a bug I would think. For a gluster only cluster, the 
storage domain is not relevant.


Could you log a bug with the error attached, and we will try to fix 
this. If it's a simple enough fix, we could backport it to 3.4


thanks!
sahina



Joop

___
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] Cann't ping guest from outside

2014-06-06 Thread John Xue
I find the answer, hope for someone like me.

you need enable promiscuous on vswitch of ESXi.

Thank you!


On Fri, Jun 6, 2014 at 12:09 PM, John Xue  wrote:

> Anyone help me?
>
>
> On Wed, Jun 4, 2014 at 11:43 AM, John Xue  wrote:
>
>> I am testing ovirth, my test environment are:
>>
>> Host: nested virtualization ESXi5.5+CentOS 6.4_x86_64
>> Guest: Ubuntu14.04_i386
>>
>> Now, ping
>> CentOS <-> guest and outside are OK
>> Outside <-> gest Fail
>>
>> I am using bridge connection, I try to tcpdump
>>
>> [root@centos vdsm]# brctl show
>> bridge namebridge id   STP
>> enabled interfaces
>> ;vdsmdummy; 8000.   no
>> rhevm 8000.005056ae45e5
>> no   eth0
>>
>>vnet0
>> [root@centos vdsm]# brctl showmacs rhevm
>> port no mac addris local?   ageing timer
>> 2 fe:1a:4a:0c:14:41   yes0.00
>> [root@centos vdsm]# ifconfig|grep HWaddr
>> eth0  Link encap:Ethernet  HWaddr 00:50:56:AE:45:E5
>> rhevm Link encap:Ethernet  HWaddr 00:50:56:AE:45:E5
>> vnet0 Link encap:Ethernet  HWaddr FE:1A:4A:0C:14:41
>> [root@centos vdsm]# service iptables stop
>> [root@centos vdsm]# tcpdump
>> 11:34:59.267379 ARP, Request who-has GUESTIP tell OUTSIDEPCIP, length 46
>> 11:34:59.268017 ARP, Reply GUESTIP is-at 00:1a:4a:0c:14:41 (oui
>> Unknown), length 28
>>
>> I can see only arp working, how do I check this problem? and how vdsm
>> convert from FE:1A:4A:0C:14:41 to guest mac 00:1a:4a:0c:14:41?
>>
>> Thank you!
>>
>> --
>> Regards,
>> John Xue
>>
>
>
>
> --
> Regards,
> John Xue
>



-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Installation of ovirt-node-iso rpm on oVirt Engine

2014-06-06 Thread Faltermeier, Florian
Hi all,

I'm planning to update/reinstall my ovirt 3.4 hypervisors via the update 
mechanism that provided in the ovirt-engine.
I red the documentation about Ovirt Node http://www.ovirt.org/Category:Node

The first topic Upgrading -> Through ovirt Engine tells me that I have to 
install the "ovirt-node-iso rpm".
So where can I find an actual RPM package? I've googled around already but  I 
didn't found any useful hints.

Thank you!

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


Re: [ovirt-users] Issue / strange behavior with GlusterFS nodes

2014-06-06 Thread Joop

René Koch wrote:

Hi,

I have the following oVirt setup:
2 storage hosts with GlusterFS (replicated) - will be extended to 4 
hosts (distributed-replicated)

4 virtualization hosts
1 datacenter
2 clusters (1 only for virtualization, 1 only for GlusterFS)

The strange thing is now:
One of the 2 GlusterFS hosts (these hosts and the Gluster volumes are 
managed by oVirt) fails to mount one of the storage domains, but I can 
mount it manually.


So the first question is: why should these hosts mount the storage 
domains? They are in a cluster without virtualization, so it's not 
possible to run virtual machines on these hosts. I think they try to 
mount the storage domains because the storage domains are attached to 
the data center, but imho the cluster should be checked as well if 
virtualization is enabled.


So I was thinking of moving the GlusterFS cluster to a new data center 
without storage domains, but this is impossible as Gluster volumes are 
created. The only possibility would be to remove the Gluster volume.


So do you have any idea how I can solve this issue? I mean the Gluster 
volume is working fine, but it's really disturbing that I get an error 
message every 5 minutes.


Just to let you know you're not the only one with this problem. I have 
had it too a couple of times and still don't know the right incantation 
to get rid of it. I have the same setup: 2 clusters, storage and virt, 2 
nodes each, one datacenter. Currently on 3.4.1 and had the problem on 
the 3.2/3 series. For me it seemed related to upgrading but that could 
be just chance. It might as well be related to a complete 
shutdown/restart of all machines ( this test setup is not behind a ups 
which gives some rare opportunities to troubleshoot problems :-) )


Joop

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


Re: [ovirt-users] VM HostedEngie is down. Exist message: internal error Failed to acquire lock error -243

2014-06-06 Thread Andrew Lau
Interesting, I put it all into global maintenance. Shut it all down
for 10~ minutes, and it's regained it's sanlock control and doesn't
seem to have that issue coming up in the log.

On Fri, Jun 6, 2014 at 4:21 PM, combuster  wrote:
> It was pure NFS on a NAS device. They all had different ids (had no
> redeployements of nodes before problem occured).
>
> Thanks Jirka.
>
>
> On 06/06/2014 08:19 AM, Jiri Moskovcak wrote:
>>
>> I've seen that problem in other threads, the common denominator was "nfs
>> on top of gluster". So if you have this setup, then it's a known problem. Or
>> you should double check if you hosts have different ids otherwise they would
>> be trying to acquire the same lock.
>>
>> --Jirka
>>
>> On 06/06/2014 08:03 AM, Andrew Lau wrote:
>>>
>>> Hi Ivan,
>>>
>>> Thanks for the in depth reply.
>>>
>>> I've only seen this happen twice, and only after I added a third host
>>> to the HA cluster. I wonder if that's the root problem.
>>>
>>> Have you seen this happen on all your installs or only just after your
>>> manual migration? It's a little frustrating this is happening as I was
>>> hoping to get this into a production environment. It was all working
>>> except that log message :(
>>>
>>> Thanks,
>>> Andrew
>>>
>>>
>>> On Fri, Jun 6, 2014 at 3:20 PM, combuster  wrote:

 Hi Andrew,

 this is something that I saw in my logs too, first on one node and then
 on
 the other three. When that happend on all four of them, engine was
 corrupted
 beyond repair.

 First of all, I think that message is saying that sanlock can't get a
 lock
 on the shared storage that you defined for the hostedengine during
 installation. I got this error when I've tried to manually migrate the
 hosted engine. There is an unresolved bug there and I think it's related
 to
 this one:

 [Bug 1093366 - Migration of hosted-engine vm put target host score to
 zero]
 https://bugzilla.redhat.com/show_bug.cgi?id=1093366

 This is a blocker bug (or should be) for the selfhostedengine and, from
 my
 own experience with it, shouldn't be used in the production enviroment
 (not
 untill it's fixed).

 Nothing that I've done couldn't fix the fact that the score for the
 target
 node was Zero, tried to reinstall the node, reboot the node, restarted
 several services, tailed a tons of logs etc but to no avail. When only
 one
 node was left (that was actually running the hosted engine), I brought
 the
 engine's vm down gracefully (hosted-engine --vm-shutdown I belive) and
 after
 that, when I've tried to start the vm - it wouldn't load. Running VNC
 showed
 that the filesystem inside the vm was corrupted and when I ran fsck and
 finally started up - it was too badly damaged. I succeded to start the
 engine itself (after repairing postgresql service that wouldn't want to
 start) but the database was damaged enough and acted pretty weird
 (showed
 that storage domains were down but the vm's were running fine etc).
 Lucky
 me, I had already exported all of the VM's on the first sign of trouble
 and
 then installed ovirt-engine on the dedicated server and attached the
 export
 domain.

 So while really a usefull feature, and it's working (for the most part
 ie,
 automatic migration works), manually migrating VM with the hosted-engine
 will lead to troubles.

 I hope that my experience with it, will be of use to you. It happened to
 me
 two weeks ago, ovirt-engine was current (3.4.1) and there was no fix
 available.

 Regards,

 Ivan

 On 06/06/2014 05:12 AM, Andrew Lau wrote:

 Hi,

 I'm seeing this weird message in my engine log

 2014-06-06 03:06:09,380 INFO
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (DefaultQuartzScheduler_Worker-79) RefreshVmList vm id
 85d4cfb9-f063-4c7c-a9f8-2b74f5f7afa5 status = WaitForLaunch on vds
 ov-hv2-2a-08-23 ignoring it in the refresh until migration is done
 2014-06-06 03:06:12,494 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
 (DefaultQuartzScheduler_Worker-89) START, DestroyVDSCommand(HostName =
 ov-hv2-2a-08-23, HostId = c04c62be-5d34-4e73-bd26-26f805b2dc60,
 vmId=85d4cfb9-f063-4c7c-a9f8-2b74f5f7afa5, force=false,
 secondsToWait=0, gracefully=false), log id: 62a9d4c1
 2014-06-06 03:06:12,561 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
 (DefaultQuartzScheduler_Worker-89) FINISH, DestroyVDSCommand, log id:
 62a9d4c1
 2014-06-06 03:06:12,652 INFO
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (DefaultQuartzScheduler_
 Worker-89) Correlation ID: null, Call Stack:
 null, Custom Event ID: -1, Message: VM HostedEngine is down. Exit
 message: internal error Failed to acq

[ovirt-users] Issue / strange behavior with GlusterFS nodes

2014-06-06 Thread René Koch

Hi,

I have the following oVirt setup:
2 storage hosts with GlusterFS (replicated) - will be extended to 4 
hosts (distributed-replicated)

4 virtualization hosts
1 datacenter
2 clusters (1 only for virtualization, 1 only for GlusterFS)

The strange thing is now:
One of the 2 GlusterFS hosts (these hosts and the Gluster volumes are 
managed by oVirt) fails to mount one of the storage domains, but I can 
mount it manually.


So the first question is: why should these hosts mount the storage 
domains? They are in a cluster without virtualization, so it's not 
possible to run virtual machines on these hosts. I think they try to 
mount the storage domains because the storage domains are attached to 
the data center, but imho the cluster should be checked as well if 
virtualization is enabled.


So I was thinking of moving the GlusterFS cluster to a new data center 
without storage domains, but this is impossible as Gluster volumes are 
created. The only possibility would be to remove the Gluster volume.


So do you have any idea how I can solve this issue? I mean the Gluster 
volume is working fine, but it's really disturbing that I get an error 
message every 5 minutes.


Thanks!


--
Best Regards

René Koch
Senior Solution Architect


LIS-Linuxland GmbH
Brünner Straße 163, A-1210 Vienna

Phone:   +43 1 236 91 60
Mobile:  +43 660 / 512 21 31
E-Mail:  rk...@linuxland.at


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


Re: [ovirt-users] VM HostedEngie is down. Exist message: internal error Failed to acquire lock error -243

2014-06-06 Thread Andrew Lau
Is this related to the NFS server which gluster provides, or is
because of the way gluster does replication?

There's a few posts ie.
http://community.redhat.com/blog/2014/05/ovirt-3-4-glusterized/ which
are reporting success with gluster + hosted engine. So it'd be good to
know, so we could possibly try a work around.

Cheers.

On Fri, Jun 6, 2014 at 4:19 PM, Jiri Moskovcak  wrote:
> I've seen that problem in other threads, the common denominator was "nfs on
> top of gluster". So if you have this setup, then it's a known problem. Or
> you should double check if you hosts have different ids otherwise they would
> be trying to acquire the same lock.
>
> --Jirka
>
>
> On 06/06/2014 08:03 AM, Andrew Lau wrote:
>>
>> Hi Ivan,
>>
>> Thanks for the in depth reply.
>>
>> I've only seen this happen twice, and only after I added a third host
>> to the HA cluster. I wonder if that's the root problem.
>>
>> Have you seen this happen on all your installs or only just after your
>> manual migration? It's a little frustrating this is happening as I was
>> hoping to get this into a production environment. It was all working
>> except that log message :(
>>
>> Thanks,
>> Andrew
>>
>>
>> On Fri, Jun 6, 2014 at 3:20 PM, combuster  wrote:
>>>
>>> Hi Andrew,
>>>
>>> this is something that I saw in my logs too, first on one node and then
>>> on
>>> the other three. When that happend on all four of them, engine was
>>> corrupted
>>> beyond repair.
>>>
>>> First of all, I think that message is saying that sanlock can't get a
>>> lock
>>> on the shared storage that you defined for the hostedengine during
>>> installation. I got this error when I've tried to manually migrate the
>>> hosted engine. There is an unresolved bug there and I think it's related
>>> to
>>> this one:
>>>
>>> [Bug 1093366 - Migration of hosted-engine vm put target host score to
>>> zero]
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1093366
>>>
>>> This is a blocker bug (or should be) for the selfhostedengine and, from
>>> my
>>> own experience with it, shouldn't be used in the production enviroment
>>> (not
>>> untill it's fixed).
>>>
>>> Nothing that I've done couldn't fix the fact that the score for the
>>> target
>>> node was Zero, tried to reinstall the node, reboot the node, restarted
>>> several services, tailed a tons of logs etc but to no avail. When only
>>> one
>>> node was left (that was actually running the hosted engine), I brought
>>> the
>>> engine's vm down gracefully (hosted-engine --vm-shutdown I belive) and
>>> after
>>> that, when I've tried to start the vm - it wouldn't load. Running VNC
>>> showed
>>> that the filesystem inside the vm was corrupted and when I ran fsck and
>>> finally started up - it was too badly damaged. I succeded to start the
>>> engine itself (after repairing postgresql service that wouldn't want to
>>> start) but the database was damaged enough and acted pretty weird (showed
>>> that storage domains were down but the vm's were running fine etc). Lucky
>>> me, I had already exported all of the VM's on the first sign of trouble
>>> and
>>> then installed ovirt-engine on the dedicated server and attached the
>>> export
>>> domain.
>>>
>>> So while really a usefull feature, and it's working (for the most part
>>> ie,
>>> automatic migration works), manually migrating VM with the hosted-engine
>>> will lead to troubles.
>>>
>>> I hope that my experience with it, will be of use to you. It happened to
>>> me
>>> two weeks ago, ovirt-engine was current (3.4.1) and there was no fix
>>> available.
>>>
>>> Regards,
>>>
>>> Ivan
>>>
>>> On 06/06/2014 05:12 AM, Andrew Lau wrote:
>>>
>>> Hi,
>>>
>>> I'm seeing this weird message in my engine log
>>>
>>> 2014-06-06 03:06:09,380 INFO
>>> [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
>>> (DefaultQuartzScheduler_Worker-79) RefreshVmList vm id
>>> 85d4cfb9-f063-4c7c-a9f8-2b74f5f7afa5 status = WaitForLaunch on vds
>>> ov-hv2-2a-08-23 ignoring it in the refresh until migration is done
>>> 2014-06-06 03:06:12,494 INFO
>>> [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
>>> (DefaultQuartzScheduler_Worker-89) START, DestroyVDSCommand(HostName =
>>> ov-hv2-2a-08-23, HostId = c04c62be-5d34-4e73-bd26-26f805b2dc60,
>>> vmId=85d4cfb9-f063-4c7c-a9f8-2b74f5f7afa5, force=false,
>>> secondsToWait=0, gracefully=false), log id: 62a9d4c1
>>> 2014-06-06 03:06:12,561 INFO
>>> [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
>>> (DefaultQuartzScheduler_Worker-89) FINISH, DestroyVDSCommand, log id:
>>> 62a9d4c1
>>> 2014-06-06 03:06:12,652 INFO
>>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>>> (DefaultQuartzScheduler_
>>> Worker-89) Correlation ID: null, Call Stack:
>>> null, Custom Event ID: -1, Message: VM HostedEngine is down. Exit
>>> message: internal error Failed to acquire lock: error -243.
>>>
>>> It also appears to occur on the other hosts in the cluster, except the
>>> host which is running the hosted-engine. So right now 3 ser