Re: [Users] forced shutdown with client agent

2013-04-22 Thread Vinzenz Feenstra

On 04/20/2013 10:52 PM, Michal Skrivanek wrote:


On 20 Apr 2013, at 22:42, Itamar Heim ih...@redhat.com wrote:


On 03/29/2013 04:58 AM, Thomas Scofield wrote:

I have run into a scenario after installing the client agent.  If a VM
is shutdown, the client agent calls the shutdown command with a 1 minute
timeout.

Dummy-2::INFO::2013-03-28
14:05:21,892::vdsAgentLogic::138::root::Shutting down (timeout = 30,
message = 'System Administrator has initiated shutdown of this Virtual
Machine. Virtual Machine is shutting down.'

Since the shutdown command is called with time parameter the VM sets the
/etc/nologin file. When the VM is forced down the /etc/nologin file is
not cleared and when it comes back up only root can login until the
/etc/nologin file is cleared.

hmmm, Vinzenz - should guest agent clear that on guest startup, if guest agent 
set this at shutdown?

It's not guest agent, shutdown does it. It behaves the same on real hw


Is their some some reason the shutdown time is set to 30 seconds
(rounded up to 1 minute in the code)?  Are there any know issues with
setting this to 0?

Vinzenz - if we are rounding up - is this a bug?

possibly yes

Sounds pretty much like a bug to me




Is this the right way to change it to 0?
psql engine postgres -c update vdc_options set option_value = '0' where
option_name = 'VmGracefulShutdownTimeout';

notmally the grace period is there for other users to react befor shutdown starts. I 
wonder if it's that much relevant here.., if we assume single user most of the time 0 
(i.e. now) should be ok



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




--
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R  D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

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


[Users] 1 node cluster problem

2013-04-22 Thread Jakub Bittner

Hi,

I have one node cluster (ovirt version 3.2) and this node went down 
because kernel panic. In wui I can see it is down, but VMs are still 
reported to be running. (they dont, ofcourse..) I manualy rebooted that 
host and now it is up. But problem is, that I can not activate it in wui 
(still red)


If I press Confirm 'Host has been Rebooted' it says:
Manual fence did not revoke the selected SPM (node1.site.com) since the 
master storage domain was not active or could not use another host for 
the fence operation.


If I try to put host in maitenance it says:

Error while executing action: Cannot switch the following Hosts to 
Maintenance mode: node1.site.com.
One or more running VMs are indicated as non-migratable. The 
non-migratable VMs are: vm2.site.com.



I removed HA mode from vm2.site.com, but did not do the job.

I can not even Power off running hosts.

Is there any way what to do?

Thank you,
Jakub Bittner
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] usb support ,what is the meaning of native,legacy

2013-04-22 Thread Oved Ourfalli
Hi,

Information about the native vs. legacy USB support is well explained in 
http://www.ovirt.org/Features/SPICERelatedFeatures

As for monitor number, it defines the number of monitor devices on the guest. 
Practically, what it gets you is a second client window that you can extend 
your guest desktop onto.
(some details on that are also on the same wiki page).

Regards,
Oved

- Original Message -
 From: bigclouds bigclo...@163.com
 To: users@ovirt.org
 Sent: Monday, April 22, 2013 4:55:17 AM
 Subject: [Users] usb support ,what is the meaning of native,legacy
 
 hi,all:
 1.if use spice protocol, enable usb support. what is the meaning of 'legacy,
 native',
 what is monitor number?
 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: [Users] 1 node cluster problem

2013-04-22 Thread Itamar Heim

On 04/22/2013 09:30 AM, Jakub Bittner wrote:

Hi,

I have one node cluster (ovirt version 3.2) and this node went down
because kernel panic. In wui I can see it is down, but VMs are still
reported to be running. (they dont, ofcourse..) I manualy rebooted that
host and now it is up. But problem is, that I can not activate it in wui
(still red)

If I press Confirm 'Host has been Rebooted' it says:
Manual fence did not revoke the selected SPM (node1.site.com) since the
master storage domain was not active or could not use another host for
the fence operation.

If I try to put host in maitenance it says:

Error while executing action: Cannot switch the following Hosts to
Maintenance mode: node1.site.com.
One or more running VMs are indicated as non-migratable. The
non-migratable VMs are: vm2.site.com.


I removed HA mode from vm2.site.com, but did not do the job.

I can not even Power off running hosts.

Is there any way what to do?

Thank you,
Jakub Bittner


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



iirc, there is a corner case with a single host in DC around this fixed 
post ovirt 3.2 (http://gerrit.ovirt.org/#/c/13045/),
but if you rebooted the host, and it is back up, engine shouldn't have 
an issue connecting to VDSM and detecting the VMs are no longer running.


if the host/vdsm are up and running, and host is activated in engine - 
what status is it at?

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


Re: [Users] 1 node cluster problem

2013-04-22 Thread Itamar Heim

On 04/22/2013 09:53 AM, Jakub Bittner wrote:

Dne 22.4.2013 08:33, Itamar Heim napsal(a):

On 04/22/2013 09:30 AM, Jakub Bittner wrote:

Hi,

I have one node cluster (ovirt version 3.2) and this node went down
because kernel panic. In wui I can see it is down, but VMs are still
reported to be running. (they dont, ofcourse..) I manualy rebooted that
host and now it is up. But problem is, that I can not activate it in wui
(still red)

If I press Confirm 'Host has been Rebooted' it says:
Manual fence did not revoke the selected SPM (node1.site.com) since the
master storage domain was not active or could not use another host for
the fence operation.

If I try to put host in maitenance it says:

Error while executing action: Cannot switch the following Hosts to
Maintenance mode: node1.site.com.
One or more running VMs are indicated as non-migratable. The
non-migratable VMs are: vm2.site.com.


I removed HA mode from vm2.site.com, but did not do the job.

I can not even Power off running hosts.

Is there any way what to do?

Thank you,
Jakub Bittner


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



iirc, there is a corner case with a single host in DC around this
fixed post ovirt 3.2 (http://gerrit.ovirt.org/#/c/13045/),
but if you rebooted the host, and it is back up, engine shouldn't have
an issue connecting to VDSM and detecting the VMs are no longer running.

if the host/vdsm are up and running, and host is activated in engine -
what status is it at?


Hypervisor node is reported to be down by ovirt engine, but it is
running. The VMs have question mark in their statuses.



what happens when you activate the host?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] save to restart libvirtd ?

2013-04-22 Thread Dan Kenigsberg
On Thu, Apr 18, 2013 at 07:40:41PM +0100, Alex Leonhardt wrote:
 ah, i dont have that configured anyway as I thought from the
 beginning that i'd like to keep control over when a host is being
 rebooted ...
 
 unfortunately, the VMs are running storage domains too (NFS) so it'd
 take those down I believe ... i'll try w/o stopping vdsm first ...
 on one that hopefully doesnt run too many critical apps at the time
 ..
 
 i'll report back how it went if anyone's interested :)

Please do - since Vdsm should've restarted itself anyway.
 
 
 
 On 04/17/2013 08:07 AM, Omer Frenkel wrote:
 
 
 
 
 *From: *Alex Leonhardt alex.t...@gmail.com
 *To: *Dan Kenigsberg dan...@redhat.com
 *Cc: *oVirt Mailing List users@ovirt.org
 *Sent: *Wednesday, April 17, 2013 1:02:25 AM
 *Subject: *Re: [Users] save to restart libvirtd ?
 
 would that stop any of the running VMs ?
 
 it shouldn't, but if you have ovirt engine running, make sure that
 power management not active for this host,
 since after timeout (usually 1 minute) when vdsm is down, the host
 will be fenced (restarted) - then the vms will surely stop..
 look at http://www.ovirt.org/Automatic_Fencing
 http://www.ovirt.org/Automatic_Fencing%20for more info about
 automatic fencing in engine.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 1 node cluster problem

2013-04-22 Thread Jakub Bittner

Dne 22.4.2013 11:42, Itamar Heim napsal(a):

On 04/22/2013 09:53 AM, Jakub Bittner wrote:

Dne 22.4.2013 08:33, Itamar Heim napsal(a):

On 04/22/2013 09:30 AM, Jakub Bittner wrote:

Hi,

I have one node cluster (ovirt version 3.2) and this node went down
because kernel panic. In wui I can see it is down, but VMs are still
reported to be running. (they dont, ofcourse..) I manualy rebooted 
that
host and now it is up. But problem is, that I can not activate it 
in wui

(still red)

If I press Confirm 'Host has been Rebooted' it says:
Manual fence did not revoke the selected SPM (node1.site.com) since 
the

master storage domain was not active or could not use another host for
the fence operation.

If I try to put host in maitenance it says:

Error while executing action: Cannot switch the following Hosts to
Maintenance mode: node1.site.com.
One or more running VMs are indicated as non-migratable. The
non-migratable VMs are: vm2.site.com.


I removed HA mode from vm2.site.com, but did not do the job.

I can not even Power off running hosts.

Is there any way what to do?

Thank you,
Jakub Bittner


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



iirc, there is a corner case with a single host in DC around this
fixed post ovirt 3.2 (http://gerrit.ovirt.org/#/c/13045/),
but if you rebooted the host, and it is back up, engine shouldn't have
an issue connecting to VDSM and detecting the VMs are no longer 
running.


if the host/vdsm are up and running, and host is activated in engine -
what status is it at?


Hypervisor node is reported to be down by ovirt engine, but it is
running. The VMs have question mark in their statuses.



what happens when you activate the host?

I cant, it is grayed out.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] video performance

2013-04-22 Thread David Jaša
Hi Ryan,

Ryan Wilkinson píše v Čt 11. 04. 2013 v 17:02 -0600:
 Not getting very good quality playback when watching videos on a vm
 through spice console.  It works, just very jittery.  Have installed
 client tools and verified display driver is using the redhat driver.
 Any other ideas for improving video performance?

Could you add some more information, please? Specifically client, host
and guest information would be helpful and what kind of video are you
trying to play.

There is known performance problem when you are playing html5 video that
is being worked on currently, and you can expect low performance of
large-size flash videos as well - but that applies to physical system as
well.

David

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

-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key: 22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24




smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [Spice-devel] Configure spice plugin for wan

2013-04-22 Thread David Jaša
Andrew Cathrow píše v Ne 21. 04. 2013 v 20:05 -0400:
 
 - Original Message -
  From: Itamar Heim ih...@redhat.com
  To: Gianluca Cecchi gianluca.cec...@gmail.com
  Cc: Michael Pasternak mpast...@redhat.com, 
  spice-de...@lists.freedesktop.org, users users@ovirt.org, René
  Koch r.k...@ovido.at
  Sent: Saturday, April 20, 2013 5:03:25 PM
  Subject: Re: [Spice-devel] [Users] Configure spice plugin for wan
  
  On 03/24/2013 09:17 PM, Gianluca Cecchi wrote:
   On Sun, Mar 24, 2013 at 10:08 AM, Michael Pasternak  wrote:
  
   was this resolved?
   you've mentioned above you are using 'rhev-agent' - ovirt may
   be checking
   for ovirt-guest-agent'...
   please send list of installed applications as reported by the
   guest agent
   (restapi probably easiest).
  
   No, only a few lines shown for applications and no wan option
   shown in
   user portal...
   I compiled ovirt-guest-agent service for windows XP and
   Windows7
   A quick command line example of using rest/api to get
   applications?
  
  
   Applications aren't accessible using REST-API.
   But it would be great if this would be added as a feature in
   3.3... :)
  
   interesting. michael - any reason for this?
  
   the overhead of sending a bulk of applications when listing vms at
   /vms,
   but this can be implemented as emulated sub-collection under vm
   (as we did
   for /cdroms), i've filed [1] for this.
  
   [1] https://bugzilla.redhat.com/show_bug.cgi?id=926928
  
   as a workaround, command line can be done at host level via
   vdsClient -s 0 getAllVmStats
  
  
   It remains the problem to use wan options in oVirt.
   Can I execute some test as in
   http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal
  
  
   how to translate these wan options if I want to try this way?
   Thanks
   Gianluca
  
  
  spice-devel - what's the command line option for virt-viewer to tweak
  spice wan behavior?
  _
 
 
 --spice-disable-effects=wallpaper,font-smooth,animation,all  \\

plus --spice-color-depth=16

David

 
 
 
 
 __
  Spice-devel mailing list
  spice-de...@lists.freedesktop.org
  http://lists.freedesktop.org/mailman/listinfo/spice-devel
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key: 22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24




smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] forced shutdown with client agent

2013-04-22 Thread Gianluca Cecchi
On Mon, Apr 22, 2013 at 12:59 PM, Michal Skrivanek  wrote:

 The idea was to allow a logged in user to orderly close his work right?
 For that I'm not sure that even 30 seconds is enough.
 For that typically sysadmins use 5 or 10 minutes. 30s is worthless, no one 
 would be able to react that fast…so to me this is the same as initiating 
 shutdown right away. It's graceful anyway and all common apps would save the 
 workspace on SIGTERM anyway. Well, does it even do anything on Windows?
 That's why I'd vote for 0. And keep is configurable in case you want to use 
 it, sure.

+1

FWIW:
Using VMware since many years and there, when VMware tools are
installed, shutdown is immediate and didn't hear anyone complaining
about it.

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


Re: [Users] [Spice-devel] Server 2k8

2013-04-22 Thread David Jaša
Itamar Heim píše v So 20. 04. 2013 v 16:31 +0300:
 On 04/20/2013 01:29 AM, Ryan Wilkinson wrote:
  Are spice guest tools that will work with Server 2k8 available -
  especially video drivers?

You can force-install qxl for win 7 64b if you wish to do so, but the
question is - why do you need graphic driver on server windows? The
spipce-vdagent should be all you need b/c it will give you local mouse.

David

 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 adding spice-devel.
 ___
 Spice-devel mailing list
 spice-de...@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/spice-devel

-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key: 22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24




smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Configure local storage: VAR__TYPE__STORAGE__DOMAIN, VAR__ACTION__ADD, ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST

2013-04-22 Thread Dafna Ron

hi Dennis,

The error you are getting is indeed that the directory that you are 
trying to use does not exist.


can you send me the following information?

ls -l output for /home/virtualisierung/
the exact path that you are using in the configure local storage dialogue.
what nfs version do you have on the host?
what is the vdsm version on your host?


Thanks,
Dafna


On 04/22/2013 01:53 PM, Dennis Böck wrote:

Dear Dafina,

vdsm and engine logs attached.
I used the most current Fedora 18 nfs (nts-utils-1.2.7-6.fc18.x86_64)


Von: Dafna Ron [d...@redhat.com]
Gesendet: Sonntag, 21. April 2013 11:06
An: Dennis Böck
Cc: Itamar Heim; users@oVirt.org
Betreff: Re: [Users] Configure local storage: VAR__TYPE__STORAGE__DOMAIN, 
VAR__ACTION__ADD, ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST

are you using regular nfs domain or posix? what nfs version are you using?
can you please send us full vdsm and engine logs.


On 04/21/2013 12:04 PM, Dennis Böck wrote:

No, unfortunately not.

-Ursprüngliche Nachricht-
Von: Itamar Heim [mailto:ih...@redhat.com]
Gesendet: Samstag, 20. April 2013 20:16
An: Dennis Böck
Cc: Allon Mureinik; users@oVirt.org
Betreff: Re: [Users] Configure local storage: VAR__TYPE__STORAGE__DOMAIN, 
VAR__ACTION__ADD, ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST

On 04/12/2013 06:19 PM, Dennis Böck wrote:

I installed ovirt-engine all-in-one package and tried again to configure vdsm on the 
host. But again the point AIO: Adding local storage failed, see log attached.

was this resolved?


Best regards
Dennis


Von: users-boun...@ovirt.org [users-boun...@ovirt.org]quot; im
Auftrag von quot;Dennis Böck [den...@webdienstleistungen.com]
Gesendet: Donnerstag, 11. April 2013 16:24
An: Allon Mureinik
Cc: users@oVirt.org
Betreff: Re: [Users] Configure local storage:
VAR__TYPE__STORAGE__DOMAIN, VAR__ACTION__ADD,
ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST

Dear Allon,

I checked it: the path /home/virtualisierung/local-storage did exist
(and still exists). Owner: vdsm, Group: kvm Rights: drwxr-xr-x I installed the 
engine and vdsm on the same host - can this lead to problems?

Best regards
Dennis

Von: Allon Mureinik [amure...@redhat.com]
Gesendet: Donnerstag, 11. April 2013 09:50
An: Dennis Böck
Cc: users@oVirt.org
Betreff: Re: AW: [Users] Configure local storage:
VAR__TYPE__STORAGE__DOMAIN, VAR__ACTION__ADD,
ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST

Looks as though the path really doesn't exist:
Thread-162::INFO::2013-04-09
17:43:26,275::logUtils::41::dispatcher::(wrapper) Run and protect:
connectStorageServer(domType=4,
spUUID='----', conList=[{'connection':
'/home/virtualisierung/local-storage', 'iqn': '', 'portal': '',
'user': '', 'password': '**', 'id':
'----', 'port': ''}], options=None)
Thread-162::ERROR::2013-04-09
17:43:26,275::hsm::2215::Storage.HSM::(connectStorageServer) Could not connect 
to storageServer Traceback (most recent call last):
 File /usr/share/vdsm/storage/hsm.py, line 2211, in connectStorageServer
   conObj.connect()
 File /usr/share/vdsm/storage/storageServer.py, line 464, in connect
   raise Exception(Could not link to directory. Path does not exist 

Is it possible you created the directory on the engine's server instead of the 
VDSM server?

- Original Message -

From: Dennis Böck den...@webdienstleistungen.com
To: Allon Mureinik amure...@redhat.com
Cc: users@oVirt.org users@ovirt.org
Sent: Thursday, April 11, 2013 8:33:00 AM
Subject: AW: [Users] Configure local storage:
VAR__TYPE__STORAGE__DOMAIN, VAR__ACTION__ADD,
ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST

Dear Allon,

vdsm.log attached.


Von: Allon Mureinik [amure...@redhat.com]
Gesendet: Mittwoch, 10. April 2013 17:58
An: Dennis Böck
Cc: users@oVirt.org
Betreff: Re: [Users] Configure local storage:
VAR__TYPE__STORAGE__DOMAIN, VAR__ACTION__ADD,
ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST

Can you please share VDSM's log too?

- Original Message -

From: Dennis Böck den...@webdienstleistungen.com
To: users@oVirt.org users@ovirt.org
Sent: Tuesday, April 9, 2013 6:54:36 PM
Subject: [Users] Configure local storage:
VAR__TYPE__STORAGE__DOMAIN, VAR__ACTION__ADD,
ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST

Dear oVirt-Users,

unfortunately I was not able to configure local storage. The engine
log
says:

2013-04-09 17:40:28,886 ERROR
[org.ovirt.engine.core.bll.storage.LOCALFSStorageHelper]
(ajp--127.0.0.1-8702-5) [_WEBADMIN_10653964_Configure_Local_Storage]
The connection with details /home/virtualisierungs/vms failed
because of error code 100 and error message is: generalexception
2013-04-09 17:40:28,967 WARN
[org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand]
(ajp--127.0.0.1-8702-5) 

Re: [Users] Wrong Master domain or its version

2013-04-22 Thread Michael Kublin




- Original Message -
 From: Jonas Israelsson jo...@israelsson.com
 To: users@ovirt.org
 Sent: Monday, April 22, 2013 4:01:37 PM
 Subject: [Users] Wrong Master domain or its version
 
 Greetings.
 
 This post is related to my previous post (
 http://lists.ovirt.org/pipermail/users/2013-April/013912.html ) but with
 some more investigation and findings.
 
 When trying to activate my host/node it goes back to non-operational since
 it's unable to attach the master storage domain.
 
 A few snippet from the log (whole log attached):
 
 Thread-12399::ERROR::2013-04-22
 11:02:17,627::sp::1519::Storage.StoragePool::(getMasterDomain) Requested
 master domain ea5643f7-f41f-4c44-a27f-f31240cd0f19 does not have expected
 version 110 it is version 1
 Thread-12399::INFO::2013-04-22
 11:02:17,630::task::1134::TaskManager.Task::(prepare)
 Task=`086e8dc5-7bbd-499e-a12d-736cb14fe79b`::aborting: Task is aborted:
 'Wrong Master domain or its version' - code 324
 Thread-12399::DEBUG::2013-04-22
 11:02:17,630::task::1139::TaskManager.Task::(prepare)
 Task=`086e8dc5-7bbd-499e-a12d-736cb14fe79b`::Prepare: aborted: Wrong Master
 domain or its version
 
 Not sure if does not have expected version 110 it is version 1 is a red
 herring or if this is actual problem. I get the following output from
 vdsClient, where no version seem to match versions from the log.
 
 vdsClient -s 0 getStorageDomainInfo ea5643f7-f41f-4c44-a27f-f31240cd0f19
 uuid = ea5643f7-f41f-4c44-a27f-f31240cd0f19
 vguuid = 5Qox85-NQCz-pyVM-aFRN-KJ2P-jB1T-IiETQr
 lver = -1
 state = OK
 version = 3
 role = Master
 pool = ['dae1ba5e-548a-473e-94b6-7d08d3a6229a']
 spm_id = -1
 type = ISCSI
 class = Data
 master_ver = 0
 name = hinken
 
 Found these that seem somewhat similar:
 https://bugzilla.redhat.com/show_bug.cgi?id=784038
 http://lists.ovirt.org/pipermail/users/2012-December/010982.html
 
 
 My whole site is dead now due to this, so any help to the resolve the issue
 would be greatly appreciated.
 
 With kind regards
 Jonas
 
 vdsm.log
 Thread-12388::DEBUG::2013-04-22
 11:02:09,292::BindingXMLRPC::913::vds::(wrapper) client [46.22.124.43]::call
 getCapabilities with () {}
 Thread-12388::DEBUG::2013-04-22
 11:02:09,349::BindingXMLRPC::920::vds::(wrapper) return getCapabilities with
 {'status': {'message': 'Done', 'code': 0}, 'info': {'HBAInventory':
 {'iSCSI': [{'InitiatorName': 'iqn.1994-05.com.redhat:a07da5fa539'}], 'FC':
 []}, 'packages2': {'kernel': {'release': '205.fc18.x86_64', 'buildtime':
 1361736602.0, 'version': '3.7.9'}, 'spice-server': {'release': '3.fc18',
 'buildtime': 1358784016L, 'version': '0.12.2'}, 'vdsm': {'release':
 '9.fc18', 'buildtime': 1362046220L, 'version': '4.10.3'}, 'qemu-kvm':
 {'release': '6.fc18', 'buildtime': 1359843954L, 'version': '1.2.2'},
 'libvirt': {'release': '1.fc18', 'buildtime': 1359405439L, 'version':
 '0.10.2.3'}, 'qemu-img': {'release': '6.fc18', 'buildtime': 1359843954L,
 'version': '1.2.2'}, 'mom': {'release': '1.fc18', 'buildtime': 1349470214L,
 'version': '0.3.0'}}, 'cpuModel': 'AMD Opteron(TM) Processor 6276', 'hooks':
 {}, 'cpuSockets': '4', 'vmTypes': ['kvm'], 'supportedProtocols': ['2.2',
 '2.3'], 'networ!
  ks': {'ovi
 rtmgmt': {'iface': 'ovirtmgmt', 'addr': '46.22.124.37', 'cfg': {'IPADDR':
 '46.22.124.37', 'PEERDNS': 'no', 'GATEWAY': '46.22.124.36', 'DELAY': '0',
 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.224', 'BOOTPROTO': 'none',
 'STP': 'no', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'},
 'mtu': '1500', 'netmask': '255.255.255.224', 'stp': 'off', 'bridged': True,
 'gateway': '46.22.124.36', 'ports': ['em1']}, 'san': {'iface': 'san',
 'addr': '192.168.43.11', 'cfg': {'IPADDR': '192.168.43.11', 'PEERDNS': 'no',
 'MTU': '9000', 'DELAY': '0', 'NM_CONTROLLED': 'no', 'NETMASK':
 '255.255.255.0', 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'san', 'TYPE':
 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '9000', 'netmask': '255.255.255.0',
 'stp': 'off', 'bridged': True, 'gateway': '0.0.0.0', 'ports': ['em2']},
 'vminternet': {'iface': 'vminternet', 'addr': '', 'cfg': {'PEERDNS': 'no',
 'DELAY': '0', 'NM_CONTROLLED': 'no', 'STP': 'no', 'DEVICE': 'vminternet',
 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu'!
  : '1500',
 'netmask': '', 'stp': 'off', 'bridged': True, 'gateway': '0.0.0.0', 'ports':
 ['em4']}}, 'bridges': {'ovirtmgmt': {'addr': '46.22.124.37', 'cfg':
 {'IPADDR': '46.22.124.37', 'PEERDNS': 'no', 'GATEWAY': '46.22.124.36',
 'DELAY': '0', 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.224',
 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge',
 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.255.224', 'stp': 'off',
 'ports': ['em1']}, 'san': {'addr': '192.168.43.11', 'cfg': {'IPADDR':
 '192.168.43.11', 'PEERDNS': 'no', 'MTU': '9000', 'DELAY': '0',
 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO': 'none',
 'STP': 'no', 'DEVICE': 'san', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu':
 '9000', 'netmask': '255.255.255.0', 'stp': 'off', 'ports': ['em2']},
 

Re: [Users] High Availability OVirt

2013-04-22 Thread victor nunes
OK.

Thanks


2013/4/20 Itamar Heim ih...@redhat.com

 On 04/19/2013 02:41 PM, René Koch (ovido) wrote:

 Hi,

 You can use a cluster software like pacemaker or RH Cluster to make your
 ovirt-engine high available.

 I personally recommend to virtualise it on a KVM host, as keeping
 virtual machines high available is much easier then making all services
 ovirt-engine need high available (but it's possible for sure).

 So what happens when your engine hosts goes down:
 - You can't login into webadmin and user portals
 - high availability and live migration features of your virtual machines
 aren't working
 - You can't start/deploy new virtual machines
 - Your hosts and virtual machines that are already running stay up of
 course

 As clustering brings in more complexity I would use a server with RAID,
 redundant power supplies and redundant network interfaces (bonding) for
 ovirt-engine instead of clustering. Only when using desktop
 virtualization where availabilty of the user portal is really important
 I would cluster ovirt-engine.
 (But this is just my personal opinion)


 and we're looking at a hosted engine which will try to solve this out of
 the box.




 Regards,
 René



 On Fri, 2013-04-19 at 08:19 -0300, victor nunes wrote:


 Is there any way to create redundancy oVirt-engine?
 We install oVirt-engine in a machine, and what happens if that burning
 machine?


 Is there anything that can be done to remedy this?


 Att,
 --
 “Encarada do ponto de vista da juventude, a vida parece um futuro
 indefinidamente longo, ao passo que, na velhice, ela parece um
 passado
 deveras curto. Assim, a vida no seu início se apresenta do mesmo modo
 que as coisas quando as olhamos através de um binóculo usado ao
 contrário; mas, ao
 seu final, ela se parece com as coisas  tal qual são vistas quando o
 binóculo
 é usado de modo normal. Um homem precisa ter envelhecido e vivido
 bastante para perceber como a vida é curta”.

   (Poema de Arthur Schopenhauer)
 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users


 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users





-- 
“Encarada do ponto de vista da juventude, a vida parece um futuro
indefinidamente longo, ao passo que, na velhice, ela parece um passado
deveras curto. Assim, a vida no seu início se apresenta do mesmo modo
que as coisas quando as olhamos através de um binóculo usado ao contrário;
mas, ao
seu final, ela se parece com as coisas  tal qual são vistas quando o
binóculo
é usado de modo normal. Um homem precisa ter envelhecido e vivido
bastante para perceber como a vida é curta”.

 (Poema de Arthur Schopenhauer)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 1 node cluster problem

2013-04-22 Thread Jakub Bittner

Dne 22.4.2013 12:32, Jakub Bittner napsal(a):

Dne 22.4.2013 11:42, Itamar Heim napsal(a):

On 04/22/2013 09:53 AM, Jakub Bittner wrote:

Dne 22.4.2013 08:33, Itamar Heim napsal(a):

On 04/22/2013 09:30 AM, Jakub Bittner wrote:

Hi,

I have one node cluster (ovirt version 3.2) and this node went down
because kernel panic. In wui I can see it is down, but VMs are still
reported to be running. (they dont, ofcourse..) I manualy rebooted 
that
host and now it is up. But problem is, that I can not activate it 
in wui

(still red)

If I press Confirm 'Host has been Rebooted' it says:
Manual fence did not revoke the selected SPM (node1.site.com) 
since the
master storage domain was not active or could not use another host 
for

the fence operation.

If I try to put host in maitenance it says:

Error while executing action: Cannot switch the following Hosts to
Maintenance mode: node1.site.com.
One or more running VMs are indicated as non-migratable. The
non-migratable VMs are: vm2.site.com.


I removed HA mode from vm2.site.com, but did not do the job.

I can not even Power off running hosts.

Is there any way what to do?

Thank you,
Jakub Bittner


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



iirc, there is a corner case with a single host in DC around this
fixed post ovirt 3.2 (http://gerrit.ovirt.org/#/c/13045/),
but if you rebooted the host, and it is back up, engine shouldn't have
an issue connecting to VDSM and detecting the VMs are no longer 
running.


if the host/vdsm are up and running, and host is activated in engine -
what status is it at?


Hypervisor node is reported to be down by ovirt engine, but it is
running. The VMs have question mark in their statuses.



what happens when you activate the host?

I cant, it is grayed out.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
I solved it by manually editing SQL database. I set all VMs down, 
removed hypervisor and reinstalled it. And it works...

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


Re: [Users] How to rescue storage domain structure

2013-04-22 Thread Joop

Chris Smith wrote:

List,

I have lost the ability to manage the hosts or VM's using ovirt engine
web interface.  The data center is offline, and I
can't actually perform any operations with the hosts or VM's.  I don't
think that there
are any actions I can perform in the web interface at all.

What's odd is that I can tell the host to go into maintenance mode
using the ovirt-engine web interface and it seems to go into
maintenance mode.  It even shows the wrench icon next to the host.  I
can also try and activate it after it susposedly goes into maintenance
mode, and It states that the host was activated, but the host never
actually comes up or contends for SPM status, and the data center
never comes online.

From the logs it seems that at least PKI is broken between the engine
and the hosts as I see numerous certificate errors on both the
ovirt-engine and clients.

vdsm.log shows:

Traceback (most recent call last):
  File /usr/lib64/python2.7/SocketServer.py, line 582, in
process_request_thread
self.finish_request(request, client_address)
  File /usr/lib/python2.7/site-packages/vdsm/SecureXMLRPCServer.py,
line 66, in finish_request
request.do_handshake()
  File /usr/lib64/python2.7/ssl.py, line 305, in do_handshake
self._sslobj.do_handshake()
SSLError: [Errno 1] _ssl.c:504: error:14094416:SSL
routines:SSL3_READ_BYTES:sslv3 alert certificate unknown

and engine.log shows:

2013-04-18 18:42:43,632 ERROR
[org.ovirt.engine.core.
engineencryptutils.EncryptionUtils]
(QuartzScheduler_Worker-68) Failed to decryptData must start with zero
2013-04-18 18:42:43,642 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
(QuartzScheduler_Worker-68) XML RPC error in command


Alon Bar-Lev was able to offer several good pointers in another thread
titled Certificates and PKI seem to be broken after yum update and
eventually concluded that the installation seems to be corrupted more
than just the certificates, truststore, and keystore, and suggested
that I start a new thread to ask about how to rescue the storage
domain structure.

The storage used for the data center is ISCSI, which is intact and
working.  In fact 2 of the VM's are still online and running on one of
the original FC17 hosts systems.

I'm not able to reinstall any of the existing hosts from the ovirt-engine web
interface.  I attempted to reinstall one of the hosts (not the SPM)
which failed.

I also tried to bring up a new, third host and add it to the cluster.
I setup another Fedora 17 box up and tried to add it to the
cluster, but it states that there are no available servers in the
cluster to probe the new host.

This is a test environment that I would like to fix, but I'm also
willing to just run engine cleanup and start over.

That said, there are 3 VM's that I would like to keep.  Two are online
and running, and I'm able to see them with virsh on that host.  I was
wondering about using virsh to backup these vm's.

The third VM exists in the database, and was set to run on the host
that I attempted to reinstall, but that VM isn't running, and when I
use virsh on it's host, virsh can't seem to find it, when I perform
the list commands, and I can't start it with virsh vm-name

What is the best way to proceed?  It seems like it would be easier to
export the VM's using virsh from the host that they run on if
possible, then update ovirt to the latest version, recreate everything
and then import the VM's back in to the new environment.

Will this work?  Is there a procedure I can follow to do this?

Here's some additional information about the installed ovirt packages
on the ovirt-engine

[
If you want a backup of the currently running hosts you can use 
fsarchiver. There is a statically linked version consisting of one 
executable on the website of fsarchiver and you can use options to 
overrule the fact that you're backing up a live system.
You can't shutdown the VM's, I think, and then do an export to an export 
domain since you don't have a master storage domain thats why the above 
workaround with fsarchiver. You can ofcourse use you're favourite backup 
programme.



Joop

--
irc: jvandewege

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


Re: [Users] 1 node cluster problem

2013-04-22 Thread Itamar Heim

On 04/22/2013 01:32 PM, Jakub Bittner wrote:

Dne 22.4.2013 11:42, Itamar Heim napsal(a):

On 04/22/2013 09:53 AM, Jakub Bittner wrote:

Dne 22.4.2013 08:33, Itamar Heim napsal(a):

On 04/22/2013 09:30 AM, Jakub Bittner wrote:

Hi,

I have one node cluster (ovirt version 3.2) and this node went down
because kernel panic. In wui I can see it is down, but VMs are still
reported to be running. (they dont, ofcourse..) I manualy rebooted
that
host and now it is up. But problem is, that I can not activate it
in wui
(still red)

If I press Confirm 'Host has been Rebooted' it says:
Manual fence did not revoke the selected SPM (node1.site.com) since
the
master storage domain was not active or could not use another host for
the fence operation.

If I try to put host in maitenance it says:

Error while executing action: Cannot switch the following Hosts to
Maintenance mode: node1.site.com.
One or more running VMs are indicated as non-migratable. The
non-migratable VMs are: vm2.site.com.


I removed HA mode from vm2.site.com, but did not do the job.

I can not even Power off running hosts.

Is there any way what to do?

Thank you,
Jakub Bittner


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



iirc, there is a corner case with a single host in DC around this
fixed post ovirt 3.2 (http://gerrit.ovirt.org/#/c/13045/),
but if you rebooted the host, and it is back up, engine shouldn't have
an issue connecting to VDSM and detecting the VMs are no longer
running.

if the host/vdsm are up and running, and host is activated in engine -
what status is it at?


Hypervisor node is reported to be down by ovirt engine, but it is
running. The VMs have question mark in their statuses.



what happens when you activate the host?

I cant, it is grayed out.


do you remember which flow caused it to be in a down status?

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


Re: [Users] problems starting ovirt-engine after upgrade 3.2.0 to 3.2.1

2013-04-22 Thread Gianluca Cecchi
On Mon, Apr 22, 2013 at 12:52 PM,  j wrote:

 iiuc, you can't get the engine running, yet you attached the logs of the
 the engine-dwh service, rather than the ovirt-engine service.
 please attache ovirt-engine logs.

 thanks,
Itamar

 Hmm, there is no ovirt-engine service in init.d anymore. I just thought
 somebody renamed it to ovirt-engine-dwhd for some reason but forgot I
 installed this for reports a couple of weeks ago.


 I can probably just grab de engine init script and fix it, but I really
 wonder how it disappeared.

MOst of services are managed by systemd in fedora 18.

init file is /usr/lib/systemd/system/ovirt-engine.service

inside it there is the call to actual file and actions, eg:

ExecStart=/usr/bin/engine-service start

/usr/bin/engine-service is what you would like to modify

but probably you had better send engine log files, under /var/log/ovirt-engine/
(engine.log in particular)

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


[Users] AD authentication for ovirt manager

2013-04-22 Thread Jonathan Horne
Is there a write up out there for setting up ovirt users and adminstrators to 
authenticate into the portal via AD?

Thanks,
Jonathan



This is a PRIVATE message. If you are not the intended recipient, please delete 
without copying and kindly advise us by e-mail of the mistake in delivery. 
NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to 
any order or other contract unless pursuant to explicit written agreement or 
government initiative expressly permitting the use of e-mail for such purpose.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] AD authentication for ovirt manager

2013-04-22 Thread Christian Hernandez
Hello Jonathan,

I believe you can use the Red Hat Documentation for this.

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.1/html/Evaluation_Guide/Evaluation_Guide-VDI.html#Evaluation_Guide-Add_Active_Directory

One of the gotchas that I ran into is that you need to specify the Active
Directory as your DNS provider in your resolv.conf file (not sure if it was
coincidence or not; but I ran into some issues that went away when I did
this)

HTH


Thank you,

Christian Hernandez
1225 Los Angeles Street
Glendale, CA 91204
Phone: 877-782-2737 ext. 4566
Fax: 818-265-3152
christi...@4over.com mailto:christi...@4over.com
www.4over.com http://www.4over.com


On Mon, Apr 22, 2013 at 2:57 PM, Jonathan Horne jho...@skopos.us wrote:

  Is there a write up out there for setting up ovirt users and
 adminstrators to authenticate into the portal via AD?



 Thanks,

 Jonathan



 --
 This is a PRIVATE message. If you are not the intended recipient, please
 delete without copying and kindly advise us by e-mail of the mistake in
 delivery. NOTE: Regardless of content, this e-mail shall not operate to
 bind SKOPOS to any order or other contract unless pursuant to explicit
 written agreement or government initiative expressly permitting the use of
 e-mail for such purpose.

 ___
 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: [Users] users quota and limit ips

2013-04-22 Thread Tim Hildred
Another approach would be to use logical networks and router software. 

Logical network 1
- has vm running ddwrt (or openwrt, m0n0wall, etc) with 2 NICs. one of the 
router VM NICs is on your network, and the other one gives out IP addresses on 
a range you specify (say 192.168.13.X). 
- VMs get IP addresses, DNS, and connectivity through router VM. 

Logical network 2
- has vm running ddwrt (or openwrt, m0n0wall, etc) with 2 NICs. one of the 
router VM NICs is on your network, and the other one gives out IP addresses on 
a range you specify (say 192.168.15.X). 
- VMs get IP addresses, DNS, and connectivity through router VM. 

You can predefine which logical network your users virtual machine will be put 
on based on the template you give them access to. 

This all requires some additional configuration (delegation) if you want the 
virtual machines to be routable from beyond the router they are behind. 

Tim Hildred, RHCE
Content Author II - Engineering Content Services, Red Hat, Inc.
Brisbane, Australia
Email: thild...@redhat.com
Internal: 8588287
Mobile: +61 4 666 25242
IRC: thildred

- Original Message -
 From: Andrej Bagon andrej.ba...@arnes.si
 To: users users@ovirt.org
 Sent: Friday, April 19, 2013 12:15:38 AM
 Subject: [Users] users quota and limit ips
 
 Hi all,
 
 we are wondering how can we limit a user to use IPs we give him and not
 others.
 Best is understood from an example:
 - we give a user a quota (with x CPU, y memory and z disk space)
 - a user can create one VirtualMachine with all the resources, or more
 VirtualMachines with smaller resources.
 - we want to give a user a pool of IPs. He should not use other IPs. If
 he uses other IP it should not be routable.
 
 Is there a solution for this problem?
 
 Thank you.
 
 Best Regards,
 Andrej Bagon
 Arnes
 ___
 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] I can't start a virutal machine,when I stop it.

2013-04-22 Thread 882406701
I use ovirt already half a year. Now, ovirt have an error, and  I can't solve 
it.

The virtual machine returns a permission error When I want startup it.
the permission error is:
VM kaoqin is down. Exit message: cannot open file 
'/rhev/data-center/78e07dee-36bc-439b-b71e-72cfd87a2bb3/d69d6576-511c-4b98-b5f3-69c7252c5738/images/dd4c9d3e-8d37-4c92-bcc7-ca7e17fc1ee0/b9d038a0-e3eb-447d-9780-55e2af35f361':
 Permission denied.

VM kaoqin is down. Exit message: operation failed: domain 'kaoqin' already 
exists with uuid 0a558c62-6268-f27e-3437-d7b2da4a42b4.

And I can start this virtual machine on after a while.

But ovirt-engine continued to give me a error :

VM kaoqin is down. Exit message: cannot open file 
'/rhev/data-center/78e07dee-36bc-439b-b71e-72cfd87a2bb3/d69d6576-511c-4b98-b5f3-69c7252c5738/images/dd4c9d3e-8d37-4c92-bcc7-ca7e17fc1ee0/b9d038a0-e3eb-447d-9780-55e2af35f361':
 Permission denied.


And now,when I stop this virtual machine, I can't start it..___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users