Re: [Users] FOSDEM reminder

2014-01-15 Thread Koch (ovido)
Hi Doron,


On Tue, 2014-01-14 at 16:35 -0500, Doron Fediuck wrote:
 Hi everyone,
 just a reminder, we have this Etherpad with all the relevant
 information on our FOSDEM plans:
 http://etherpad.ovirt.org/p/ovirt-fosdem-14
 
 You can also join the events we created in
 FB: https://www.facebook.com/events/593033774106561/
 G+: https://plus.google.com/u/0/events/cm89k6scm67ivmqca7596nq7f2g
 
 Feel free to add yourself to the stand shift.


How many people are planned for the stand?
Added myself with () in case 3 people are too much...


 Also, if you'd like to come to the oVirt meet-up, please put your name
 in the list. 
 
 See you all in FOSDEM!
 ___
 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] VM payload

2013-12-20 Thread Koch (ovido)
Hi,

I created a vdsm hook script for passing payload information (vm name)
to a virtual machine, which is placed in before_vm_start folder on my
hypervisor (CentOS 6.5).

If I create a new virtual machine out of a template some strange things
happen:
When starting the vm the first time I can see that the vdsm script is
executed, but no additional cd drive is shown in this vm. But after
shutting down the vm and powering on again, the cd drive appears.

Here's the vdsm hook I use:
https://raw.github.com/ovido/ovirt-stuff/master/hooks/50_payload

I don't really get why the payload isn't working when starting a vm the
first time.
This happen on oVirt 3.2 and 3.3.

Thanks a lot for help!


-- 
Best Regards

René Koch
Senior Solution Architect


ovido gmbh - open source solutions
Brünner Straße 163, A-1210 Vienna

Phone:   +43 720 / 530 670
Mobile:  +43 660 / 512 21 31
E-Mail:  r.k...@ovido.at




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


Re: [Users] Solaris 11.1 ISO panic on boot

2013-12-18 Thread Koch (ovido)
On Tue, 2013-12-17 at 23:20 -0600, Blaster wrote:
 On 12/17/2013 9:18 AM, René Koch (ovido) wrote:
 
  I used this image for installing Solaris 11: sol-11_1-text-x86.iso,
  which is the Solaris 11.1 text based installer...
 
  Works fine for me on my oVirt 3.3 setup - installed Solaris 11.1 right
  now - (did also work fine in oVirt 3.2 and on a RHEL 6 server with plain
  KVM)...
 
 Well, I'm running 3.3.1 but I had the same problem with 3.3.  Wonder if 
 it's my Athlon X4 640 CPU?
 Any known issues with AMD CPUs?


Solaris 11.1 is working fine on my Intel Nehalem CPUs. Didn't test newer
families as I don't have a host with newer CPUs available right now for
oVirt tests.

On my workstation with old AMD X4 605e CPU I also get a bunch of panic
messages when trying to boot from the Solaris ISO. Tried it with
virt-manager with OS family Solaris under Fedora 19.

It seems that Solaris has issues with KVM and AMD CPUs.
Sadly I don't have enough time to investigate this further :(


Regards,
René


 
 Thanks for trying for me.
 
 
 

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


Re: [Users] Solaris 11.1 ISO panic on boot

2013-12-17 Thread Koch (ovido)
On Tue, 2013-12-17 at 02:39 -0500, Itamar Heim wrote:
 On 12/16/2013 05:47 AM, René Koch wrote:
  Hi,
 
  -Original message-
  From:Sander Grendelman san...@grendelman.com
  Sent: Monday 16th December 2013 11:00
  To: Joop jvdw...@xs4all.nl
  Cc: users@ovirt.org
  Subject: Re: [Users] Solaris 11.1 ISO panic on boot
 
  There's also a thread about Solaris 11 here:
  http://lists.ovirt.org/pipermail/users/2013-September/016168.html
 
  On Mon, Dec 16, 2013 at 10:35 AM, Joop jvdw...@xs4all.nl wrote:
  Blaster wrote:
 
  I have a Solaris 11.1 system running on a nice piece of hardware that I’d
  like to make better use of.  I would like to virtualize it under ovirt.
 
  I created an ovirt guest using the RHEL 64 bit template.  I attached the
  Solaris 11.1 ISO and booted.  As soon as the Solaris banner is displayed,
  poof, kernel panic.
 
  I suggest to use the following settings for your Solaris guest:
  * Operating System: Other
  * nic1: rtl8139
  * Disk1: IDE
 
  Booting from the DVD ISO works fine for Sol 10 and 11 with these settings.
 
 
  Of course every whizzes by so fast I have no chance of getting a screen
  shot.
 
  Has anyone been successful in boot Solaris 11.1 under ovirt?  Should I
  have picked a different template?
 
  In my oVirt setup (3.3 now, but worked on 3.2, too) there are Solaris 10 
  and 11 vms running.
  See the specs above.
 
  I had some issues with network traffic, which can be solved with a host 
  hook (99_fix_solaris):
  https://github.com/ovido/ovirt-stuff/tree/master/hooks
 
  Please let me know if this fixes your issues...
 
 
  Regards,
  René
 
 René - maybe a patch to add solaris to osinfo config file with these 
 limitations (hmm, it would still need the hook, which is a shame[1])


Sure, can send you a patch, but have some questions:

If I understand the osinfo properties file correctly I can limit hard
disk and nics to specific value, right?

So e.g. the following setting
os.solaris.devices.network.value =  rtl8139, e1000
would mean that you can only choose RTL8130 and e1000 NICs and no VirtIO
in new nic dialog, right?

Btw, what's the value for IDE disks? Can't find an example in oVirt 3.3
default osinfo file.

Yes, the hook is required, otherwise no network traffic passes the
bridge...



 Joop - just a btw - not sure why you start from a rhel64 template, 
 rather than start from blank + add disk, then boot from iso.
 (since there is no benefit to either doing COW of solaris over the 
 rhel64 template, nor to cloning it)
 
 [1] michal/roy - thoughts about allowing to specify at osinfo level 
 extra flags or override the cpu model altogether (iirc, windows guest 
 would need this as well for new windows specific flags going forward).
 
 
 
 
 
 
 
 
  I did a search through my message folder and found the thread. It was 
  about
  solaris10 and networking didn't work. So maybe this is different or not.
  Could you test if the same iso can be booted using virt-manager or 
  kvm/qemu
  directly?
 
  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
 
 

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


Re: [Users] API read-only access / roles

2013-11-21 Thread Koch (ovido)
On Tue, 2013-11-19 at 09:55 +0100, Sander Grendelman wrote:
 On Mon, Nov 18, 2013 at 5:18 PM, René Koch (ovido) r.k...@ovido.at wrote:
  Very nice - do you use my check_rhev3 Nagios plugin
  (https://github.com/ovido/check_rhev3) or are you working on
  your own script?
 
 At the moment: both. The problem with using Nagios scripts in Zabbix is that
 the trigger/alarm decision is made in different places. In Nagios this is done
 in the check scripts / on the client side while Zabbix mainly
 collects data and
 fires triggers if certain conditions in that data are met.

Yes that's true. Maybe adding a Zabbix compatibility mode for
check_rhev3 could also be an option where no decisions about the status
is done in the script so you can let Zabbix triggers handle this? Anyway
I think you're much more experienced with Zabbix then I am, so you
properly know better what's the best solution for monitoring oVirt with
Zabbix...

 
 New(er) Zabbix versions also have a feature called low level discovery that
 automatically creates items.
 
 It also seems that there is better RESTful/ovirt API support in python
 so I'm giving
 that a try too. Although perl is usually my poison of choice too ;)

Yes, the Python SDK is really good.
But as I'm more experienced with Perl I don't use it often...

 
  For this I've created a AdminLoginOnly role that only has
  System-Configure System-Login Permissions access.
 
  Is this the way to go for this king of configuration? Or is there
  a way to further minimize the permissions of this user?
 
  I create a custom role with these permissions for Nagios monitoring,
  too.
  I was thinking that in oVirt 3.3 there should be a predefined
  viewers-role, but can't find it in my setup :(
 
 OK, that would have been nice, do you have any history on this one?
 
  Another issue is that a Login event is generated every time
  the user connects through the API. This makes the Events
  pane less useful / readable. Is there a way to disable this for
  some users/roles?
 
 
  It depends if you have your own script or check_rhev3:
  - check_rhev3 1.2: use option -o
  - check_rhev3 1.3: you should not see any login information in this
  version anymore
  - custom script: see this page on information how to use the JSESSIONID
  cookie: http://www.ovirt.org/Features/RESTSessionManagement
 
 Thanks for the info I'll look into this.
 
 It does make the logic in the script a bit harder because you have to store
 the sessionid somewhere and check if the session is still valid.

I'm not sure if Session management works out of the box in Python SDK (I
think so), so maybe the Python SDK can be the best solution when
starting new scripts for Zabbix...


Regards,
René


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


Re: [Users] info on chrome and spice

2013-11-18 Thread Koch (ovido)

On Sat, 2013-11-16 at 10:59 +0100, Gianluca Cecchi wrote:
 Hello,
 I have an all-in-one installation based on Fedora 18 and oVirt stable repo.
 
 oVirt is  3.2.3-1.fc18
 Fedora system is updated at 11/11/2013.
 
 I have both firefox (firefox-25.0-3.fc18.x86_64) and chrome
 (google-chrome-stable-30.0.1599.114-1.x86_64 , baseurl of yum from
 baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64)
 
 While I can use spice console with firefox, in chrome the icon is not enabled.
 Is there any way to have chrome able to open spice console?
 Does it change anything in oVirt 3.3 for chrome on Linux (and/or on WIndows)?


In oVirt 3.3 you have serveral options for SPICE:
- Native client
- Browser plugin (requires Firefox)
- SPICE HTML5 browser client (didn't test this option yet)

The native client option is working fine for me with Chrome 31 on Fedora
19. It opens console.vv with virt-viewer. Theoretically it should work
on Windows as well, but didn't test it yet...


Regards,
René
 

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

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


Re: [Users] API read-only access / roles

2013-11-18 Thread Koch (ovido)
On Mon, 2013-11-18 at 16:46 +0100, Sander Grendelman wrote:
 I'm working on (Zabbix) monitoring through the RESTful API.

Very nice - do you use my check_rhev3 Nagios plugin 
(https://github.com/ovido/check_rhev3) or are you working on 
your own script?

 
 Which role should I assign to the monitoring user?
 
 The user only needs read access to the data but it looks like
 I nead to assign at least an Admin role to the user to be
 able to read data through the API.
 
 For this I've created a AdminLoginOnly role that only has
 System-Configure System-Login Permissions access.
 
 Is this the way to go for this king of configuration? Or is there
 a way to further minimize the permissions of this user?

I create a custom role with these permissions for Nagios monitoring,
too.
I was thinking that in oVirt 3.3 there should be a predefined
viewers-role, but can't find it in my setup :(

 
 Another issue is that a Login event is generated every time
 the user connects through the API. This makes the Events
 pane less useful / readable. Is there a way to disable this for
 some users/roles?


It depends if you have your own script or check_rhev3:
- check_rhev3 1.2: use option -o
- check_rhev3 1.3: you should not see any login information in this
version anymore
- custom script: see this page on information how to use the JSESSIONID
cookie: http://www.ovirt.org/Features/RESTSessionManagement


Regards,
René


 ___
 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] EL5 support for VirtIO SCSI?

2013-11-13 Thread Koch (ovido)
On Wed, 2013-11-13 at 09:41 +0100, Sander Grendelman wrote:
 According to https://access.redhat.com/site/solutions/20511 virtio
 work on  rhel5.3.
 
 You have to edit /etc/modprobe.conf and generate a new initrd.


If you're installing the OS on a VirtIO disk this is done automatically
by anaconda. I just installed RHEL 5 on oVirt 3.3 with VirtIO disk and
everything worked out of the box.


 
 On Wed, Nov 13, 2013 at 9:32 AM, Sven Kieske s.kie...@mittwald.de wrote:
  Hi,
 
  afaik the rhel 5 kernel series just has not the necessary drivers for
  all virtio stuff, so it's not supported and does not work, unless
  you want to patch your own kernel.
 
  Am 13.11.2013 06:44, schrieb Paul Jansen:
  I have just set up an Ovirt 3.3.0 install and have done a test install of 
  Centos 6.4 in a VM.  The VM was configured with an IDE drive and a 
  virtio-scsi drive.  The Centos 6.4 install sees both drives OK.
  I'm wanting to do some testing on a product that is based on EL5, but I'm 
  finding that it cannot see the virtio-scsi drive.  It does show up in the 
  output of 'lspci', but I don't see a corresponding 'sd' device.
 


There's no /dev/sd* device - the devices are named /dev/vd*...


  I've just tried installing Centos 5.10 and the support is not there.


Didn't test CentOS but RHEL 5 is working fine.


Regards,
René



 
  Does anyone know of any tricks to allow EL5 to see the virtio-scsi device?
 
 
  --
  Mit freundlichen Grüßen / Regards
 
  Sven Kieske
 
  Systemadministrator
  Mittwald CM Service GmbH  Co. KG
  Königsberger Straße 6
  32339 Espelkamp
  T: +49-5772-293-100
  F: +49-5772-293-333
  https://www.mittwald.de
  Geschäftsführer: Robert Meyer
  St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
  Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
  ___
  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: [Users] EL5 support for VirtIO SCSI?

2013-11-13 Thread Koch (ovido)


 I specifically need the scsi support (virtio-scsi).
 I do know about the virtio-block support, which results in /dev/vd*
 devices as you say.
 From what I read even EL6 earlier than 6.3 does not support
 virtio-scsi


Sorry, I did read your email to fast as it seems.
You're right you need at least RHEL 6.3 for virtio-scsi support.

 
 Alternatively, does oVirt support an emulated scsi adapter of a
 different type that would allow me to see scsi disks?
 
 Regards,
 Paul
 
 
 On Wednesday, 13 November 2013 7:23 PM, René Koch (ovido)
 r.k...@ovido.at wrote:
 
 On Wed, 2013-11-13 at 09:41 +0100, Sander Grendelman wrote:
  According to https://access.redhat.com/site/solutions/20511 virtio
  work on  rhel5.3.
  
  You have to edit /etc/modprobe.conf and generate a new initrd.
 
 
 If you're installing the OS on a VirtIO disk this is done
 automatically
 by anaconda. I just installed RHEL 5 on oVirt 3.3 with VirtIO disk and
 everything worked out of the box.
 
 
  
  On Wed, Nov 13, 2013 at 9:32 AM, Sven Kieske s.kie...@mittwald.de
 wrote:
   Hi,
  
   afaik the rhel 5 kernel series just has not the necessary drivers
 for
   all virtio stuff, so it's not supported and does not work, unless
   you want to patch your own kernel.
  
   Am 13.11.2013 06:44, schrieb Paul Jansen:
   I have just set up an Ovirt 3.3.0 install and have done a test
 install of Centos 6.4 in a VM.  The VM was configured with an IDE
 drive and a virtio-scsi drive.  The Centos 6.4 install sees both
 drives OK.
   I'm wanting to do some testing on a product that is based on EL5,
 but I'm finding that it cannot see the virtio-scsi drive.  It does
 show up in the output of 'lspci', but I don't see a corresponding 'sd'
 device.
  
 
 
 There's no /dev/sd* device - the devices are named /dev/vd*...
 
 
   I've just tried installing Centos 5.10 and the support is not
 there.
 
 
 Didn't test CentOS but RHEL 5 is working fine.
 
 
 Regards,
 René
 
 
 
  
   Does anyone know of any tricks to allow EL5 to see the
 virtio-scsi device?
  
  
   --
   Mit freundlichen Grüßen / Regards
  
   Sven Kieske
  
   Systemadministrator
   Mittwald CM Service GmbH  Co. KG
   Königsberger Straße 6
   32339 Espelkamp
   T: +49-5772-293-100
   F: +49-5772-293-333
   https://www.mittwald.de
   Geschäftsführer: Robert Meyer
   St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad
 Oeynhausen
   Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad
 Oeynhausen
   ___
   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: [Users] oVirt 3.4 planning

2013-11-13 Thread Koch (ovido)
Hi,

There are 2 features I can maybe add to existing projects of mine
(check_rhev3 and Monitoring UI-Plugin), but it would be good to know
what users require to decide if this can be done via an external
(ui)plugin or if this needs to be integrated into oVirt itself.

* gluster: Monitoring (UI plugin)
What's expected here - monitoring glusterfs volumes (including
performance data) and displaying the results in your favored monitoring
solution and oVirt?

* other: Zabbix monitoring
Monitoring the oVirt environment should work with my check_rhev3 plugin
by adding it as an external check to Zabbix. I'll test this and if it's
working I'll provide a short guide on how to do it.
Displaying data/triggers in oVirt isn't possible yet with my Monitoring
UI-plugin, but on the feature list (help is welcome)...


Before I add myself to the list - can you give me more information on
the role/tasks of a testing owner? Are there more steps required then
testing a feature, getting in contact with the devel owner to fix issues
and update the oVirt BZ (and join the IRC weekly meetings)?


Regards,
René



On Tue, 2013-10-29 at 19:46 +0200, Itamar Heim wrote:
 To try and improve 3.4 planning over the wiki approach in 3.3, I've 
 placed the items i collected on users list last time into a google doc[1]
 
 now, the main thing each item needs is a requirements owner, devel owner 
 and a testing owner (well, devel owner is really needed to make it 
 happen, but all are important).
 
 then we need an oVirt BZ for each, and for some a feature page.
 
 I also added columns indicating if the item will require an API design 
 review and a GUI design review.
 
 this list is just the start of course for items from it to get 
 ownership. i expect more items will be added as well, as long as they 
 have owners, etc.
 
 the doc is public read-only, please request read-write access to be able 
 to edit it.
 
 feel free to ask questions, etc.
 
 Thanks,
 Itamar
 
 
 [1] http://bit.ly/17qBn6F
 ___
 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] oVirt 3.4 planning

2013-11-13 Thread Koch (ovido)
On Wed, 2013-11-13 at 15:46 +0100, Sander Grendelman wrote:
  * other: Zabbix monitoring
  Monitoring the oVirt environment should work with my check_rhev3 plugin
  by adding it as an external check to Zabbix. I'll test this and if it's
  working I'll provide a short guide on how to do it.
  Displaying data/triggers in oVirt isn't possible yet with my Monitoring
  UI-plugin, but on the feature list (help is welcome)...
 
 I'm very interested in this Zabbix plugin/check, was thinking about 
 implementing
 something myself.


The plugin is a Nagios monitoring plugin, but as mentioned above you
should be able to use it with Zabbix when defining it as an external
check.

Download and documentation can be found here:
https://github.com/ovido/check_rhev3

Feedback is more then welcome ;)


Regards,
René

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


Re: [Users] oVirt 3.4 planning

2013-11-13 Thread Koch (ovido)
On Wed, 2013-11-13 at 17:16 +0100, Martijn Grendelman wrote:
 Patrick Lists schreef op 13-11-2013 16:37:
  Hi René,
  
  On 11/13/2013 04:16 PM, René Koch (ovido) wrote:
  [snip]
  The plugin is a Nagios monitoring plugin, but as mentioned above you
  should be able to use it with Zabbix when defining it as an external
  check.
 
  Download and documentation can be found here:
  https://github.com/ovido/check_rhev3
  
  Any idea if your plugin also works with Icinga?
 
 If it works with Nagios, it works with Icinga.


Exactly. I'm using it with Icinga, btw...


 
 Cheers,
 Martijn.
 ___
 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] Fwd: oVirt UI plugins feature announcements

2013-11-11 Thread Koch (ovido)

On Mon, 2013-11-11 at 06:36 -0500, Vojtech Szocs wrote:
 - Original Message -
  From: René Koch (ovido) r.k...@ovido.at
  To: Vojtech Szocs vsz...@redhat.com
  Cc: users users@ovirt.org
  Sent: Friday, November 8, 2013 10:32:24 AM
  Subject: Re: [Users] Fwd: oVirt UI plugins feature announcements
  
  On Thu, 2013-11-07 at 17:24 -0500, Vojtech Szocs wrote:
   Hi guys, sharing some updates on oVirt UI plugins feature, see below for
   details.
   
   Let me know if you have any questions.
   
   Vojtech
   
   
   - Forwarded Message -
   From: Vojtech Szocs vsz...@redhat.com
   To: engine-devel engine-de...@ovirt.org
   Cc: Einav Cohen eco...@redhat.com, Itamar Heim ih...@redhat.com
   Sent: Thursday, November 7, 2013 11:21:21 PM
   Subject: oVirt UI plugins feature announcements
   
   Hello everyone,
   
   I'd like to share some important updates on oVirt UI plugins feature.
   
   First of all, UI plugins wiki [1] is finally complete. API reference
   (application events, API functions, API options, entity types) now
   includes all the details and snippets of example code. I've also added
   section Why load plugins via iframe element? explaining reasons behind
   this design decision.
   
   [1] http://www.ovirt.org/Features/UIPlugins
  
  
  Great! Thanks a lot for the documentation - this makes life much easier!
  
  
   
   You might have noticed the changes in oVirt Engine URI layout [2], these
   are already reflected in UI plugins wiki. For existing plugins, this means
   changing URLs like this:
   
 /webadmin/webadmin/plugin/ExamplePlugin/start.html
   
   to this:
   
 /ovirt-engine/webadmin/plugin/ExamplePlugin/start.html
   
   [2] http://gerrit.ovirt.org/#/c/20473/
  
  
  Which version of oVirt uses the new URI - I assume 3.4? (and do you know
  if the URI will be changed in RHEV as well)?
 
 Correct, new URI layout takes effect in oVirt 3.4, not sure about RHEV but I 
 think ovirt-engine in URI might change there.


Ok, thanks for the information!

 
  
  I think it's important to mention this change in oVirt upgrade/release
  notes to let users know that they have to change the UI plugin URI. When
  packaging an UI plugin it's not a problem to check the oVirt version in
  a %post section and run a sed command over the JSON file...
 
 I assume the URI layout change BZ [https://bugzilla.redhat.com/961677] will 
 have some release notes attached.
 
 For UI plugins, I was talking with Alon about this, we could promote the use 
 of relative URIs to make UI plugins unaware of absolute URI layout.
 
 For example, in plugin descriptor:
 
   url: plugin/ExamplePlugin/start.html // relative to WebAdmin base 
 context path, i.e. /ovirt-engine/webadmin
 
 would result in:
 
   iframe src=plugin/ExamplePlugin/start.html
 
 custom content could be added like this:
 
   api.addMainTab('Example Tab', 'example-tab', 
 'plugin/ExamplePlugin/tab.html');
 
 and any content within the iframe (either start.html or tab.html) could use:
 
   script src=dir-relative-to-plugin-resources/custom-script.js
   link href=dir-relative-to-plugin-resources/custom-stylesheet.css
 
 I'll verify this and update the UI plugins wiki accordingly. Should have 
 thought about relative URIs in the first place :)


Thanks for the hint of relative URIs!

 
  
  
  I also have a question (not related to this topic) too:
  In webadmin I select e.g. a vm and click on Disks webadmin displays disk
  details for this vm. When selecting another vm I can see the disk infos
  for this vm (webadmin keeps me in Disks subtab which is what I would
  expect).
  When I click on Monitoring Details (which is a subtab created by my
  monitoring UI plugin) and I select another vm webadmin doesn't show me
  the content of the ui plugin subtab (Monitoring Details) but instead the
  Disks subtab (always the last clicked non-ui-plugin subtab).
  Didn't test in in oVirt 3.3 yet, only in oVirt 3.2 and RHEV 3.2...
  Is it possible to let subtabs created by ui pugins behave in the same
  way as subtabs provided by webadmin?
 
 Right, this is a known issue with dynamic sub tabs. I've created RFE BZ 
 [https://bugzilla.redhat.com/1028968] to track this issue.


Thanks a lot for creating the BZ.


 
 Thanks for your feedback!
 
  
  
  Regards,
  René
  
  
   
   We're planning to merge patch Improve UI Plugin vs. REST API integration
   [http://gerrit.ovirt.org/#/c/20404/] soon, please review the change
   outlined in commit message, let me know if you have any questions.
   
   Last but not least, oVirt Space Shooter (a.k.a UI plugins crash course)
   wiki [3] has been updated to reflect changes mentioned above.
   
   [3] http://www.ovirt.org/Tutorial/UIPlugins/CrashCourse
   
   Regards,
   Vojtech
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
  

___
Users mailing list
Users@ovirt.org

Re: [Users] Fencing virtual machines

2013-11-08 Thread Koch (ovido)
On Fri, 2013-11-08 at 08:49 +0100, Nicolas Ecarnot wrote:
 Le 08/11/2013 08:23, Eli Mesika a écrit :
 
 
  - Original Message -
  From: Mike Burns mbu...@redhat.com
  To: Nicolas Ecarnot nico...@ecarnot.net, users@ovirt.org
  Sent: Thursday, November 7, 2013 4:10:36 PM
  Subject: Re: [Users] Fencing virtual machines
 
  On 11/07/2013 09:03 AM, Nicolas Ecarnot wrote:
  Hi,
 
  In the case I want to setup a virtual cluster amongst many virtual
  machines, and this virtual cluster needs to fence some VM, what is the
  best way to achieve this?
 
  I guess this has to use something like vdsClient to unplug the VM, but
  I found it hard to find any more information about this.
 
 
  I haven't tried but the fence-agents package (fence-agents-rhevm on
  Fedora) has a fence_rhevm tool that will probably work for you.
 
  Please let us know if that worked for you.
 
 Thank you all for your answer. I installed it and began to try to play 
 with it, and it seems to be EXACTLY what I was looking for.
 
 It's still not clear for me to see what I have to install on the 
 stonith targets - or who is eventually in charge of applying the kill 
 action (the manager, one node, any node ?) but I promise I'm still 
 reading and testing on my own.


Your vms are killed/restarted by ovirt-engine using the REST-API (on
behalf of one of the cluster members of course). So you don't have to
install anything except the fence-agents on all your cluster members
(vms) and make sure they can reach port 443 (or 8443 depending on your
setup) of ovirt-engine...


Regards,
René


 
 Thank you, have a nice day.
 

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


Re: [Users] virtio-win packaging [Was Re: Installing Windows VMs]

2013-11-06 Thread Koch (ovido)

On Tue, 2013-11-05 at 11:49 -0500, Greg Sheremeta wrote:
 
 - Original Message -
  From: Sandro Bonazzola sbona...@redhat.com
  To: Greg Sheremeta gsher...@redhat.com, Bob Doolittle 
  b...@doolittle.us.com
  Cc: users@ovirt.org, Alon Bar-Lev alo...@redhat.com
  Sent: Tuesday, November 5, 2013 4:30:11 AM
  Subject: virtio-win packaging [Was Re: [Users] Installing Windows VMs]
  
  Il 05/11/2013 03:47, Greg Sheremeta ha scritto:
   
   - Original Message -
   From: Bob Doolittle b...@doolittle.us.com
   To: users@ovirt.org
   Sent: Monday, November 4, 2013 6:43:00 PM
   Subject: [Users] Installing Windows VMs
  
   In the QuickStart Guide, it implies that you should find a virtual
   floppy image for virtio-win in the ISO_DOMAIN. Or at least I can find no
   information on where to find/populate that image before the Guide shows
   its use.
  
   However, in my default 3.3 installation, there was nothing pre-populated
   in my ISO_DOMAIN. Should there have been?
  
   Regards,
Bob
  
   
   I've never seen that happen on any of my installs.
   
   You can grab the drivers at
   http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/
  
  Anyone would like to step in for packaging virtio-win so we can add it to
  ovirt repository?
  So we can add it as dependency and have ISO_DOMAIN populated.
  
  
 
 I can take it, if alonbl doesn't mind me asking him a few questions about 
 packaging :)
 
 Bug 1026930 - Package virtio-win and put it in ovirt repositories  (I'll do 
 this)


Very nice, thanks!
Will you also package/create the virtual floppy disk?
On http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/
there's only the ISO, but not the vfd and installing Windows is much
easier with drivers on a floppy then changing the install CDs...


Thanks,
René


 Bug 1026933 - pre-populate ISO domain with virtio-win ISO (depends on 
 1026930, need someone to take)
 
 Greg
 
 
   
   Greg
   ___
   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

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


Re: [Users] oVirt Updates - Special KVM Forum/oVirt edition

2013-10-30 Thread Koch (ovido)
On Wed, 2013-10-30 at 13:33 +0100, Vinzenz Feenstra wrote:

 On 10/28/2013 04:32 PM, Itamar Heim wrote:
  On 10/28/2013 05:19 PM, René Koch (ovido) wrote:
  Also, the guest-agent itself is just a python script that should just
  work. Just some packaging is required, so we're looking to revamp this
  in build.opensuse.org, and hope some SUSE users will help us with
  closing and testing this one.
  I can help creating packages for SLES and openSUSE on build.opensuse.org
  for latest guest agent without SSO (and of course test the packages) or
  is Vinzenz Feenstra already working on it as I saw he pushed the sources
  to OBS?
 
 
 
  I'm sure Vinzenz will appreciate help with this one - so many things 
  to do...
 Packages are now available for openSUSE 12.3, 13.1 and Factory, and SLES 
 11 SP3
 I also updated a packaged version of python-ethtool to 0.7 in that 
 repository. So that we have the full support of the features it provides.


I just tested your guest agent packages on openSUSE 12.3 x86_64 - SLES
11 will follow...

Everything works fine except application listing, as the packages have
different names on openSUSE:

Here's my application_list for openSUSE 12.3:

# openSUSE Packages:kernel-desktop ovirt-guest-agent-common
xf86-video-qxl
applications_list = kernel ovirt-guest-agent xorg-x11-drv-qxl
linux-image xserver-xorg-video-qxl kernel-desktop
ovirt-guest-agent-common xf86-video-qxl

I tested these features and they are working fine:
- shutdown guest
- display memory
- display ip address (both ipv4 and ipv6)
- display applications

Great job!


Regards,
René



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


Re: [Users] oVirt Updates - Special KVM Forum/oVirt edition

2013-10-30 Thread Koch (ovido)
On Wed, 2013-10-30 at 15:55 +0100, Vinzenz Feenstra wrote:
 On 10/30/2013 03:35 PM, Vinzenz Feenstra wrote:
 
  On 10/30/2013 03:34 PM, René Koch (ovido) wrote:
  
   On Wed, 2013-10-30 at 13:33 +0100, Vinzenz Feenstra wrote: 
On 10/28/2013 04:32 PM, Itamar Heim wrote:
 On 10/28/2013 05:19 PM, René Koch (ovido) wrote:
 Also, the guest-agent itself is just a python script that should 
 just
 work. Just some packaging is required, so we're looking to revamp 
 this
 in build.opensuse.org, and hope some SUSE users will help us with
 closing and testing this one.
 I can help creating packages for SLES and openSUSE on 
 build.opensuse.org
 for latest guest agent without SSO (and of course test the packages) 
 or
 is Vinzenz Feenstra already working on it as I saw he pushed the 
 sources
 to OBS?



 I'm sure Vinzenz will appreciate help with this one - so many things 
 to do...
Packages are now available for openSUSE 12.3, 13.1 and Factory, and 
SLES 
11 SP3
I also updated a packaged version of python-ethtool to 0.7 in that 
repository. So that we have the full support of the features it 
provides.
   
   I just tested your guest agent packages on openSUSE 12.3 x86_64 -
   SLES 11 will follow...
   
   Everything works fine except application listing, as the packages
   have different names on openSUSE:
   
   Here's my application_list for openSUSE 12.3:
   
   # openSUSE Packages:kernel-desktop ovirt-guest-agent-common
   xf86-video-qxl
   applications_list = kernel ovirt-guest-agent xorg-x11-drv-qxl
   linux-image xserver-xorg-video-qxl kernel-desktop
   ovirt-guest-agent-common xf86-video-qxl
  Yeah right I forgot to check for the application names.
  I'll update this immediately.
 Done. The repo has been updated with ovirt-guest-agent-common-1.0.8-3
 Thanks for reporting and testing :-)


I just wanted to test the SLES 11 guest agent package, but there's only
a source rpm available, no binary rpm. According to the build log on
build.opensuse.org only the source rpm was created.


Also in build.log I see the following errors:

[   73s] error: Recursion depth(17) greater than max(16)

[   73s] error: line 104: # 
[   73s] test -n $FIRST_ARG || FIRST_ARG=$1 
[   73s] if test $FIRST_ARG = 0 ; then 
[   73s]   test -f /etc/sysconfig/services  . /etc/sysconfig/services 
[   73s]if test $YAST_IS_RUNNING != instsys -a 
$DISABLE_STOP_ON_REMOVAL != yes ; then 
[   73s]   for service in 


   
   I tested these features and they are working fine:
   - shutdown guest
   - display memory
   - display ip address (both ipv4 and ipv6)
   - display applications
   
   Great job!
   
   
   Regards,
   René
   
   

 Thanks,
Itamar


  
  
  -- 
  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
 
 
 -- 
 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] ovirt-guest-agent issue/troubleshooting

2013-10-29 Thread Koch (ovido)
Hi,

I have some issues with ovirt-guest-agent as no information is reported
from guest-agent to oVirt webadmin anymore.
I'm unsure when I lost the information - I know for sure it worked last
month when I tested the guest agent packages for Debian and Ubuntu.

Status now is that I don't receive any data.
I have the following test vms:
* RHEL 6 with rhevm-guest-agent 1.0.7 (RHEV repository)
* RHEL 6 with ovirt-guest-agent 1.0.8 (EPEL)
* openSUSE 12.3 with ovirt-guest-agent 1.0.8.1 (self compiled)

Both RHEL server reported information (memory, ip-address,...)
previously.
The only changes which could broke the guest agent communication are
updates on the CentOS host and the engine.

Can you give me some hints how to troubleshoot the guest agent? I can't
find any information (or don't know the right pattern to search for) in
vdsm.log and engine.log. Guest agent is running in the vms, but doesn't
log anything except start and stop of the service (can I change the
handler_logfile args for more debugging and if yes how?):

# tail /var/log/ovirt-guest-agent/ovirt-guest-agent.log 
MainThread::INFO::2013-10-29
11:00:15,340::ovirt-guest-agent::37::root::Starting oVirt guest agent

Btw, I'm running oVirt 3.2.3...


Thanks a lot,
René


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


Re: [Users] ovirt-guest-agent issue/troubleshooting

2013-10-29 Thread Koch (ovido)
On Tue, 2013-10-29 at 13:23 +, Karli Sjöberg wrote:
 tis 2013-10-29 klockan 14:15 +0100 skrev René Koch (ovido): 
  Hi,
  
  I have some issues with ovirt-guest-agent as no information is reported
  from guest-agent to oVirt webadmin anymore.
  I'm unsure when I lost the information - I know for sure it worked last
  month when I tested the guest agent packages for Debian and Ubuntu.
  
  Status now is that I don't receive any data.
  I have the following test vms:
  * RHEL 6 with rhevm-guest-agent 1.0.7 (RHEV repository)
  * RHEL 6 with ovirt-guest-agent 1.0.8 (EPEL)
  * openSUSE 12.3 with ovirt-guest-agent 1.0.8.1 (self compiled)
  
  Both RHEL server reported information (memory, ip-address,...)
  previously.
  The only changes which could broke the guest agent communication are
  updates on the CentOS host and the engine.
  
  Can you give me some hints how to troubleshoot the guest agent? I can't
  find any information (or don't know the right pattern to search for) in
  vdsm.log and engine.log. Guest agent is running in the vms, but doesn't
  log anything except start and stop of the service (can I change the
  handler_logfile args for more debugging and if yes how?):
  
  # tail /var/log/ovirt-guest-agent/ovirt-guest-agent.log 
  MainThread::INFO::2013-10-29
  11:00:15,340::ovirt-guest-agent::37::root::Starting oVirt guest agent
  
  Btw, I'm running oVirt 3.2.3...
 
 This has happened for me in the past and putting the Host in
 maintenance and then restarting the vdsmd solved it.
 
 /Karli


Thanks a lot Karli - restarting vdsmd did the trick!

 
  
  
  Thanks a lot,
  René
  
  
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 -- 
 
 Med Vänliga Hälsningar
 ---
 Karli Sjöberg
 Swedish University of Agricultural Sciences
 Box 7079 (Visiting Address Kronåsvägen 8)
 S-750 07 Uppsala, Sweden
 Phone:  +46-(0)18-67 15 66
 karli.sjob...@slu.se 

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


Re: [Users] ovirt-guest-agent issue/troubleshooting

2013-10-29 Thread Koch (ovido)
On Tue, 2013-10-29 at 14:34 +0100, Vinzenz Feenstra wrote:
 On 10/29/2013 02:30 PM, René Koch (ovido) wrote:
  On Tue, 2013-10-29 at 13:23 +, Karli Sjöberg wrote:
  tis 2013-10-29 klockan 14:15 +0100 skrev René Koch (ovido):
  Hi,
 
  I have some issues with ovirt-guest-agent as no information is reported
  from guest-agent to oVirt webadmin anymore.
  I'm unsure when I lost the information - I know for sure it worked last
  month when I tested the guest agent packages for Debian and Ubuntu.
 
  Status now is that I don't receive any data.
  I have the following test vms:
  * RHEL 6 with rhevm-guest-agent 1.0.7 (RHEV repository)
  * RHEL 6 with ovirt-guest-agent 1.0.8 (EPEL)
  * openSUSE 12.3 with ovirt-guest-agent 1.0.8.1 (self compiled)
 
  Both RHEL server reported information (memory, ip-address,...)
  previously.
  The only changes which could broke the guest agent communication are
  updates on the CentOS host and the engine.
 
  Can you give me some hints how to troubleshoot the guest agent? I can't
  find any information (or don't know the right pattern to search for) in
  vdsm.log and engine.log. Guest agent is running in the vms, but doesn't
  log anything except start and stop of the service (can I change the
  handler_logfile args for more debugging and if yes how?):
 
  # tail /var/log/ovirt-guest-agent/ovirt-guest-agent.log
  MainThread::INFO::2013-10-29
  11:00:15,340::ovirt-guest-agent::37::root::Starting oVirt guest agent
 
  Btw, I'm running oVirt 3.2.3...
  This has happened for me in the past and putting the Host in
  maintenance and then restarting the vdsmd solved it.
 Which version of VDSM are you running on the host, if I may ask?

I'm running vdsm 4.10.3:

# rpm -qa | grep vdsm-4
vdsm-4.10.3-17.el6.x86_64



 
  /Karli
 
  Thanks a lot Karli - restarting vdsmd did the trick!
 
 
  Thanks a lot,
  René
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  -- 
 
  Med Vänliga Hälsningar
  ---
  Karli Sjöberg
  Swedish University of Agricultural Sciences
  Box 7079 (Visiting Address Kronåsvägen 8)
  S-750 07 Uppsala, Sweden
  Phone:  +46-(0)18-67 15 66
  karli.sjob...@slu.se
  ___
  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] ovirt nagios plugin email flood on engine upgrade

2013-10-28 Thread Koch (ovido)
On Sun, 2013-10-27 at 10:08 +0200, Itamar Heim wrote:
 Hi René,
 
 a question - when we upgrade the engine, we move the service to down.
 at that point, nagios is sending lots of emails on each failing 
 monitored resource due to inability to connect to the API.

Hi Itamar,

That's the default behavior of Nagios - it send's out an email for all
services which aren't in state ok.
As check_rhev3 plugin uses the API for all datacenter, cluster, storage,
host, pool (and maybe vm) checks and during upgrade the API isn't
available all service checks fail and so Nagios starts spamming.


 
 Is thee a way to report this once per the root cause for all monitored 
 resources?


Yes, there are multiple ways how you can prevent mail floods.

First of all I suggest to schedule downtimes in Nagios for all affected
hosts/services. If a service has a scheduled downtime no notifications
will be sent out during this time (no matter how often state changes).
If using Icinga CGI gui or Icinga-Web instead of Nagios you can select
multiple hosts and choose Schedule Downtime For Checked Host(s) and All
Services. I'm not sure if this is implemented in Nagios CGI gui as well
or if you have to do this step for all hosts manually.

An alternative to downtimes is disabling notification globally. But keep
in mind that you want receive any notifications during this period - so
e.g. a firewall outage isn't reported via email then either.


Beside the handling of planed downtimes there's also a feature I
recommend you to prevent email floods if the engine goes down unplanned:
service dependencies
(http://nagios.sourceforge.net/docs/3_0/dependencies.html)

All my check_rhev3 service checks are members of service group rhev
and I created a service dependency where no notifications are sent out
(execution_failure_criteria n) if a service of service group rhev is in
a state other then ok and the datacenter check oVirt DC Status Check
on host ovirt-engine.lab.ovido.at is in state unknown, critical or
pending:

define servicedependency {
host_name   ovirt-engine.lab.ovido.at
service_description oVirt DC Status Check
dependent_servicegroup_name rhev
execution_failure_criteria  n
notification_failure_criteria   u,c,p
}

With service dependencies for all check_rhev3 checks you will only
receive 2 notifications when engine is down: 1 for the first service
check failing and 1 for the DC Status Check (this checks is triggered
automatically when using service dependencies and one of the services
fails).


Please let me know if you need further information (service dependencies
can be quite confusing)...


Regards,
René


 
 Thanks,
 Itamar

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


Re: [Users] Proposal for a fresh look and feel for Ovirt

2013-10-17 Thread Koch (ovido)
On Tue, 2013-10-15 at 20:22 -0400, Itamar Heim wrote:
 On 10/15/2013 04:36 AM, Frank Wall wrote:
  Hi Malini,
 
  On 14.10.2013 19:06, Malini Rao wrote:
  Here is a proposal for updating the ovirt look and feel to
  give it a fresh and modern look - http://www.ovirt.org/Ovirt_LAF.
  Your feedback and input is invited.
 
  I think your proposal looks way better than the current
  oVirt interface and I think it would definitively be an improvement.
 
  Though I think the oVirt admin interface still looks somewhat
  bloated. I always thought that it shows too much information
  at once, but only few of these facts are actually useful.
 
  Some columns are useless most of the time. This is especially true
  if you consider the Virtual Machines tab just an overview, not an
  in-depth view of all VMs. Lets discuss this further:
 
  - Display: not interesting if I just want to see the overview
  - Status: redundant, the icon in the first row already tells me about this
  - Uptime: not interesting at all, I never used this information for
  anything
  - Host, IP, Cluster, Datacenter: Really, why should I care about these
  details,
 if I just want to see an overview of my VMs? If I want to know any of
  these,
 I can click on any VM and see every detail. Or I choose a specific
  datacenter
 or Cluster to see specific details about it.
 
  I think this applies to almost every overview page in oVirt.
  It's too much information at once, and even worse, too much useless
  information.
 
  The point is to show only *really* important information first (status,
  usage),
  and from this point the user/admin should be able to go deeper and view
  specific
  details.
 
  Remember, it's just my opinion :-)
 
 as malini mentioned, this focused on look and feel.
 please open a BZ to track the RFE of allowing to choose which columns to 
 see per main tab.

I'm of the same opinion as Frank (and others) - there should be an
option to remove/add columns to improve the look and feel. Focusing on
look and feel includes this discussion as well (imho) - not just colors.

The login screen posted by Malini looks really great - much better then
the actual one.

I also like the colors of the webadmin interface, but usability is
decreased (in the screenshot) compared with the old design. Let me
explain why:
When I click on Virtual Machines the most important information for me
is the name of a virtual machine, but it's not that easy to find the
name (Name column is smaller as Host, IP Address, Cluster and Data
Center).
If the Name would be bold (or in another color) and columns can be
removed it's much easier for me to find the right vm. Furthermore the
columns for Memory, CPU and Network are ways to big and the green is too
bright - this is just additional information which can be very useful
but shouldn't attract me too much. So I suggest to highlight the vm
names in some way and make the Name column the bigger then all other
(per default - users can resize it anyways).

The blue highlight of the tabs looks nice, but I fear many users will
not recognize these items as tabs.

As a conclusion: I like the new colors a lot, but a few adjustments are
needed to improve the usability.


Regards,
René


 
 
 
  Ciao
  - Frank
  ___
  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


[Users] Monitoring UI-Plugin 0.1 released

2013-10-04 Thread Koch (ovido)

I'm happy to announce version 0.1 of Monitoring UI-Plugin for oVirt and
RHEV.

This UI-Plugin for oVirt and RHEV integrates an existing Nagios or
Icinga monitoring solution into oVirt and RHEV and displays detailed
service status information for data centers, clusters, hosts, storage
domains, virtual machines and pools including performance graphs.

Download this plugin from:
https://github.com/monitoring-ui-plugin/development/releases/monitoring-ui-plugin-0.1

For further information on how to install this plugin visit:
https://github.com/monitoring-ui-plugin/development/wiki/Installation-Documentation

A detailed usage documentation can be found here:
https://github.com/monitoring-ui-plugin/development/wiki/Usage-Documentation


Changelog:

New Features:

  * Rewrite of Backend-Code
  * Configuration files for Monitoring UI-Plugin
  * Mapping of hosts/vms when names differ in oVirt/RHEV and
Nagios/Icinga
  * New data backend provider infrastructure supporting 
  * NDOUtils (MySQL-Database)
  * IDOUtils (MySQL-Database)
  * IDOUtils (PostgreSQL-Database)
  * mk-livestatus (Unix-socket)
  * mk-livestatus (TCP-connection)
  * New graph backend provider infrastructure supporting 
  * PNP4Nagios
  * Service check results, details and graphs for 
  * Data Centers
  * Clusters
  * Storage Domains
  * Pools
  * Refresh and automatic refresh of service check results
  * Resizable Tables
  * Logging to logfile
  * Installation with autotools support
  * Perl pod documentation
  * FastCGI support
  * Cached database connections
  * JavaScript templates
  * jQuery and jQueryUI upgrades
  * Supported virtualization platforms 
  * RHEV 3.2
  * oVirt 3.2
  * oVirt 3.3
  * experimental SELinux support
  * RPMs for Red Hat Enterprise Linux 6 and CentOS 6

Bugs fixed:

  * CSS issues in Internet Explorer and Google Chrome

Infrastructure:

  * Renamed to Monitoring UI-Plugin as it supports RHEV now, too
  * Moved project to github
  * Project URL: https://github.com/monitoring-ui-plugin/development
  * Project Wiki:
https://github.com/monitoring-ui-plugin/development/wiki


If you have any questions or ideas, please drop me an email: ​
r.k...@ovido.at.

Thank you for using Monitoring UI-plugin.



-- 
Best Regards

René Koch
Senior Solution Architect


ovido gmbh - open source solutins
Brünner Straße 163, A-1210 Vienna

Phone:   +43 720 / 530 670
Mobile:  +43 660 / 512 21 31
E-Mail:  r.k...@ovido.at




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


Re: [Users] Migrate existing guest (kvm/libvirtd) into ovirt environment

2013-10-03 Thread Koch (ovido)

On Thu, 2013-10-03 at 15:53 +0200, lasse lindgren wrote:
 Hello!
 
 
 I have thougts about if there is a way to take an existing vm (kvm)
 running on BoxA that only uses libvirt and deploy that on BoxB,
 running ovirt (oVirt Engine Version: 3.3.0-4.fc19)
 
 
 The existing vm, is a linux host, and the disk type is qcow2
 
 And since it's a working configuration i just wan't do move/migrate it
 to the ovirt envionment.
 

You can use virt-v2v to migrate your existing vm into oVirt.
Just create an export domain in oVirt, shutdown the vm and import it
using virt-v2v.


Regards,
René
 
 
 
 Lasse Lindgren
 .”
 
 ___
 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] Migrate existing guest (kvm/libvirtd) into ovirt environment

2013-10-03 Thread Koch (ovido)

On Thu, 2013-10-03 at 16:06 +0200, lasse lindgren wrote:
 I have been trying to find any good examples about how that could be
 done.
 
 But no luck there.

Here's an example on how to import a vm named test-solaris10 from a
KVM machine (kvm-server) to the export domain located on server
nfs-server:

$ virt-v2v -ic qemu+ssh://kvm-server/system -o rhev -os
nfs-server:/nfs/exports -of raw -oa sparse -n ovirtmgmt test-solaris10


man virt-v2v explains all the possible options...

 
 
 Is that a supported way?

Yes, it's the way how you should import vms...

 
 
 
 On Thu, Oct 3, 2013 at 3:57 PM, René Koch (ovido) r.k...@ovido.at
 wrote:
 
 On Thu, 2013-10-03 at 15:53 +0200, lasse lindgren wrote:
  Hello!
 
 
  I have thougts about if there is a way to take an existing
 vm (kvm)
  running on BoxA that only uses libvirt and deploy that on
 BoxB,
  running ovirt (oVirt Engine Version: 3.3.0-4.fc19)
 
 
  The existing vm, is a linux host, and the disk type is qcow2
 
  And since it's a working configuration i just wan't do
 move/migrate it
  to the ovirt envionment.
 
 
 
 You can use virt-v2v to migrate your existing vm into oVirt.
 Just create an export domain in oVirt, shutdown the vm and
 import it
 using virt-v2v.
 
 
 Regards,
 René
 
 
 
  Lasse Lindgren
  .”
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 
 -- 
 Lasse Lindgren
 .”
 

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


Re: [Users] How can I modify the vm template?

2013-10-01 Thread Koch (ovido)
On Tue, 2013-10-01 at 23:14 +0800, hackxay wrote:
 Does KVM not support it?


I'm not sure if KVM does support this, but I would say that this feature
can be very dangerous as you might not know what's the status of your vm
(e.g. someone installed new tools and you update a library in the
template and therefor also in the vm which could make some of these
tools unusable...).

If you want to change/update applications either a
configuration/software management solution like puppet, spacewalk,... or
an application streaming solution would be the better and safer choice.


Regards,
René


  
 2013-10-01
 
 __
 hackxay
 ___
 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] How can I make a VM immortal?

2013-09-24 Thread Koch (ovido)

On Tue, 2013-09-24 at 08:44 +0800, lofyer wrote:
 On 2013/9/24 6:03, Itamar Heim wrote:
  On 09/23/2013 06:18 PM, lofyer wrote:
  Besides assigning a watchdog device to it, are there any other ways to
  make the VM autostart even if an user shutdown it manually?
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
  if a user shut down a vm from inside or via engine?
  i suggest an external script on engine monitoring its status and 
  starting it for such a use case
 You mean a anacrontab script?


You can for example use Nagios/Icinga with the event handler
functionality. When your vm is down, Nagios/Icinga can start it again
via an event handler script (which will use Pyhton SDK or REST-API to
start the vm).


Regards,
René


PS: Had some mail/dns issues today, so maybe some mails with suggestions
are missing on my side...


 ___
 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] Multiple network interfaces on engine?

2013-09-23 Thread Koch (ovido)

On Mon, 2013-09-23 at 12:50 +0200, Rickard Kristiansson wrote:
 Thanks Michael,
 
 
 
 I'm still trying to get my head around this, but I can't see how I
 configure the networks on the engine?
 For nodes and AOI it's OK, but in my case I am running the engine as a
 separate server which is not a node and does not show up as a Host in
 the GUI.


Does your engine really need access to the storage?
ovirtmgmt network should be sufficient in most cases.

You can configure the network of engine using your favorite editor and
edit/create /etc/sysconfig/network-scripts/ifcfg-* files...


Regards,
René

 
 Or do I need to add the engine as a host in the GUI as well, to be
 able to configure it?
 
 
 
 
 
 
 __
 Från: Michael Pasternak mpast...@redhat.com
 Till: Rickard Kristiansson rick...@sanuksystems.com
 Kopia: users@ovirt.org
 Skickat: måndag, 23 sep 2013 12:21:40
 Ämne: Re: [Users] Multiple network interfaces on engine?
 
 
 On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
  Hi,
  
  I want to use two network interfaces connected to different networks
 in Engine (3.3), where one is for ovirtmgmt and one is for a separate
 storage network.
  It works fine for a minute or so after rebooting Engine, but then
 the configuration is changed by Engine, connecting both interfaces to
 bond0 and losing connectivity (as
  obviously you can't bond those two interfaces when they are
 connected to separate physical networks..).
  What is the mechanism doing this, 
 
 
 please see this [1].
 
 
 [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
 
 
  and it is possible to disable this automatic network bonding on the
 engine so that we can use separate networks on the network
 interfaces..?
 
 
 attaching logs would help, but i guess it happen cause you did not
 saved
 your host network config, i.e when host got rebooted, it performs
 roll-back
 to old config, this is actually disaster recovery mechanism.
 
 
  
  Rickard
  
  **
  
  
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 
 -- 
 
 
 Michael Pasternak
 RedHat, ENG-Virtualization RD
 
 
 
 ___
 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] Multiple network interfaces on engine?

2013-09-23 Thread Koch (ovido)

On Mon, 2013-09-23 at 14:14 +0300, Michael Pasternak wrote:
 On 09/23/2013 01:53 PM, René Koch (ovido) wrote:
  
  On Mon, 2013-09-23 at 12:50 +0200, Rickard Kristiansson wrote:
  Thanks Michael,
 
 
 
  I'm still trying to get my head around this, but I can't see how I
  configure the networks on the engine?
  For nodes and AOI it's OK, but in my case I am running the engine as a
  separate server which is not a node and does not show up as a Host in
  the GUI.
  
  
  Does your engine really need access to the storage?
  ovirtmgmt network should be sufficient in most cases.
  
  You can configure the network of engine using your favorite editor and
  edit/create /etc/sysconfig/network-scripts/ifcfg-* files...
 
 I'd avoid doing this, changing network config behind the engine's back is
 not supported and may cause re-config on reboot on which Rickard
 originally complained.

I totally agree that configuring the network directly on the hosts
should be avoided.

I think I misunderstood the issue of Rickard - I thought he has issues
configuring network for the engine itself. 
But (after reading your last email with your suggestions) the question
is how to define logical networks in engine and deploy config on hosts
(if this is the case please don't do any configuration manually with an
editor.)


 
  
  
  Regards,
  René
  
 
  Or do I need to add the engine as a host in the GUI as well, to be
  able to configure it?
 
 
 
 
 
 
  __
  Från: Michael Pasternak mpast...@redhat.com
  Till: Rickard Kristiansson rick...@sanuksystems.com
  Kopia: users@ovirt.org
  Skickat: måndag, 23 sep 2013 12:21:40
  Ämne: Re: [Users] Multiple network interfaces on engine?
 
 
  On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
  Hi,
 
  I want to use two network interfaces connected to different networks
  in Engine (3.3), where one is for ovirtmgmt and one is for a separate
  storage network.
  It works fine for a minute or so after rebooting Engine, but then
  the configuration is changed by Engine, connecting both interfaces to
  bond0 and losing connectivity (as
  obviously you can't bond those two interfaces when they are
  connected to separate physical networks..).
  What is the mechanism doing this, 
 
 
  please see this [1].
 
 
  [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
 
 
  and it is possible to disable this automatic network bonding on the
  engine so that we can use separate networks on the network
  interfaces..?
 
 
  attaching logs would help, but i guess it happen cause you did not
  saved
  your host network config, i.e when host got rebooted, it performs
  roll-back
  to old config, this is actually disaster recovery mechanism.
 
 
 
  Rickard
 
  **
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 
  -- 
 
 
  Michael Pasternak
  RedHat, ENG-Virtualization RD
 
 
 
  ___
  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] Ovirt-engine

2013-09-19 Thread Koch (ovido)
On Thu, 2013-09-19 at 20:00 +0530, kumar shantanu wrote:
 Hello Markus, 
 
 
 Thanks for coming back so quickly. I will read the document shortly.
 In the mean time my kvm hypervisor is already running and it's
 attached to iscsi storage. 
 
 Do I need to convert all machines ? or I can simply mange all the
 stuff through ovirt-engine like I am managing with virt-manager for
 now. 


Your hypervisor must be CentOS 6 or Fedora 18/19 in order to be able to
manage it with oVirt (other Linux distributions are still a wip).

As oVirt has a totally different concept as virt-manager you have to
import your machines into oVirt. As Markus already wrote this can be
done using virt-v2v.


Regards,
René
 
 
 
 On Thu, Sep 19, 2013 at 6:33 PM, Markus Stockhausen
 stockhau...@collogia.de wrote:
  Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im
 Auftrag von kumar shantanu [k.shantanu2...@gmail.com]
  Gesendet: Donnerstag, 19. September 2013 14:49
  An: users
  Betreff: [Users] Ovirt-engine
 
  Hello Everyone ,
 
  Can I use ovirt-engine to mange my already installed/running
 kvm host/guest ?
  If yes can someone guide me to the documentation/howto
 please ?
 
  Thanks
 
  Shantanu
 
 
 Hello,
 
 welcome to the list. ovirt uses a central management server
 (ovirt-engine) that
 manages the machine definition in a database. It controls VMs
 on several hypervisor
 hosts with this information. To get a VM into the database you
 have to import
 it. virt-v2v helps me for VMWare sources and it should do the
 trick for you. Find
 more info in chapter A.1.2.4 of this page:
 
 
 https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization_for_Servers/2.2/html/Administration_Guide/virt-v2v-scripts.html
 
 Markus
 
 
 
 
 
 ___
 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] Ubuntu/Debian ovirt-guest-agent

2013-09-18 Thread Koch (ovido)

On Wed, 2013-09-18 at 12:36 +0800, Zhou Zheng Sheng wrote:
 Hi René,
 
 You are correct. I add python-apt as a recommend dependency package and
 upload the package again for Ubuntu and Debian. I didn't notice the
 problem because I have other packages in my test machine which depend on
 python-apt. Thanks.


No problem.

Btw, are you (or anyone else) working on getting the guest agent into
official Debian/Ubuntu repositories?
Your packages are working really well, so it should be not to hard to
get them into official repos...


 
 on 2013/09/16 21:37, René Koch (ovido) wrote:
  
  On Sat, 2013-09-14 at 14:14 +0800, Zhou Zheng Sheng wrote:
  Hi Jakub,
 
  on 2013/09/10 21:52, Jakub Bittner wrote:
  Hello Zhou Zheng Sheng,
 
  I tested your ovirt-guest-agent PPA which you provided and it works on
  Ubuntu Precise (12.04) as expected, but I can not install it on Debian
  Wheezy because that package needs upstart-job from Ubuntu which is not
  in Debian...
  Would you be so kind and provide even Debian packages on your PPA? :-)
  I dont know if sysvinit style file for launching daemon is included by
  oVirt.
 
  Thank you.
 
  Jakub Bittner
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
  Two good news.
 
  Developers fixed the bug in latest master, so I updated the
  ovirt-guest-agent package for Ubuntu 13.04 (Raring) to 1.0.8. This
  package should be OK to use with 12.04 (Precise) as well.
 
  I also wrote a Debian specific SysV init script for the guest agent.I
  tested in my Debian Wheezy guest. There is a small problem,
  luanchpad.net does not support hosting Debian packages, and for each
  package per Ubuntu release, it hosts the latest version. So I upload the
  Debian specific oVirt guest agent package as a Ubuntu 12.04 (Precise)
  package.
 
  You can dowanlod them from the following link.
  https://launchpad.net/~zhshzhou/+archive/vdsm-ubuntu/+packages
 
  In all, the ovirt-guest-agent-1.0.8 (Raring) package is for both Ubuntu
  Raring and Precise. The ovirt-guest-agent-1.0.8 (Precise) is for Debian.
  
  
  Great work - thanks a lot for the Debian and Ubuntu packages!
  
  Just one little thing:
  Can you add python-apt to the dependency list (it's missing in the
  Debian Wheezy package - didn't test the Ubuntu packages but maybe it's
  missing there, too)?
  
  If python-apt isn't installed it's not possible to fetch installed
  packages:
  
  MainThread::INFO::2013-09-16
  15:23:22,977::ovirt-guest-agent::37::root::Starting oVirt guest agent
  MainThread::INFO::2013-09-16
  15:23:23,015::GuestAgentLinux2::101::root::Unknown package management.
  Application list report is disable
  
  GuestAgentLinux2.py requires this python module to get the package
  information.
  
  All other features like system shutdown, nic information, memory,... are
  working fine.
  
  
  Regards,
  René
  
  
 
  
 

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


Re: [Users] oVirt professional support?

2013-09-18 Thread Koch (ovido)
On Wed, 2013-09-18 at 12:29 -0400, Mike Burns wrote:
 On 09/18/2013 10:41 AM, Alan Johnson wrote:
  Thanks, Dave!
 
  I have had one such reply off list.  Are you encouraging them to post on
  list despite the commercial nature of the response?
 
 
 I think we'd be very interested in getting them involved in the 
 community.  I wasn't aware of any other support options around oVirt 
 other than the RHEV product suite from Red Hat.


That's very interesting as most other projects sometimes react not
really cool if users/companies announce commercial services.

The company I'm working for / I co-founded (company name ovido - located
in Vienna, Austria) is offering professional services for amongst others
Linux, monitoring and virtualization like consulting, trainings but we
also support these installations. Our main virtualization focus is RHEV,
but for some customers oVirt is - for various reasons - the solution
which fits better their need.

As we really like oVirt and RHEV we try to spread out the word with
magazine articles or presentations on open source events (mainly in
Austria and Germany). Besides this I started open sources project like
the check_rhev3 Nagios/Icinga plugin and the ui plugin for
Icinga/Nagios. What we don't do is announce our offering of commercial
services in an obvious way in mailing lists.


Regards,
René


 
 Mike
 
  
  Alan Johnson
  a...@datdec.com mailto:a...@datdec.com
  Date Format PSA http://xkcd.com/1179/
 
 
  On Wed, Sep 18, 2013 at 5:16 AM, Dave Neary dne...@redhat.com
  mailto:dne...@redhat.com wrote:
 
  Hi Alan,
 
  On 09/18/2013 02:49 AM, Alan Johnson wrote:
We are looking into professional support options for oVirt.  We are
investigating the obvious path of switching to RHEV, but the effort
involved is still TBD.  So, we are wondering if there are other
companies out there that migth provide direct support, training, or
consulting services for oVirt.
 
  I would welcome alternate service vendors proposing services around
  oVirt - I think there would also be a great opportunity to collaborate
  with the oVirt community and improve the project for everyone if your
  company is offering support.
 
  Of course I am biased, but I think that RHEV is the best choice for a
  professionally supported oVirt installation today.
 
  Thanks,
  Dave.
 
  --
  Dave Neary - Community Action and Impact
  Open Source and Standards, Red Hat - http://community.redhat.com
  Ph: +33 9 50 71 55 62 tel:%2B33%209%2050%2071%2055%2062 / Cell:
  +33 6 77 01 92 13 tel:%2B33%206%2077%2001%2092%2013
 
 
 
 
  ___
  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: [Users] oVirt to oVirt VMs migration

2013-09-17 Thread Koch (ovido)

On Tue, 2013-09-17 at 13:17 +0200, Hervé Leclerc wrote:
 Hello,
 
 
 I've 2 ovirt managers with their own hosts
 
 
 What is the best way to migrate a VM from one oVirt Stack to the
 other ?
 Is it possible to make it live like virt-v2v does with esxi?


You can export them to your export domain on ovirt manager 1, detach the
export domain afterwards, attach it to ovirt manager 2 and import the
vms.


Regards,
René
 
 
 Regards
 
 Hervé Leclerc
 CTO
 Alter Way
 1, rue royale
 9 ème étage
 92210 St Cloud
 +33 1 78152407
 +33 6 83979598
 
 
 
 
 ___
 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] oVirt to oVirt VMs migration

2013-09-17 Thread Koch (ovido)

On Tue, 2013-09-17 at 15:22 +0200, Hervé Leclerc wrote:
 Thank you René, 
 A question :
 - You can export them to your export domain on ovirt manager 1 : OK 
 - Detach the export domain afterwards OK
 - Attach it to ovirt manager 2 : How do you do that ? how do you
 declare the Exports  in manager 2? it complains that the directory is
 not empty


Did you try to create a new one or import an existing one?
You have to import it, but make sure that it's not activated in your
other environment.


 ...import the vms : the goal
 
 
 
 Regards
 
 Hervé Leclerc
 CTO
 Alter Way
 1, rue royale
 9 ème étage
 92210 St Cloud
 +33 1 78152407
 +33 6 83979598
 
 
 
 
 
 
 On Tue, Sep 17, 2013 at 1:20 PM, René Koch (ovido) r.k...@ovido.at
 wrote:
 
 On Tue, 2013-09-17 at 13:17 +0200, Hervé Leclerc wrote:
  Hello,
 
 
  I've 2 ovirt managers with their own hosts
 
 
  What is the best way to migrate a VM from one oVirt Stack to
 the
  other ?
  Is it possible to make it live like virt-v2v does with esxi?
 
 
 
 You can export them to your export domain on ovirt manager 1,
 detach the
 export domain afterwards, attach it to ovirt manager 2 and
 import the
 vms.
 
 
 Regards,
 René
 
 
  Regards
 
  Hervé Leclerc
  CTO
  Alter Way
  1, rue royale
  9 ème étage
  92210 St Cloud
  +33 1 78152407
  +33 6 83979598
 
 
 
 
 
  ___
  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] oVirt Solaris support

2013-09-17 Thread Koch (ovido)
On Tue, 2013-09-17 at 14:38 +0300, Itamar Heim wrote:
 On 09/17/2013 02:23 PM, Ren Koch (ovido) wrote:
 
  On Mon, 2013-09-16 at 19:16 +0200, Gianluca Cecchi wrote:
  On Mon, Sep 16, 2013 at 6:39 PM, René Koch (ovido) wrote:
 
 
  and what about the qemu command line produced by virt-manager ?
 
 
 
  Good point - here's the command line of Sol11 with virt-manager on this
  oVirt host:
 
 
 
  Could it be that the
  -cpu Nehalem
 
  in some way can influence the problem? It only appears in oVirt
  generated command line
 
  Yes, indeed it does (even I have no clue how this can influence
  networking).
  When adding cpu model to my plain kvm machines libvirt xml network isn't
  working anymore.
  I'll test with some hook scripts if removing the cpu model will solve
  the network issue for my oVirt Solaris guest.
  Thanks for the hint.
 
 if you can pinpoint and reproduce, probably worth adding the qemu-kvm 
 mailing list
 

I managed to get Solaris networking running when removing cpu model and
cpu match attributes, which are added by oVirt but not by virt-manager.

I created a hook script (99_fix_solaris) which removes these
information. Afterwards networking is fine in Solaris guests:
https://github.com/ovido/ovirt-stuff/tree/master/hooks


Just one question renaming:
Is there any downside from oVirt side when removing these cpu
information like e.g. features aren't working as expected?


Thanks all for the hints.


Regards,
René




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


Re: [Users] oVirt Solaris support

2013-09-16 Thread Koch (ovido)

On Fri, 2013-09-06 at 22:26 +0100, Dan Kenigsberg wrote:

 On Fri, Sep 06, 2013 at 06:23:42PM +0200, René Koch (ovido) wrote:
  Hi,
  
  I want to start the discussion about Solaris support on oVirt again, as
  there was no solution for it yet.
  
  On my oVirt 3.2.2 environment I installed Solaris 11 U1 with the
  following specs:
  * Operating System: Other
  * nic1: rtl8139
  * Disk1: IDE (Thin Provision)
  * Host: CentOS 6.4 with qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.7.x86_64
  
  These are the same settings as on my RHEL 6.4 KVM host (except I can
  choose Solaris 10 as OS in virt-manager), which has KVM version:
  qemu-kvm-rhev-0.12.1.2-2.295.el6_3.2.x86_64 (I wanted to use this host
  as a RHEV host, so the qemu-kvm-rhev package is installed in case you
  wounder)...
  
  What's working:
  * OS installation on IDE disk
  * Bringing up network interface
  
  What's not working on oVirt:
  * Network connections  - on RHEL 6.4 with plain libvirt/kvm this is
  working...
  
  
  I can see the mac address on my CentOS host, but can't ping the Solaris
  vm:
  
  # brctl showmacs ovirtmgmt | egrep '00:99:4a:00:64:83|port'
  port no mac addris local?   ageing timer
2 00:99:4a:00:64:83   no10.72
  
  # arp -an | grep '00:99:4a:00:64:83'
  ? (10.0.100.123) at 00:99:4a:00:64:83 [ether] on ovirtmgmt
  
  When using tcpdump on the vnet interface which belongs to the Solaris vm
  (ip 10.0.100.123) I can see ARP requests from the vm for ip address of
  my CentOS host (10.0.100.42) but no response to it. Same when pinging
  other ips in this network:
  
  # tcpdump -n -i vnet2
  tcpdump: WARNING: vnet2: no IPv4 address assigned
  tcpdump: verbose output suppressed, use -v or -vv for full protocol
  decode
  listening on vnet2, link-type EN10MB (Ethernet), capture size 65535
  bytes
  18:15:35.987868 ARP, Request who-has 10.0.100.42 (Broadcast) tell
  10.0.100.123, length 46
  18:15:36.487399 ARP, Request who-has 10.0.100.42 (Broadcast) tell
  10.0.100.123, length 46
  18:15:36.987536 ARP, Request who-has 10.0.100.42 (Broadcast) tell
  10.0.100.123, length 46
  
  I also compared the qemu-kvm process list on the KVM with the oVirt
  machine and can't see much differences except that oVirt has more
  information like smbios
  oVirt host:
  /usr/libexec/qemu-kvm
  snip
   -netdev tap,fd=27,id=hostnet0
   -device
  rtl8139,netdev=hostnet0,id=net0,mac=00:99:4a:00:64:83,bus=pci.0,addr=0x3
  
  RHEL KVM host:
  /usr/libexec/qemu-kvm
  snip
   -netdev tap,fd=32,id=hostnet0
   -device
  rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:51:c2:97,bus=pci.0,addr=0x3
  
  Any suggestions on how to troubleshoot / get Solaris networking running
  is welcome.
  Changing the interface to e1000 doesn't work either.



Thanks a lot for your answer and sorry for my late response - I was sick
leaving last week.


 
 - Would you share the output of your `brctl show`?


# brctl show
bridge name bridge id   STP enabled interfaces
;vdsmdummy; 8000.   no  
dmz 8000.0025901ad140   no  eth0.200
ovirtmgmt   8000.0025901ad140   no  eth0.100
vnet1
vnet2
setup   8000.0025901ad140   no  eth0.500
test2   8000.0025901ad140   no  eth0.602
vnet0

vnet1 is a Debian 7 vm which has a perfectly working network.
vnet2 is the Solaris 11 vm which can't communicate over the network.


 - Particulalry, does the host device with 10.0.100.42 sit on the same
   bridge as your Solaris VM?


10.0.100.42 is the ip of the oVirt host and it's ip is configured on
this bridge (and reachable from the Debian 7 vm):

# ip a | grep ovirt
5: ovirtmgmt: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc noqueue
state UNKNOWN 
inet 10.0.100.42/24 brd 10.0.100.255 scope global ovirtmgmt


 - Do you see the who-has packet when sniffing the bridge device?



Yes, I can see them:
12:24:16.311218 ARP, Request who-has 10.0.100.42 (Broadcast) tell
10.0.100.123, length 46
12:24:16.311246 ARP, Reply 10.0.100.42 is-at 00:25:90:1a:d1:40, length
28

I can also see the MAC of the Solaris vm in arp cache of oVirt host:
# arp -an
? (10.0.100.123) at 00:99:4a:00:64:83 [ether] on ovirtmgmt

But I can't see the MAC address of oVirt host (10.0.100.42) in arp table
of the Solaris 11 vm. To be more clear: I can't see any MAC address in
ARP table of Solaris vm except the MAC of the vm itself.


 - Have yout tried guest-to-guest communication (over the same bridge)?


I can communicate from the Debian 7 vm to all hosts in my network, but I
can't reach the Solaris 11 vm.
The network of the oVirt setup is working fine for Windows and various
Linux guests, but not for Solaris.

Btw, excatly same behavior on RHEV 3.2

Re: [Users] so, what do you want next in oVirt?

2013-09-16 Thread Koch (ovido)

On Sun, 2013-09-08 at 18:03 -0400, Doron Fediuck wrote:
 
 - Original Message -
  From: René Koch (ovido) r.k...@ovido.at
  To: Itamar Heim ih...@redhat.com
  Cc: ovirt-users users@ovirt.org
  Sent: Thursday, September 5, 2013 11:31:57 AM
  Subject: Re: [Users] so, what do you want next in oVirt?
  
  Hi,
  
  Thanks for starting this thread again.
  
  
  
  On Tue, 2013-08-20 at 17:19 -0400, Itamar Heim wrote:
   earlier in the year we did a survey for feature requests / improvements
   / etc.
   
   since a lot of things were added, and priorities usually change, I'd
   like to ask again for what do you need the most from oVirt / what are
   your pain points next?
   
   below[1] I've listed my understanding of what already went in from
   previous survey requests (to various degrees of coverage).
   
   Thanks,
   Itamar
   
   [1] from the top 12
   V Allow disk resize
  
  
  Great!
  
  
   V Integrate Nagios/Zabbix monitoring - via a ui plugin
  
  
  Zabbix isn't working yet with my ui plugin (is there maybe another one
  which integrates Zabbix?) - but it will be available in a future
  release.
  Btw, there will be a new version of the monitoring ui plugin with new
  features available out at the end of this week...
  
  
   V Highly Available engine - via hosted engine[2]
   V Open vSwitch integration - via neutron integration
   X Allow cloning VMs without template
  
  
  This is definitely one feature I would like to see.
  
  
   ? Enable hypervisor upgrade/updates through engine[3]
  
  
  The next feature I would like to request.
  
  
   V Allow engine on an oVirt hosted VM - via hosted engine[2]
   V Enable guest configuration (root password, SSH keys, network) via
  guest agent in engine - via cloud-init
  
  
  Cool. Can this be done on oVirt-node as well or only on
  CentOS/RHEL/Fedora hosts?
  
  
   X Integrate v2v into engine
  
  
  Vote for this again :)
  
  
   ? Bond/extend ovirtmgmt with a second network for HA/increased
  bandwidth[4]
   X Integrate scheduling of snapshots and VM export for backups in
  engine[5]
   V Spice – support Google Chrome - via mime based launch
  
  
  At the moment spice support is really a pain (especially on Windows as
  the SpiceX.cab is missing). Great to hear that spice support has
  improved and Chrome can be used as well!
  
   
   
   Other items mentioned in previous survey which should be covered by now:
   - Fix timeout when adding local host during all-in-one configuration
   - Fix engine set-up when SELinux is disabled
   - Provide packages for el6 (CentOS, Red Hat Enterprise Linux)
   - Allow multiple VMs to be deployed from the same template at the same
  time
   - ISO domains on local/GlusterS
  
  
  ISO and export domains on FC/iSCSI would be good to have as well.
  
  
   - Show IP addresses in Virtual Machines-Network Interfaces
   - OpenStack Quantum support (now called Neutron)
   - noVNC support
   - Support spice.html5 and websocket proxy
   - Add other guest OSes to list
  
  
  Good to hear that other Linux distributions will be added as well.
  
  
   - Port oVirt guest agent to Ubuntu[6]
   - SLA - Allow resource time-sharing
   - Spice - Mac client (via mime based launch)
   - Spice - port XPI plug-in to Windows (not sure this will happen, but
  mime based launch allows using firefox now)
   - Spice - client for Ubuntu/Debian (should be covered via mime based
  launch)
  
  
  Additional features I would like to see are:
  - oVirt guest agent for Ubuntu/openSUSE/SLES/Debian *
  
  *Ubuntu is already available thanks to Zhou Zheng Sheng
  
  - Resource pools
  At the moment only Quotas are available (which is great, btw), but in
  some cases it's necessary to implement resource pools. E.g. Limit CPU,
  Memory and Network for group of test vms, but give full resources to
  production vms. Maybe this could be done with cgroups?
  So e.g. I don't want to give a compile machine a full cpu core, but only
  1 core with 500MHz or limit the bandwith to e.g. 10Mbit/s.
  
 
 Hi René,
 Due to time constraints, it did not make it into the 3.3 release, however
 in master we already have network QoS allowing you to limit bandwidth for
 vNICs.
 Also, we managed to implement CPU shares which allows you to handle 
 priorities.
 Both will be included in the next version, and hopefuly some more.
 
 So if you ever feel like taking a ride with the bleeding edge, you have both
 network QoS and CPU shares waiting there.  


Thanks a lot for the information!
It's great to know that this is/will be available.


 
  - Upload ISOs within the GUI to ISO domain
  
  - Use existing share for ISO domain
  When creating an ISO domain, oVirt creates it's own directory
  structure with IDs. It would be nice if an existing share could be used
  (e.g. an ISO share on NFS server which is used by other service, too)
  without creating the structure with IDs. I know that the IDs are needed
  internally but I think

Re: [Users] Ubuntu/Debian ovirt-guest-agent

2013-09-16 Thread Koch (ovido)

On Sat, 2013-09-14 at 14:14 +0800, Zhou Zheng Sheng wrote:
 Hi Jakub,
 
 on 2013/09/10 21:52, Jakub Bittner wrote:
  Hello Zhou Zheng Sheng,
  
  I tested your ovirt-guest-agent PPA which you provided and it works on
  Ubuntu Precise (12.04) as expected, but I can not install it on Debian
  Wheezy because that package needs upstart-job from Ubuntu which is not
  in Debian...
  Would you be so kind and provide even Debian packages on your PPA? :-)
  I dont know if sysvinit style file for launching daemon is included by
  oVirt.
  
  Thank you.
  
  Jakub Bittner
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  
 
 Two good news.
 
 Developers fixed the bug in latest master, so I updated the
 ovirt-guest-agent package for Ubuntu 13.04 (Raring) to 1.0.8. This
 package should be OK to use with 12.04 (Precise) as well.
 
 I also wrote a Debian specific SysV init script for the guest agent.I
 tested in my Debian Wheezy guest. There is a small problem,
 luanchpad.net does not support hosting Debian packages, and for each
 package per Ubuntu release, it hosts the latest version. So I upload the
 Debian specific oVirt guest agent package as a Ubuntu 12.04 (Precise)
 package.
 
 You can dowanlod them from the following link.
 https://launchpad.net/~zhshzhou/+archive/vdsm-ubuntu/+packages
 
 In all, the ovirt-guest-agent-1.0.8 (Raring) package is for both Ubuntu
 Raring and Precise. The ovirt-guest-agent-1.0.8 (Precise) is for Debian.


Great work - thanks a lot for the Debian and Ubuntu packages!

Just one little thing:
Can you add python-apt to the dependency list (it's missing in the
Debian Wheezy package - didn't test the Ubuntu packages but maybe it's
missing there, too)?

If python-apt isn't installed it's not possible to fetch installed
packages:

MainThread::INFO::2013-09-16
15:23:22,977::ovirt-guest-agent::37::root::Starting oVirt guest agent
MainThread::INFO::2013-09-16
15:23:23,015::GuestAgentLinux2::101::root::Unknown package management.
Application list report is disable

GuestAgentLinux2.py requires this python module to get the package
information.

All other features like system shutdown, nic information, memory,... are
working fine.


Regards,
René


 

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


Re: [Users] oVirt Solaris support

2013-09-16 Thread Koch (ovido)

On Mon, 2013-09-16 at 15:14 +0100, Dan Kenigsberg wrote:

 On Mon, Sep 16, 2013 at 12:33:34PM +0200, René Koch (ovido) wrote:
  
  On Fri, 2013-09-06 at 22:26 +0100, Dan Kenigsberg wrote:
  
   On Fri, Sep 06, 2013 at 06:23:42PM +0200, René Koch (ovido) wrote:
Hi,

I want to start the discussion about Solaris support on oVirt again, as
there was no solution for it yet.

On my oVirt 3.2.2 environment I installed Solaris 11 U1 with the
following specs:
* Operating System: Other
* nic1: rtl8139
* Disk1: IDE (Thin Provision)
* Host: CentOS 6.4 with qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.7.x86_64

These are the same settings as on my RHEL 6.4 KVM host (except I can
choose Solaris 10 as OS in virt-manager), which has KVM version:
qemu-kvm-rhev-0.12.1.2-2.295.el6_3.2.x86_64 (I wanted to use this host
as a RHEV host, so the qemu-kvm-rhev package is installed in case you
wounder)...

What's working:
* OS installation on IDE disk
* Bringing up network interface

What's not working on oVirt:
* Network connections  - on RHEL 6.4 with plain libvirt/kvm this is
working...


I can see the mac address on my CentOS host, but can't ping the Solaris
vm:

# brctl showmacs ovirtmgmt | egrep '00:99:4a:00:64:83|port'
port no mac addris local?   ageing timer
  2 00:99:4a:00:64:83   no10.72

# arp -an | grep '00:99:4a:00:64:83'
? (10.0.100.123) at 00:99:4a:00:64:83 [ether] on ovirtmgmt

When using tcpdump on the vnet interface which belongs to the Solaris vm
(ip 10.0.100.123) I can see ARP requests from the vm for ip address of
my CentOS host (10.0.100.42) but no response to it. Same when pinging
other ips in this network:

# tcpdump -n -i vnet2
tcpdump: WARNING: vnet2: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode
listening on vnet2, link-type EN10MB (Ethernet), capture size 65535
bytes
18:15:35.987868 ARP, Request who-has 10.0.100.42 (Broadcast) tell
10.0.100.123, length 46
18:15:36.487399 ARP, Request who-has 10.0.100.42 (Broadcast) tell
10.0.100.123, length 46
18:15:36.987536 ARP, Request who-has 10.0.100.42 (Broadcast) tell
10.0.100.123, length 46

I also compared the qemu-kvm process list on the KVM with the oVirt
machine and can't see much differences except that oVirt has more
information like smbios
oVirt host:
/usr/libexec/qemu-kvm
snip
 -netdev tap,fd=27,id=hostnet0
 -device
rtl8139,netdev=hostnet0,id=net0,mac=00:99:4a:00:64:83,bus=pci.0,addr=0x3

RHEL KVM host:
/usr/libexec/qemu-kvm
snip
 -netdev tap,fd=32,id=hostnet0
 -device
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:51:c2:97,bus=pci.0,addr=0x3

Any suggestions on how to troubleshoot / get Solaris networking running
is welcome.
Changing the interface to e1000 doesn't work either.
  
  
  
  Thanks a lot for your answer and sorry for my late response - I was sick
  leaving last week.
  
  
   
   - Would you share the output of your `brctl show`?
  
  
  # brctl show
  bridge name bridge id   STP enabled interfaces
  ;vdsmdummy; 8000.   no  
  dmz 8000.0025901ad140   no  eth0.200
  ovirtmgmt   8000.0025901ad140   no  eth0.100
  vnet1
  vnet2
  setup   8000.0025901ad140   no  eth0.500
  test2   8000.0025901ad140   no  eth0.602
  vnet0
  
  vnet1 is a Debian 7 vm which has a perfectly working network.
  vnet2 is the Solaris 11 vm which can't communicate over the network.
  
  
   - Particulalry, does the host device with 10.0.100.42 sit on the same
 bridge as your Solaris VM?
  
  
  10.0.100.42 is the ip of the oVirt host and it's ip is configured on
  this bridge (and reachable from the Debian 7 vm):
  
  # ip a | grep ovirt
  5: ovirtmgmt: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc noqueue
  state UNKNOWN 
  inet 10.0.100.42/24 brd 10.0.100.255 scope global ovirtmgmt
  
  
   - Do you see the who-has packet when sniffing the bridge device?
  
  
  
  Yes, I can see them:
  12:24:16.311218 ARP, Request who-has 10.0.100.42 (Broadcast) tell
  10.0.100.123, length 46
  12:24:16.311246 ARP, Reply 10.0.100.42 is-at 00:25:90:1a:d1:40, length
  28
  
  I can also see the MAC of the Solaris vm in arp cache of oVirt host:
  # arp -an
  ? (10.0.100.123) at 00:99:4a:00:64:83 [ether] on ovirtmgmt
  
  But I can't see the MAC address of oVirt host (10.0.100.42) in arp table
  of the Solaris 11 vm. To be more clear: I can't see any MAC address in
  ARP table

Re: [Users] oVirt Solaris support

2013-09-16 Thread Koch (ovido)
On Mon, 2013-09-16 at 18:36 +0200, Gianluca Cecchi wrote:

 On Mon, Sep 16, 2013 at 6:27 PM, René Koch (ovido) wrote:
 
  
   Here's the complete qemu cmd:
  
   RHEL 6.4 (plain KVM - Solaris networking is fine):
   /usr/libexec/qemu-kvm -name solaris11 -S -M rhel6.3.0 -enable-kvm -m
   1024 -smp 1,sockets=1,cores=1,threads=1 -uuid
   e7d3b9a4-8605-dc4f-9092-41d68dd83735 -nodefconfig -nodefaults -chardev
   socket,id=charmonitor,path=/var/lib/libvirt/qemu/solaris11.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime 
   -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive 
   file=/var/lib/libvirt/images/solaris11.img,if=none,id=drive-ide0-0-0,format=raw
-device 
   ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 
   -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw 
   -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 
   -netdev tap,fd=40,id=hostnet0 -device 
   rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:f0:27:d3,bus=pci.0,addr=0x3 
   -chardev pty,id=charserial0 -device 
   isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 
   -vnc 127.0.0.1:13 -vga cirrus -device 
   intel-hda,id=sound0,bus=pci.0,addr=0x4 -device 
   hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device 
   virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
  
   CentOS 6.4 (oVirt - Solaris can't reach other nodes):
   /usr/libexec/qemu-kvm -name solaris11 -S -M rhel6.3.0 -cpu Nehalem
   -enable-kvm -m 1024 -smp 1,sockets=1,cores=1,threads=1 -uuid
   cbaa0cf5-d9e6-40e4-a269-9dc495f4c0d5 -smbios
   type=1,manufacturer=oVirt,product=oVirt
   Node,version=6-4.el6.centos.10,serial=54443858-4E54-2500-901A-0025901AD140,uuid=cbaa0cf5-d9e6-40e4-a269-9dc495f4c0d5,sku=solaris11
-nodefconfig -nodefaults -chardev 
   socket,id=charmonitor,path=/var/lib/libvirt/qemu/solaris11.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc 
   base=2013-09-06T15:08:22,driftfix=slew -no-shutdown -device 
   piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device 
   virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive 
   file=/rhev/data-center/484e62d7-7a01-4b5e-aec8-59d366100281/2055b80d-d59d-4fe6-80ec-5499674feed5/images/0786a273-780a-4f58-acc4-9b123953bde8/0c07f1f9-f9c0-4ac0-bfec-bee7a1c35a0b,if=none,id=drive-ide0-0-0,format=raw,serial=0786a273-780a-4f58-acc4-9b123953bde8,cache=none,werror=stop,rerror=stop,aio=threads
-device 
   ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 
   -drive 
   if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw,serial= 
   -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 
   -drive 
   file=/var/run/vdsm/payload/cbaa0cf5-d9e6-40e4-a269-9dc495f4c0d5.f3b4e68b93e9d35d3f17328fae2e178e.img,if=none,media=cdrom,id=drive-ide0-1-1,readonly=on,format=raw,serial=
-device ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1 
   -netdev tap,fd=27,id=hostnet0 -device 
   rtl8139,netdev=hostnet0,id=net0,mac=00:99:4a:00:64:83,bus=pci.0,addr=0x3 
   -chardev 
   socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/solaris11.com.redhat.rhevm.vdsm,server,nowait
-device 
   virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
-chardev 
   socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/solaris11.org.qemu.guest_agent.0,server,nowait
-device 
   virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
-chardev spicevmc,id=charchannel2,name=vdagent -device 
   virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0
-spice 
   port=5902,tls-port=5903,addr=0,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-channel=cursor,tls-channel=playback,tls-channel=record,tls-channel=smartcard,tls-channel=usbredir,seamless-migration=on
-k en-us -vga qxl -global qxl-vga.ram_size=67108864 -global 
   qxl-vga.vram_size=67108864 -device 
   virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
  
 
 
  I also did something really nasty and created a Solaris 11 vm with
  virt-manager on this hypervisor (it's not a production machine so I took
  the risk to interfere with oVirt). And guess what - networking of this
  Solaris 11 guest is fine on ovirtmgmt bridge.
 
  So it seems to me that virt-manager is doing some magic for Solaris
  guests oVirt doesn't...
 
 
 
 and what about the qemu command line produced by virt-manager ?



Good point - here's the command line of Sol11 with virt-manager on this
oVirt host:

/usr/libexec/qemu-kvm -name sol11 -S -M rhel6.4.0 -enable-kvm -m 1024
-smp 1,sockets=1,cores=1,threads=1 -uuid
78c8d604-c3ca-9f40-68b5-346237cf7c3d -nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/sol11.monitor,server,nowait 
-mon chardev=charmonitor,id

[Users] oVirt Solaris support

2013-09-06 Thread Koch (ovido)
Hi,

I want to start the discussion about Solaris support on oVirt again, as
there was no solution for it yet.

On my oVirt 3.2.2 environment I installed Solaris 11 U1 with the
following specs:
* Operating System: Other
* nic1: rtl8139
* Disk1: IDE (Thin Provision)
* Host: CentOS 6.4 with qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.7.x86_64

These are the same settings as on my RHEL 6.4 KVM host (except I can
choose Solaris 10 as OS in virt-manager), which has KVM version:
qemu-kvm-rhev-0.12.1.2-2.295.el6_3.2.x86_64 (I wanted to use this host
as a RHEV host, so the qemu-kvm-rhev package is installed in case you
wounder)...

What's working:
* OS installation on IDE disk
* Bringing up network interface

What's not working on oVirt:
* Network connections  - on RHEL 6.4 with plain libvirt/kvm this is
working...


I can see the mac address on my CentOS host, but can't ping the Solaris
vm:

# brctl showmacs ovirtmgmt | egrep '00:99:4a:00:64:83|port'
port no mac addris local?   ageing timer
  2 00:99:4a:00:64:83   no10.72

# arp -an | grep '00:99:4a:00:64:83'
? (10.0.100.123) at 00:99:4a:00:64:83 [ether] on ovirtmgmt

When using tcpdump on the vnet interface which belongs to the Solaris vm
(ip 10.0.100.123) I can see ARP requests from the vm for ip address of
my CentOS host (10.0.100.42) but no response to it. Same when pinging
other ips in this network:

# tcpdump -n -i vnet2
tcpdump: WARNING: vnet2: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode
listening on vnet2, link-type EN10MB (Ethernet), capture size 65535
bytes
18:15:35.987868 ARP, Request who-has 10.0.100.42 (Broadcast) tell
10.0.100.123, length 46
18:15:36.487399 ARP, Request who-has 10.0.100.42 (Broadcast) tell
10.0.100.123, length 46
18:15:36.987536 ARP, Request who-has 10.0.100.42 (Broadcast) tell
10.0.100.123, length 46

I also compared the qemu-kvm process list on the KVM with the oVirt
machine and can't see much differences except that oVirt has more
information like smbios
oVirt host:
/usr/libexec/qemu-kvm
snip
 -netdev tap,fd=27,id=hostnet0
 -device
rtl8139,netdev=hostnet0,id=net0,mac=00:99:4a:00:64:83,bus=pci.0,addr=0x3

RHEL KVM host:
/usr/libexec/qemu-kvm
snip
 -netdev tap,fd=32,id=hostnet0
 -device
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:51:c2:97,bus=pci.0,addr=0x3

Any suggestions on how to troubleshoot / get Solaris networking running
is welcome.
Changing the interface to e1000 doesn't work either.


Thanks,
René
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] so, what do you want next in oVirt?

2013-09-05 Thread Koch (ovido)
Hi,

Thanks for starting this thread again.



On Tue, 2013-08-20 at 17:19 -0400, Itamar Heim wrote:
 earlier in the year we did a survey for feature requests / improvements 
 / etc.
 
 since a lot of things were added, and priorities usually change, I'd 
 like to ask again for what do you need the most from oVirt / what are 
 your pain points next?
 
 below[1] I've listed my understanding of what already went in from 
 previous survey requests (to various degrees of coverage).
 
 Thanks,
 Itamar
 
 [1] from the top 12
 V Allow disk resize


Great!


 V Integrate Nagios/Zabbix monitoring - via a ui plugin


Zabbix isn't working yet with my ui plugin (is there maybe another one
which integrates Zabbix?) - but it will be available in a future
release.
Btw, there will be a new version of the monitoring ui plugin with new
features available out at the end of this week...


 V Highly Available engine - via hosted engine[2]
 V Open vSwitch integration - via neutron integration
 X Allow cloning VMs without template


This is definitely one feature I would like to see.


 ? Enable hypervisor upgrade/updates through engine[3]


The next feature I would like to request.


 V Allow engine on an oVirt hosted VM - via hosted engine[2]
 V Enable guest configuration (root password, SSH keys, network) via
guest agent in engine - via cloud-init


Cool. Can this be done on oVirt-node as well or only on
CentOS/RHEL/Fedora hosts?


 X Integrate v2v into engine


Vote for this again :)


 ? Bond/extend ovirtmgmt with a second network for HA/increased
bandwidth[4]
 X Integrate scheduling of snapshots and VM export for backups in
engine[5]
 V Spice – support Google Chrome - via mime based launch


At the moment spice support is really a pain (especially on Windows as
the SpiceX.cab is missing). Great to hear that spice support has
improved and Chrome can be used as well!

 
 
 Other items mentioned in previous survey which should be covered by now:
 - Fix timeout when adding local host during all-in-one configuration
 - Fix engine set-up when SELinux is disabled
 - Provide packages for el6 (CentOS, Red Hat Enterprise Linux)
 - Allow multiple VMs to be deployed from the same template at the same
time
 - ISO domains on local/GlusterS


ISO and export domains on FC/iSCSI would be good to have as well.


 - Show IP addresses in Virtual Machines-Network Interfaces
 - OpenStack Quantum support (now called Neutron)
 - noVNC support
 - Support spice.html5 and websocket proxy
 - Add other guest OSes to list


Good to hear that other Linux distributions will be added as well.


 - Port oVirt guest agent to Ubuntu[6]
 - SLA - Allow resource time-sharing
 - Spice - Mac client (via mime based launch)
 - Spice - port XPI plug-in to Windows (not sure this will happen, but
mime based launch allows using firefox now)
 - Spice - client for Ubuntu/Debian (should be covered via mime based
launch)


Additional features I would like to see are:
- oVirt guest agent for Ubuntu/openSUSE/SLES/Debian *

*Ubuntu is already available thanks to Zhou Zheng Sheng

- Resource pools
At the moment only Quotas are available (which is great, btw), but in
some cases it's necessary to implement resource pools. E.g. Limit CPU,
Memory and Network for group of test vms, but give full resources to
production vms. Maybe this could be done with cgroups?
So e.g. I don't want to give a compile machine a full cpu core, but only
1 core with 500MHz or limit the bandwith to e.g. 10Mbit/s.

- Upload ISOs within the GUI to ISO domain

- Use existing share for ISO domain
When creating an ISO domain, oVirt creates it's own directory
structure with IDs. It would be nice if an existing share could be used
(e.g. an ISO share on NFS server which is used by other service, too)
without creating the structure with IDs. I know that the IDs are needed
internally but I think it should be possible to reuse an existing share.


Last but not least I want to thank all contributors of this project for
their great work so far!


Regards,
René


 
 
 [2] hosted engine is in active development, but not released yet.
 [3] host update is supported, but not for general yum update.
 [4] a lot of improvements were done in this space, but i'm not sure if
  they cover this exact use case
 [5] backup api is now being pushed to master, and orchestration of
  backups should probably happen via 3rd part backup vendors?
 [6] I'm not sure packaging exists yet, but ubuntu is covered for the
  basic functionality of the guest agent.
 ___
 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] ipmilan or iLo4

2013-09-03 Thread Koch (ovido)

On Tue, 2013-09-03 at 15:46 +0200, Neil wrote:
 Hi guys,
 
 I'm testing some DL360gen8 hosts and was wondering what power
 management utility would be recommended, I usually only use Dell
 servers and use the ipmilan by default, but not sure if there would be
 any benefits to rather using iLo instead?


I mainly use ipmilan in oVirt/RHEV/clusters as this works fine on newer
generations where fence_ilo sometimes doesn't.


Regards,
René


 
 Thanks.
 
 Regards.
 
 Neil Wilson.
 ___
 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] Setup Host Network dialog - actions availability [ux][BZ#984737]

2013-08-23 Thread Koch (ovido)
On Thu, 2013-08-22 at 13:04 -0400, Einav Cohen wrote:
 Hi,
 
 This is about attempting to address the difficulty of finding the edit-action 
 in 
 the Setup Host Network dialog, as documented in Bug 984737 - usability: 
 webadmin 
 difficulty in assigning client ip, no gateway possible in bugzilla.
 We have a suggestion from Eldan (see attached 
 HostSetupNetworks-HoverPopUp.png) 
 which was described in the BZ (comment #3) and seemed acceptable by the 
 reporter 
 (comment #4), however IIUC - one of the main pain points described in the BZ 
 was 
 the fact that the user could not find the option to Edit the connection 
 properties 
 since he was looking in the wrong place, and needed to hover on the correct 
 place, 
 in order to find that option.
 So although the idea is somewhat helpful, my concern is that this solution is 
 not 
 enough (comment #5).
 
 Another proposal from Malini (comment #6) is to add an actions drop-down 
 menu in 
 the form of a small gear icon-button - see attached 
 HostSetupNetworks-DropDownMenu.png.
 This proposal addresses my concern, however I have a question about another 
 concern 
 with this solution:
 would the actions-drop-down menu-items panel be revealed appear upon click or 
 upon 
 hover?


In my opinion this is the better solution but still not enough. Let me 
explain why:

There are 4 reasons (or did I forgot one?) why I want to change the network 
configuration:
1. Add new logical networks
2. Remove logical networks
3. Change ip addresses of 1 (or more) logical networks
4. Configure/change bonding options

Ad 1 and 2: In the Setup hosts networks dialog the behavior is ok - 
improvements should be done when creating new logical networks.
I think neutron integration will improve this...

Ad 3:
When changing (or adding) an ip address I first have to verify what's the
current ip configuration of this host.
If I don't use dns/static hosts entry I can see the current ip address
of ovirtmgmt host in hosts tab, but for all other networks or when
having hostnames configured I have to go to the Network Interfaces
subtab of each host. In this tab I can already see the address I (properly)
want to change or the interface where I want to add a new ip address.

So why not allowing to edit ip addresses here?
I don't mean going back to oVirt 3.0 style but just make existing ip
addresses changeable here already by making the existing ip address 
clickable and open the edit network window.

Bondings/logical networks should stay in setup host networks and there
should also be a gear icon to edit/remove logical networks like in the 
DropDownMenu.png screenshot which reveals when clicking on it. Then you
have the possibility to change the ip config wherever it's easier for you.

I also vote for removing the tooltip on logical networks and instead display
the ip address (and maybe MTU) below the logical network name.
e.g.
ovirtmgmt (VLAN 1)
IP: 192.168.0.1
-
logical network 1
-
logical network 2

As ip addresses will most likely be configured only for ovirtmgmt, display
network and storage network this dialog wouldn't get floated with too many
information...

Ad 4: Add a gear icon in the same way as for 3, but keep the ability to
change the configuration only in Setup hosts networks dialog, no need imho 
in Network Interfaces subtab...


Regards,
René


 
 if it will be upon hover, it might seem weird/be conflicted/be somewhat 
 confusing 
 with the hover functionality that reveals the logical-network details pop-up.
 
 if it will be upon click, it means that in order to edit a logical network, 
 two 
 clicks will be required in order to get to the edit dialog, as opposed to one 
 click 
 in the current state and in Eldan's suggestion. 
 maybe having two clicks in order to get to the edit dialog is acceptable, 
 however 
 there may be some solutions for that:
 
 one possible solution would be to combine both attached suggestions, i.e. the 
 actions 
 within the hover pop-up, as well as the actions drop-down menu, however it 
 means that 
 there will be some redundancy of the actions availability.
 
 another possible solution is to keep only the gear + down-arrow icon (or 
 maybe only 
 the down-arrow icon), without the actual drop-down menu there, just in order 
 to indicate 
 that there are some options available in that area, and have Eldan's pop-up 
 appear when 
 hovering on that icon (or even on the entire logical-network area, as happens 
 today with 
 the current details pop-up)
 
 thoughts?
 
 
 Regards, 
 Einav
 ___
 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] Linux sysprep

2013-08-22 Thread Koch (ovido)

On Wed, 2013-08-21 at 19:49 -0400, Greg Padgett wrote:
 On 08/21/2013 07:25 AM, René Koch (ovido) wrote:
 [snip]
  I'm just playing around with the payload feature but I can't access the
  cd/floppy in my vm.
  I adapted Yuriy's script
  (http://lists.ovirt.org/pipermail/users/2013-June/014907.html - which is
  working fine btw) to create payload xml content and write it with
  hooking.write_domxml(domxml).
 
  In vdsm.log I can see that my python script exits with status code 0 and
  that the content seems to be added to the vm definition:
 
  Thread-130844::DEBUG::2013-08-21
  12:43:52,669::libvirtvm::1520::vm.Vm::(_run)
  vmId=`79dc3123-4584-4dd9-b0f0-c28ede13d672`::?xml version=1.0
  encoding=utf-8?domain type=kvm
  namecentos6/name
  snip
  /cpu
  payloadspayload type=cdromfile
  name=unattended.txtcontenthostname:
  centos6/content/file/payload/payloads/domain
 
 
  But in my vm I can't mount the cd drive:
  # mount /dev/sr0 /media
  mount: you must specify the filesystem type
 
  Is there a special filesystem I have to specify?
 
  Furthermore shouldn't I be able to see the payloads content added to
  this vm via REST-API? Because I can't.
 
  Maybe I'm doing some wrong?
 
 
  Thanks,
  René
 
 That's a neat script.  I haven't used it--instead I just send xml to the 
 rest api, something like this, which looks a lot like yours:
 
 vm id=6aec2d40-e36f-4b02-ab75-933d93f4cb8b 
 href=/api/vms/6aec2d40-e36f-4b02-ab75-933d93f4cb8b
payloads
  payload type=cdrom
file name=meta-data.txtcontentsome content/content   /file
  /payload
/payloads
 /vm
 
 To attach the payload via the rest api, note that you'd need to send a put 
 request to /api/vms/uuid rather than pass the xml in the run/start 
 action, because that's not yet supported.  Doing this, inside my vm I see:
 
[root@cloud-init-test ~]# blkid
/dev/sr1: UUID=2013-08-21-19-39-40-00 LABEL=CDROM TYPE=iso9660


I see - so only via REST-API really means only with REST-API ;)
I'll add the payload via put request - thanks a lot!


 
 And I can mount it without any problems.  You can also check the qemu 
 process listing on the host--for instance, mine shows:
 
 /usr/bin/qemu-system-x86_64 [...] -drive 
 file=/var/run/vdsm/payload/29e331f9-42df-46e1-aad1-88101b134606.fe53caf3339d55b2b37a893e19e9f10a.img
 
 While the vm is running, you can check that file with `file` (should 
 report ISO 9660), mount it on the host, etc.
 
 HTH,
 Greg
 

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


Re: [Users] oVirt and Infiniband

2013-08-22 Thread Koch (ovido)
On Thu, 2013-08-22 at 05:16 -0400, Itamar Heim wrote:
 On 08/21/2013 03:32 AM, René Koch (ovido) wrote:
 
  On Tue, 2013-08-20 at 00:24 +0200, René Koch wrote:
 
  -Original message-
  From:Dan Kenigsberg dan...@redhat.com
  Sent: Monday 19th August 2013 23:48
  To: René Koch r.k...@ovido.at; Itzik Brown itz...@mellanox.com
  Cc: ovirt-users users@ovirt.org
  Subject: Re: [Users] oVirt and Infiniband
 
  On Tue, Aug 13, 2013 at 03:48:14PM +0200, René Koch (ovido) wrote:
  Hi,
 
  Does anyone have oVirt (or a plain KVM hypervisor) running on Infiniband
  where the virtual machines are bridged to an Infiniband interface (with
  EoIB kernel module)?
 
  As far as I recall the EoIB module is not yet in upstream kernel. Could
  you give more details on your setup (distro, kernel, module)?
  Do you get connectivity between the hosts? Maybe Itzik and his
  colleagues could help us here.
 
 
  Thanks for your answer.
 
  That's right - EoIB isn't in the kernel.
  I installed module from Mellanox OFED package and even there it's marked 
  as unstable...
  OS is CentOS 6.4.
 
  At the moment I've also an open support case with Mellanox trying to solve 
  the connectivity issue.
  So I have support from official site, but was thinking maybe someone has 
  already experience with such a setup and also had some issues/tipps for 
  me...
 
  My problem is some sort of a bridge or maybe MAC translation issue (unsure 
  cause of a lot of unanswered ARP requests in tcpdump and bridge is working 
  on Ethernet interfaces).
  I have bridge ovirtmgmt on eth2 interface (eth2 is a (virtual) ethernet 
  interface bound to the Infiniband-interface) with an IP address configured 
  on it.
  Hosts can reach each other, so ethernet to infiniband translation seems to 
  work.
  But when I create a vm in oVirt this vm can only communicate with IPs/vms 
  on the bridge.
  This mean I can ping the IP of the host and other vms on this bridge, but 
  no host behind the bridge (like e.g. other hosts or vms on other hosts)...
 
 
 
  Mellanox support team found the issue:
  Daemon openibd requires write access to libvirt which is restricted by
  oVirt per default.
 
  When changing auth_unix_rw to none networking of the vms is working fine
  over the inifinband network.
 
  So my question is now:
  I think there's a good reason why write access to libvirt is restricted.
  In my particular setup no one will do a virsh start/stop/whatever so
  from a user point I can live with an open libvirt.
 
  But are there any troubles I can run into from oVirt side with
  auth_unix_rw=none beside users doing evil virsh stuff?
 
  Today I tested it and ran into a first issue which I didn't investigate
  so far (will do this week):
  - Started vm from oVirt on node
  - Changed auth_unix_rw to none
  - Restarted libvirt on node
  - VM was running according to virsh list
  - VM was stopped in oVirt
  - Started vm in oVirt on another node
  - vm was running twice
  Will have a look at the logs what append exactly this vm...
 
 
 isn't the right thing is to configure openibd to use same credentials 
 vdsm is using (or with their own credentials)?


Absolutely agree that this would be the best solution, but unfortunately
there's no config option for openibd to use credentials when connecting
to libvirt :(


 
 
 
  Regards,
  René
 
 
 
 
  I'm having issues in such a setup where vms can't communicate over this
  bridge...
 
 
  Regards,
  René
 
 
 
  ___
  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
 
 

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


Re: [Users] Linux sysprep

2013-08-22 Thread Koch (ovido)

On Thu, 2013-08-22 at 09:55 +0200, René Koch (ovido) wrote:
 On Wed, 2013-08-21 at 19:49 -0400, Greg Padgett wrote:
  On 08/21/2013 07:25 AM, René Koch (ovido) wrote:
  [snip]
   I'm just playing around with the payload feature but I can't access the
   cd/floppy in my vm.
   I adapted Yuriy's script
   (http://lists.ovirt.org/pipermail/users/2013-June/014907.html - which is
   working fine btw) to create payload xml content and write it with
   hooking.write_domxml(domxml).
  
   In vdsm.log I can see that my python script exits with status code 0 and
   that the content seems to be added to the vm definition:
  
   Thread-130844::DEBUG::2013-08-21
   12:43:52,669::libvirtvm::1520::vm.Vm::(_run)
   vmId=`79dc3123-4584-4dd9-b0f0-c28ede13d672`::?xml version=1.0
   encoding=utf-8?domain type=kvm
 namecentos6/name
   snip
 /cpu
   payloadspayload type=cdromfile
   name=unattended.txtcontenthostname:
   centos6/content/file/payload/payloads/domain
  
  
   But in my vm I can't mount the cd drive:
   # mount /dev/sr0 /media
   mount: you must specify the filesystem type
  
   Is there a special filesystem I have to specify?
  
   Furthermore shouldn't I be able to see the payloads content added to
   this vm via REST-API? Because I can't.
  
   Maybe I'm doing some wrong?
  
  
   Thanks,
   René
  
  That's a neat script.  I haven't used it--instead I just send xml to the 
  rest api, something like this, which looks a lot like yours:
  
  vm id=6aec2d40-e36f-4b02-ab75-933d93f4cb8b 
  href=/api/vms/6aec2d40-e36f-4b02-ab75-933d93f4cb8b
 payloads
   payload type=cdrom
 file name=meta-data.txtcontentsome content/content   /file
   /payload
 /payloads
  /vm
  
  To attach the payload via the rest api, note that you'd need to send a put 
  request to /api/vms/uuid rather than pass the xml in the run/start 
  action, because that's not yet supported.  Doing this, inside my vm I see:
  
 [root@cloud-init-test ~]# blkid
 /dev/sr1: UUID=2013-08-21-19-39-40-00 LABEL=CDROM TYPE=iso9660
 


Hm, for some strange reason I can PUT the payloads XML to a specific vm
without any errors using REST-API, but it seems to never really update
the vm definition (when testing with GET payloads is missing again and
no cd in my vm). PUT for e.g. usb definitions is working fine (system is
oVirt 3.2).

Anyway, I don't have enough time at the moment to investigate this
further, so I use Yuriy's script (thanks!) and add the hostname via SKU
number. But will maybe play with vm payloads later again.

If anyone is interested in the scripts, feel free to use them:
https://github.com/ovido/ovirt-stuff/tree/master/sysprep_linux
(please note that these will only work for RHEL/CentOS/Fedora/other
clones)


Regards,
René



 
 
  
  And I can mount it without any problems.  You can also check the qemu 
  process listing on the host--for instance, mine shows:
  
  /usr/bin/qemu-system-x86_64 [...] -drive 
  file=/var/run/vdsm/payload/29e331f9-42df-46e1-aad1-88101b134606.fe53caf3339d55b2b37a893e19e9f10a.img
  
  While the vm is running, you can check that file with `file` (should 
  report ISO 9660), mount it on the host, etc.
  
  HTH,
  Greg
  
 
 ___
 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] Feedback/ input needed on Host power management

2013-08-21 Thread Koch (ovido)
On Tue, 2013-08-20 at 15:50 -0400, Malini Rao wrote:
 Hello everyone, 
 
 We received a few responses to the email below that were very helpful and it 
 seemed like while some people preferred one over the other concept, there was 
 a general need to see the power management card details in a handy manner. 
 Taking all the feedback into account, we have made an iteration to the 
 concept and want to present it back to you for your feedback. Please see 
 attached. In this version, the dialog presents the following flow from top to 
 bottom -
 
 1. enable power management
 2. Then Select which cards to use
 3. Then indicate to the system whether those cards should be used 
 concurrently or sequentially.


Great that you choose this flow - I think it's the one which is the most
user friendly one.

 
 Within Step 2 in the flow, the details for each card are collapsed by default 
 but can easily be expanded.
 
 Besides feedback on the attached mockup, we also have some questions that we 
 would like some clarifications on -
 
 1. When power management is enabled on a host, will atleast one card NEED to 
 be enabled? If yes, is that always the Primary card ( in other words, should 
 the primary card ever be disabled?)
 

I think the primary card has to be enabled whenever power management is
enabled, but power management should stay disabled per default.


 2. Currently, in the mockup, we have checkboxes to enable and disable certain 
 cards and also the ability to add cards. Should there be an ability to remove 
 cards too in addition to turning them on/ off or is it ok to just add/ remove 
 and take out the checkboxes all together?
 

If you keep with the concept of having a primary and secondary card you
shouldn't be able to remove one of these 2 cards - only
enabled/disable/edit it.

One thing that keeps in mind for a future improvement (somewhere after 
3.3) would be a power management template.
When having a bigger setup (assuming 20 hosts from the same manufacturer
and therefor with the same remote management cards) you have to set
address, username, password, type, (maybe port) and (maybe options) 20
times (with 2 cards 40 times). But it would be much easier if I create a
power management template and set all parameters except address, choose
this template in power management tab of each host and set the address
of the card there.
But as said - would be nice to have in the future.


Regards,
René


 Thanks
 Malini
 
 
 
 
 - Original Message -
 From: Malini Rao m...@redhat.com
 To: engine-devel engine-de...@ovirt.org
 Cc: users@ovirt.org, Itamar Heim ih...@redhat.com, Eli Mesika 
 emes...@redhat.com, Einav Cohen eco...@redhat.com, Eldan Hildesheim 
 ehild...@redhat.com
 Sent: Wednesday, August 14, 2013 2:50:46 PM
 Subject: Feedback/ input needed on Host power management
 
 Hello all, 
 
 In taking a look at the current implementation of Hosts Power management, we 
 have come up with a couple of approaches on improving this from a UX 
 perspective 
 -http://www.ovirt.org/Talk:Community#UXD_Proposals_for_Host_Power_management. 
 We want your thoughts and input on what approach makes more sense from a 
 user's perspective before fine tuning the UI.
 
 Thanks
 Malini
 User Experience designer
 ___
 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] oVirt and Infiniband

2013-08-21 Thread Koch (ovido)

On Tue, 2013-08-20 at 00:24 +0200, René Koch wrote:
  
 -Original message-
  From:Dan Kenigsberg dan...@redhat.com
  Sent: Monday 19th August 2013 23:48
  To: René Koch r.k...@ovido.at; Itzik Brown itz...@mellanox.com
  Cc: ovirt-users users@ovirt.org
  Subject: Re: [Users] oVirt and Infiniband
  
  On Tue, Aug 13, 2013 at 03:48:14PM +0200, René Koch (ovido) wrote:
   Hi,
   
   Does anyone have oVirt (or a plain KVM hypervisor) running on Infiniband
   where the virtual machines are bridged to an Infiniband interface (with
   EoIB kernel module)?
  
  As far as I recall the EoIB module is not yet in upstream kernel. Could
  you give more details on your setup (distro, kernel, module)?
  Do you get connectivity between the hosts? Maybe Itzik and his
  colleagues could help us here.
 
 
 Thanks for your answer.
 
 That's right - EoIB isn't in the kernel.
 I installed module from Mellanox OFED package and even there it's marked as 
 unstable...
 OS is CentOS 6.4.
 
 At the moment I've also an open support case with Mellanox trying to solve 
 the connectivity issue.
 So I have support from official site, but was thinking maybe someone has 
 already experience with such a setup and also had some issues/tipps for me...
 
 My problem is some sort of a bridge or maybe MAC translation issue (unsure 
 cause of a lot of unanswered ARP requests in tcpdump and bridge is working on 
 Ethernet interfaces).
 I have bridge ovirtmgmt on eth2 interface (eth2 is a (virtual) ethernet 
 interface bound to the Infiniband-interface) with an IP address configured on 
 it.
 Hosts can reach each other, so ethernet to infiniband translation seems to 
 work.
 But when I create a vm in oVirt this vm can only communicate with IPs/vms on 
 the bridge.
 This mean I can ping the IP of the host and other vms on this bridge, but no 
 host behind the bridge (like e.g. other hosts or vms on other hosts)...
 


Mellanox support team found the issue:
Daemon openibd requires write access to libvirt which is restricted by
oVirt per default.

When changing auth_unix_rw to none networking of the vms is working fine
over the inifinband network.

So my question is now:
I think there's a good reason why write access to libvirt is restricted.
In my particular setup no one will do a virsh start/stop/whatever so
from a user point I can live with an open libvirt.

But are there any troubles I can run into from oVirt side with
auth_unix_rw=none beside users doing evil virsh stuff?

Today I tested it and ran into a first issue which I didn't investigate
so far (will do this week):
- Started vm from oVirt on node
- Changed auth_unix_rw to none
- Restarted libvirt on node
- VM was running according to virsh list
- VM was stopped in oVirt
- Started vm in oVirt on another node
- vm was running twice
Will have a look at the logs what append exactly this vm...


 
 Regards,
 René
 
 
  
   
   I'm having issues in such a setup where vms can't communicate over this
   bridge...
   
   
   Regards,
   René
   
   
   
   ___
   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: [Users] Linux sysprep

2013-08-21 Thread Koch (ovido)

On Wed, 2013-08-21 at 13:18 +0400, Yuriy Demchenko wrote:
 Although you've already got some answers with payload/cloudinit idea, I 
 can point at another solution I've used myself:
 http://lists.ovirt.org/pipermail/users/2013-June/014907.html
 Use a vdsm-hook to write vmname into some bios field, then one-time 
 init-script inside template to configure your vm as you need.


Thanks a lot, Yuriy.
That's an interesting solution you came up with. Although I'm unsure if
I like to use bios fields for this. Beside this little bios hack
you're doing the same as with payloads except you're properly using
dmidecode in your init-script to get the vm name instead of mounting a
floppy and reading content of a file.


Regards,
René


 
 Yuriy Demchenko
 
 On 08/19/2013 06:17 PM, René Koch (ovido) wrote:
  Another option would be to write a custom script which is started during
  boot and disables itself after successful run (in the same way as
  firstboot - I already have such a script for RHN Satellite/Spacewalk
  joins). The problem here is: How do I get the (oVirt) name of this vm
  (would need something like virt-whoami:)  )? Is the (internal oVirt) ID
  of this vm stored somewhere in the filesystem of this vm? I don't think
  so
 

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


Re: [Users] Linux sysprep

2013-08-21 Thread Koch (ovido)

On Mon, 2013-08-19 at 16:54 -0400, Greg Padgett wrote:
 On 08/19/2013 04:26 PM, René Koch wrote:
 
  -Original message-
  From:Greg Padgett gpadg...@redhat.com
  Sent: Monday 19th August 2013 21:16
  To: René Koch r.k...@ovido.at
  Cc: ovirt-users users@ovirt.org
  Subject: Re: [Users] Linux sysprep
 
  On 08/19/2013 10:17 AM, René Koch (ovido) wrote:
  Hi,
 
  Has anyone an idea what's the easiest way to sysprep Linux (CentOS 6 and
  RHEL 6) machines?
 
  The use case is the following: I want to create a lot of virtual
  machines (e.g. 100) by cloning from one template.
  So I create a master vm, create a template and a pool with 100 vms
  assigned to it and set all 100 vms to prestarted.
 
  The problem is now, that when I run sys-unconfig before creating the
  template, which does a touch /.unconfigured I have to go through the
  sysconfig-tui and set a new root password for all 100 hosts.
 
  So what I'm looking for is a script like the sysprep tool for windows
  which sets parameters for me automatically.
  I only need to change:
  * Hostname + set DHCP_HOSTNAME in ifcfg-eth0 (Hostname == Pool-VM-Name)
  for some dhcp/ddns magic :)
  * Clear udev network-rules
  * remove SSH-Keys
  * Remove RHN ID and join Satellite/Spacewalk-server
  * root-password,... should stay the same
 
  My first question is: does oVirt provide such a functionality for Linux
  guest out-of-the-box? I couldn't find one.
 
 
  I think I could solve this with virt-sysprep and virt-file, but I'm
  unsure if I can use it with oVirt (or only with plain libvirt):
  http://libguestfs.org/virt-sysprep.1.html
  http://libguestfs.org/virt-edit.1.html
 
  For this tools it's required that the vm is not running, as it changes
  files on the disk. If I'm using a before-vm-start hook, it should be
  save to access the disk and change content with virt-sysprep/virt-file,
  right?
  But do I have access to the disk in a before-vm-start hook?
  If using NFS storage I should be able to access all disks on the
  NFS-share, but for iSCSI/FC-LUNS - are they available on the hypervisor
  in this stage?
 
 
  Another option would be to write a custom script which is started during
  boot and disables itself after successful run (in the same way as
  firstboot - I already have such a script for RHN Satellite/Spacewalk
  joins). The problem here is: How do I get the (oVirt) name of this vm
  (would need something like virt-whoami :) )? Is the (internal oVirt) ID
  of this vm stored somewhere in the filesystem of this vm? I don't think
  so
 
 
  Thanks a lot for suggestions,
  René
 
 
  Hi René,
 
  You may be able to accomplish at least some of what you want using
  Cloud-Init, some features of which we've integrated into oVirt [1].  It
  went in recently so may not be in whichever version you're running, but
  you can probably borrow some of the concepts to get the job done.
 
  Thanks a lot for your answer - this definitely points me into the right way.
 
 
 Great, happy to help.
 
 
 
  Just a few ideas:
 - create a vm payload [2] and attach it to the VM which can hold your
  config info e.g. vm name, which a custom script could pick up.  No need
  for the latest oVirt with this option.
 
 
  For some strange reason I totally missed the vm payload feature (and it 
  seems to be introduced already in oVirt 3.1 according to the release notes).
  Can I attach a vm payload via webadmin portal of oVirt 3.2 (and if yes - 
  how?) or only via REST-API?
 
  So if I understand this right, I would do the following:
  - use before_vm_start_hook which creates the payload and updates vm xml 
  definition - add payloads with e.g. file name unattended.txt andcontent 
  hostname=pool-vm95
  - have script started in host which mounts the floppy, reads the content of 
  unattended.txt and do some magic
 
 
 Only REST API.  It sounds like you're on the right track with it.


I'm just playing around with the payload feature but I can't access the
cd/floppy in my vm.
I adapted Yuriy's script
(http://lists.ovirt.org/pipermail/users/2013-June/014907.html - which is
working fine btw) to create payload xml content and write it with
hooking.write_domxml(domxml).

In vdsm.log I can see that my python script exits with status code 0 and
that the content seems to be added to the vm definition:

Thread-130844::DEBUG::2013-08-21
12:43:52,669::libvirtvm::1520::vm.Vm::(_run)
vmId=`79dc3123-4584-4dd9-b0f0-c28ede13d672`::?xml version=1.0
encoding=utf-8?domain type=kvm
namecentos6/name
snip
/cpu
payloadspayload type=cdromfile
name=unattended.txtcontenthostname:
centos6/content/file/payload/payloads/domain


But in my vm I can't mount the cd drive:
# mount /dev/sr0 /media
mount: you must specify the filesystem type

Is there a special filesystem I have to specify?

Furthermore shouldn't I be able to see the payloads content added to
this vm via REST-API? Because I can't.

Maybe I'm doing some wrong?


Thanks,
René



 
 
 
 - create

Re: [Users] Compiling ovirt-guest-agent on FreeBSD

2013-08-19 Thread Koch (ovido)


On Mon, 2013-08-19 at 09:53 +0200, Michal Skrivanek wrote:
 On Aug 19, 2013, at 09:41 , Karli Sjöberg karli.sjob...@slu.se wrote:
 
  Hi!
  
  As part of a template I´m preparing, I´m wondering how to compile the agent 
  with just the basics included. I´ve tried running like:
  
  OPTIONS='
  --without-gdm-plugin --without-gdm2-plugin  --without-kdm-plugin 
  --without-pam-ovirt-cred
  --with-gdm-plugin=no --with-gdm2-plugin=no --with-kdm-plugin=no 
  --with-pam-ovirt-cred=no
  --disable-gdm-plugin --disable-gdm2-plugin --disable-kdm-plugin 
  --disable-pam-ovirt-cred
  --enable-gdm-plugin=no --enable-gdm2-plugin=no --enable-kdm-plugin=no 
  --enablepam-ovirt-cred-=no'
  
  # ./configure ${OPTIONS}
  
  Regardless of how I try, it just responds:
  configure: WARNING: unrecognized options: ${OPTIONS}
  
  I took the package from the official oVirt.org repo, src file:
  ovirt-guest-agent-1.0.6.tar.bz2
  
  What am I doing wrong?
 
 Hi
 the parameters are gdm, kdm and sso, set them to no

Hi,

Should it be possible to disable SSO in 1.0.6 already (cause these options are 
unrecognized)?

r.koch@pc-ovido02:~/tmp/ovirt-guest-agent-1.0.6$ ./configure --without-sso 
--without-gdm --without-kdm
configure: WARNING: unrecognized options: --without-sso, --without-gdm, 
--without-kdm


It's working fine with guest-agent from GIT (tested compiling on Debian but not 
on FreeBSD):

# git clone http://gerrit.ovirt.org/p/ovirt-guest-agent.git
# ./autogen.sh
# ./configure --prefix=/usr --without-sso
# make install


Regards,
René



 
 Thanks,
 michal
  
  -- 
  
  Med Vänliga Hälsningar
  ---
  Karli Sjöberg
  Swedish University of Agricultural Sciences
  Box 7079 (Visiting Address Kronåsvägen 8)
  S-750 07 Uppsala, Sweden
  Phone:  +46-(0)18-67 15 66
  karli.sjob...@slu.se ___
  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



-- 
Mit freundlichen Grüßen

DI (FH) René Koch
Senior Solution Architect


ovido gmbh - Das Linux Systemhaus
Brünner Straße 163, A-1210 Wien

Phone:   +43 720 / 530 670
Mobile:  +43 660 / 512 21 31
E-Mail:  r.k...@ovido.at


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


[Users] Please test check_rhev3 1.3 alpha

2013-08-19 Thread Koch (ovido)
Hi,

As discussed in previous thread I improved the authentication of my
Nagios plugin to use auth cookies per default and fall back to username
and password authentication on failure.
Here's a documentation how authentication is handled now:
https://github.com/ovido/check_rhev3/issues/1

You can download the alpha version from:
https://github.com/ovido/check_rhev3/blob/master/plugin-dir/check_rhev3.pl

Please note that this is an early development version not intended to
use in production setups yet (requires some testing).
If you test it, please give me some feedback if the authentication is
working as expected. This means, that no user@domain logged in
messages appear in oVirt engine (if using oVirt = 3.1) when Nagios is
checking oVirt environment.
Thanks a lot for testing and your feedback!


There's one known issue - if REST-API returns an error the plugin also
falls back to username and password. This happens e.g. when querying
interface statistics for vlan tagged interfaces on RHEV 3.2, which
returns Operation Failed (see
https://bugzilla.redhat.com/show_bug.cgi?id=993123).
Don't have a solution for this right now...


Regards,
René



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


[Users] Linux sysprep

2013-08-19 Thread Koch (ovido)
Hi,

Has anyone an idea what's the easiest way to sysprep Linux (CentOS 6 and
RHEL 6) machines?

The use case is the following: I want to create a lot of virtual
machines (e.g. 100) by cloning from one template.
So I create a master vm, create a template and a pool with 100 vms
assigned to it and set all 100 vms to prestarted.

The problem is now, that when I run sys-unconfig before creating the
template, which does a touch /.unconfigured I have to go through the
sysconfig-tui and set a new root password for all 100 hosts.

So what I'm looking for is a script like the sysprep tool for windows
which sets parameters for me automatically.
I only need to change:
* Hostname + set DHCP_HOSTNAME in ifcfg-eth0 (Hostname == Pool-VM-Name)
for some dhcp/ddns magic :)
* Clear udev network-rules
* remove SSH-Keys
* Remove RHN ID and join Satellite/Spacewalk-server
* root-password,... should stay the same

My first question is: does oVirt provide such a functionality for Linux
guest out-of-the-box? I couldn't find one.


I think I could solve this with virt-sysprep and virt-file, but I'm
unsure if I can use it with oVirt (or only with plain libvirt):
http://libguestfs.org/virt-sysprep.1.html
http://libguestfs.org/virt-edit.1.html

For this tools it's required that the vm is not running, as it changes
files on the disk. If I'm using a before-vm-start hook, it should be
save to access the disk and change content with virt-sysprep/virt-file,
right?
But do I have access to the disk in a before-vm-start hook?
If using NFS storage I should be able to access all disks on the
NFS-share, but for iSCSI/FC-LUNS - are they available on the hypervisor
in this stage?


Another option would be to write a custom script which is started during
boot and disables itself after successful run (in the same way as
firstboot - I already have such a script for RHN Satellite/Spacewalk
joins). The problem here is: How do I get the (oVirt) name of this vm
(would need something like virt-whoami :) )? Is the (internal oVirt) ID
of this vm stored somewhere in the filesystem of this vm? I don't think
so


Thanks a lot for suggestions,
René



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


[Users] oVirt and Infiniband

2013-08-13 Thread Koch (ovido)
Hi,

Does anyone have oVirt (or a plain KVM hypervisor) running on Infiniband
where the virtual machines are bridged to an Infiniband interface (with
EoIB kernel module)?

I'm having issues in such a setup where vms can't communicate over this
bridge...


Regards,
René



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


Re: [Users] Automating the manual labour between us admins and our potential customers (orderportal)

2013-08-09 Thread Koch (ovido)
Hi Karli,

Thanks a lot for sharing the code of your orderportal! I think this
portal is really useful for providing a easier method to create/order
new virtual machines as the (extended) user portal already does.

I'll try it out and maybe will have some questions.
First question right now: is and if yes how is your software licensed?


Regards,
René



On Thu, 2013-08-08 at 11:42 +, Karli Sjöberg wrote:
 Hi everyone!
 
 Here´s a little something I´ve been tinkering on for some time now;
 the oVirt orderportal!
 
 I had the idea that if you somehow could get users to order resources
 and give them the ability to, for themselves, take care of their VM´s
 lifecycle without ever having to involve us then that´s what I´d call
 a win-win situation; they get VM´s and we don´t have to lift a finger
 while cashing in on the profits;) While you could just give everyone a
 quota and let them install VM's on their own, those installation would
 most likely lack some of the extra quality that we as experts can
 provide, like to make sure they are domain connected, are
 automatically updated and so on.
 
 The basic idea is to have, first of all, a domain (in our case it´s MS
 Active Directory) where all of your customers are stored so that they
 are able to just use their regular accounts when ordering and
 administering their resources, and a mail-server that can send the
 confirmations out directly to them. Then it´s our job as admins to fix
 up some templates so that it´s possible to spin up new VM's fast and
 effortlessly enough. Another one of the things that enables this
 solution is to have dynamic DNS activated on the network where these
 VM's are located so that they can just be called something, e.g. based
 on their MAC address, like we do. That way, you are able to anticipate
 what their domain name is going to be. You then register an alias for
 that domain name with the alias name of whatever the customer wanted
 it to be called. Create a domain user that you use to connect all of
 these VM´s to the domain when the template machines start up, so that
 your customers can log in to their VM's with their regular domain
 accounts. And create a role in oVirt that you assign to this manager
 that is only permitted to do what it´s supposed to be doing, and
 nothing else; create VM, take snapshot, assign permissions, etc.
 
 What´s needed to get up and running with all of this?
 - A LOT!:S Thing is, I´ve done this so that it basically just works
 for us™, and not much done about making the code dynamic or flexible
 so you´re going to have to dig in and mod all of the config files so
 that it fits your situation accordingly. But I thought that since the
 basic grunt work is done, I might as well share it so that if anyone
 else gets the same idea, they won´t have to invent the entire wheel
 all over again, they´ll just have to make my wheel fit into their
 car:)
 
 Anyone who decides they´d like a shot at this, I´ll be more than happy
 helping with any questions you might have.
 
 Big thanks to you developers, who gave me directions about how to use
 the PythonSDK! I´d also like to give my warmest thanks to the guys at
 paperboardinc, especially Ning, who helped fixing up the
 authentication popup. Having an orderportal without an authentication
 would have been waaay to naive for anyone to stomach:)
 
 Screenshots are attached.
 
 -- 
 
 Med Vänliga Hälsningar
 ---
 Karli Sjöberg
 Swedish University of Agricultural Sciences
 Box 7079 (Visiting Address Kronåsvägen 8)
 S-750 07 Uppsala, Sweden
 Phone:  +46-(0)18-67 15 66
 karli.sjob...@slu.se 
 ___
 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] about using vlan or quantum in ovirt

2013-08-07 Thread Koch (ovido)


On Wed, 2013-08-07 at 20:18 +0800, lofyer wrote:
 How can we implement the following scenarios in current oVirt release?
 
 1. Suppot four VMs (VMA, VMB, VMC and VMD) run on the same Virtualization 
 node. VMA and VMB is in one subnet, while VMC and VMD is in another subnet. 
 VMA/VMB can communicate with VMC/VMD, or VMA/VMB can not communicate with 
 VMC/VMD.
 
  case1: can comunicate with
 subnet1  case2: can not comunicate with  subnet2  
  
 ++++
 |  +-+  +-+  [|  +-+  +-+  |
 |  | VMA |  | VMB |  ||  | VMC |  | VMD |  |
 |  +-+  +-+  ||  |-+  +-+  |
 ++++
  +--+ 
  |  Virtualization  |
  |  Node|
  +--+
|
 (LAN)
 
 
 2. Suppose VMA and VMC run on one Virtualization Node, while VMB and VMD run 
 on the other Virtualization Node. VMA and VMB is in one subnet, while VMC and 
 VMD is in another subnet. VMA/VMB can communicate with VMC/VMD, or VMA/VMB 
 can not communicate with VMC/VMD.
 
   case1: can comunicate with
 subnet1   case2: can not comunicate withsubnet2   
 
 +--+
 |   +-+|
 |  +-+  |  +---+   [  +-+  |  +---+
 |  | VMA |  |  |  +-+   |  |  | VMB |  |  |  +-+  |
 |  +-+  |  |  | VMC |   |  |  +-+  |  |  | VMD |  |
 +--+   |  +-+   |  +---+  |  +-+  |
|++|
+--+
 +--+   +--+
 |  Virtualization  |   |  Virtualization  |
 |  Node|   |  Node|
 +--+   +--+
   |  |
  (LAN)
 
 Can we do this with oVirt network (vlan tag)? If yes, how? If no, is Quantum 
 (Neutron) network OK? and where should we find more information in oVirt 
 documents?
 
 

Hi,

I would solve this in the following way:

1. configure 2 logical networks with vlans
e.g. lan1 (vlan id 100, ip network 10.0.0.0/24), lan2 (vlan id 200, ip
network 10.0.1.0/24)
2. assign vnics of vms to corresponding logical network
3. create firewall rules on firewall to allow/disallow communication (fw
must be in both vlans)

Hope this helps.


Regards,
René


 
 1 attachments
 vnet.txt(3K)
 download preview 
 
 
 
 ___
 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] glance and neutron deep dives on youtube

2013-08-07 Thread Koch (ovido)
I want to thank Frederico, Mike and Eli for preparing deep dive webinars
and thanks a lot for putting them on YouTube.
Sadly I couldn't participate, but will watch the slides and videos.

I hope you keep going with such webinars.


Again, thanks a lot!
René



On Tue, 2013-08-06 at 12:10 +0300, Itamar Heim wrote:
 On 08/03/2013 06:46 AM, Jason Brooks wrote:
 
  Hey everyone,
 
  To make them easier to access, I converted the Elluminate session
  recordings [1] for the recent Glance and Neutron integration deep
  dives into regular videos and put them up on YouTube:
 
  oVirt / Glance Integration Deep Dive:
   http://www.youtube.com/watch?v=_Nyi1xyiQnY
 
  oVirt / Neutron Integration Deep Dive:
   http://www.youtube.com/watch?v=S16AfFylcHk
 
  Regards, Jason
 
 
  [1] http://www.ovirt.org/OVirt_3.3_release_notes
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 thanks jason - can you please add these links to [1] above?
 
 I've added them to youtube ovirtproject channel
 http://www.youtube.com/ovirtproject
 
 Thanks,
 Itamar
 ___
 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] Nic names : always start by eth0

2013-07-30 Thread Koch (ovido)
Hi,

The easiest way is to remove 70-persistent-net.rules in your master-vm,
remove HWADDR-strings from ifcfg-eth* friles, shut it down and create
the template.
Btw, also remove your ssh-keys in your template to create unique ones
for each vm...


Regards,
René



On Tue, 2013-07-30 at 14:59 +0200, gregoire.le...@retenodus.net wrote:
 Hello,
 
 I have an ovirt cluster which runs CentOS VM. I have a template to 
 create VM. On this template, there are two interfaces, eth0 and eth1.
 When I create a VM using this template, the new interfaces are named 
 eth2 and eth3. It can be pretty annoying and I would like to know if it 
 would be possible to always start by eth0 ?
 
 If I remember the discussion on IRC, it would be necessary to clean old 
 udev rules (in centos it seems to be 
 /etc/udev/rules.d/70-persistent-net.rules)
 
 Thanks,
 Regards,
 Grégoire
 ___
 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] local repo for Fedora 18 based nodes

2013-07-30 Thread Koch (ovido)

On Tue, 2013-07-30 at 08:01 -0400, Sven Knohsalla wrote:
 Hi,
 
  
 
 we currently run F18 based nodes as oVirt 3.2.1 HVs.
 
 For installation it was necessary to have internet access for the
 nodes during the triggered setup from engine server.
 Which repo does the engine/HV need to make an offline installation
 possible:
 http://resources.ovirt.org/releases/stable/rpm/Fedora/18/ ?


Hi Sven,

yes, that's the right one...
 

 
 I wanted to setup a small repo server for the HVs on the engine itself
 (although need this for OSMA),
 do I need any custom configuration on the engine server therefore or
 is it sufficient to populate the repo file on the HVs?


All you have to do is to change the URL of ovirt.repo to point to your
repo-server...

Btw, you can also have a look at Spacewalk, but if you only want a
repo-server it may be an overkill: https://fedorahosted.org/spacewalk/


Regards,
René


 
  
 
 Thanks in advance!
 
  
 
 Best,
 
 Sven.
 
 
 
  
 
 Sven Knohsalla | System Administration
 
  
 
 Office +49 631 68036 433 | Fax +49 631 68036 111  |E-Mail
 s.knohsa...@netbiscuits.com | Skype: netbiscuits.admin 
 
 Netbiscuits GmbH | Europaallee 10 | 67657 | GERMANY
 
  
 
 https://my.netbiscuits.com/image/image_gallery?uuid=3a1a9d19-c305-4032-8cef-00b03c3d4c79groupId=10211t=1361534926402
 
  
 
  
 https://my.netbiscuits.com/image/image_gallery?uuid=3031deca-7e56-4417-9822-3d6d72f71ef0groupId=10211t=1347280983812
  
 https://my.netbiscuits.com/image/image_gallery?uuid=1d1a5e29-ceda-4ab1-9353-67a1e838364dgroupId=10211t=1347281040591
  
 https://my.netbiscuits.com/image/image_gallery?uuid=c99bf866-be25-4236-a0ee-dca68ec828a5groupId=10211t=1347280983848
  
 https://my.netbiscuits.com/image/image_gallery?uuid=d62ba951-14dc-450d-b5f1-be33884225e3groupId=10211t=1347280983872
  
 https://my.netbiscuits.com/image/image_gallery?uuid=7b28f500-f415-40bb-851f-0cd55beeaf45groupId=10211t=1347280983791
  
 https://my.netbiscuits.com/image/image_gallery?uuid=cc8764d0-a5ac-4623-bb63-da3ca7c97f94groupId=10211t=1347280983836
  
 https://my.netbiscuits.com/image/image_gallery?uuid=a15e871c-a11b-419c-acca-da5a0ebd5856groupId=10211t=1347281040599
 
 
 
 Register Court: Local Court Kaiserslautern | Commercial Register ID:
 HR B 3604
 Management Board: Guido Moggert, Michael Neidhöfer, Christian Reitz,
 Martin Süß
 
  
 
 This message and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. It may also be privileged or otherwise protected by
 work product immunity or other legal rules. Please notify the sender
 immediately by e-mail if you have received this e-mail by mistake and
 delete this e-mail from your system. If you are not the intended
 recipient you are notified that disclosing, copying, distributing or
 taking any action in reliance on the contents of this information is
 strictly prohibited.
 
 Warning: Although Netbiscuits has taken reasonable precautions to
 ensure no viruses are present in this email, the company cannot accept
 responsibility for any loss or damage arising from the use of this
 email or attachments.
 
  
 
 Beschreibung: Beschreibung:
 http://www.netbiscuits.com/image/image_gallery?uuid=0ba7711a-a277-4ea0-acb0-17fe13c3089dgroupId=10211t=1348560850164Please
  consider the environment before printing
 
  
 
 
 ___
 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] NFS data domain use host + local storage question

2013-07-25 Thread Koch (ovido)

On Thu, 2013-07-25 at 09:07 -0400, Jason Keltz wrote:
 Hi.
 
 I have a few questions about data domains...
 
 I'm not sure that I understand why when adding a new NFS data domain 
 what the Use Host is for?
 
  From the RHEV documentation -  All communication to the storage domain 
 is from the selected host and not directly from the Red Hat Enterprise 
 Virtualization Manager. At least one active host must be attached to the 
 chosen Data Center before the storage is configured. 
 
 .. but I'm puzzled..  don't all the nodes mount the NFS storage directly 
 from the NFS storage server?
 Is this saying that if I have two nodes, v1 and v2, and I say Use Host 
 v1 then v2 gets at storage through v1?  What if v1 is down?
 Don't all nodes need a connection to the logical storage network?


Hi,

You need a host to initialize the storage.
The host you have to choose with Use Host initially creates the data
structure,... on the storage.

Afterwards all host in your cluster will mount the storage and write
data for their vms. There's no one-node bottleneck.


 
 ---
 
 On the topic of local storage...
 Right now, I have one node with 1 disk (until some ordered equipment 
 arrives)...
 /data/images is /dev/mapper/HostVG-Data
 
 I want two of my nodes to store local data.  The majority of VMs will 
 use the NFS datastore, but a few VMs need local storage, and I'd like to 
 split these VMs across two nodes, so two nodes will have their own local 
 storage...


So you will have vm storage on node01, node02 and on your NFS storage,
right?


 
 If I was going to install local data on the node, I wouldn't install it 
 on the OS disk - I'd want another disk, or maybe even a few disks!If 
 I added another disk to this system, how would I go about making *this* 
 disk /data/images instead of the root disk? Do I have to reinstall the 
 node?

I would recommend to use LVM and add new disks into your logical
volume...


 
 I'm also puzzled by this statement: A local storage domain can be set 
 up on a host. When you set up host to use local storage, the host 
 automatically gets added to a new data center and cluster that no other 
 hosts can be added to. Multiple host clusters require that all hosts 
 have access to all storage domains, which is not possible with local 
 storage. Virtual machines created in a single host cluster cannot be 
 migrated, fenced or scheduled. 
 
 So .. let's say I have two nodes, both of them have some local disk, and 
 use the NFS data store.  I can see why I wouldn't be able to migrate a 
 host from one node to the other IF that has was using local data storage 
 for the specific virtual machine.  On the other hand, if it's a VM that 
 is NOT using local storage, and everything is in the NFS datastore, then 
 does this I can't migrate it because each host would have to be in its 
 own cluster only because it has local storage for *some* of the VMs!?


Each local storage host requires it's own datacenter and you can't mix a
datacenter with local storage with NFS storage.

What I would do in your case:
1. Use CentOS/Fedora hosts instead of oVirt-Node.
2. Configure NFS-Server on each Node.
3. Have 1 datacenter with 1 cluster and 2 nodes with storage type NFS.
4. Add 3 storage data domains (NFS-Share of each host and NFS-Share of
your main NFS server).
5. Bind vms with local NFS server to local host...

Or with GlusterFS:
1. Use CentOS/Fedora hosts instead of oVirt-Node.
2. Configure replicated GlusterFS volume over your 2 nodes
3. Have 1 datacenter with 1 cluster and 2 nodes with storage type NFS
4. Add 2 storage data domains (NFS-Share of GlusterFS volume and
NFS-Share of your main NFS server).

Disadvantage of GlusterFS with NFS: one of your 2 nodes is exporting the
NFS share and if this node is down your storage domain is down and you
have to manually fix the mount.


 
 Finally - I had previously asked about using MD RAID1 redundancy on the 
 root drive, which isn't available yet on the node.  Are there any 
 options for creating redundant local storage using MD RAID1, or it's the 
 same -- no redundancy on local storage unless you're using a RAID card 
 where the driver for that card has been integrated into the node?


MD-Raid or DRBD,... isn't possible, (yet?).
You could try GlusterFS 3.4 (replicated volume over your 2 nodes)...

Hope this helps.


Regards,
René


 
 Jason.
 ___
 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] NFS data domain use host + local storage question

2013-07-25 Thread Koch (ovido)

On Thu, 2013-07-25 at 09:55 -0400, Jason Keltz wrote:
 On 07/25/2013 09:27 AM, René Koch (ovido) wrote:
  On Thu, 2013-07-25 at 09:07 -0400, Jason Keltz wrote:
  Hi.
 
  I have a few questions about data domains...
 
  I'm not sure that I understand why when adding a new NFS data domain
  what the Use Host is for?
 
From the RHEV documentation -  All communication to the storage domain
  is from the selected host and not directly from the Red Hat Enterprise
  Virtualization Manager. At least one active host must be attached to the
  chosen Data Center before the storage is configured. 
 
  .. but I'm puzzled..  don't all the nodes mount the NFS storage directly
  from the NFS storage server?
  Is this saying that if I have two nodes, v1 and v2, and I say Use Host
  v1 then v2 gets at storage through v1?  What if v1 is down?
  Don't all nodes need a connection to the logical storage network?
 
  Hi,
 
  You need a host to initialize the storage.
  The host you have to choose with Use Host initially creates the data
  structure,... on the storage.
 
  Afterwards all host in your cluster will mount the storage and write
  data for their vms. There's no one-node bottleneck.
 
 Great!  Got it .. thanks..
 
  ---
 
  On the topic of local storage...
  Right now, I have one node with 1 disk (until some ordered equipment
  arrives)...
  /data/images is /dev/mapper/HostVG-Data
 
  I want two of my nodes to store local data.  The majority of VMs will
  use the NFS datastore, but a few VMs need local storage, and I'd like to
  split these VMs across two nodes, so two nodes will have their own local
  storage...
 
  So you will have vm storage on node01, node02 and on your NFS storage,
  right?
 
 
 All the VMs on node01 and node02 would be stored on the NFS datastore.
 Most of the VMs would have any required data stored on the NFS datastore 
 as well.
 A few of the VMs on node01 and node02 would have a requirement for a 
 local data store.
 
  If I was going to install local data on the node, I wouldn't install it
  on the OS disk - I'd want another disk, or maybe even a few disks!If
  I added another disk to this system, how would I go about making *this*
  disk /data/images instead of the root disk? Do I have to reinstall the
  node?
  I would recommend to use LVM and add new disks into your logical
  volume...
 If I added another disk, would I be able to remove the existing 
 datastore through the engine, and create a new one pointing at only the 
 new disk?


Afaik if you add another local data store the existing one will become
inaccessible from within oVirt. If I remember correctly a new datacenter
and new storage domain will be created and the original one will be
dropped from oVirt, but still contains data.


  I'm also puzzled by this statement: A local storage domain can be set
  up on a host. When you set up host to use local storage, the host
  automatically gets added to a new data center and cluster that no other
  hosts can be added to. Multiple host clusters require that all hosts
  have access to all storage domains, which is not possible with local
  storage. Virtual machines created in a single host cluster cannot be
  migrated, fenced or scheduled. 
 
  So .. let's say I have two nodes, both of them have some local disk, and
  use the NFS data store.  I can see why I wouldn't be able to migrate a
  host from one node to the other IF that has was using local data storage
  for the specific virtual machine.  On the other hand, if it's a VM that
  is NOT using local storage, and everything is in the NFS datastore, then
  does this I can't migrate it because each host would have to be in its
  own cluster only because it has local storage for *some* of the VMs!?
 
  Each local storage host requires it's own datacenter and you can't mix a
  datacenter with local storage with NFS storage.
 sigh.  This seems so rigid!  I understand, for example, why clusters 
 must encompass same CPU type.  I do not understand why a host cannot 
 connect to both local data storage, and NFS storage.
 
  What I would do in your case:
  1. Use CentOS/Fedora hosts instead of oVirt-Node.
  2. Configure NFS-Server on each Node.
  3. Have 1 datacenter with 1 cluster and 2 nodes with storage type NFS.
  4. Add 3 storage data domains (NFS-Share of each host and NFS-Share of
  your main NFS server).
  5. Bind vms with local NFS server to local host...
 I never thought of that... very interesting!   I was really trying not 
 to use anything but oVirt node to keep the implementation as simple as 
 possible. The only problem here if I understand correctly is that each 
 node is still accessing even its local data via NFS, in which case, they 
 might as well be storing the data on the NFS server itself!  :)


Yes, in this scenario a node accesses its local data via its local NFS
server. I have this setup in production on customer side where nodes
have a lot of disk space and I/O isn't a criteria.

I personally always

Re: [Users] Nagios monitoring plugin check_rhev3 1.2.1 released

2013-07-24 Thread Koch (ovido)


On Tue, 2013-07-23 at 18:11 +0200, Gianluca Cecchi wrote:
 On Tue, Jul 23, 2013 at 5:44 PM, René Koch (ovido) wrote:
 
  I'm happy to announce version 1.2.1 of check_rhev3.
 
  A detailed usage documentation can be found here:
  https://github.com/ovido/check_rhev3/wiki/Usage-Documentation
 
 
 
  Thank you for using check_rhev3.
 
 Inside the detailed doc
 
 All RHEV Checks are executed via RHEV REST-API, so the following
 requirements must be met:
 
 HTTPS connection from Monitoring server to RHEV Manager (default: TCP/8443)
 RHEV Admin user for REST-API login
 
 
 Can we somehow limit the power of the user?
 Is there a predefined role that has a sort of select all (such as
 'select any table' in Oracle terms) or could it be easily built and
 set?


This was required for RHEV 3.0, which was the version I initially wrote
the plugin for.

For newer versions (= 3.1) of oVirt and RHEV you only need the
following permissions (create new role for it, or is there a role
available in oVirt  3.2.1?):
Account Type: Admin
System - Configure System - Login Permissions

This allows a user to connect to REST-API (and Administrator Portal) and
read everything, but doesn't allow any changes (= read only).

I'll update the documentation.
Thanks for reporting this documentation bug.


Regards,
René



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


Re: [Users] Serve webpage on ovirt-engine machine

2013-07-24 Thread Koch (ovido)


On Wed, 2013-07-24 at 11:30 +0200, Neil wrote:
 Hi guys,
 
 I realise this probably isn't an oVirt issue, however I would like to
 ensure making any changes won't affect the access (or running) of my
 oVirt system.
 
 I'm trying to setup my oVirt engine machine to also run BackupPC
 however I have to disable the oVirt vhost in apache in order to access
 the BackupPC web front end on port 80.
 
 Is there a way to safely force the oVirt webadmin to only respond on
 port 443 so that I can run my BackupPC on port 80? No matter what I've
 tried so far with my vhosts the apache ajp always redirects all
 requests to the oVirt web admin login page on port 80 or 443.


You could either create apache vhosts for your different services or
just edit /etc/httpd/conf.d/ovirt-engine.conf and exclude your BackupPC
url from beeing passed to proxy url (add before ProxyPass option).
e.g (don't know exact BackupPC url, so you have to adapt):
ProxyPass /backuppc !
ProxyPass / ajp://localhost:8702/ retry=5 timeout=3600

Hope this helps.


Regards,
René



 
 Thank you, any guidance is appreciated.
 
 Regards.
 
 Neil Wilson.
 ___
 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] Nagios monitoring plugin check_rhev3 1.2.1 released

2013-07-24 Thread Koch (ovido)

On Wed, 2013-07-24 at 11:58 +0300, Itamar Heim wrote:
 On 07/24/2013 11:26 AM, René Koch (ovido) wrote:
 
 
  On Tue, 2013-07-23 at 18:11 +0200, Gianluca Cecchi wrote:
  On Tue, Jul 23, 2013 at 5:44 PM, René Koch (ovido) wrote:
 
  I'm happy to announce version 1.2.1 of check_rhev3.
 
  A detailed usage documentation can be found here:
  https://github.com/ovido/check_rhev3/wiki/Usage-Documentation
 
 
 
  Thank you for using check_rhev3.
 
  Inside the detailed doc
  
  All RHEV Checks are executed via RHEV REST-API, so the following
  requirements must be met:
 
  HTTPS connection from Monitoring server to RHEV Manager (default: TCP/8443)
  RHEV Admin user for REST-API login
  
 
  Can we somehow limit the power of the user?
  Is there a predefined role that has a sort of select all (such as
  'select any table' in Oracle terms) or could it be easily built and
  set?
 
 
  This was required for RHEV 3.0, which was the version I initially wrote
  the plugin for.
 
  For newer versions (= 3.1) of oVirt and RHEV you only need the
  following permissions (create new role for it, or is there a role
  available in oVirt  3.2.1?):
  Account Type: Admin
  System - Configure System - Login Permissions
 
 there should be a built-in 'viewer' role with this


In my oVirt 3.2.1 setup there's no such predefined role.
Was this maybe added later?


 
 
  This allows a user to connect to REST-API (and Administrator Portal) and
  read everything, but doesn't allow any changes (= read only).
 
  I'll update the documentation.
  Thanks for reporting this documentation bug.
 
 
 

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


[Users] Nagios monitoring plugin check_rhev3 1.2.1 released

2013-07-23 Thread Koch (ovido)

I'm happy to announce version 1.2.1 of check_rhev3.

check_rhev3 is a monitoring plugin for Icinga/Nagios and it's forks,
which is used to monitor datacenters, clusters, hosts, vms, vm pools and
storage domains of Red Hat Enterprise Virtualization (RHEV) and oVirt
virtualization environments.

Download this plugin from:
https://github.com/ovido/check_rhev3/releases/check_rhev3-1.2.1

For further information on how to install this plugin visit:
https://github.com/ovido/check_rhev3/wiki/Installation-Documentation

A detailed usage documentation can be found here:
https://github.com/ovido/check_rhev3/wiki/Usage-Documentation

Changelog:

  * Bug fixed: 
  * Fixed search regex for hosts and networks


If you have any questions or ideas, please drop me an email: ​
r.k...@ovido.at.

Thank you for using check_rhev3.



-- 
Best regards

René Koch
Senior Solution Architect


ovido gmbh - Das Linux Systemhaus
Brünner Straße 163, A-1210 Wien

Phone:   +43 720 / 530 670
Mobile:  +43 660 / 512 21 31
E-Mail:  r.k...@ovido.at




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


Re: [Users] Fwd: Nagios monitoring plugin check_rhev3 1.2 released

2013-05-27 Thread Koch (ovido)
On Thu, 2013-05-23 at 16:22 +0300, Sasha Chuzhoy wrote:
 On 05/23/2013 11:07 AM, René Koch (ovido) wrote:
  On Thu, 2013-05-23 at 10:55 +0300, Sasha Chuzhoy wrote:
  On 05/22/2013 05:18 PM, Itamar Heim wrote:
  On 05/22/2013 03:55 PM, René Koch (ovido) wrote:
  On Wed, 2013-05-22 at 14:59 +0300, Itamar Heim wrote:
   Original Message 
  Subject: [Users] Nagios monitoring plugin check_rhev3 1.2 released
  Date: Thu, 16 May 2013 16:31:24 +0200
  From: René Kochr.k...@ovido.at
  To: usersUsers@ovirt.org
 
  I'm happy to announce version 1.2 of check_rhev3.
 
  check_rhev3 is a monitoring plugin for Icinga/Nagios and it's forks,
  which is
  used to monitor datacenters, clusters, hosts, vms, vm pools and
  storage
  domains
  of Red Hat Enterprise Virtualization (RHEV) and oVirt virtualization
  environments.
 
  The download locations are
   *
  https://labs.ovido.at/download/check_rhev3/check_rhev3-1.2.tar.gz
   *
  https://labs.ovido.at/download/check_rhev3/nagios-plugins-rhev3-1.2-1.el6.i686.rpm
 
 
   *
  https://labs.ovido.at/download/check_rhev3/nagios-plugins-rhev3-1.2-1.el6.x86_64.rpm
 
 
 
  For further information on how to install this plugin visit:
 
  https://github.com/ovido/check_rhev3/wiki/Installation-Documentation
 
  A detailed usage documentation can be found here:
  https://github.com/ovido/check_rhev3/wiki/Usage-Documentation
 
 
  Changelog:
 
  - General:
  -   Moved project to github: https://github.com/ovido/check_rhev3
 
  - New features:
  -   Verify RHEV-M certificate
  -   Allow authentication sessions for authentication in RHEV= 3.1
  and
  oVirt= 3.1
  -   Use option -nnic  to check a specific nic
 
  - Bugs fixed:
  -   Performance data issue with check_multi
 
 
  If you have any questions or ideas, please drop me an email: ​
  r.k...@ovido.at.
 
  Thank you for using check_rhev3.
 
 
 
  Hi Rene,
 
  we deployed the plugin and noticed its flooding the event log with
  login
  events for the user its using via the REST API.
  can you please add persistent session to the REST API calls so login
  will happen only once and won't flood the log?
 
  http://www.ovirt.org/Features/RESTSessionManagement
 
  It's one of the features in the latest version (1.2):
 
 -o, --cookie
Use cookie based authenticated sessions (requires RHEV= 3.1)
 
 
  I implemented it in the following way:
  - Plugin checks if file with session cookie exists (per default
  in /var/tmp)
  - If not: login with username and password (that's why you need to
  specify auth pair or authfile) and fetch JSESSIONID
  -- Writes ID into session cookie file
  - If cookie file is found: login using JSESSIONID and ignore username
  and password. So you can change username/password and login will still
  work.
  - If login using session ID fails and cookie file exists, it will be
  deleted and a login with username and password is tried the next time
  the plugin is executed
 
  If you start the script with -vvv you can see if login is down with auth
  session or with username/password...
 
  I didn't test it with oVirt 3.2 (yet), but works fine in RHEV 3.1.
  well, we are trying it with next version of RHEV actually :)
  sasha - can you please start the script with -vvv to provide the log
  for login behavior?
 
  Here is all (I hope) the relevant data:
  [V] Starting the main script.
  [V] Checking which component to monitor.
  [D] check_host: Called function check_host.
  [V] Host: Checking host .
  [V] Host: No subcheck is specified, checking memory usage.
  [D] check_statistics: Called function check_statistics.
  [V] Statistics: Checking statistics of hosts.
  [D] check_statistics: Input parameter $component: hosts
  [D] check_statistics: Input parameter $search:
  [D] check_statistics: Input parameter $statistics: memory
  [D] check_statistics: Converting variables.
  [D] check_statistics: Converted variable $url: hosts
  [D] get_result: Called function get_result.
  [D] get_result: Input parameter $_[0]: /hosts?search=
  [D] get_result: Input parameter $xml: hosts
  [D] get_result: Input parameter $search: id
  [D] rhev_connect: Called function rhev_connect.
  [V] REST-API: Connecting to REST-API.
  [D] rhev_connect: Input parameter: /hosts?search=.
  [V] REST-API: RHEVM-API URL: https://hostname:8443/api/hosts?search=
  [V] REST-API: RHEVM-API User:username
  [V] REST-API: RHEVM-API Password:password
  [V] REST-API: cookie filename:
  bm90dDA0LmVuZy5sYWIudGx2LnJlZGhhdC5jb20tdmlld2VyQG5vdHQwNC5lbmcubGFiLnRsdi5y
  ZWRoYXQuY29tCg==
  [D] rhev_connect: Using username and password authentication.
  [V] REST-API: Cache-Control: no-cache
  Connection: close
  Date: Thu, 23 May 2013 07:50:33 GMT
  Pragma: No-cache
  Server: Apache-Coyote/1.1
  Content-Type: application/xml
  Expires: Thu, 01 Jan 1970 02:00:00 IST
  Client-Date: Thu, 23 May 2013 07:50:33 GMT
  Client-Peer: 10.35.16.97:8443
  Client-Response-Num: 1
  Client-SSL-Cert-Issuer: /C=US/O=Red Hat TLV/CN=CA-FQDN.31149

Re: [Users] Fwd: Nagios monitoring plugin check_rhev3 1.2 released

2013-05-23 Thread Koch (ovido)
On Thu, 2013-05-23 at 10:55 +0300, Sasha Chuzhoy wrote:
 On 05/22/2013 05:18 PM, Itamar Heim wrote:
  On 05/22/2013 03:55 PM, René Koch (ovido) wrote:
 
  On Wed, 2013-05-22 at 14:59 +0300, Itamar Heim wrote:
   Original Message 
  Subject: [Users] Nagios monitoring plugin check_rhev3 1.2 released
  Date: Thu, 16 May 2013 16:31:24 +0200
  From: René Koch r.k...@ovido.at
  To: users Users@ovirt.org
 
  I'm happy to announce version 1.2 of check_rhev3.
 
  check_rhev3 is a monitoring plugin for Icinga/Nagios and it's forks,
  which is
  used to monitor datacenters, clusters, hosts, vms, vm pools and 
  storage
  domains
  of Red Hat Enterprise Virtualization (RHEV) and oVirt virtualization
  environments.
 
  The download locations are
  * 
  https://labs.ovido.at/download/check_rhev3/check_rhev3-1.2.tar.gz
  *
  https://labs.ovido.at/download/check_rhev3/nagios-plugins-rhev3-1.2-1.el6.i686.rpm
   
 
 
  *
  https://labs.ovido.at/download/check_rhev3/nagios-plugins-rhev3-1.2-1.el6.x86_64.rpm
   
 
 
 
  For further information on how to install this plugin visit:
  
  https://github.com/ovido/check_rhev3/wiki/Installation-Documentation
 
  A detailed usage documentation can be found here:
  https://github.com/ovido/check_rhev3/wiki/Usage-Documentation
 
 
  Changelog:
 
  - General:
  -   Moved project to github: https://github.com/ovido/check_rhev3
 
  - New features:
  -   Verify RHEV-M certificate
  -   Allow authentication sessions for authentication in RHEV = 3.1 
  and
  oVirt = 3.1
  -   Use option -n nic to check a specific nic
 
  - Bugs fixed:
  -   Performance data issue with check_multi
 
 
  If you have any questions or ideas, please drop me an email: ​
  r.k...@ovido.at.
 
  Thank you for using check_rhev3.
 
 
 
 
  Hi Rene,
 
  we deployed the plugin and noticed its flooding the event log with 
  login
  events for the user its using via the REST API.
  can you please add persistent session to the REST API calls so login
  will happen only once and won't flood the log?
 
  http://www.ovirt.org/Features/RESTSessionManagement
 
 
  It's one of the features in the latest version (1.2):
 
-o, --cookie
   Use cookie based authenticated sessions (requires RHEV = 3.1)
 
 
  I implemented it in the following way:
  - Plugin checks if file with session cookie exists (per default
  in /var/tmp)
  - If not: login with username and password (that's why you need to
  specify auth pair or authfile) and fetch JSESSIONID
  -- Writes ID into session cookie file
  - If cookie file is found: login using JSESSIONID and ignore username
  and password. So you can change username/password and login will still
  work.
  - If login using session ID fails and cookie file exists, it will be
  deleted and a login with username and password is tried the next time
  the plugin is executed
 
  If you start the script with -vvv you can see if login is down with auth
  session or with username/password...
 
  I didn't test it with oVirt 3.2 (yet), but works fine in RHEV 3.1.
 
  well, we are trying it with next version of RHEV actually :)
  sasha - can you please start the script with -vvv to provide the log 
  for login behavior?
 
 Here is all (I hope) the relevant data:
 [V] Starting the main script.
 [V] Checking which component to monitor.
 [D] check_host: Called function check_host.
 [V] Host: Checking host .
 [V] Host: No subcheck is specified, checking memory usage.
 [D] check_statistics: Called function check_statistics.
 [V] Statistics: Checking statistics of hosts.
 [D] check_statistics: Input parameter $component: hosts
 [D] check_statistics: Input parameter $search:
 [D] check_statistics: Input parameter $statistics: memory
 [D] check_statistics: Converting variables.
 [D] check_statistics: Converted variable $url: hosts
 [D] get_result: Called function get_result.
 [D] get_result: Input parameter $_[0]: /hosts?search=
 [D] get_result: Input parameter $xml: hosts
 [D] get_result: Input parameter $search: id
 [D] rhev_connect: Called function rhev_connect.
 [V] REST-API: Connecting to REST-API.
 [D] rhev_connect: Input parameter: /hosts?search=.
 [V] REST-API: RHEVM-API URL: https://hostname:8443/api/hosts?search=
 [V] REST-API: RHEVM-API User: username
 [V] REST-API: RHEVM-API Password: password
 [V] REST-API: cookie filename: 
 bm90dDA0LmVuZy5sYWIudGx2LnJlZGhhdC5jb20tdmlld2VyQG5vdHQwNC5lbmcubGFiLnRsdi5y
 ZWRoYXQuY29tCg==
 [D] rhev_connect: Using username and password authentication.
 [V] REST-API: Cache-Control: no-cache
 Connection: close
 Date: Thu, 23 May 2013 07:50:33 GMT
 Pragma: No-cache
 Server: Apache-Coyote/1.1
 Content-Type: application/xml
 Expires: Thu, 01 Jan 1970 02:00:00 IST
 Client-Date: Thu, 23 May 2013 07:50:33 GMT
 Client-Peer: 10.35.16.97:8443
 Client-Response-Num: 1
 Client-SSL-Cert-Issuer: /C=US/O=Red Hat TLV/CN=CA-FQDN.31149
 Client-SSL-Cert-Subject: /C=US/O=Red Hat TLV/CN=FQDN
 Client-SSL-Cipher: DHE-RSA-AES256-SHA
 Client-SSL-Warning: Peer

Re: [Users] Fwd: Nagios monitoring plugin check_rhev3 1.2 released

2013-05-23 Thread Koch (ovido)

On Thu, 2013-05-23 at 11:11 +0300, Itamar Heim wrote:
 On 05/23/2013 11:07 AM, René Koch (ovido) wrote:
  On Thu, 2013-05-23 at 10:55 +0300, Sasha Chuzhoy wrote:
  On 05/22/2013 05:18 PM, Itamar Heim wrote:
  On 05/22/2013 03:55 PM, René Koch (ovido) wrote:
 
  On Wed, 2013-05-22 at 14:59 +0300, Itamar Heim wrote:
   Original Message 
  Subject: [Users] Nagios monitoring plugin check_rhev3 1.2 released
  Date: Thu, 16 May 2013 16:31:24 +0200
  From: René Koch r.k...@ovido.at
  To: users Users@ovirt.org
 
  I'm happy to announce version 1.2 of check_rhev3.
 
  check_rhev3 is a monitoring plugin for Icinga/Nagios and it's forks,
  which is
  used to monitor datacenters, clusters, hosts, vms, vm pools and
  storage
  domains
  of Red Hat Enterprise Virtualization (RHEV) and oVirt virtualization
  environments.
 
  The download locations are
   *
  https://labs.ovido.at/download/check_rhev3/check_rhev3-1.2.tar.gz
   *
  https://labs.ovido.at/download/check_rhev3/nagios-plugins-rhev3-1.2-1.el6.i686.rpm
 
 
   *
  https://labs.ovido.at/download/check_rhev3/nagios-plugins-rhev3-1.2-1.el6.x86_64.rpm
 
 
 
  For further information on how to install this plugin visit:
 
  https://github.com/ovido/check_rhev3/wiki/Installation-Documentation
 
  A detailed usage documentation can be found here:
  https://github.com/ovido/check_rhev3/wiki/Usage-Documentation
 
 
  Changelog:
 
  - General:
  -   Moved project to github: https://github.com/ovido/check_rhev3
 
  - New features:
  -   Verify RHEV-M certificate
  -   Allow authentication sessions for authentication in RHEV = 3.1
  and
  oVirt = 3.1
  -   Use option -n nic to check a specific nic
 
  - Bugs fixed:
  -   Performance data issue with check_multi
 
 
  If you have any questions or ideas, please drop me an email: ​
  r.k...@ovido.at.
 
  Thank you for using check_rhev3.
 
 
 
 
  Hi Rene,
 
  we deployed the plugin and noticed its flooding the event log with
  login
  events for the user its using via the REST API.
  can you please add persistent session to the REST API calls so login
  will happen only once and won't flood the log?
 
  http://www.ovirt.org/Features/RESTSessionManagement
 
 
  It's one of the features in the latest version (1.2):
 
 -o, --cookie
Use cookie based authenticated sessions (requires RHEV = 3.1)
 
 
  I implemented it in the following way:
  - Plugin checks if file with session cookie exists (per default
  in /var/tmp)
  - If not: login with username and password (that's why you need to
  specify auth pair or authfile) and fetch JSESSIONID
  -- Writes ID into session cookie file
  - If cookie file is found: login using JSESSIONID and ignore username
  and password. So you can change username/password and login will still
  work.
  - If login using session ID fails and cookie file exists, it will be
  deleted and a login with username and password is tried the next time
  the plugin is executed
 
  If you start the script with -vvv you can see if login is down with auth
  session or with username/password...
 
  I didn't test it with oVirt 3.2 (yet), but works fine in RHEV 3.1.
 
  well, we are trying it with next version of RHEV actually :)
  sasha - can you please start the script with -vvv to provide the log
  for login behavior?
 
  Here is all (I hope) the relevant data:
  [V] Starting the main script.
  [V] Checking which component to monitor.
  [D] check_host: Called function check_host.
  [V] Host: Checking host .
  [V] Host: No subcheck is specified, checking memory usage.
  [D] check_statistics: Called function check_statistics.
  [V] Statistics: Checking statistics of hosts.
  [D] check_statistics: Input parameter $component: hosts
  [D] check_statistics: Input parameter $search:
  [D] check_statistics: Input parameter $statistics: memory
  [D] check_statistics: Converting variables.
  [D] check_statistics: Converted variable $url: hosts
  [D] get_result: Called function get_result.
  [D] get_result: Input parameter $_[0]: /hosts?search=
  [D] get_result: Input parameter $xml: hosts
  [D] get_result: Input parameter $search: id
  [D] rhev_connect: Called function rhev_connect.
  [V] REST-API: Connecting to REST-API.
  [D] rhev_connect: Input parameter: /hosts?search=.
  [V] REST-API: RHEVM-API URL: https://hostname:8443/api/hosts?search=
  [V] REST-API: RHEVM-API User: username
  [V] REST-API: RHEVM-API Password: password
  [V] REST-API: cookie filename:
  bm90dDA0LmVuZy5sYWIudGx2LnJlZGhhdC5jb20tdmlld2VyQG5vdHQwNC5lbmcubGFiLnRsdi5y
  ZWRoYXQuY29tCg==
  [D] rhev_connect: Using username and password authentication.
  [V] REST-API: Cache-Control: no-cache
  Connection: close
  Date: Thu, 23 May 2013 07:50:33 GMT
  Pragma: No-cache
  Server: Apache-Coyote/1.1
  Content-Type: application/xml
  Expires: Thu, 01 Jan 1970 02:00:00 IST
  Client-Date: Thu, 23 May 2013 07:50:33 GMT
  Client-Peer: 10.35.16.97:8443
  Client-Response-Num: 1
  Client-SSL-Cert-Issuer: /C=US/O=Red Hat TLV/CN=CA-FQDN

Re: [Users] Fwd: Nagios monitoring plugin check_rhev3 1.2 released

2013-05-23 Thread Koch (ovido)

On Thu, 2013-05-23 at 11:22 +0300, Itamar Heim wrote:
 On 05/23/2013 11:21 AM, René Koch (ovido) wrote:
 
  On Thu, 2013-05-23 at 11:11 +0300, Itamar Heim wrote:
  On 05/23/2013 11:07 AM, René Koch (ovido) wrote:
  On Thu, 2013-05-23 at 10:55 +0300, Sasha Chuzhoy wrote:
  On 05/22/2013 05:18 PM, Itamar Heim wrote:
  On 05/22/2013 03:55 PM, René Koch (ovido) wrote:
 
  On Wed, 2013-05-22 at 14:59 +0300, Itamar Heim wrote:
   Original Message 
  Subject: [Users] Nagios monitoring plugin check_rhev3 1.2 released
  Date: Thu, 16 May 2013 16:31:24 +0200
  From: René Koch r.k...@ovido.at
  To: users Users@ovirt.org
 
  I'm happy to announce version 1.2 of check_rhev3.
 
  check_rhev3 is a monitoring plugin for Icinga/Nagios and it's forks,
  which is
  used to monitor datacenters, clusters, hosts, vms, vm pools and
  storage
  domains
  of Red Hat Enterprise Virtualization (RHEV) and oVirt virtualization
  environments.
 
  The download locations are
*
  https://labs.ovido.at/download/check_rhev3/check_rhev3-1.2.tar.gz
*
  https://labs.ovido.at/download/check_rhev3/nagios-plugins-rhev3-1.2-1.el6.i686.rpm
 
 
*
  https://labs.ovido.at/download/check_rhev3/nagios-plugins-rhev3-1.2-1.el6.x86_64.rpm
 
 
 
  For further information on how to install this plugin visit:
 
  https://github.com/ovido/check_rhev3/wiki/Installation-Documentation
 
  A detailed usage documentation can be found here:
  https://github.com/ovido/check_rhev3/wiki/Usage-Documentation
 
 
  Changelog:
 
  - General:
  -   Moved project to github: https://github.com/ovido/check_rhev3
 
  - New features:
  -   Verify RHEV-M certificate
  -   Allow authentication sessions for authentication in RHEV = 3.1
  and
  oVirt = 3.1
  -   Use option -n nic to check a specific nic
 
  - Bugs fixed:
  -   Performance data issue with check_multi
 
 
  If you have any questions or ideas, please drop me an email: ​
  r.k...@ovido.at.
 
  Thank you for using check_rhev3.
 
 
 
 
  Hi Rene,
 
  we deployed the plugin and noticed its flooding the event log with
  login
  events for the user its using via the REST API.
  can you please add persistent session to the REST API calls so login
  will happen only once and won't flood the log?
 
  http://www.ovirt.org/Features/RESTSessionManagement
 
 
  It's one of the features in the latest version (1.2):
 
  -o, --cookie
 Use cookie based authenticated sessions (requires RHEV = 3.1)
 
 
  I implemented it in the following way:
  - Plugin checks if file with session cookie exists (per default
  in /var/tmp)
  - If not: login with username and password (that's why you need to
  specify auth pair or authfile) and fetch JSESSIONID
  -- Writes ID into session cookie file
  - If cookie file is found: login using JSESSIONID and ignore username
  and password. So you can change username/password and login will still
  work.
  - If login using session ID fails and cookie file exists, it will be
  deleted and a login with username and password is tried the next time
  the plugin is executed
 
  If you start the script with -vvv you can see if login is down with 
  auth
  session or with username/password...
 
  I didn't test it with oVirt 3.2 (yet), but works fine in RHEV 3.1.
 
  well, we are trying it with next version of RHEV actually :)
  sasha - can you please start the script with -vvv to provide the log
  for login behavior?
 
  Here is all (I hope) the relevant data:
  [V] Starting the main script.
  [V] Checking which component to monitor.
  [D] check_host: Called function check_host.
  [V] Host: Checking host .
  [V] Host: No subcheck is specified, checking memory usage.
  [D] check_statistics: Called function check_statistics.
  [V] Statistics: Checking statistics of hosts.
  [D] check_statistics: Input parameter $component: hosts
  [D] check_statistics: Input parameter $search:
  [D] check_statistics: Input parameter $statistics: memory
  [D] check_statistics: Converting variables.
  [D] check_statistics: Converted variable $url: hosts
  [D] get_result: Called function get_result.
  [D] get_result: Input parameter $_[0]: /hosts?search=
  [D] get_result: Input parameter $xml: hosts
  [D] get_result: Input parameter $search: id
  [D] rhev_connect: Called function rhev_connect.
  [V] REST-API: Connecting to REST-API.
  [D] rhev_connect: Input parameter: /hosts?search=.
  [V] REST-API: RHEVM-API URL: https://hostname:8443/api/hosts?search=
  [V] REST-API: RHEVM-API User: username
  [V] REST-API: RHEVM-API Password: password
  [V] REST-API: cookie filename:
  bm90dDA0LmVuZy5sYWIudGx2LnJlZGhhdC5jb20tdmlld2VyQG5vdHQwNC5lbmcubGFiLnRsdi5y
  ZWRoYXQuY29tCg==
  [D] rhev_connect: Using username and password authentication.
  [V] REST-API: Cache-Control: no-cache
  Connection: close
  Date: Thu, 23 May 2013 07:50:33 GMT
  Pragma: No-cache
  Server: Apache-Coyote/1.1
  Content-Type: application/xml
  Expires: Thu, 01 Jan 1970 02:00:00 IST
  Client-Date: Thu, 23 May 2013 07:50:33

Re: [Users] Engine-config -s small problem

2013-05-17 Thread Koch (ovido)
Hi,

No, oVirt isn't aware of config changes - it's by design, not a bug.

You always have to restart engine when changing values (as noted in
engine-config help text).

# engine-config -h
snip
### 2. In order for your change(s) to take effect,
###restart the oVirt engine service (using: 'service ovirt-engine
restart').


Regards,
René



On Fri, 2013-05-17 at 13:57 +0200, noc wrote:
 Hi All,
 
 Don't know if this is documented somewhere but I ran into an interesting 
 problem yesterday. First we had intermittent problems with ssh 
 connecting to VMs which we traced to having two oVirt installation being 
 active in one subnet. Found the post from January where it is explained 
 how engine allocates its mac address pool and how to set it with 
 engine-config -s MacPoolRanges. Today I remembered that I had done that 
 when I was about to start a VM and removed the nic from the VM and added 
 it back. To my surprise it got the same macaddress as it had (from the 
 old range). On a hunch I restarted ovirt-engine and redid the remove/add 
 operation and now it got a new mac address from the range specified.
 Shouldn't the engine be aware that the config is changed if you use 
 engine-config and reload its cached values from the database?
 I expected this but it seems not to be the case, bug or by design.
 
 Joop
 
 --
 irc: jvandewege
 
 ___
 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] help with ovirtsdk api

2013-05-17 Thread Koch (ovido)
Hi,


On Thu, 2013-05-16 at 19:47 +0300, Itamar Heim wrote:
 On 05/14/2013 05:47 PM, Thakker, Dhawal wrote:
  Hi ALL,
 
  We have multiple version of RHEV  within our infrastructure. I have
  written a script (using example available on internet) which could
  search a VM in multiple RHEV instance, display stats of vms and of
  hypervisors.
 
  However, I am unable to find any documentation or examples which could
  help me to group hypervisors based on cluster name and show the storage
  stats for each storage domain.
 
  Any help would be appreciated.
 
 bcc'd infra and cc'd users@ovirt.org which is more correct for this 
 question[1]
 
 per your question - can you please give an example of what you are 
 trying to accomplish?


If you can specify in more detail what you want to do I can maybe help
you getting the right API calls/queries.

To my understanding you want to list all hypervisors (and stats, too?)
grouped by cluster name, right?
cluster01:
- host01
- host02
cluster02:
- host03
- host04

And you also want to display storage stats for each storage domain.
Should they also be grouped in any way or is it just displaying stats?

Btw, do you use one of the SDKs (Python/Java), ovirt-shell or are you
connecting to REST-API directly (using curl, perl LWP::UserAgent,...)?


Regards,
René



 
 Thanks,
 Itamar
 
 [1] well, since its rhev and not ovirt, red hat support is also a viable 
 option.
 
 
  Thanks,
 
  Dhawal.
 
  This email is confidential and should not be used by anyone who is not
  the original intended recipient. PGDS cannot accept liability for
  statements made which are clearly the sender's own and not made on
  behalf of the company. In addition no statement should be construed as
  giving investment advice within or outside the United Kingdom.PP
 
  PGDS (UK ONE) LIMITED, Laurence Pountney Hill, London, EC4R 0HH.P
  Incorporated and registered in England and Wales. Registered Office as
  above. Registered number 1967719.PP
 
  PGDS is the trading name of certain subsidiaries of Prudential plc
  (registered in England, number 1397169), whose registered office is at
  Laurence Pountney Hill London EC4R OHH, some of whose subsidiaries are
  regulated by the Financial Services Authority. Prudential plc is not
  affiliated in any manner with Prudential Financial, Inc, a company whose
  principal place of business is in the United States of America.PP
 
  A list of other Prudential companies together with their registered
  statutory details can be found in 'About Prudential' on
  http://www.prudential.co.ukPP
 
  An e-mail reply to this address may be subject to interception or
  monitoring for operational reasons or for lawful business practices.PP
 
 
 
  ___
  Infra mailing list
  in...@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/infra
 
 
 ___
 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] Nagios monitoring plugin check_rhev3 1.2 released

2013-05-17 Thread Koch (ovido)

On Thu, 2013-05-16 at 17:03 +0200, Ernest Beinrohr wrote:
 On 16.05.2013 16:31, René Koch wrote:
 
  I'm happy to announce version 1.2 of check_rhev3.
  
  
 
 Thank you, this is quite useful for us.

I hope it's useful :)

If there are some features missing please let me know, too.
 
 
 -- 
 Ernest Beinrohr, AXON PRO
 Ing, RHCE, RHCVA, LPIC, +421-2--6241-0360, +421-903--482-603
 icq:28153343, skype:oernii-work, jabber:oer...@jabber.org 
 
 __
 “The bureaucracy is expanding to meet the needs of the expanding
 bureaucracy.” ― Oscar Wilde 

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


Re: [Users] WG: Nagios monitoring plugin check_rhev3 1.2 released

2013-05-16 Thread René Koch (ovido)

Hi Sven,

yes it's also working with oVirt 3.2.1.


Regards,
René



On 05/16/2013 04:59 PM, Sven Knohsalla wrote:

Hi René,

is this plugin also compatible with oVirt 3.2.1 ?

Thanks in advance!

Best, Sven.

-Ursprüngliche Nachricht-
Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von 
René Koch
Gesendet: Donnerstag, 16. Mai 2013 16:31
An: users
Betreff: [Users] Nagios monitoring plugin check_rhev3 1.2 released

I'm happy to announce version 1.2 of check_rhev3.

check_rhev3 is a monitoring plugin for Icinga/Nagios and it's forks, which is 
used to monitor datacenters, clusters, hosts, vms, vm pools and storage domains 
of Red Hat Enterprise Virtualization (RHEV) and oVirt virtualization 
environments.

The download locations are
   * https://labs.ovido.at/download/check_rhev3/check_rhev3-1.2.tar.gz
   * 
https://labs.ovido.at/download/check_rhev3/nagios-plugins-rhev3-1.2-1.el6.i686.rpm
   * 
https://labs.ovido.at/download/check_rhev3/nagios-plugins-rhev3-1.2-1.el6.x86_64.rpm

For further information on how to install this plugin visit:
   https://github.com/ovido/check_rhev3/wiki/Installation-Documentation

A detailed usage documentation can be found here:
https://github.com/ovido/check_rhev3/wiki/Usage-Documentation


Changelog:

- General:
-   Moved project to github: https://github.com/ovido/check_rhev3

- New features:
-   Verify RHEV-M certificate
-   Allow authentication sessions for authentication in RHEV = 3.1 and oVirt 
= 3.1
-   Use option -n nic to check a specific nic

- Bugs fixed:
-   Performance data issue with check_multi


If you have any questions or ideas, please drop me an email: ​ r.k...@ovido.at.

Thank you for using check_rhev3.



--
Best Regards

René Koch
Senior Solution Architect


ovido gmbh - Das Linux Systemhaus
Brünner Straße 163, A-1210 Wien

Phone:   +43 720 / 530 670
Mobile:  +43 660 / 512 21 31
E-Mail: 


___
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] Vlan interface on top of bonding

2013-05-13 Thread René Koch (ovido)

On 05/09/2013 08:55 AM, Moti Asayag wrote:



- Original Message -

From: René Koch r.k...@ovido.at
To: Juan Pablo Lorier jplor...@gmail.com
Cc: users@ovirt.org
Sent: Wednesday, May 8, 2013 11:15:04 PM
Subject: Re: [Users] Vlan interface on top of bonding

Hi,

vlan tagging for ovirtmgmt interface is a bit tricky.

Here's how I do it:
- configure vlan tag on host(s) and switch - imho not necessary to have a
ovirtmgmt bridge available but vlan tagging configured for your ovirtmgmt
network on your ethx or bondx interface


ovirt-engine supports configuration of the ovirtmgmt as a non-vm network, 
untagged.
And on top of that nic (bond in this specific case) configure all of the vlans.

The advantage of this setting is not requiring to perform any manual 
configuration at all.
The disadvantage is the inability to connect VMs through the ovirtmgmt network, 
which
requires configuring at least one VM network on any of the hosts in order to be 
able to
configure nics on the VMs.



Thanks a lot. I never tried this before.

As there are repeating questions about networking I'll try to find some 
time this week to write a networking documentation (bonding, vlan 
tagging, non-vm networks,...) in oVirt wiki this week.







- create a new datacenter (without hosts in it!)


With the fix for https://bugzilla.redhat.com/909820 (merged), any network can 
be editing,
in spite of it's configured on hosts. It will result with network being marked 
as 'not synced'
on the host.


- edit ovirtmgmt logical network (if it's not possible: delete it and create
new interface ovirtmgmt with vlan tag)
- put host(s) in new datacenter
- configure network from oVirt webadmin gui (maybe you have to uncheck
verify connectivity between engine and hosts)

I can't say for sure if the steps above will work - maybe you have to do more
directly on the host.
Did a few setups with tagged ovirtmgmt interfaces in oVirt and RHEV but newer
wrote down a definitive guide for it :(


Regards,
René



-Original message-

From:Juan Pablo Lorier jplor...@gmail.com
Sent: Wednesday 8th May 2013 21:14
To: René Koch r.k...@ovido.at
Cc: users@ovirt.org
Subject: Re: [Users] Vlan interface on top of bonding

Hi René,

Tanks for your help. I've tried in the direction you pointed and I was
able to share the bond among other tagged networks. One of the problems
would be how to edit ovirtmgmt network now that it's created, I just
can't find in the way to do it by the web. I've tried starting a hole
new datacenter, but it creates the network and disables all changes.
Thus, I can't mark the ovirtmgmt network as tagged and add other tagged
networks to the bond.
I can't tag the management network neither not use it, so I'm kind of
stuck again.
Regards,


On 08/05/13 11:51, René Koch (ovido) wrote:

Hi,

first of all welcome to the oVirt project.

Did you configure vlan tagging for your ovirtmgmt network?
If you're using vlan tagging on (bonded) interfaces in oVirt you have to
add a vlan tag to all logical networks - can't mix tagged and untagged
logical networks.

e.g (same for bonds as well):
Name - VLAN- Network Name
eth0 - eth0.10 - ovirtmgmt
eth0.11 - lan1
eth0.12 - lan2

Hope this helps.






___
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] NFS domain and LVM

2013-05-07 Thread Koch (ovido)
Hi,

I just rebooted my NFS server which hosts a ISO domain which is used by
RHEV 3.1 and oVirt 3.2. In both environments the ISO domain became
inactive and I tried to activate it again.
In RHEV this worked fine, but in oVirt it didn't.

Just for your information: both - RHEV and oVirt use Local on host as
datacenter storage type.
I normally use a local NFS server and mount the share locally (dc with
storage type NFS) as Local on host is making troubles in most of my
setups (in both - oVirt and RHEV) and the issues are mainly missing
(sometimes lost) volume groups.
As my oVirt 3.2 setup is a testing environment and my test vms are still
running, I'll keep it in this state for finding a solution for this. As
said, have seen issues like this more then one time before, so maybe
this is a bug and need some attention (can also open a bug report if
needed).


vdsm.log is telling me that the storage domain doesn't exist (as
complained by vdsm daemon):

2013-05-07 16:44:18,493 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.ActivateStorageDomainVDSCommand] 
(pool-3-thread-47) [210a0bcb] START, ActivateStorageDomainVDSCommand( 
storagePoolId = 484e62d7-7a01-4b5e-aec8-59d366100281, ignoreFailoverLimit = 
false, compatabilityVersion = null, storageDomainId = 
a4c43175-ce34-49a5-8608-cac573bf7647), log id: 33c54af7
2013-05-07 16:44:20,770 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(pool-3-thread-47) [210a0bcb] Failed in ActivateStorageDomainVDS method
2013-05-07 16:44:20,781 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(pool-3-thread-47) [210a0bcb] Error code StorageDomainDoesNotExist and
error message IRSGenericException: IRSErrorException: Failed to
ActivateStorageDomainVDS, error = Storage domain does not exist:
('a4c43175-ce34-49a5-8608-cac573bf7647',)
2013-05-07 16:44:20,791 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(pool-3-thread-47) [210a0bcb]
IrsBroker::Failed::ActivateStorageDomainVDS due to: IRSErrorException:
IRSGenericException: IRSErrorException: Failed to
ActivateStorageDomainVDS, error = Storage domain does not exist:
('a4c43175-ce34-49a5-8608-cac573bf7647',)


More interesting is the behavior of my host (CentOS 6.4) which tries to
find a logical volume and is doing some iSCSI-scans:

Thread-224450::DEBUG::2013-05-07
16:44:19,333::task::957::TaskManager.Task::(_decref)
Task=`ab00697e-32df-43b1-822b-a94bef55909d`::ref 0 aborting False
Thread-1129392::DEBUG::2013-05-07
16:44:20,555::misc::84::Storage.Misc.excCmd::(lambda) '/usr/bin/sudo
-n /sbin/multipath' (cwd None)
Thread-1129392::DEBUG::2013-05-07
16:44:20,608::misc::84::Storage.Misc.excCmd::(lambda) SUCCESS: err =
''; rc = 0
Thread-1129392::DEBUG::2013-05-07
16:44:20,609::lvm::477::OperationMutex::(_invalidateAllPvs) Operation
'lvm invalidate operation' got the operation mutex
Thread-1129392::DEBUG::2013-05-07
16:44:20,609::lvm::479::OperationMutex::(_invalidateAllPvs) Operation
'lvm invalidate operation' released the operation mutex
Thread-1129392::DEBUG::2013-05-07
16:44:20,609::lvm::488::OperationMutex::(_invalidateAllVgs) Operation
'lvm invalidate operation' got the operation mutex
Thread-1129392::DEBUG::2013-05-07
16:44:20,610::lvm::490::OperationMutex::(_invalidateAllVgs) Operation
'lvm invalidate operation' released the operation mutex
Thread-1129392::DEBUG::2013-05-07
16:44:20,610::lvm::508::OperationMutex::(_invalidateAllLvs) Operation
'lvm invalidate operation' got the operation mutex
Thread-1129392::DEBUG::2013-05-07
16:44:20,610::lvm::510::OperationMutex::(_invalidateAllLvs) Operation
'lvm invalidate operation' released the operation mutex
Thread-1129392::DEBUG::2013-05-07
16:44:20,610::misc::1064::SamplingMethod::(__call__) Returning last
result
Thread-1129392::DEBUG::2013-05-07
16:44:20,610::lvm::368::OperationMutex::(_reloadvgs) Operation 'lvm
reload operation' got the operation mutex
Thread-1129392::DEBUG::2013-05-07
16:44:20,612::misc::84::Storage.Misc.excCmd::(lambda) '/usr/bin/sudo
-n /sbin/lvm vgs --config  devices { preferred_names = [\
\^/dev/mapper/\\
] ignore_suspended_devices=1 write_cache_state=0
disable_after_error_count=3 filter = [ \\r%.*%\\ ] }  global {
locking_type=1  prioritise_write_locks=1  wait_for_locks=1 }  back
up {  retain_min = 50  retain_days = 0 }  --noheadings --units b
--nosuffix --separator | -o
uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_fr
ee a4c43175-ce34-49a5-8608-cac573bf7647' (cwd None)
Thread-1129392::DEBUG::2013-05-07
16:44:20,759::misc::84::Storage.Misc.excCmd::(lambda) FAILED: err =
'  Volume group a4c43175-ce34-49a5-8608-cac573bf7647 not found\n';
rc =
 5
Thread-1129392::WARNING::2013-05-07
16:44:20,760::lvm::373::Storage.LVM::(_reloadvgs) lvm vgs failed: 5 []
['  Volume group a4c43175-ce34-49a5-8608-cac573bf7647 not found']
Thread-1129392::DEBUG::2013-05-07
16:44:20,760::lvm::397::OperationMutex::(_reloadvgs) Operation 'lvm
reload operation' released the operation mutex

Re: [Users] High Availability OVirt

2013-04-19 Thread Koch (ovido)
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)



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/users

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


Re: [Users] Ipa server inside ovirt itself. ..

2013-04-12 Thread Koch (ovido)
Hi,

I don't see big issues, as you can always log into oVirt as
admin@internal and start/stop/reset/... your IPA-vm.

If your other vms use IPA for authentication (e.g. for service SSH) you
can configure sssd for caching credentials if your IPA server is
unavailable. ipa-client-install is doing it automatically, btw.


Regards,
René



On Fri, 2013-04-12 at 09:20 +0200, Gianluca Cecchi wrote:
 Hello,  I have a test environment where I am short of hw.
 My engine is based on fedora 18 and I would like to test freeipa on
 centos 6.
 What are the drawbacks of creating a vm that is also one
 authentication domain for ovirt itself (apart the obvious ones)? 
 Can i set it so that is the first to start? 
 Can i set a subset of VMs to start only if this one is up and is
 giving ipa service (for example through a test connect command? )
 Thanks Gianluca
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] DNS for IPA in oVirt

2013-04-09 Thread Koch (ovido)
Hi,

Thanks a lot for your detailed explanation.
That mean that I don't need DNS entries (forward and reverse) for oVirt
engine anymore, only SRV records for the directory service (for sure)?
So using IP or /etc/hosts is sufficient.



Regards,
René



On Mon, 2013-04-08 at 09:55 -0400, Yair Zaslavsky wrote:
 Hi,
 When you add a new domain - let's say example.com what happens from DNS 
 perspective is -
 
 
 a. if useDnsLookup at engine-manage-domains conf is set to true then
 dns_lookup_realm  = true
 and dns_lookup_kdc = true
 
 Will be placed at the krb5.conf that is being created.
 This will cause the internal java kerberos implementation to issue DNS srv 
 requests per realm (for example, if you want to add the domain example.com, 
 the realm will be EXAMPLE.COM) 
 for kerberos -
 the srv record query will look like _kerberos._tcp.example.com and it will 
 return a list of KDCs for the realm.
 
 If useDnsLookup is not set to true, 
 This will cause the manage-domains utility to issue kerberos DNS srv records, 
 and fill the krb5.conf file with information on KDCs per realm.
 
 
 In return you will get a list of corresponding hosts for the ldap servers.
 
 b. If -ldapServers was not passed - a DNS srv record will be issues to get 
 the ldap servers for the domain -
 _ldap._tcp.example.com  after the manage-domains utility performs kerberos 
 authentication.
 This is done, in order to get a URL of an ldap server to be used, to send an 
 ldap query and get the user id for the given user at the command line utility.
 
 So, as long as your DNS is configured properly, and the SRV records are well 
 defined, you will get SRV records for kerberos and ldap.
 
 
 
 
 
 - Original Message -
  From: René Koch (ovido) r.k...@ovido.at
  To: ovirt-users users@ovirt.org
  Sent: Friday, April 5, 2013 3:47:07 PM
  Subject: [Users] DNS for IPA in oVirt
  
  Hi list,
  
  I don't want to ask my question in the mail thread of Eduardo to avoid
  mixing topics.
  
  Can you give me more detailed information on how oVirt is using DNS
  internally and how IPA users can work in the following scenario:
  
  # engine-manage-domains -action=list
  Domain: ovido.at
  User name: ad...@ovido.at
  Manage Domains completed successfully
  
  # cat /etc/hosts | grep engine
  10.0.100.195 ovirt-engine.lab.ovido.at
  
  # ip a
  2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
  state UP qlen 1000
  link/ether 00:1a:4a:00:64:14 brd ff:ff:ff:ff:ff:ff
  inet 10.0.100.195/24 brd 10.0.100.255 scope global eth0
  
  # host ovirt-engine.lab.ovido.at
  ovirt-engine.lab.ovido.at has address 10.0.100.24
  
  # host 10.0.100.24
  24.100.0.10.in-addr.arpa domain name pointer ovirt-engine.lab.ovido.at.
  
  So in my case I have correct DNS settings (forward and reverse), but my
  ovirt-engine host has a totally different IP address.
  
  I didn't test SSO with Kerberos in user portal (maybe this want work),
  but authentication with IPA user in user portal and admin portal is
  working fine even with these totally wrong DNS configuration.
  
  
  Regards,
  René
  
  
  ___
  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] oVirt Presentations

2013-04-09 Thread Koch (ovido)
Hello list,

I just want to inform you that I'll be talking about RHEV and oVirt on 2
(maybe 3) events in Austria and Germany in the next weeks (45min
presentation slots).


The first one is at the Open Source Data Center Conference in Nuremberg,
Germany which takes place from April, 17th to April, 18th:
http://www.netways.de/en/osdc/osdc2013/

Details on my presentation (presentation language is German):
http://www.netways.de/index.php?id=3732L=1
Main focus will be Red Hat Enterprise Virtualization, but will also talk
about oVirt.


The second event is at the Graz Linux Days in Austria on April, 20th:
http://www.linuxtage.at/ (Sorry, there's no English version available)

Details on my presentation (in German):
http://glt13-programm.linuxtage.at/events/174.de.html
As this event is a non-profit community event I'll be focusing on oVirt,
but will also talk about differences to RHEV.


Eventually I'll be talking about oVirt on the Linux Weeks in Vienna,
Austria, too. This event is from May, 2nd to May, 4th:
http://www.linuxwochen.at/
At the moment the call for papers is still running...


If there's someone from Germany or Austria on this list and attends on
one of these events please let me know :)


Regards,
René



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


Re: [Users] Ims shared disks and ovirt storage

2013-04-09 Thread Koch (ovido)
Hi Gianluca,


On Tue, 2013-04-09 at 12:50 +0200, Gianluca Cecchi wrote:
 Hello, 
 I have the chance to work on Intel blades where I have option to
 confihure shared disks between them at enclosure level.
 Their controller is scsi.
 How could I configure as shared storage in ovirt? 
 I presume neither Fc nor iscsi are possible. .. so what can i do in
 your opinion? 


Is this an Intel modular server, btw?
If yes - create a Fibre channel datacenter and add the storage as FC
LUNs. I can also send you a working multipath.conf for Intel Modular if
required...


Regards,
René


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

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


Re: [Users] Ims shared disks and ovirt storage

2013-04-09 Thread Koch (ovido)

On Tue, 2013-04-09 at 13:59 +0200, Gianluca Cecchi wrote:
 On Tue, Apr 9, 2013 at 1:56 PM, René Koch (ovido)  wrote:
  Hi Gianluca,
 
 
  On Tue, 2013-04-09 at 12:50 +0200, Gianluca Cecchi wrote:
  Hello,
  I have the chance to work on Intel blades where I have option to
  confihure shared disks between them at enclosure level.
  Their controller is scsi.
  How could I configure as shared storage in ovirt?
  I presume neither Fc nor iscsi are possible. .. so what can i do in
  your opinion?
 
 
  Is this an Intel modular server, btw?
  If yes - create a Fibre channel datacenter and add the storage as FC
  LUNs. I can also send you a working multipath.conf for Intel Modular if
  required...
 
 
  Regards,
  René
 
 
 Yes, it is an Intel modular server (I don't know well this platform
 but I think IMS is its acronym)


You can contact me if you have questions regarding these server - I
use(d) this system in the company I worked before and on customer side.


 The multipath working configuration would be more than appreciated ;-)
 But does this mean there are configuration with dual scsi or is
 multipath needed in every case (as I see oVirt config implies
 multipath configuration anyway.)

Attached is a working multipath.conf for RHEV-H 3.0.
You need a working multipath.conf file if you have redundant storage
controllers.

Find out the wwids of your devices and add them to your
blacklist_exceptions section.

# multipath -ll
mpathb (b00015521f5d4) dm-0 Intel,Multi-Flex
size=96G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| `- 0:0:0:1 sdb 8:16 active ready running
mpatha (222140001553601d1) dm-1 Intel,Multi-Flex
size=20G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| `- 0:0:0:0 sda 8:0  active ready running

Don't forget to persist /etc/multipath.conf if you're using ovirt-node!
With this config you don't need the Intel multipath drivers, btw.

Please let me know if you have further questions.


 
 Gianluca
# RHEV REVISION 0.7
# RHEV PRIVATE

defaults {
udev_dir/dev
polling_interval10
path_selector   round-robin 0
path_grouping_policymultibus
getuid_callout  /lib/udev/scsi_id --whitelisted 
--device=/dev/%n
prioalua
path_checkerreadsector0
rr_min_io   100
max_fds 8192
rr_weight   priorities
failbackimmediate
no_path_retry   fail
user_friendly_names yes
}
blacklist {
   wwid 26353900f02796769
devnode ^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*
devnode ^hd[a-z]
}
blacklist_exceptions {
wwid b00015521f5d4
wwid 222140001553601d1
}
devices {
device {
vendor  Intel
product Multi-Flex
path_grouping_policygroup_by_prio
getuid_callout  /lib/udev/scsi_id --whitelisted 
--device=/dev/%n
priotpg_pref
path_checkertur
path_selector   round-robin 0
hardware_handler1 alua
failbackimmediate
rr_weight   uniform
rr_min_io   100
no_path_retry   queue
features1 queue_if_no_path
product_blacklist VTrak V-LUN
}
}
multipaths {
multipath {
uid 0
alias mpatha
gid 0
wwid 222140001553601d1
mode 0600
}
multipath {
uid 0
alias mpathb
gid 0
wwid b00015521f5d4
mode 0600
}
}___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] DNS reverse configuration

2013-04-05 Thread Koch (ovido)

On Thu, 2013-04-04 at 18:48 +, Chris Noffsinger wrote:
 I have successfully gotten samba4 to work with ovirt but I could not use the 
 Administrator user.
 
 I had to create another admin user to. Get it to work.

I can confirm that it's possible to use oVirt/RHEV with Samba 4 - tested
RHEV 3.0/3.1 with Univention Corporate Server which is a SBS server on
Linux base with Samba 4.

For RHEV it's  not recommended to use Administrator for Active Directory
even if it works mostly. Did it several times where it worked fine with
Microsoft Active Directory - not sure if I faced isses with
Administrator user.
But in general it's better to have an other user with admin permissions,
as this will always work (if you set up DNS correctly).


Regards,
René



 Chris Noffsinger
 
 -Original Message-
 From: Eduardo Ramos edua...@freedominterface.org
 Sender: users-boun...@ovirt.org
 Date: Thu, 04 Apr 2013 15:45:36 
 To: users@ovirt.org
 Subject: [Users] DNS reverse configuration
 
 ___
 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: [Users] User Portal

2013-04-05 Thread Koch (ovido)
On Tue, 2013-04-02 at 01:27 +0300, Itamar Heim wrote:
 On 03/22/2013 04:55 PM, René Koch (ovido) wrote:
  Hi,
 
  If you login with PowerUser permission you have 2 tabs (Basic and
  Extended) where Basic is the UserPortal and Extended the
  PowerUserPortal.
  So you can switch between these 2 views.
 
 
  Btw, in RHEV (3.0 and 3.1) I see a (for me) strange behaviour and
  haven't tested if this is the same in oVirt.
  When installing RHEV a Default datacenter is created and everyone has
  permission on template blank. As long as I don't remove permissions on
  blank template user with role UserRole start in PowerUserPortal
  (Extended view) instead of UserPortal (Basic view) - without permission
  on template blank they can't switch between these 2 views/portals
  (which is the expected situation - users with UserPortal permission
  shouldn't be aware of the PowerUserPortal).
  Is this bug or intended?
 
 
  Regards,
  René
 
 
 
  On Fri, 2013-03-22 at 15:40 +0100, Gianluca Cecchi wrote:
  On Fri, Mar 22, 2013 at 3:31 PM, Itamar Heim  wrote:
  On 03/20/2013 03:26 PM, Gianluca Cecchi wrote:
 
  BTW: RHEVM 3.1 portals (User Portal and Power User Portal) have been
  consolidated in the unique oVirt 3.2.x User Portal?
  Are they going to be consolidated in RHEVM 3.2 too?
 
 
  what do you mean by consolidated?
  (in any case, there is no difference between ovirt and rhev on this)
 
 
 
  Sorry I misunderstood.
  Both normal and power users access the User Portal at
 
  https://server.example.com/UserPortal
 
  but if a user has RHEVMPowerUser role (in RHEVM 3.1) or  probably the
  system related role named PowerUserRole (in oVirt) what he/she gets
  is the Power User Portal and not the normal User Portal, correct?
 
  Gianluca
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 i believe a bug, would appreciate if you can test on latest 3.3 nightly.


I'll try it with 3.3 nightly and will let you know.
Can I virtualize an oVirt 3.3 hypervisor on an oVirt 3.2 host based on
CentOS 6.4 (does RHEL 6.4/CentOS 6.4 support nested KVM or do I have to
use Fedora 18?) as I'm short with hardware at the moment?


Regards,
René




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


[Users] DNS for IPA in oVirt

2013-04-05 Thread Koch (ovido)
Hi list,

I don't want to ask my question in the mail thread of Eduardo to avoid
mixing topics.

Can you give me more detailed information on how oVirt is using DNS
internally and how IPA users can work in the following scenario:

# engine-manage-domains -action=list
Domain: ovido.at
User name: ad...@ovido.at
Manage Domains completed successfully

# cat /etc/hosts | grep engine
10.0.100.195 ovirt-engine.lab.ovido.at

# ip a
2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 00:1a:4a:00:64:14 brd ff:ff:ff:ff:ff:ff
inet 10.0.100.195/24 brd 10.0.100.255 scope global eth0

# host ovirt-engine.lab.ovido.at
ovirt-engine.lab.ovido.at has address 10.0.100.24

# host 10.0.100.24
24.100.0.10.in-addr.arpa domain name pointer ovirt-engine.lab.ovido.at.

So in my case I have correct DNS settings (forward and reverse), but my
ovirt-engine host has a totally different IP address.

I didn't test SSO with Kerberos in user portal (maybe this want work),
but authentication with IPA user in user portal and admin portal is
working fine even with these totally wrong DNS configuration.


Regards,
René


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


Re: [Users] Fast way to see all snapshots on my infra?

2013-04-05 Thread Koch (ovido)

On Sat, 2013-03-23 at 11:41 +0100, Gianluca Cecchi wrote:
 On Fri, Mar 22, 2013 at 3:07 PM, René Koch (ovido) wrote:

 Two questions:
 
 1) On my all-in-one system with f18 + oVirt stable 3.2.1 I have
 ovirt-engine-3.2.1-1.fc18.noarch
 ovirt-engine-cli-3.2.0.11-1.fc18.noarch
 
 when I run ovirt-shell I get
 
  connected to oVirt manager 3.2.0.0 
 
 so this banner refers to ovirt-shell itself and not the engine itself,
 I presume... correct?


It seems that this banner does reflect the oVirt/RHEV major version.
Connecting to RHEV 3.1 with ovirt-shell (from oVirt 3.2 package) gives
me the following banner:

 ==
  connected to oVirt manager 3.1.0.0 
 ==

oVirt 3.2.1 says connected to oVirt manager 3.2.0.0


 
 2) If I have one VM with one snapshot the beginning of the output is:
 
 ==
   connected to oVirt manager 3.2.0.0 
  ==
 
 
 id : f916e1a3-13bc-43e8-8187-65a1ab9163c8
 description: Active VM
 date   : 2013-03-01T00:31:20.898+01:00
 snapshot_status: ok
 type   : active
 
 id   : 5a623a18-11eb-455b-9791-680795a23f8e
 description  : test
 date : 2013-03-22T01:08:50.038+01:00
 ...
 
 Then I create another snapshot and I get:
 
 ==
   connected to oVirt manager 3.2.0.0 
  ==
 
 
 id : c714182a-46e2-4a85-b7db-1b74542b202c
 description: Active VM
 date   : 2013-03-01T00:31:20.898+01:00
 snapshot_status: ok
 type   : active
 
 id   : 5a623a18-11eb-455b-9791-680795a23f8e
 description  : test
 date : 2013-03-22T01:08:50.038+01:00
 
 ...
 
 id   : f916e1a3-13bc-43e8-8187-65a1ab9163c8
 description  : test2
 date : 2013-03-23T11:27:21.931+01:00
 snapshot_status  : ok
 ...
 
 If the first id value in first 5 lines refers to VM itself, why does
 it change between first run with one snapshot
 (value  f916e1a3-13bc-43e8-8187-65a1ab9163c8)
 and the second run
 (value c714182a-46e2-4a85-b7db-1b74542b202c)
 
 btw the id of first run matches the id assigned to the second
 snapshot in second run (test2)?


Sorry, I've no idea :(

 
 Thanks,
 Gianluca

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


Re: [Users] DNS reverse configuration

2013-04-05 Thread Koch (ovido)

On Fri, 2013-04-05 at 14:21 +0200, Juan Jose wrote:
 
 Hello everybody,
 
 
 Is there some howto or some procedure to connect Samba4 to oVirt 3.1
 and what components are necessary to install and configure?,  René,
 can you post all steps to configure it to have oVirt working with
 Sanba 4, please?

Sorry, can't give you detailed information on how to create a Samba 4
directory (use UCS appliance) - there is plenty of documentation in the
internet on how to do that.

To connect oVirt to your existing Samba domain, use the DNS server from
your samba server on your ovirt-engine host (don't do replication to
external bind servers, as this causes some issues). You have to make
sure, that you have valid forward (A) and reverse (PTR) DNS entries for
your ovirt-engine host and SRV records for LDAP, Kerberos,... (but these
should be created by default and are required for your Windows clients,
too).

You can join your Samba4 domain with engine-manage-domains
-provider=ActiveDirectory ...


I hope this helps you a bit.

 
 
 Many thanks in avanced,
 
 
 Juanjo.
 
 
 On Fri, Apr 5, 2013 at 1:28 PM, Eduardo Ramos
 edua...@freedominterface.org wrote:
 Even though ovirt-engine did not tried connect to samba4, I
 used another user. The issue is that engine-manage-domains
 said not found PTR entry, although host/nslookup/dig command
 say the opposite. Is there any detail?
 
 
 On 04/04/2013 05:36 PM, Gianluca Cecchi wrote:
 On Thu, Apr 4, 2013 at 8:48 PM, Chris Noffsinger
 wrote:
 I have successfully gotten samba4 to work with
 ovirt but I could not use the Administrator
 user.
 
 I had to create another admin user to. Get it
 to work.
 Chris Noffsinger
 It is intended to be so and I think it is the right
 thing to separate
 respective roles.
 I had to do the same with FreeIPA.
 
 Gianluca
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] Templates and originating VM relationship

2013-03-26 Thread Koch (ovido)
Hi Gianluca,

@oVirt-team: please correct me if I misunderstood something on the
template-concept...

Unlike Vmware (which converts a vm into a template) RHEV/oVirt is
copying the vm into a template.

So you can remove or edit your original vm without having an impact on
your template.

More important is the template provisioning method when creating vms
from your template. If you choose Thin, only changes between your
template and your vm are written to your vms disk file, where clone
creates a clone of your template's disk. Template thin provisioning
saves disk space, but you can't delete the template as long as you don't
delete all vms linked to this template.

The name of your disk is just a name (and it seems that it doesn't have
to be unique) - important is the ID, which is used by oVirt internally.


Regards,
René




On Tue, 2013-03-26 at 15:11 +0100, Gianluca Cecchi wrote:
 Hello,
 oVirt 3.2.1 on Fedora 18.
 I customize a CentOS 6.4 VM and when I comfortable I select make template.
 I don't take any snapshot for the VM before this.
 
 I thought that VM would have been disappeared, transforming itself
 into a template, instead at the end I have both the template and the
 originating VM.
 Apparently with the same name for the disk and the same storage domain
 
 What is exactly the relationship between them?
 Can I safely remove the originating VM?
 
 I already tested making template and then deleting it and then being
 able to power on again VM and make a new template from the originating
 VM.
 
 The rhevm 3.1 admin manual is not so clear about this: it contains a
 note regarding
 
 Take a snapshot of the virtual machine at this stage if you wish to
 use the virtual machine
 (as a virtual machine) after using it to create a template.
 
 
 But if behavior of oVirt 3.2.1 has to be the same with it, this
 doesn't explain itself based on my experience
 
 Thanks in advance for any information
 
 Gianluca
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] Templates and originating VM relationship

2013-03-26 Thread Koch (ovido)

On Tue, 2013-03-26 at 15:50 +0100, Gianluca Cecchi wrote:
 On Tue, Mar 26, 2013 at 3:41 PM, René Koch (ovido)  wrote:
 
  Unlike Vmware (which converts a vm into a template) RHEV/oVirt is
  copying the vm into a template.
 
  So you can remove or edit your original vm without having an impact on
  your template.
 
 OK.
 So the note in Procedure 9.1 at page 162 of RHEV 3.1 admin guide is
 not correct

I didn't had issues when creating templates from vms without snapshots
and reusing the vm again.

I think it's because of sealing/sysprep.

Let's assume you create a template of a windows vm, I would do the
following steps:
1. Install all apps and settings in your vm
2. Take a snapshot of this vm
3. sysprep your vm
4. Create a template
5. Revert to previous snapshot when reusing your vm, as otherwise
sysprep would start (and you don't want it for your master-image).



 
 
  More important is the template provisioning method when creating vms
  from your template. If you choose Thin, only changes between your
  template and your vm are written to your vms disk file, where clone
  creates a clone of your template's disk. Template thin provisioning
  saves disk space, but you can't delete the template as long as you don't
  delete all vms linked to this template.
 
 This was clear to me based on manual contents, but thanks for the remainder.
 
 Gianluca

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


Re: [Users] Fast way to see all snapshots on my infra?

2013-03-22 Thread Koch (ovido)
Hi Gianluca,

You can try something like this (dirty) command:

URL='https://localhost/api'; USER='admin@internal';
cp /dev/null /tmp/ovirt-snapshots; echo -e list vms\nexit
 /tmp/ovirt-vms; for VM in `ovirt-shell -l ${URL} -u ${USER} -c -I
-f /tmp/ovirt-vms | grep name | tr -s ' ' ' ' | cut -d' ' -f3`; do echo
list snapshots --vm-identifier ${VM} --show-all
 /tmp/ovirt-snapshots; done; echo exit  /tmp/ovirt-snapshots;
ovirt-shell -l ${URL} -u ${USER} -c -I -f /tmp/ovirt-snapshots


-- 
Best Regards

René


On Fri, 2013-03-22 at 09:44 +0100, Gianluca Cecchi wrote:
 Hello,
 is there any way to see a recap of all the snapshots in my DCs and Clusters?
 Both from webadmin gui or REST API or query on engine db?
 Thanks,
 Gianluca
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] User Portal

2013-03-22 Thread Koch (ovido)
Hi,

If you login with PowerUser permission you have 2 tabs (Basic and
Extended) where Basic is the UserPortal and Extended the
PowerUserPortal.
So you can switch between these 2 views.


Btw, in RHEV (3.0 and 3.1) I see a (for me) strange behaviour and
haven't tested if this is the same in oVirt.
When installing RHEV a Default datacenter is created and everyone has
permission on template blank. As long as I don't remove permissions on
blank template user with role UserRole start in PowerUserPortal
(Extended view) instead of UserPortal (Basic view) - without permission
on template blank they can't switch between these 2 views/portals
(which is the expected situation - users with UserPortal permission
shouldn't be aware of the PowerUserPortal).
Is this bug or intended?


Regards,
René



On Fri, 2013-03-22 at 15:40 +0100, Gianluca Cecchi wrote:
 On Fri, Mar 22, 2013 at 3:31 PM, Itamar Heim  wrote:
  On 03/20/2013 03:26 PM, Gianluca Cecchi wrote:
 
  BTW: RHEVM 3.1 portals (User Portal and Power User Portal) have been
  consolidated in the unique oVirt 3.2.x User Portal?
  Are they going to be consolidated in RHEVM 3.2 too?
 
 
  what do you mean by consolidated?
  (in any case, there is no difference between ovirt and rhev on this)
 
 
 
 Sorry I misunderstood.
 Both normal and power users access the User Portal at
 
 https://server.example.com/UserPortal
 
 but if a user has RHEVMPowerUser role (in RHEVM 3.1) or  probably the
 system related role named PowerUserRole (in oVirt) what he/she gets
 is the Power User Portal and not the normal User Portal, correct?
 
 Gianluca
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] High Availability

2013-03-18 Thread Koch (ovido)

On Mon, 2013-03-18 at 09:50 +, supo...@logicworks.pt wrote:
 Ok, now I understand, so what do we need to get the power management
 configured and working?


You need a remote management interface (IPMI, ILO,...) in your servers
and an user which has permissions to power off/on/reset the server using
this interface. The IP address of this interface must be accessible from
all hosts in your cluster.

When editing your host preferences you see all supported devices under
Power Management - Type. On most systems (IBM, hp, Supermicro,...)
ipmilan will work.

Btw, does anyone know if it's possible to add custom fencing scripts for
power management?



Regards,
René


 
 Regards
 Jose
 
 
 __
 De: Shu Ming shum...@linux.vnet.ibm.com
 Para: Tim Hildred thild...@redhat.com
 Cc: Users@ovirt.org
 Enviadas: Segunda-feira, 18 de Março de 2013 5:18:28
 Assunto: Re: [Users] High Availability
 
 Tim Hildred:
  If one host is down because of network interrupt or power
  failure, the engine should know how many HA VMs are down and find
  out the VM images on the storage domain to start the VM instances
 on
  another host in the cluster. Why do we need power manager to be
  configured?
  Power management allows the Manager to start highly available
 virtual machines on new hosts without worrying that virtual machine
 hard disk images will be corrupted.
 
  Imagine a situation in which the Manager cannot communicate with the
 host a highly available virtual machine is running on. If the host is
 still running as expected, and the virtual machine is also still
 running, the virtual machine is writing to its hard disk image.
 Tim,
 
 Thanks for clarification. That is what I expected.
 
 
  If the Manager starts that virtual machine on another host in the
 cluster, then both virtual machine instances will try and write to the
 disk image, and cause hard disk corruption.
 
  Power management lets the Manager be sure that only one instance of
 the highly available virtual machine is running, because the instance
 on the host the Manager couldn't communicate cannot survive a host
 reboot.
 
  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: Shu Ming shum...@linux.vnet.ibm.com
  To: Tim Hildred thild...@redhat.com
  Cc: d...@redhat.com, Users@ovirt.org
  Sent: Monday, March 18, 2013 1:31:12 PM
  Subject: Re: [Users] High Availability
 
 
  Tim,
 
  Thanks for your information. I am not sure why we need power
  management to be configured for the hosts running HA virtual
  machines.  We only need a method to check the VM or host status and
  a method to restart the VM instances with existing VM images on
  another host. Is it required to force powering down the failing
 host
  forever to make sure the failing host will not come back to live
  again?
 
 
 
 
   *
  Power management must be configured for the hosts running the
 highly
  available virtual machines.
   *
  The host running the highly available virtual machine must be part
 of
  a cluster which has other available hosts.
   *
  The destination host must be running.
   *
  The source and destination host must have access to the data domain
  on which the virtual machine resides.
   *
  The source and destination host must have access to the same
 virtual
  networks and VLANs.
   *
  There must be enough CPUs on the destination host that are not in
 use
  to support the virtual machine's requirements.
   *
  There must be enough RAM on the destination host that is not in use
  to support the virtual machine's requirements.
 
 
  Tim Hildred:
 
 
  You might also find this helpful:
 
 https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/html/Administration_Guide/High_availability_considerations.html
  The topics before and after it explain a bit more about high
  availability.
 
  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: Dafna Ron d...@redhat.com To: supo...@logicworks.pt Cc:
  Users@ovirt.org Sent: Monday, March 18, 2013 4:46:51 AM
  Subject: Re: [Users] High Availability
 
  I think that there is some confusion here so I will explain what
 are
  the
  configurations for fail-over.
 
  power management will reboot your host if a connectivity issue is
  detected so all your vm's will be killed.
  resilience policy will allow you to choose vm migration policy
 during
  a
  host failure and its configured in the cluster level (clusters -
  select
  cluster - general sub tab - edit policy)
  High Availability is configured only for servers type vm's and what
  it
  

Re: [Users] Packet loss to guests

2013-03-08 Thread Koch (ovido)
Hi,

If you don't have another oVirt / RHEL KVM host in the same network than
MACs want be an issue. So it's totally save to have oVirt in the same
network as all other systems.

I see in your email that you use bonding mode 2. This shouldn't cause
issues with switches, but I think I had an issue with RHEV (bond 2) and
a Cisco switch once on customer side - please don't ask me for details
on what their network admins changed to make this setup work.

Can you try bonding mode 0 (active-backup) and check if you still have
packet loss?


-- 
Best regards

René Koch
Senior Solution Architect


ovido gmbh - Das Linux Systemhaus
Brünner Straße 163, A-1210 Wien

Phone:   +43 720 / 530 670
Mobile:  +43 660 / 512 21 31
E-Mail:  r.k...@ovido.at



On Fri, 2013-03-08 at 15:57 +0200, Neil wrote:
 Thanks Rene, I'll look into your suggestions.
 
 I don't think it's a conflicting MAC as there is only 1 guest, but
 will check it out.
 
 Would you advise running the engine and nodes on a separate network
 range to my existing network rather?
 
 Thanks.
 
 Regards.
 
 Neil Wilson.
 
 On Fri, Mar 8, 2013 at 1:52 PM, René Koch (ovido) r.k...@ovido.at wrote:
  Hi Neil,
 
  I had a similar issue with my oVirt environment with some vms.
  The issue on my side was oVirt and RHEV environment in the same subnet
  and conflicting MAC addresses on some vms (as both use the same MAC
  range and I didn't change this with engine-config).
 
  So can you check if this MAC our your vm is in use by an other host/vm
  (maybe from a KVM installation)?
 
 
  --
  Best regards
 
  René Koch
  Senior Solution Architect
 
  
  ovido gmbh - Das Linux Systemhaus
  Brünner Straße 163, A-1210 Wien
 
  Phone:   +43 720 / 530 670
  Mobile:  +43 660 / 512 21 31
  E-Mail:  r.k...@ovido.at
  
 
 
  On Fri, 2013-03-08 at 11:27 +0200, Neil wrote:
  Hi guys,
 
  I've got a bit of a strange one, I'm setting up an internal ovirt
  system Centos 6.3 64bit dreyou repo...
 
  and I'm getting lots of packet loss on the guest I've installed, the
  packet loss doesn't happen on the physical hosts, only the VM gets it,
  when communicating from and to it.
 
  1 node(Centos 6.3 64bit)
  vdsm-4.10.0-0.46.15.el6.x86_64
  vdsm-cli-4.10.0-0.46.15.el6.noarch
  vdsm-xmlrpc-4.10.0-0.46.15.el6.noarch
  vdsm-python-4.10.0-0.46.15.el6.x86_64
 
  The engine(also Centos 6.3 64bit(engine has local NFS storage which
  the node connects to)
  ovirt-engine-userportal-3.1.0-3.19.el6.noarch
  ovirt-engine-dbscripts-3.1.0-3.19.el6.noarch
  ovirt-engine-3.1.0-3.19.el6.noarch
  ovirt-engine-backend-3.1.0-3.19.el6.noarch
  ovirt-engine-notification-service-3.1.0-3.19.el6.noarch
  ovirt-image-uploader-3.1.0-16.el6.noarch
  ovirt-engine-genericapi-3.1.0-3.19.el6.noarch
  ovirt-iso-uploader-3.1.0-16.el6.noarch
  ovirt-engine-restapi-3.1.0-3.19.el6.noarch
  ovirt-engine-tools-common-3.1.0-3.19.el6.noarch
  ovirt-engine-sdk-3.2.0.8-1.el6.noarch
  ovirt-engine-webadmin-portal-3.1.0-3.19.el6.noarch
  ovirt-engine-cli-3.2.0.5-1.el6.noarch
  ovirt-log-collector-3.1.0-16.el6.noarch
  ovirt-engine-setup-3.1.0-3.19.el6.noarch
  ovirt-engine-jbossas711-1-0.x86_64
  ovirt-engine-config-3.1.0-3.19.el6.noarch
 
  Both the node and engine have bonded interfaces all NICS are intel
  82574L gigabit and the managed switch reflects gigabit on each of the
  ports.
 
  The ifcfg-bond0 is below...
 
  DEVICE=bond0
  IPADDR=192.168.0.9
  NETWORK=192.168.0.0
  NETMASK=255.255.255.0
  USERCTL=no
  BONDING_OPTS=mode=2
  BOOTPROTO=none
  MTU=1500
  ONBOOT=yes
 
  Then the ifcfg-eth0 and eth1 are almost identical...
  DEVICE=eth2
  USERCTL=no
  ONBOOT=yes
  MASTER=bond0
  SLAVE=yes
  MTU=1500
  BOOTPROTO=none
 
 
  These are the network details on the guest, as you can see, there are
  no network errors showing on the guest at all, which is strange
 
  eth0 Link encap:Ethernet  HWaddr 00:1A:4A:A8:00:00
 inet addr:192.168.0.12  Bcast:192.168.0.255  Mask:255.255.255.0
 inet6 addr: fe80::21a:4aff:fea8:0/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:5050 errors:0 dropped:0 overruns:0 frame:0
 TX packets:255 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:490762 (479.2 KiB)  TX bytes:32516 (31.7 KiB)
 
  Ethernet controller: Red Hat, Inc Virtio network device
 
  Has anyone got any ideas? Have I set something up wrong?
 
  Any help or advice is greatly appreciated.
 
  Regards.
 
  Neil Wilson.
  ___
  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] UI Plugin iframe dialogs

2013-03-06 Thread Koch (ovido)
 WebAdmin top-level DOM directly 
  on their own, because doing so imposes a fragile bond between WebAdmin DOM 
  structure (which is very likely to change) and plugin code. Instead, 
  plugins should use pluginApi object for extending specific parts WebAdmin 
  UI (e.g. addMainTab, addSubTab, etc.).
  
  Let me know what you think.
  
  Vojtech
  
  
  - Original Message -
  From: René Koch (ovido) r.k...@ovido.at
  To: ovirt-users users@ovirt.org
  Sent: Wednesday, January 30, 2013 4:47:54 PM
  Subject: [Users] UI Plugin iframe dialogs
  
  Hi,
  
  I'm still working on my Nagios integration plugin and came across a
  limitation of the UI plugin framework caused by iframes.
  
  UI framework creates an iframe for each plugin, so the plugin code is
  separated from the main oVirt webadmin code (and other plugins). When
  creating a new (big) jQuery dialog in an sub tab-iframe (sub tab of
  selected vm or host) it can't be displayed without scrolling in the sub
  tab or resizing the sub tab (that's clear as it's displayed in an too
  small iframe).
  
  So it would be great if it would be possible to display dialogs in the
  middle of the main windows and overlap the iframe (don't know if this is
  possible). In short terms I want to create a dialog which behaves like
  e.g. the Setup Host Networks or Add Permission to User dialogs -
  click on a link in the plugin iframe and dialog opens in the middle of
  the website not the middle of the iframe.
  
  What I found out so far is that:
  1. I must be aware of the same origin policy (that's no problem)
  2. I need to put my jQuery-dialog-code in the main oVirt windows and
  then I can call it from within the iframe (that's my problem)
  
  So my questions are:
  Is it possible to place code outside of the iframe?
  If not - are there plans to allow this in future releases?
  Or maybe is there a workaround?
  
  
  Thanks a lot,
  René
  
  
  
  ___
  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] Introducing oVirt Monitoring UI-Plugin

2013-02-26 Thread Koch (ovido)
On Mon, 2013-02-25 at 07:21 -0500, Vojtech Szocs wrote:
 Hi René,
 
 first of all, great job on releasing the Monitoring UI Plugin!

Thanks a lot!

 
 The plugin itself (start.html) looks nice and easy, and the UI is awesome 
 (almost identical to default oVirt UI).

That was my plan - the plugin should fit as good as possible into oVirt.

 
 I see that you use a combination of CGI/Perl + jQuery to render the sub-tab 
 UI. We're actually planning to extend the plugin API to accept HTML DOM 
 elements in addition to content URL so that plugin-specific UI can be built 
 and attached to WebAdmin UI directly on client, using JavaScript frameworks 
 such as jQuery, Backbone, etc. :)

Sounds really great.
I use Perl Template Toolkit and jQuery at the moment, but think that
Template Toolkit isn't really necessary as most of the HTML could be
done with plain HTML and jQuery as well.

 
 One question: in monitoring.js, after you call api.showDialog, you also call 
 api.ready, but at that point api.ready has already been called, as it 
 essentially kick-starts plugin initialization..

I'll skip the api.ready call - thanks for the information.

 
 Can I add your plugin to 
 http://www.ovirt.org/Features/UIPlugins#Real-world_UI_plugins ?

Yes of course - thanks.


Regards,
René



 
 
 - Original Message -
 From: René Koch (ovido) r.k...@ovido.at
 To: ovirt-users users@ovirt.org
 Sent: Tuesday, February 19, 2013 3:04:13 PM
 Subject: [Users] Introducing oVirt Monitoring UI-Plugin
 
 I'm happy to announce oVirt Monitoring UI-Plugin, which allows the
 integration of a Nagios or Icinga monitoring solution into oVirt 3.2
 webadmin. With this plugin you can access detailed service check results
 and information including performance graphs within oVirt webadmin for
 hosts and virtual machines.
 
 We look forward to extend this plugin with more Nagios/Icinga features
 like acknowledgments, comments or service rescheduling, permissions,
 dashboards, check_mk-integration for virtual machine monitoring and many
 more.
 
 For more information about this project and screenshots please visit ​
 https://labs.ovido.at/monitoring/wiki/ovirt-monitoring-ui-plugin
 
 
 The download location is
   * ​
 https://labs.ovido.at/monitoring/wiki/ovirt-monitoring-ui-plugin
 %3Adownload
 
 Please note that this first release is an early development version with
 some minor CSS bugs on some browsers.
 
 If you have any questions or ideas, please drop me an email: ​
 r.k...@ovido.at.
 
 Thank you for using oVirt Monitoring UI-Plugin.
 
 


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


[Users] Introducing oVirt Monitoring UI-Plugin

2013-02-19 Thread Koch (ovido)
I'm happy to announce oVirt Monitoring UI-Plugin, which allows the
integration of a Nagios or Icinga monitoring solution into oVirt 3.2
webadmin. With this plugin you can access detailed service check results
and information including performance graphs within oVirt webadmin for
hosts and virtual machines.

We look forward to extend this plugin with more Nagios/Icinga features
like acknowledgments, comments or service rescheduling, permissions,
dashboards, check_mk-integration for virtual machine monitoring and many
more.

For more information about this project and screenshots please visit ​
https://labs.ovido.at/monitoring/wiki/ovirt-monitoring-ui-plugin


The download location is
  * ​
https://labs.ovido.at/monitoring/wiki/ovirt-monitoring-ui-plugin
%3Adownload

Please note that this first release is an early development version with
some minor CSS bugs on some browsers.

If you have any questions or ideas, please drop me an email: ​
r.k...@ovido.at.

Thank you for using oVirt Monitoring UI-Plugin.


-- 
Best Regards

René Koch
Senior Solution Architect


ovido gmbh - Das Linux Systemhaus
Brünner Straße 163, A-1210 Wien

Phone:   +43 720 / 530 670
Mobile:  +43 660 / 512 21 31
E-Mail:  r.k...@ovido.at




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


[Users] oVirt 3.2 and Solaris 10 guests

2013-02-14 Thread Koch (ovido)
Hi,

I've a strange network issue with Solaris 10 x86 guests on oVirt 3.2
(beta) with an CentOS 6.3 hypervisor (using dreyou's repository for VDSM
packages).

My host configuration is the following:
Operating system: Other
Network interface type: rtl8139
Network Name: ovirtmgmt
Disk interface: IDE

Disk is working fine and the network interface is detected by Solaris 10
guest, as I can see a rtls0 interface with ifconfig -a and Solaris
installer also detects this interface.

But when I try to send packages over this interface they never reach a
target - e.g. ping the gateway and arp -an doesn't show it's MAC
address. On the hypervisor I can see vnet(x) interface is on ovirtmgmt
bridge. Network traffic is working fine for all other VMs (RHEL 6 and
Fedora 18) on ovirtmgmt bridge.

Btw, when creating a Solaris 10 guest on RHEV 3.1 with RHEL 6.3
hypervisor the exactly same issue occurs - network interface is detected
but no traffic passes this interface.

On a plain KVM-Host (RHEL 6.3) I can create a Solaris 10 host with
virt-manager using rtl8139 Virtual Network Interface Device model on a
bridge (network setup is nearly the same as for oVirt and RHEV). On this
RHEL 6.3 KVM-host network is working fine for Solaris guests.

In the process list (ps -ef) the settings for oVirt and RHEL-KVM seem
the be nearly the same (different fd's and option bootindex=3 is missing
on KVM):

oVirt 3.2:
-netdev tap,fd=25,id=hostnet0 -device
rtl8139,netdev=hostnet0,id=net0,mac=00:1a:4a:00:64:9e,bus=pci.0,addr=0x3,bootindex=3
 

RHEL 6.3 KVM: 
-netdev tap,fd=36,id=hostnet0 -device
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:8e:3a:57,bus=pci.0,addr=0x3 

KVM-Version is exactly the same on CentOS-oVirt-Hypervisor as on RHEL
KVM-host:
# rpm -qa | grep kvm
qemu-kvm-rhev-tools-0.12.1.2-2.295.el6.10.x86_64
qemu-kvm-rhev-0.12.1.2-2.295.el6.10.x86_64

Do you have any clue why Solaris networking isn't working on oVirt but
on RHEL-KVM it is?

I didn't try Fedora 18 or oVirt Node as a hypervisor yet - don't think
that there will be a difference.

Thanks a lot for your feedback.


-- 
Best Regards,
René Koch




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


Re: [Users] oVirt 3.2 and Solaris 10 guests

2013-02-14 Thread Koch (ovido)

On Thu, 2013-02-14 at 11:22 -0500, Jean-Francois Saucier wrote:
 On Thu, Feb 14, 2013 at 11:21 AM, Jiri Belka jbe...@redhat.com
 wrote:
 On Thu, 14 Feb 2013 10:49:13 -0500
 Jean-Francois Saucier jsauc...@gmail.com wrote:
 
   oVirt 3.2:
   -netdev tap,fd=25,id=hostnet0 -device
  
  
 
 rtl8139,netdev=hostnet0,id=net0,mac=00:1a:4a:00:64:9e,bus=pci.0,addr=0x3,bootindex=3
 
 ^^^ - realtek, really? Try e1000 which is usually much
 more reliable or virtio iface. I personally always had
 terrible
 experience with emulated rtl8139 by qemu-kvm, e1000 was OK.
 
 For me, it's the same if I choose the e1000 (which I choose the first
 time and then try the rtl8139).
 
Same for me - e1000 aren't working with oVirt 3.2 and Solaris 10, too.


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


Re: [Users] set host status up from backend?

2013-02-05 Thread Koch (ovido)
Hi,

What happens when you try to activate your host?
Is there an error message?


Regards,
René



On Tue, 2013-02-05 at 18:45 +0530, Jithin Raju wrote:
 Hi Karli,
 
 
 I got the below error after trying Host Tab  Right click host 
 Confirm 'Host has been rebooted' Error while executing
 action: Cannot confirm 'Host has been rebooted' Host. There is no
 active Host in the Data Center.
 
 
 Thanks,
 Jithin
 
 
 On Tue, Feb 5, 2013 at 6:40 PM, Karli Sjöberg karli.sjob...@slu.se
 wrote:
 tis 2013-02-05 klockan 18:32 +0530 skrev Jithin Raju: 
  Hi , 
  
  
  Is there a way to set the host status up in ovirt through
  backend, some value in DB.
  
  
  My server went unreachable for a while and its reachable
  now, but ovirt web UI still showa it as Non Responsive.
 Host Tab  Right click host  Confirm 'Host has been
 rebooted'?
 
 /Karli
 
  
  
  Thanks, 
  Jithin 
 
 
 
 
 ___
 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] Rest-api to fetch the hosts details ( active vm's , CPU , Physical memory etc.)

2013-01-30 Thread Koch (ovido)
Hi,

You can find a documentation on how to use the python sdk here:
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/html/Developer_Guide/index.html

Should be the same for oVirt...


-- 
Best Regards

René Koch
Senior Solution Architect


ovido gmbh - Das Linux Systemhaus
Brünner Straße 163, A-1210 Wien

Phone:   +43 720 / 530 670
Mobile:  +43 660 / 512 21 31
E-Mail:  r.k...@ovido.at



On Wed, 2013-01-30 at 13:47 +0530, Romil Gupta wrote:
 Hi all ,
 
 
 how I can get the hosts details like Active VM's , Number of CPU's ,
 CPU name , CPU type , Physical Memory (used , free ) , swap size and
 other parameters using ovirt-engine-sdk-3.2.0.5-1.
 
 
 
 
 
 
 Regards,
 Romil 
 
 
 -- 
 I don't wish to be everything to everyone, but I would like to be
 something to someone. 
 ___
 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


  1   2   >