Re: [Users] clone vm from snapshot problem in 3.2

2013-05-16 Thread Alexandru Vladulescu


Hi all,


I am facing the same problem regarding the VM clone  viewing the 
details from snapshot as Gianluca has described in this current thread.


The single problem I am facing now, is that your thread is from 3 months 
old, I am using el6 stable repository on a CentOS 6.3 installation and 
my rpm list below looks like:


ovirt-engine-sdk-3.2.0.10-1.el6.noarch
ovirt-engine-webadmin-portal-3.2.1-1.beta1.el6.noarch
ovirt-engine-setup-3.2.1-1.beta1.el6.noarch
ovirt-engine-userportal-3.2.1-1.beta1.el6.noarch
ovirt-engine-dbscripts-3.2.1-1.beta1.el6.noarch
ovirt-engine-3.2.1-1.beta1.el6.noarch
ovirt-engine-cli-3.2.0.11-1.el6.noarch
ovirt-engine-tools-3.2.1-1.beta1.el6.noarch
ovirt-engine-genericapi-3.2.1-1.beta1.el6.noarch
ovirt-engine-backend-3.2.1-1.beta1.el6.noarch
ovirt-engine-restapi-3.2.1-1.beta1.el6.noarch

As I can see, there were some revision set updates on the ovirt engine 
core rpms, that I suppose, it should include this as well: 
http://gerrit.ovirt.org/#/c/11254/


Can someone provide me some piece of advice on how to fix things ?



Thanks you.
Alex. Vladulescu


On 02/28/2013 07:07 PM, Gianluca Cecchi wrote:

On Wed, Feb 27, 2013 at 1:21 PM, Liron Aravot  wrote:


Hi Gianluca,
I've built 3.2 and had success in reproducing your issue, I've also
tested the fix and after it the clone window shows fine - so this
should solve your issue (http://gerrit.ovirt.org/#/c/11254/).

Thanks, Liron.

Hello,
so I rebuilt with the patch.
I built as in this thread:
http://lists.ovirt.org/pipermail/users/2013-February/012702.html

directly on engine server and with engine stopped:

sudo rpm -Uvh --force $(ls -1|grep -v all)

with
$ ls -1|grep -v all
ovirt-engine-3.2.0-4.fc18.noarch.rpm
ovirt-engine-backend-3.2.0-4.fc18.noarch.rpm
ovirt-engine-config-3.2.0-4.fc18.noarch.rpm
ovirt-engine-dbscripts-3.2.0-4.fc18.noarch.rpm
ovirt-engine-genericapi-3.2.0-4.fc18.noarch.rpm
ovirt-engine-notification-service-3.2.0-4.fc18.noarch.rpm
ovirt-engine-restapi-3.2.0-4.fc18.noarch.rpm
ovirt-engine-setup-3.2.0-4.fc18.noarch.rpm
ovirt-engine-tools-common-3.2.0-4.fc18.noarch.rpm
ovirt-engine-userportal-3.2.0-4.fc18.noarch.rpm
ovirt-engine-webadmin-portal-3.2.0-4.fc18.noarch.rpm

and then reboot the engine

Results:

OK, for the snapshot details pane. It seem the patch fixes this too.
Until now I was never able to see snapshot details,
Instead now I can see disk and nic details. See:
https://docs.google.com/file/d/0BwoPbcrMv8mvQmlCZTZBYjBadmc/edit?usp=sharing


OK, if I clone a VM from a snapshot of a running VM (CentOS 5.6)
I start the clone and no problem at all.

well done!


Corner cases and problems

1)
OK, if I clone a powered on VM from a snapshot with two disks and here
you can find clone in action with webadmin gui and iotop on node that
shows they are cloning in parallel.. well!
https://docs.google.com/file/d/0BwoPbcrMv8mvZ3lzY0l1MDc5OVE/edit?usp=sharing

The VM is a slackware 14 32bit with virtio disk that I obtained from a
virt-v2v from CentOS 6.3+Qemu/KVM
The problem is that the cloned VM recognizes the disks in reversed order

See these images where sl1432 is master slcone is the clone

disk layout in details pane seems equal with boot disk the one that
appears as the second, but the master boots ok, the slave no.
Disks are swapped

Master VM disk details:
https://docs.google.com/file/d/0BwoPbcrMv8mvSWNVNFI4bHg4Umc/edit?usp=sharing

Clone VM disks details:
https://docs.google.com/file/d/0BwoPbcrMv8mvM1N0bVcyNlFPS1U/edit?usp=sharing

Page with the two consoles where you can see that vda of master
becomes vdb of clone and vice-versa:
https://docs.google.com/file/d/0BwoPbcrMv8mveFpESEs5V1dUTFE/edit?usp=sharing

Can I swap again in some way? In VMware for example you can see and
edit SCSI IDs of disks...

2)
KO, if I clone a windows 7 VM from a snapshot (time 17:09) I get this on gui
https://docs.google.com/file/d/0BwoPbcrMv8mvaW9OVW84WVI1dkU/edit?usp=sharing

You can find the engine.log from server restart (at 17:06) here:
https://docs.google.com/file/d/0BwoPbcrMv8mvTDQzRTFfbFgxX0E/edit?usp=sharing

Are there any restrictions?
The VM was powered off when taking the snapshot and making the clone.

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] [Fwd: Guest never gets removed]

2013-05-16 Thread Karli Sjöberg
Hi Noam!

tor 2013-05-16 klockan 06:23 -0400 skrev Noam Slomianko:


Hi Karli,
I don't know about reminding the engine of forgotten actions and sounds like 
the failure can originate from all sort of problems...
This means I don't have a good solution, but I do have a solution.


What is a man without backups?;)




Go to the host and manually remoove the VM:
If vdsClient is installed do vdsClient 0 list table and then vdsClient 0 
destroy UUID
If not the use virsh to list the vms virsh list then using the id/name remove 
it virsh destroy id/name


No sign of that Guest using any of the above commands. I also checked whether 
it still had any ghost Virtual Disks so I guess SPM managed to clear that.




Then go to Ovirt DB and delete (cascade) the VM from vm_static


That´s where I could use the most guideance really. How exactly do I do that?




But remember that as always touching the inner working directly might be risky 
and prone to errors (no way to recover if you deleted the wrong VM)
So use with caution.

I hope this helps,
Noam.


- Original Message -
From: Karli Sjöberg karli.sjob...@slu.semailto:karli.sjob...@slu.se
To: users users@ovirt.orgmailto:users@ovirt.org
Sent: Wednesday, May 15, 2013 8:17:47 AM
Subject: [Users] [Fwd:  Guest never gets removed]

Hello everyone!

I think perhaps this question passed completly unnoticed so I´m trying to 
resend it to perhaps get some attention.

/Karli

 Vidarebefordrat meddelande 


Från : Karli Sjöberg  karli.sjob...@slu.semailto:karli.sjob...@slu.se 
Till : users  users@ovirt.orgmailto:users@ovirt.org 
Ämne : [Users] Guest never gets removed
Datum : Wed, 8 May 2013 05:06:57 +

Hi,

yesterday I issued a remove of a Guest and then immediately afterwards engine 
started complaining about sync errors between database and storage metadata. To 
my surprise, both of my two data stores were marked as master in their storage 
metadata files. I had to change MASTER_VERSION and ROLE, then tail the vdsm 
log on a Host and watch it complain that the checksum is wrong and how it is 
${X} but should be ${Y} according to it´s logic, and copy/paste tbe correct 
checksum into storage metadata file as well. This had to be done for both data 
domains, and when done, I have one Master- and one Regular domain that 
works and equals what´s in the database.

The problem is that engine now apparently has forgotten about my Guest that it 
was supposed to remove before all of this... The operation is still listed in 
Tasks, so it´s not quite finished yet. Since it´s changed state to 
hourglass and status Image locked, I can´t click for removal again either...

Is there any way to remind engine of a job not done?


--

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.semailto:karli.sjob...@slu.se

--

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.semailto:karli.sjob...@slu.se

___
Users mailing list
Users@ovirt.orgmailto: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.semailto:karli.sjob...@adm.slu.se
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to add internal networks

2013-05-16 Thread Lior Vernia
Hello Frank,

I suspect the problem is that VDSM isn't told by default to pass dummy
NICs on to the engine. Have a look at the following file (exact path
might vary):

/usr/lib64/python2.7/site-packages/vdsm/config.py

Search for a variable called fake_nics, it should exist for 3.2. By
default it is empty, but you may define a pattern for fake NIC names to
be passed to the engine (in your case probably dummy*). Restart the
vdsm daemon and everything should be fine. Maybe you'll have to move the
host to maintenance and then reactivate just to refresh the UI.

Please let us know if that works.

Yours, Lior.

On 16/05/13 15:48, Frank Wall wrote:
 Hi Asaf,
 
 Am 13.05.2013 15:05, schrieb Assaf Muller:
 Without the ability to control the networking devices in your
 vicinity and setup VLANs, what you're trying to do isn't supported via
 oVirt.
 
 I was already guessing that it is not supported. Thanks for the
 official confirmation.
 
 * Create two dummy interfaces on the host, and give them static IP
 addresses. For example: 192.168.1.254/24, and 192.168.2.254/24.
 
 OK, I've populated the required files...
 
 /etc/modules-load.d/dummy.conf
 /etc/modprobe.d/dummy.conf
 /etc/sysconfig/network-scripts/ifcfg-dummy0
 
 ...and after a reboot I have a new dummy NIC configured:
 
 dummy0: flags=195UP,BROADCAST,RUNNING,NOARP  mtu 1500
 inet 192.168.0.254  netmask 255.255.255.0  broadcast 192.168.0.255
 ether 5e:61:0f:e7:f9:bc  txqueuelen 0  (Ethernet)
 RX packets 0  bytes 0 (0.0 B)
 RX errors 0  dropped 0  overruns 0  frame 0
 TX packets 3  bytes 210 (210.0 B)
 TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 
 * Create two networks (VM) called One and Two and attach them to
 the dummy NICs.
 
 Unfortunately, this does not work as described. I was able to create
 the new VM network from the Admin Portal successfully, but I am unable
 to attach this network to the dummy NIC.
 
 When I choose the Setup Host Networks option from the Admin Portal:
 My Datacenter = My Cluster = Hosts = My Host = TAB: Network
 Interfaces - Setup Host Networks
 The dummy NIC is NOT listed, but only the physical NIC (with ovirtmgmt
 attached to it).
 
 Is this expected? Does oVirt suppress any non-physical NICs?
 Is there another way to attach the VM network to my dummy NIC?
 
 
 
 Thanks
 - 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


Re: [Users] How to add internal networks

2013-05-16 Thread Dead Horse
This also still works as well:
http://lists.ovirt.org/pipermail/users/2012-April/007385.html
- DHC


On Thu, May 16, 2013 at 9:12 AM, Lior Vernia lver...@redhat.com wrote:

 Hello Frank,

 I suspect the problem is that VDSM isn't told by default to pass dummy
 NICs on to the engine. Have a look at the following file (exact path
 might vary):

 /usr/lib64/python2.7/site-packages/vdsm/config.py

 Search for a variable called fake_nics, it should exist for 3.2. By
 default it is empty, but you may define a pattern for fake NIC names to
 be passed to the engine (in your case probably dummy*). Restart the
 vdsm daemon and everything should be fine. Maybe you'll have to move the
 host to maintenance and then reactivate just to refresh the UI.

 Please let us know if that works.

 Yours, Lior.

 On 16/05/13 15:48, Frank Wall wrote:
  Hi Asaf,
 
  Am 13.05.2013 15:05, schrieb Assaf Muller:
  Without the ability to control the networking devices in your
  vicinity and setup VLANs, what you're trying to do isn't supported via
  oVirt.
 
  I was already guessing that it is not supported. Thanks for the
  official confirmation.
 
  * Create two dummy interfaces on the host, and give them static IP
  addresses. For example: 192.168.1.254/24, and 192.168.2.254/24.
 
  OK, I've populated the required files...
 
  /etc/modules-load.d/dummy.conf
  /etc/modprobe.d/dummy.conf
  /etc/sysconfig/network-scripts/ifcfg-dummy0
 
  ...and after a reboot I have a new dummy NIC configured:
 
  dummy0: flags=195UP,BROADCAST,RUNNING,NOARP  mtu 1500
  inet 192.168.0.254  netmask 255.255.255.0  broadcast
 192.168.0.255
  ether 5e:61:0f:e7:f9:bc  txqueuelen 0  (Ethernet)
  RX packets 0  bytes 0 (0.0 B)
  RX errors 0  dropped 0  overruns 0  frame 0
  TX packets 3  bytes 210 (210.0 B)
  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 
  * Create two networks (VM) called One and Two and attach them to
  the dummy NICs.
 
  Unfortunately, this does not work as described. I was able to create
  the new VM network from the Admin Portal successfully, but I am unable
  to attach this network to the dummy NIC.
 
  When I choose the Setup Host Networks option from the Admin Portal:
  My Datacenter = My Cluster = Hosts = My Host = TAB: Network
  Interfaces - Setup Host Networks
  The dummy NIC is NOT listed, but only the physical NIC (with ovirtmgmt
  attached to it).
 
  Is this expected? Does oVirt suppress any non-physical NICs?
  Is there another way to attach the VM network to my dummy NIC?
 
 
 
  Thanks
  - 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] Issue with disk after importing a VM

2013-05-16 Thread Marcelo Fernandez
I import a VM to a second data center.The VM has 2 disks.On Admin
Portal,one of the  disks shows illegal status,but I have no problem
accessing this disk from the VM.
Could someone give me pointers on what went wrong?

Appreciate your help.

Thanks,
Marcelo

Log from engine.log
2013-05-15 12:14:52,994 INFO
[org.ovirt.engine.core.bll.RemoveImageCommand] (pool-3-thread-50)
[3dbbb4e3] Running command: RemoveImageCommand internal: true.
Entities affected
 :  ID: ---- Type: Storage
2013-05-15 12:14:52,997 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.DeleteImageGroupVDSCommand]
(pool-3-thread-50) [1xxx] START,
 DeleteImageGroupVDSCommand( storagePoolId =sp ID, ignoreFailoverLimit
= false, compatabilityVersion = 3.1,
storageDomainId = pqrpqr---x-xxx, imageGroupId =
abcabc-xxx-xxx-xxx-, postZeros = false, forceDelete = false), log
id: 566629ec

2013-05-15 12:14:53,254 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(pool-3-thread-50) [1xx] IrsBroker::Failed::DeleteImageGroupVDS
due to:
IrsOperationFailedNoFailoverException: IRSGenericException:
IRSErrorException: Could not remove all image's volumes:
(abcabc-xxx-xxx-xxx- [Errno 39] Directory not empty:
'/rhev/data-center/mnt/IP:export/SDUID/images/_remoiqXphA',)

2013-05-15 12:14:53,255 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.DeleteImageGroupVDSCommand]
(pool-3-thread-50) [1xx] FINISH, DeleteImageGroupVDSCommand, log
id: 566629ec
2013-05-15 12:14:53,255 ERROR
[org.ovirt.engine.core.bll.RemoveImageCommand] (pool-3-thread-50)
[3dbbb4e3] Command org.ovirt.engine.core.bll.RemoveImageCommand throw
Vdc Bll exception.
With error message VdcBLLException:
org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException:
IRSGenericException: IRSErrorException: Could not remove all image's
volumes:
 (abcabc-xxx-xxx-xxx- [Errno 39] Directory not empty:
'/rhev/data-center/mnt/IP:export/SDUID/images/_remoiqXphA',)

2013-05-15 12:14:53,260 ERROR
[org.ovirt.engine.core.bll.RemoveAllVmImagesCommand]
(pool-3-thread-50) [1xx] Cant remove image id:
xyzxyz-xxx--- for VM id: due to: ImageDeleteError. Image
will be set at illegal state with no snapshot id.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to add internal networks

2013-05-16 Thread Frank Wall

Hi Lior,

Am 16.05.2013 16:12, schrieb Lior Vernia:

Search for a variable called fake_nics, it should exist for 3.2. By
default it is empty, but you may define a pattern for fake NIC names 
to

be passed to the engine (in your case probably dummy*). Restart the
vdsm daemon and everything should be fine. Maybe you'll have to move 
the

host to maintenance and then reactivate just to refresh the UI.


IT WORKS! :-) Restarting vdsmd was sufficient. Attaching the network
to the dummy NIC worked like a charm and a test VM is able to 
communicate

with the Node's dummy NIC. (I just need to setup routing on the Node to
get communication with the outside world running.)

--- /usr/lib64/python2.7/site-packages/vdsm/config.py.orig	2013-03-14 
11:32:54.0 +0100
+++ /usr/lib64/python2.7/site-packages/vdsm/config.py	2013-05-16 
16:34:27.722959670 +0200

@@ -38,7 +38,7 @@
 ('extra_mem_reserve', '65',
 'Memory reserved for non-vds-administered programs.'),

-('fake_nics', '',
+('fake_nics', 'dummy*',
 'Comma-separated list of fnmatch-patterns for dummy hosts 
nics to '

 'be shown to vdsm.'),


Is there a chance to change it from a hard-coded value to a
configurable item in a future release of oVirt? Or maybe
have a better default value (dummy*) in a bugfix release?


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


Re: [Users] Issue with disk after importing a VM

2013-05-16 Thread Marcelo Fernandez
Another question:

How to safely change status of disk?

On Thu, May 16, 2013 at 10:42 AM, Marcelo Fernandez 
marcelo.vir...@gmail.com wrote:

 I import a VM to a second data center.The VM has 2 disks.On Admin Portal,one 
 of the  disks shows illegal status,but I have no problem accessing this disk 
 from the VM.

 Could someone give me pointers on what went wrong?

 Appreciate your help.

 Thanks,
 Marcelo

 Log from engine.log
 2013-05-15 12:14:52,994 INFO  [org.ovirt.engine.core.bll.RemoveImageCommand] 
 (pool-3-thread-50) [3dbbb4e3] Running command: RemoveImageCommand internal: 
 true. Entities affected

  :  ID: ---- Type: Storage
 2013-05-15 12:14:52,997 INFO  
 [org.ovirt.engine.core.vdsbroker.irsbroker.DeleteImageGroupVDSCommand] 
 (pool-3-thread-50) [1xxx] START,
  DeleteImageGroupVDSCommand( storagePoolId =sp ID, ignoreFailoverLimit = 
 false, compatabilityVersion = 3.1,

 storageDomainId = pqrpqr---x-xxx, imageGroupId = 
 abcabc-xxx-xxx-xxx-, postZeros = false, forceDelete = false), log id: 
 566629ec

 2013-05-15 12:14:53,254 ERROR 
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
 (pool-3-thread-50) [1xx] IrsBroker::Failed::DeleteImageGroupVDS due to:
 IrsOperationFailedNoFailoverException: IRSGenericException: 
 IRSErrorException: Could not remove all image's volumes:

 (abcabc-xxx-xxx-xxx- [Errno 39] Directory not empty: 
 '/rhev/data-center/mnt/IP:export/SDUID/images/_remoiqXphA',)

 2013-05-15 12:14:53,255 INFO  
 [org.ovirt.engine.core.vdsbroker.irsbroker.DeleteImageGroupVDSCommand] 
 (pool-3-thread-50) [1xx] FINISH, DeleteImageGroupVDSCommand, log id: 
 566629ec
 2013-05-15 12:14:53,255 ERROR [org.ovirt.engine.core.bll.RemoveImageCommand] 
 (pool-3-thread-50) [3dbbb4e3] Command 
 org.ovirt.engine.core.bll.RemoveImageCommand throw Vdc Bll exception.
 With error message VdcBLLException: 
 org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException:
  IRSGenericException: IRSErrorException: Could not remove all image's volumes:

  (abcabc-xxx-xxx-xxx- [Errno 39] Directory not empty: 
 '/rhev/data-center/mnt/IP:export/SDUID/images/_remoiqXphA',)

 2013-05-15 12:14:53,260 ERROR 
 [org.ovirt.engine.core.bll.RemoveAllVmImagesCommand] (pool-3-thread-50) 
 [1xx] Cant remove image id:
 xyzxyz-xxx--- for VM id: due to: ImageDeleteError. Image will be 
 set at illegal state with no snapshot id.


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


[Users] WG: Nagios monitoring plugin check_rhev3 1.2 released

2013-05-16 Thread Sven Knohsalla
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] 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] Nagios monitoring plugin check_rhev3 1.2 released

2013-05-16 Thread Ernest Beinrohr
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.


-- 
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE
http://www.beinrohr.sk/rhce.php, RHCVA
http://www.beinrohr.sk/rhce.php, LPIC
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://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] [Fwd: Guest never gets removed]

2013-05-16 Thread Gilad Chaplik
- Original Message -
 From: Karli Sjöberg karli.sjob...@slu.se
 To: Noam Slomianko nslom...@redhat.com
 Cc: users users@ovirt.org
 Sent: Thursday, May 16, 2013 3:50:11 PM
 Subject: Re: [Users] [Fwd:  Guest never gets removed]
 
 Hi Noam!
 
 tor 2013-05-16 klockan 06:23 -0400 skrev Noam Slomianko:
 
 
 Hi Karli,
 I don't know about reminding the engine of forgotten actions and sounds like
 the failure can originate from all sort of problems...
 This means I don't have a good solution, but I do have a solution.
 
 What is a man without backups?;)
 
 
 
 
 Go to the host and manually remoove the VM:
 If vdsClient is installed do vdsClient 0 list table and then vdsClient 0
 destroy UUID
 If not the use virsh to list the vms virsh list then using the id/name
 remove it virsh destroy id/name
 
 No sign of that Guest using any of the above commands. I also checked whether
 it still had any ghost Virtual Disks so I guess SPM managed to clear that.
 
 
 
 
 Then go to Ovirt DB and delete (cascade) the VM from vm_static
 
 That´s where I could use the most guideance really. How exactly do I do that?

as a last resort, you can run the following sql statements
1) select vm_guid from vm_static where vm_name = '???' 
2) delete from snapshots where vm_id = 'vm_guid' -- vm_guid from 1
3) select DeleteVmStatic('vm_guid') -- vm_guid from 1

 
 
 
 
 But remember that as always touching the inner working directly might be
 risky and prone to errors (no way to recover if you deleted the wrong VM)
 So use with caution.
 
 I hope this helps,
 Noam.
 
 
 - Original Message -
 From: Karli Sjöberg  karli.sjob...@slu.se 
 To: users  users@ovirt.org 
 Sent: Wednesday, May 15, 2013 8:17:47 AM
 Subject: [Users] [Fwd:  Guest never gets removed]
 
 Hello everyone!
 
 I think perhaps this question passed completly unnoticed so I´m trying to
 resend it to perhaps get some attention.
 
 /Karli
 
  Vidarebefordrat meddelande 
 
 
 Från : Karli Sjöberg  karli.sjob...@slu.se 
 Till : users  users@ovirt.org 
 Ämne : [Users] Guest never gets removed
 Datum : Wed, 8 May 2013 05:06:57 +
 
 Hi,
 
 yesterday I issued a remove of a Guest and then immediately afterwards engine
 started complaining about sync errors between database and storage metadata.
 To my surprise, both of my two data stores were marked as master in their
 storage metadata files. I had to change MASTER_VERSION and ROLE, then
 tail the vdsm log on a Host and watch it complain that the checksum is wrong
 and how it is ${X} but should be ${Y} according to it´s logic, and
 copy/paste tbe correct checksum into storage metadata file as well. This had
 to be done for both data domains, and when done, I have one Master- and
 one Regular domain that works and equals what´s in the database.
 
 The problem is that engine now apparently has forgotten about my Guest that
 it was supposed to remove before all of this... The operation is still
 listed in Tasks, so it´s not quite finished yet. Since it´s changed state
 to hourglass and status Image locked, I can´t click for removal again
 either...
 
 Is there any way to remind engine of a job not done?
 
 
   --
 
 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 --
 
 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
 
 
   --
 
 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


[Users] On Start of VM: Exit message: internal error ifname vnet0 not in key map

2013-05-16 Thread Scott Ocken

This is a new setup.  oVirt engine 3.2.1.  One ovirt-node 2.6.1.
Node network config:
em1 ovirtmgmt untagged
em2 tagged with 2 networks

VM has one nic attached to one of the VLANs on em2.

On start of VM it fails with:
Exit message: internal error ifname vnet0 not in key map

Looking on the node vnet0 does not exist.
All over network interfaces I would expect are there.
ovirtmgmt, and the 2 VLANs with their em2.x interfaces as well.

Thanks
Scott


binbnpO5qaAYJ.bin
Description: PGP Public Key
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [Fwd: Guest never gets removed]

2013-05-16 Thread Karli Sjöberg
tor 2013-05-16 klockan 11:19 -0400 skrev Gilad Chaplik:


- Original Message -
 From: Karli Sjöberg karli.sjob...@slu.semailto:karli.sjob...@slu.se
 To: Noam Slomianko nslom...@redhat.commailto:nslom...@redhat.com
 Cc: users users@ovirt.orgmailto:users@ovirt.org
 Sent: Thursday, May 16, 2013 3:50:11 PM
 Subject: Re: [Users] [Fwd:  Guest never gets removed]

 Hi Noam!

 tor 2013-05-16 klockan 06:23 -0400 skrev Noam Slomianko:


 Hi Karli,
 I don't know about reminding the engine of forgotten actions and sounds like
 the failure can originate from all sort of problems...
 This means I don't have a good solution, but I do have a solution.

 What is a man without backups?;)




 Go to the host and manually remoove the VM:
 If vdsClient is installed do vdsClient 0 list table and then vdsClient 0
 destroy UUID
 If not the use virsh to list the vms virsh list then using the id/name
 remove it virsh destroy id/name

 No sign of that Guest using any of the above commands. I also checked whether
 it still had any ghost Virtual Disks so I guess SPM managed to clear that.




 Then go to Ovirt DB and delete (cascade) the VM from vm_static

 That´s where I could use the most guideance really. How exactly do I do that?

as a last resort, you can run the following sql statements
1) select vm_guid from vm_static where vm_name = '???'
2) delete from snapshots where vm_id = 'vm_guid' -- vm_guid from 1
3) select DeleteVmStatic('vm_guid') -- vm_guid from 1


[root@enginemailto:root@storm ~]# psql -U engine -c select vm_guid from 
vm_static where vm_name = 'GhostGuest'
   vm_guid
--
86380302-ce99-4e40-94ca-3f59bb491e5e
(1 row)

[root@enginemailto:root@engine ~]# psql -U engine -c delete from snapshots 
where vm_id = '86380302-ce99-4e40-94ca-3f59bb491e5e' -- vm_guid from 1
DELETE 1
[root@enginemailto:root@storm ~]# psql -U engine -c select 
DeleteVmStatic('86380302-ce99-4e40-94ca-3f59bb491e5e') -- vm_guid from 1
deletevmstatic


(1 row)

The ghost Guest was then exorcised (it immaterialized from web-ui) and I 
could also delete a Template that was previously locked due this GhostGuest (it 
was made with thin Template Provisioning). Super help! Thanks a bunch!

/Karli








 But remember that as always touching the inner working directly might be
 risky and prone to errors (no way to recover if you deleted the wrong VM)
 So use with caution.

 I hope this helps,
 Noam.


 - Original Message -
 From: Karli Sjöberg  karli.sjob...@slu.semailto:karli.sjob...@slu.se 
 To: users  users@ovirt.orgmailto:users@ovirt.org 
 Sent: Wednesday, May 15, 2013 8:17:47 AM
 Subject: [Users] [Fwd:  Guest never gets removed]

 Hello everyone!

 I think perhaps this question passed completly unnoticed so I´m trying to
 resend it to perhaps get some attention.

 /Karli

  Vidarebefordrat meddelande 


 Från : Karli Sjöberg  karli.sjob...@slu.semailto:karli.sjob...@slu.se 
 Till : users  users@ovirt.orgmailto:users@ovirt.org 
 Ämne : [Users] Guest never gets removed
 Datum : Wed, 8 May 2013 05:06:57 +

 Hi,

 yesterday I issued a remove of a Guest and then immediately afterwards engine
 started complaining about sync errors between database and storage metadata.
 To my surprise, both of my two data stores were marked as master in their
 storage metadata files. I had to change MASTER_VERSION and ROLE, then
 tail the vdsm log on a Host and watch it complain that the checksum is wrong
 and how it is ${X} but should be ${Y} according to it´s logic, and
 copy/paste tbe correct checksum into storage metadata file as well. This had
 to be done for both data domains, and when done, I have one Master- and
 one Regular domain that works and equals what´s in the database.

 The problem is that engine now apparently has forgotten about my Guest that
 it was supposed to remove before all of this... The operation is still
 listed in Tasks, so it´s not quite finished yet. Since it´s changed state
 to hourglass and status Image locked, I can´t click for removal again
 either...

 Is there any way to remind engine of a job not done?


   --

 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.semailto:karli.sjob...@slu.se --

 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.semailto:karli.sjob...@slu.se
 ___
 Users mailing list Users@ovirt.orgmailto:Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users


   --

 Med Vänliga Hälsningar
 

Re: [Users] Unable to add data/NFS domain.

2013-05-16 Thread Alon Bar-Lev


- Original Message -
 From: Sahina Bose sab...@redhat.com
 To: snmis...@linux.vnet.ibm.com
 Cc: users@ovirt.org
 Sent: Friday, May 17, 2013 8:37:17 AM
 Subject: Re: [Users] Unable to add data/NFS domain.
 
 Hi Sharad,
 
 Are you running ovirt-engine in dev enviroment? There are some errors related
 to infinispan in engine logs, not sure if this is the cause for your error
 though. (refer Michael Kublin's message -
 http://lists.ovirt.org/pipermail/engine-devel/2013-April/004344.html for
 infinispan related changes)

These errors should be addressed, as the inifnspan is configured correctly at 
service[1], or so it seems.

Michael, I requested information about these exceptions several times, and yet 
got no response from you.

[1] 
http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob;f=packaging/services/ovirt-engine.xml.in;hb=HEAD#l177

 
 Also see in vdsm logs - someone else could shed light on this:
 File /usr/share/vdsm/storage/clusterlock.py, line 187, in acquireHostId
 raise se.AcquireHostIdFailure(self._sdUUID, e)
 AcquireHostIdFailure: Cannot acquire host id:
 ('47c26e8e-c28f-451d-8a5d-9ae9154b5d08', SanlockException(19, 'Sanlock
 lockspace add failure', 'No such device'))
 
 -sahina
 
 
 On 05/17/2013 06:38 AM, snmis...@linux.vnet.ibm.com wrote:
 
 
 
 After filling up the required entried in New Doamin dialog for a
 Data/NFS. I hit OK, and get error dialog - Error while executing
 action. Add Storage Connection: General Exception.
 
 Attached are engine and vdsm logs. I think its not code but something to do
 with my env.
 
 -Sharad
 
 
 ___
 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