[Users] Rest-api to fetch the hosts details ( active vm's , CPU , Physical memory etc.)

2013-01-30 Thread Romil Gupta
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


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


Re: [Users] node iso installer drops into dracut with Supermicro Virtual CD drive

2013-01-30 Thread Fabian Deutsch
Am Dienstag, den 29.01.2013, 14:31 + schrieb Alexandre Santos:
 Hi,
 You should alter your grub command line. This is a bug on Fedora.
 Instead of /dev/mapper/live-rw, it should be /dev/sr0, for instance...
 Alex

Hey Alex,

do you know if there is a bugzilla entry for this bug?

Thanks
fabian

 
 2013/1/29 Jorick Astrego jor...@netbulae.eu:
  Hi,
 
  I'm still having the same problems booting from a virtual CD problems with
  the latest node iso
  (ovirt-node-iso-2.6.0-20130125090303git3839439.566.fc18.iso).
 
  The node boots into the installer and then drops into a dracut shell:
 
  dracut-initqueue[488]: Warning: Could not boot.
  dracut-initqueue[488]: Warning: /dev/disk/by-label/ovirt-node-iso does not
  exist
  dracut-initqueue[488]: Warning: /dev/mapper/live-rw does not exist
 
  dracut:/# blkid
  /dev/sr0: UUID=2013-01-28-01-35-21-00 LABEL=ovirt-node-iso
  TYPE=iso9660 PTTYPE=dos
 
  I'll use foreman to deploy it for now but it's making casual testing a bit
  harder.
 
  --
  Kind Regards,
 
  Jorick Astrego
 
  Netbulae B.V.
 
 
  ___
  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



signature.asc
Description: This is a digitally signed message part
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] node iso installer drops into dracut with Supermicro Virtual CD drive

2013-01-30 Thread Alexandre Santos
2013/1/30 Fabian Deutsch fabi...@redhat.com:
 Am Dienstag, den 29.01.2013, 14:31 + schrieb Alexandre Santos:
 Hi,
 You should alter your grub command line. This is a bug on Fedora.
 Instead of /dev/mapper/live-rw, it should be /dev/sr0, for instance...
 Alex

 Hey Alex,

 do you know if there is a bugzilla entry for this bug?

 Thanks
 fabian


 2013/1/29 Jorick Astrego jor...@netbulae.eu:
  Hi,
 
  I'm still having the same problems booting from a virtual CD problems with
  the latest node iso
  (ovirt-node-iso-2.6.0-20130125090303git3839439.566.fc18.iso).
 
  The node boots into the installer and then drops into a dracut shell:
 
  dracut-initqueue[488]: Warning: Could not boot.
  dracut-initqueue[488]: Warning: /dev/disk/by-label/ovirt-node-iso does not
  exist
  dracut-initqueue[488]: Warning: /dev/mapper/live-rw does not exist
 
  dracut:/# blkid
  /dev/sr0: UUID=2013-01-28-01-35-21-00 LABEL=ovirt-node-iso
  TYPE=iso9660 PTTYPE=dos
 
  I'll use foreman to deploy it for now but it's making casual testing a bit
  harder.
 
  --
  Kind Regards,
 
  Jorick Astrego
 
  Netbulae B.V.
 
 
  ___
  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


I've seen it on bugzilla when trying to solve this issue but didn't write down.
Today I found this one:
https://bugzilla.redhat.com/show_bug.cgi?id=824617 - might be it and
there is a post with the solution.

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


Re: [Users] node iso installer drops into dracut with Supermicro Virtual CD drive

2013-01-30 Thread Fabian Deutsch
Am Mittwoch, den 30.01.2013, 09:28 + schrieb Alexandre Santos:
 2013/1/30 Fabian Deutsch fabi...@redhat.com:
  Am Dienstag, den 29.01.2013, 14:31 + schrieb Alexandre Santos:
  Hi,
  You should alter your grub command line. This is a bug on Fedora.
  Instead of /dev/mapper/live-rw, it should be /dev/sr0, for instance...
  Alex
 
  Hey Alex,
 
  do you know if there is a bugzilla entry for this bug?
 
 I've seen it on bugzilla when trying to solve this issue but didn't write 
 down.
 Today I found this one:
 https://bugzilla.redhat.com/show_bug.cgi?id=824617 - might be it and
 there is a post with the solution.

Hey,

thanks - maybe we should see if adding the pollcdrom darcut module [1]
to oVirt Node's default dracut config solves this problem for virtual
cdroms like in your case.

Greetings
fabian

--
[1] https://bugzilla.redhat.com/show_bug.cgi?id=824617#c42


signature.asc
Description: This is a digitally signed message part
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / spice client /connection

2013-01-30 Thread Alex Leonhardt
fwiw, i tried it but didnt work, i used

engine-config -s SpiceReleaseCursorKeys=ctrl+alt

and after restarting the engine, it came up with the right combo in the
window title, but it didnt work, i had to reboot the host for me to get the
cursor back

anything i did wrong here ?

alex



On 29 January 2013 23:51, Alex Leonhardt alex.t...@gmail.com wrote:

  fab, thanks i'll try that


 On 01/29/2013 12:24 PM, Andrew Cathrow wrote:

 - Original Message -


  From: Alex Leonhardt alex.t...@gmail.com alex.t...@gmail.com
 To: oVirt Mailing List users@ovirt.org users@ovirt.org
 Sent: Tuesday, January 29, 2013 4:07:13 AM
 Subject: [Users] ovirt / spice client /connection

   Hi,

   is it possible to change the key combination from Shift + F12 to
 CTRL+ALT to release the cursor/mouse ?

  Use the engine-config utility to change the value for SpiceReleaseCursorKeys 
 the default is shift+f12 but it can be easily modified.
 Aic




  Alex

   --

   | RHCE | Senior Systems Engineer | www.vcore.co |
 | www.vsearchcloud.com |

   ___
 Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Engine upgrade failure broken in master

2013-01-30 Thread Alex Lourie

On Wed 30 Jan 2013 04:51:56 AM IST, Yair Zaslavsky wrote:

Looks like the following commits around the async task clearner
introduced between the two commits you specified -

e16f21c1a42d418cfb7528b7819d97e576d715f3


That's the one that fixes the issue.


9393178a693cddc8756cf3b21198faa43407ff5d

Looks like the one that handles the extra character fixes this.




*From: *Dead Horse deadhorseconsult...@gmail.com
*To: *users@ovirt.org users@ovirt.org
*Sent: *Tuesday, January 29, 2013 10:19:31 PM
*Subject: *[Users] Engine upgrade failure broken in master

Commit: 72a51f5e21f38bf259a460948670eac92e97ca24
Breaks engine upgrades:

2013-01-29 12:40:52::ERROR::engine-upgrade::1177::root:: Traceback
(most recent call last):
  File /usr/bin/engine-upgrade, line 1170, in module
main(options)
  File /usr/bin/engine-upgrade, line 1071, in main
if zombieTasksFound():
  File /usr/bin/engine-upgrade, line 766, in zombieTasksFound
msg=Can't get zombie async tasks,
  File /usr/share/ovirt-engine/scripts/common_utils.py, line
459, in execCmd
env=env,
  File /usr/lib64/python2.7/subprocess.py, line 679, in __init__
errread, errwrite)
  File /usr/lib64/python2.7/subprocess.py, line 1249, in
_execute_child
raise child_exception
OSError: [Errno 8] Exec format error

Upgrade was attempted on engine built from commit:
61c11aecc40e755d08b6c34c6fe1c0a07fa94de8

Building from commit: 82bdc46dfdb46b000f67f0cd4e51fc39665bf13b and
upgrading works as expected.

- DHC

___
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




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


[Users] How to import KVM machines into oVirt iSCSI

2013-01-30 Thread Nicolas Ecarnot

Hi,

Reading the docs all day long helped me to setup a nice Data center in 
iSCSI mode, connected to a big LUN in a san.

Many many points are working, mostly thanks to you, people of this list.

Apart from this oVirt setup (1 manager, 3 nodes, 1 san), I have a 
completely separated ubuntu hypervisor running a standalone local KVM 
with a local storage.


I have not a clear view of how I will manage to import these VM into oVirt.

Of course, I've read about ovirt-v2v (and its huge amount of 
dependencies...), but I'm not sure this is the way I have to follow?
As far as I've understood, v2v seems to be dedicated to connection 
between oVirt datacenters, or vmware or Xen plateforms, but I see 
nothing about the connection to a distant standalone KVM hypervisor.


One more thing that is unclear to me, and seems related, is the notion 
of export / import domain. I read that this principle could allow me to 
export (then to backup) my VMs. This could help me to import some VMs.
But I read that this export domain has to be the same type of my 
datacenter (iscsi), so this is not helping me with my standalone kvm 
hypervisor.


I'd be glad to get some light on these points.

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


Re: [Users] How to import KVM machines into oVirt iSCSI

2013-01-30 Thread Jakub Libosvar

On 01/30/2013 11:43 AM, Nicolas Ecarnot wrote:

Hi,

Reading the docs all day long helped me to setup a nice Data center in
iSCSI mode, connected to a big LUN in a san.
Many many points are working, mostly thanks to you, people of this list.

Apart from this oVirt setup (1 manager, 3 nodes, 1 san), I have a
completely separated ubuntu hypervisor running a standalone local KVM
with a local storage.

I have not a clear view of how I will manage to import these VM into oVirt.

Of course, I've read about ovirt-v2v (and its huge amount of
dependencies...), but I'm not sure this is the way I have to follow?
As far as I've understood, v2v seems to be dedicated to connection
between oVirt datacenters, or vmware or Xen plateforms, but I see
nothing about the connection to a distant standalone KVM hypervisor.

One more thing that is unclear to me, and seems related, is the notion
of export / import domain. I read that this principle could allow me to
export (then to backup) my VMs. This could help me to import some VMs.
But I read that this export domain has to be the same type of my
datacenter (iscsi), so this is not helping me with my standalone kvm
hypervisor.

I'd be glad to get some light on these points.


Hi Nicolas,

you can attach NFS export domain to iSCSI data-center. There is no need 
to have same export domain type as your data-center has. I hope it will 
help you to solve your problem.


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


Re: [Users] How to import KVM machines into oVirt iSCSI

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

The following command migrates a KVM vm named test-rhel6 to your
export domain ovirt-engine:/data/nfs/export with qcow2, thin
provisioned disk and ovirtmgmt-network from KVM host kvm-host:

# virt-v2v -i libvirt -ic qemu+ssh://root@kvm-host/system -o rhev -os
ovirt-engine:/data/nfs/export -of qcow2 -oa sparse -n ovirtmgmt
test-rhel6

See virt-v2v --help for details...

You can also create a profile in /etc/virt-v2v.conf to avoid command
line arguments for virt-v2v...

For migration you need an export domain which must be NFS (not iSCSI).

So the migration steps are:
1. create export domain
2. activate export domain on datacenter
3. install virt-v2v on ovirt engine host
4. migrate host to export domain
5. import vm from export domain


-- 
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 11:43 +0100, Nicolas Ecarnot wrote:
 Hi,
 
 Reading the docs all day long helped me to setup a nice Data center in 
 iSCSI mode, connected to a big LUN in a san.
 Many many points are working, mostly thanks to you, people of this list.
 
 Apart from this oVirt setup (1 manager, 3 nodes, 1 san), I have a 
 completely separated ubuntu hypervisor running a standalone local KVM 
 with a local storage.
 
 I have not a clear view of how I will manage to import these VM into oVirt.
 
 Of course, I've read about ovirt-v2v (and its huge amount of 
 dependencies...), but I'm not sure this is the way I have to follow?
 As far as I've understood, v2v seems to be dedicated to connection 
 between oVirt datacenters, or vmware or Xen plateforms, but I see 
 nothing about the connection to a distant standalone KVM hypervisor.
 
 One more thing that is unclear to me, and seems related, is the notion 
 of export / import domain. I read that this principle could allow me to 
 export (then to backup) my VMs. This could help me to import some VMs.
 But I read that this export domain has to be the same type of my 
 datacenter (iscsi), so this is not helping me with my standalone kvm 
 hypervisor.
 
 I'd be glad to get some light on these points.
 

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


[Users] ovirt-engine-sdk-java 1.0.0.3-1 released

2013-01-30 Thread Michael Pasternak
- added persistent authentication support
- added support for the methods overloads based on url/headers params
- added delete methods overloads with body as parameters holder
- to host added [display.address] property for overriding display address
- user can specify own ticket now in vm.ticket() via [action.ticket.value]

More details can be found at [1].

[1] http://www.ovirt.org/Java-sdk-changelog

-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
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 Michael Pasternak

Romil,

On 01/30/2013 12:18 PM, Romil Gupta wrote:
 Hi,
 
 Is this is a right way to get it ??

 statistics=params.Host(host.name http://host.name).get_statistic()

1. first you need to fetch the host to see it's statistics (by doing 
params.Host(...) you creating
   host parameters holder which is needed for adding new host to the system)

2. get_x() getters used to access object attributes, while collections are 
exposed as properties, do

1. myhost = api.hosts.get(name=xxx)
2. myhost.statistics.list()
3. loop over returned collection of statistics to find what you're looking for

- note, statistic objects are complex types, you can look for data at:

statistics[i].unit // the unit of the holder data
statistics[i].values.value[0].datum // actual data

 print statistics
 
  summary=params.Host(host.name http://host.name).get_summary()

summary() is an api method, do:

1. api = API(url='', username='', password='')
2. api.get_summary()


  print summary
 
 
 Output is : none 
 
 Thanks 
 Romil   
 
 
 On Wed, Jan 30, 2013 at 2:04 PM, Michael Pasternak mpast...@redhat.com 
 mailto:mpast...@redhat.com wrote:
 
 
 Hi Romil,
 
 On 01/30/2013 10:17 AM, Romil Gupta wrote:
  Hi all ,
 
  how I can get the hosts details like Active VM's ,
 
 host doesn't have running vms attribute, instead you
 can see in the guest on which host it's running,
 
 general system summary you can see at api.get_summary()
 
 Number of CPU's , CPU name , CPU type ,
 
 these are host attributes
 
 Physical Memory (used , free ) , swap size and other parameters
 
 these are host.statistics attributes
 
  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.
 
 
 --
 
 Michael Pasternak
 RedHat, ENG-Virtualization RD
 
 
 
 
 -- 
 I don't wish to be everything to everyone, but I would like to be something 
 to someone.


-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
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 Michael Pasternak
On 01/30/2013 03:09 PM, Romil Gupta wrote:
 thanks for all your guidance , now I m able to fetch the details of a host 
 using 
 the below script :
  
 hosts=api.hosts.list()
 for host in hosts:
 print host name-- %s  id--- %s \n%(host.name http://host.name , 
 host.id http://host.id)
 clusterid=api.hosts.get(host.name http://host.name).cluster.id 
 http://cluster.id
 print clusterid
 
 hostname=api.hosts.get(host.name http://host.name)
 statistic=hostname.statistics.list()
 i=0
 while i  14:
 print statistic[i].name
 print statistic[i].description
 print statistic[i].unit
 print statistic[i].values.value[0].datum
 i=i+1;
 
 
 summary=api.get_summary()
 print summary
  
 How I can print the summary , its only return the Object?? 

this is summary object structure:

summary
vms
total/total
active/active
/vms
hosts
total/total
active/active
/hosts
users
total/total
active/active
/users
storage_domains
total/total
active/active
/storage_domains
/summary

you can access properties directly, like this:
summary.hosts.active

 
 Thanks,
 Romil 
 
 
 On Wed, Jan 30, 2013 at 4:52 PM, Michael Pasternak mpast...@redhat.com 
 mailto:mpast...@redhat.com wrote:
 
 
 Romil,
 
 On 01/30/2013 12:18 PM, Romil Gupta wrote:
  Hi,
 
  Is this is a right way to get it ??
 
  statistics=params.Host(host.name http://host.name 
 http://host.name).get_statistic()
 
 1. first you need to fetch the host to see it's statistics (by doing 
 params.Host(...) you creating
host parameters holder which is needed for adding new host to the 
 system)
 
 2. get_x() getters used to access object attributes, while collections 
 are exposed as properties, do
 
 1. myhost = api.hosts.get(name=xxx)
 2. myhost.statistics.list()
 3. loop over returned collection of statistics to find what you're 
 looking for
 
 - note, statistic objects are complex types, you can look for data at:
 
 statistics[i].unit // the unit of the holder data
 statistics[i].values.value[0].datum // actual data
 
  print statistics
 
   summary=params.Host(host.name http://host.name 
 http://host.name).get_summary()
 
 summary() is an api method, do:
 
 1. api = API(url='', username='', password='')
 2. api.get_summary()
 
 
   print summary
 
 
  Output is : none
 
  Thanks
  Romil
 
 
  On Wed, Jan 30, 2013 at 2:04 PM, Michael Pasternak mpast...@redhat.com 
 mailto:mpast...@redhat.com mailto:mpast...@redhat.com 
 mailto:mpast...@redhat.com wrote:
 
 
  Hi Romil,
 
  On 01/30/2013 10:17 AM, Romil Gupta wrote:
   Hi all ,
  
   how I can get the hosts details like Active VM's ,
 
  host doesn't have running vms attribute, instead you
  can see in the guest on which host it's running,
 
  general system summary you can see at api.get_summary()
 
  Number of CPU's , CPU name , CPU type ,
 
  these are host attributes
 
  Physical Memory (used , free ) , swap size and other parameters
 
  these are host.statistics attributes
 
   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.
 
 
  --
 
  Michael Pasternak
  RedHat, ENG-Virtualization RD
 
 
 
 
  --
  I don't wish to be everything to everyone, but I would like to be 
 something to someone.
 
 
 --
 
 Michael Pasternak
 RedHat, ENG-Virtualization RD
 
 
 
 
 -- 
 I don't wish to be everything to everyone, but I would like to be something 
 to someone.


-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Cannot create vm's from user portal

2013-01-30 Thread Eli Mesika


- Original Message -
 From: Dead Horse deadhorseconsult...@gmail.com
 To: users@ovirt.org users@ovirt.org
 Sent: Tuesday, January 29, 2013 5:24:20 AM
 Subject: Re: [Users] Cannot create vm's from user portal
 
 
 
 
 Going to venture a guess that this --
 http://gerrit.ovirt.org/#/c/11411/ is the fix for this ;)

Yes, it is !!

 - DHC
 
 
 
 
 On Mon, Jan 28, 2013 at 3:40 PM, Dead Horse 
 deadhorseconsult...@gmail.com  wrote:
 
 
 
 
 Seeing this error in engine log when attempting to create a new VM
 from the userportal:
 2013-01-28 15:35:47,158 ERROR
 [org.ovirt.engine.core.bll.GetClustersWithPermittedActionQuery]
 (ajp--127.0.0.1-8702-5) Query GetClustersWithPermittedActionQuery
 failed. Exception message is PreparedStatementCallback; bad SQL
 grammar [select * from
 fn_perms_get_vds_groups_with_permitted_action(?, ?)]; nested
 exception is org.postgresql.util.PSQLException: ERROR: missing
 FROM-clause entry for table vds_groups
 Where: PL/pgSQL function
 fn_perms_get_vds_groups_with_permitted_action line 3 at RETURN
 QUERY
 2013-01-28 15:36:16,726 ERROR
 [org.ovirt.engine.core.bll.GetClustersWithPermittedActionQuery]
 (ajp--127.0.0.1-8702-7) Query GetClustersWithPermittedActionQuery
 failed. Exception message is PreparedStatementCallback; bad SQL
 grammar [select * from
 fn_perms_get_vds_groups_with_permitted_action(?, ?)]; nested
 exception is org.postgresql.util.PSQLException: ERROR: missing
 FROM-clause entry for table vds_groups
 Where: PL/pgSQL function
 fn_perms_get_vds_groups_with_permitted_action line 3 at RETURN
 QUERY
 
 Current running engine build -- commit:
 61c11aecc40e755d08b6c34c6fe1c0a07fa94de8
 
 - DHC
 
 
 
 
 ___
 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] Choosing which network to run VM migration on ovirt 3.1

2013-01-30 Thread Gianluca Cecchi
On Tue, Jan 8, 2013 at 1:47 PM, Dan Kenigsberg  wrote:


 I would like to suggest a brand new migration network role in
 http://www.ovirt.org/Features/Migration_Network to provide
 managenet/migration network separation.
 ___

Hello,
can I ask if this limitation about migration only taking place over
mgmt link is present also in commercial RHEVM 3.1 or not?
Any pointer in case?
Thanks in advance,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] UI Plugin iframe dialogs

2013-01-30 Thread Koch (ovido)
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] oVirt Weekly Meeting Minutes -- 2013-01-30

2013-01-30 Thread Mike Burns
Minutes: 
http://ovirt.org/meetings/ovirt/2013/ovirt.2013-01-30-15.00.html
Minutes (text): 
http://ovirt.org/meetings/ovirt/2013/ovirt.2013-01-30-15.00.txt
Log: 
http://ovirt.org/meetings/ovirt/2013/ovirt.2013-01-30-15.00.log.html



#ovirt: oVirt weekly meeting



Meeting started by mburns at 15:00:43 UTC. The full logs are available
at http://ovirt.org/meetings/ovirt/2013/ovirt.2013-01-30-15.00.log.html
.



Meeting summary
---
* agenda and roll call  (mburns, 15:01:17)

* Workshop update  (mburns, 15:03:28)
  * Sunnyvale workshop went great  (mburns, 15:05:33)
  * almost 100 registered (~30% no-show for first 2 days)  (mburns,
15:05:46)
  * board meeting had almost full attendance  (mburns, 15:06:09)
  * got support for proposed marketing, now need to follow up with the
community  (mburns, 15:06:26)
  * next event:  Oved Ourfali presenting on deltacloud integration into
oVirt at Puppet Camp  (mburns, 15:09:04)
  * FOSDEM -- we are out in force with the virt devroom  (mburns,
15:09:23)
  * finalized dates for Shanghai workshop at Intel -- May 8-9  (mburns,
15:09:45)

* release status  (mburns, 15:11:55)
  * test day tomorrow (31-Jan)  (mburns, 15:12:06)
  * beta announcement ready, to be sent later today  (mburns, 15:12:21)
  * ovirt-node packages and image in final testing, to be posted today
(mburns, 15:12:50)
  * ovirt-node blocked by vdsm bug 905728 (patch:
http://gerrit.ovirt.org/#/c/11527/ )  (mburns, 15:14:03)
  * but we can workaround this issue in ovirt-node for the beta
(mburns, 15:14:19)
  * Test Day:  all are invited to participate  (mburns, 15:16:42)
  * please sign up on http://www.ovirt.org/Testing/OvirtTestDay
(mburns, 15:17:02)
  * ACTION: mburns to review testday wiki node section  (mburns,
15:21:39)
  * ACTION: mburns to send out beta announcement  (mburns, 15:21:50)
  * ACTION: mburns to post ovirt-node for beta/test day  (mburns,
15:21:59)
  * LINK:

https://bugzilla.redhat.com/showdependencytree.cgi?id=881006hide_resolved=1
(mburns, 15:22:38)
  * ^^ a list of the bugs being tracked for the release  (mburns,
15:23:05)
  * Bug 879180 -- https://bugzilla.redhat.com/show_bug.cgi?id=879180
(mburns, 15:23:51)
  * New -- against NetworkManager  (mburns, 15:24:01)
  * ACTION: ovirt-node bugs on the list are all targeted for the beta,
mburns will update bugs later today  (mburns, 15:27:17)
  * only bugs not at least on POST in the list (outside ovirt-node bugs)
are 879180 and 884990  (mburns, 15:27:59)
  * both of which are in core fedora components  (mburns, 15:28:13)
  * not ovirt components  (mburns, 15:28:48)

* Infra report  (mburns, 15:35:27)
  * new hardware from AlterWay not set up yet, but in progress  (mburns,
15:37:13)
  * infra team meetup at FOSDEM ( ewoud quaid dneary Rydekull )
(mburns, 15:38:18)

* Other topics  (mburns, 15:39:15)

Meeting ended at 15:46:46 UTC.




Action Items

* mburns to review testday wiki node section
* mburns to send out beta announcement
* mburns to post ovirt-node for beta/test day
* ovirt-node bugs on the list are all targeted for the beta, mburns will
  update bugs later today




Action Items, by person
---
* mburns
  * mburns to review testday wiki node section
  * mburns to send out beta announcement
  * mburns to post ovirt-node for beta/test day
  * ovirt-node bugs on the list are all targeted for the beta, mburns
will update bugs later today
* **UNASSIGNED**
  * (none)




People Present (lines said)
---
* mburns (94)
* dneary (18)
* oschreib (12)
* mgoldboi (10)
* danken1 (6)
* Rydekull (6)
* ewoud (5)
* ovirtbot (5)
* Jur (3)
* jb_netapp (2)
* YamaKasY (2)
* teuf_ (1)
* dustins (1)




Generated by `MeetBot`_ 0.1.4

.. _`MeetBot`: http://wiki.debian.org/MeetBot
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] VM migrations failing

2013-01-30 Thread Dead Horse
Engine Build -- Commit: 82bdc46dfdb46b000f67f0cd4e51fc39665bf13b
VDSM Build: -- Commit: da89a27492cc7d5a84e4bb87652569ca8e0fb20e + patch
-- http://gerrit.ovirt.org/#/c/11492/

Engine Side:
2013-01-30 10:56:38,439 ERROR
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(QuartzScheduler_Worker-70) Rerun vm 887d764a-f835-4112-9eda-836a772ea5eb.
Called from vds lostisles
2013-01-30 10:56:38,506 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
(pool-3-thread-49) START, MigrateStatusVDSCommand(HostName = lostisles,
HostId = e042b03b-dd4e-414c-be1a-b2c65ac000f5,
vmId=887d764a-f835-4112-9eda-836a772ea5eb), log id: 6556e75b
2013-01-30 10:56:38,510 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
(pool-3-thread-49) Failed in MigrateStatusVDS method
2013-01-30 10:56:38,510 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
(pool-3-thread-49) Error code migrateErr and error message
VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS, error =
Fatal error during migration
2013-01-30 10:56:38,511 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
(pool-3-thread-49) Command
org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand return
value
 StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=12,
mMessage=Fatal error during migration]]


VDSM Side:
Thread-43670::ERROR::2013-01-30 10:56:37,052::vm::200::vm.Vm::(_recover)
vmId=`887d764a-f835-4112-9eda-836a772ea5eb`::this function is not supported
by the connection driver: virDomainMigrateToURI2
Thread-43670::ERROR::2013-01-30 10:56:37,513::vm::288::vm.Vm::(run)
vmId=`887d764a-f835-4112-9eda-836a772ea5eb`::Failed to migrate
Traceback (most recent call last):
  File /usr/share/vdsm/vm.py, line 273, in run
self._startUnderlyingMigration()
  File /usr/share/vdsm/libvirtvm.py, line 504, in
_startUnderlyingMigration
None, maxBandwidth)
  File /usr/share/vdsm/libvirtvm.py, line 540, in f
ret = attr(*args, **kwargs)
  File /usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py, line
111, in wrapper
ret = f(*args, **kwargs)
  File /usr/lib64/python2.6/site-packages/libvirt.py, line 1103, in
migrateToURI2
if ret == -1: raise libvirtError ('virDomainMigrateToURI2() failed',
dom=self)
libvirtError: this function is not supported by the connection driver:
virDomainMigrateToURI2
GuestMonitor-sl63::DEBUG::2013-01-30
10:56:38,235::libvirtvm::307::vm.Vm::(_getDiskLatency)
vmId=`887d764a-f835-4112-9eda-836a772ea5eb`::Disk vda latency not available

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


Re: [Users] Cannot create vm's from user portal

2013-01-30 Thread Dead Horse
That was indeed it ;)


On Wed, Jan 30, 2013 at 8:10 AM, Eli Mesika emes...@redhat.com wrote:



 - Original Message -
  From: Dead Horse deadhorseconsult...@gmail.com
  To: users@ovirt.org users@ovirt.org
  Sent: Tuesday, January 29, 2013 5:24:20 AM
  Subject: Re: [Users] Cannot create vm's from user portal
 
 
 
 
  Going to venture a guess that this --
  http://gerrit.ovirt.org/#/c/11411/ is the fix for this ;)

 Yes, it is !!

  - DHC
 
 
 
 
  On Mon, Jan 28, 2013 at 3:40 PM, Dead Horse 
  deadhorseconsult...@gmail.com  wrote:
 
 
 
 
  Seeing this error in engine log when attempting to create a new VM
  from the userportal:
  2013-01-28 15:35:47,158 ERROR
  [org.ovirt.engine.core.bll.GetClustersWithPermittedActionQuery]
  (ajp--127.0.0.1-8702-5) Query GetClustersWithPermittedActionQuery
  failed. Exception message is PreparedStatementCallback; bad SQL
  grammar [select * from
  fn_perms_get_vds_groups_with_permitted_action(?, ?)]; nested
  exception is org.postgresql.util.PSQLException: ERROR: missing
  FROM-clause entry for table vds_groups
  Where: PL/pgSQL function
  fn_perms_get_vds_groups_with_permitted_action line 3 at RETURN
  QUERY
  2013-01-28 15:36:16,726 ERROR
  [org.ovirt.engine.core.bll.GetClustersWithPermittedActionQuery]
  (ajp--127.0.0.1-8702-7) Query GetClustersWithPermittedActionQuery
  failed. Exception message is PreparedStatementCallback; bad SQL
  grammar [select * from
  fn_perms_get_vds_groups_with_permitted_action(?, ?)]; nested
  exception is org.postgresql.util.PSQLException: ERROR: missing
  FROM-clause entry for table vds_groups
  Where: PL/pgSQL function
  fn_perms_get_vds_groups_with_permitted_action line 3 at RETURN
  QUERY
 
  Current running engine build -- commit:
  61c11aecc40e755d08b6c34c6fe1c0a07fa94de8
 
  - DHC
 
 
 
 
  ___
  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] Choosing which network to run VM migration on ovirt 3.1

2013-01-30 Thread Dan Kenigsberg
On Wed, Jan 30, 2013 at 04:29:41PM +0100, Gianluca Cecchi wrote:
 On Tue, Jan 8, 2013 at 1:47 PM, Dan Kenigsberg  wrote:
 
 
  I would like to suggest a brand new migration network role in
  http://www.ovirt.org/Features/Migration_Network to provide
  managenet/migration network separation.
  ___
 
 Hello,
 can I ask if this limitation about migration only taking place over
 mgmt link is present also in commercial RHEVM 3.1 or not?
 Any pointer in case?
 Thanks in advance,
 Gianluca

In the true spirit of free software, Red Hat tries very hard to make all
RHEV code available in oVirt. There are very few exceptions (mostly
branding or annoying backward compatibility stuff) and the Migration
Network concept is not one of them.

If you want a feature in RHEV, the best way is to put it in oVirt first.

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


Re: [Users] Choosing which network to run VM migration on ovirt 3.1

2013-01-30 Thread Gianluca Cecchi
Ok, I presumed that indeed.
But right today one guy asked me about that feature in rhevm and I
remembered this ovirt thread so I thought it could be the right place to
ask for confirmation
Thanks
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM migrations failing

2013-01-30 Thread Dan Kenigsberg
On Wed, Jan 30, 2013 at 11:04:00AM -0600, Dead Horse wrote:
 Engine Build -- Commit: 82bdc46dfdb46b000f67f0cd4e51fc39665bf13b
 VDSM Build: -- Commit: da89a27492cc7d5a84e4bb87652569ca8e0fb20e + patch
 -- http://gerrit.ovirt.org/#/c/11492/
 
 Engine Side:
 2013-01-30 10:56:38,439 ERROR
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (QuartzScheduler_Worker-70) Rerun vm 887d764a-f835-4112-9eda-836a772ea5eb.
 Called from vds lostisles
 2013-01-30 10:56:38,506 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
 (pool-3-thread-49) START, MigrateStatusVDSCommand(HostName = lostisles,
 HostId = e042b03b-dd4e-414c-be1a-b2c65ac000f5,
 vmId=887d764a-f835-4112-9eda-836a772ea5eb), log id: 6556e75b
 2013-01-30 10:56:38,510 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
 (pool-3-thread-49) Failed in MigrateStatusVDS method
 2013-01-30 10:56:38,510 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
 (pool-3-thread-49) Error code migrateErr and error message
 VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS, error =
 Fatal error during migration
 2013-01-30 10:56:38,511 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
 (pool-3-thread-49) Command
 org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand return
 value
  StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=12,
 mMessage=Fatal error during migration]]
 
 
 VDSM Side:
 Thread-43670::ERROR::2013-01-30 10:56:37,052::vm::200::vm.Vm::(_recover)
 vmId=`887d764a-f835-4112-9eda-836a772ea5eb`::this function is not supported
 by the connection driver: virDomainMigrateToURI2
 Thread-43670::ERROR::2013-01-30 10:56:37,513::vm::288::vm.Vm::(run)
 vmId=`887d764a-f835-4112-9eda-836a772ea5eb`::Failed to migrate
 Traceback (most recent call last):
   File /usr/share/vdsm/vm.py, line 273, in run
 self._startUnderlyingMigration()
   File /usr/share/vdsm/libvirtvm.py, line 504, in
 _startUnderlyingMigration
 None, maxBandwidth)
   File /usr/share/vdsm/libvirtvm.py, line 540, in f
 ret = attr(*args, **kwargs)
   File /usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py, line
 111, in wrapper
 ret = f(*args, **kwargs)
   File /usr/lib64/python2.6/site-packages/libvirt.py, line 1103, in
 migrateToURI2
 if ret == -1: raise libvirtError ('virDomainMigrateToURI2() failed',
 dom=self)
 libvirtError: this function is not supported by the connection driver:
 virDomainMigrateToURI2

Could it be that you are using an ancient libvirt with no
virDomainMigrateToURI2? What are your libvirt and qemu-kvm versions (on
both machines)?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM migrations failing

2013-01-30 Thread Dead Horse
The nodes are EL6.3 based.

Currently installed libvirt packages:

libvirt-lock-sanlock-0.9.10-21.el6_3.8.x86_64
libvirt-cim-0.6.1-3.el6.x86_64
libvirt-0.9.10-21.el6_3.8.x86_64
libvirt-python-0.9.10-21.el6_3.8.x86_64
libvirt-client-0.9.10-21.el6_3.8.x86_64

and qemu packages:
qemu-kvm-0.12.1.2-2.295.el6_3.10.x86_64
qemu-kvm-tools-0.12.1.2-2.295.el6_3.10.x86_64
qemu-img-0.12.1.2-2.295.el6_3.10.x86_64

Thus my presumption here given the above is that virDomainMigrateToURI2 has
not yet been patched and/or back-ported into the EL6.x libvirt/qemu?

- DHC


On Wed, Jan 30, 2013 at 1:28 PM, Dan Kenigsberg dan...@redhat.com wrote:

 On Wed, Jan 30, 2013 at 11:04:00AM -0600, Dead Horse wrote:
  Engine Build -- Commit: 82bdc46dfdb46b000f67f0cd4e51fc39665bf13b
  VDSM Build: -- Commit: da89a27492cc7d5a84e4bb87652569ca8e0fb20e + patch
  -- http://gerrit.ovirt.org/#/c/11492/
 
  Engine Side:
  2013-01-30 10:56:38,439 ERROR
  [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
  (QuartzScheduler_Worker-70) Rerun vm
 887d764a-f835-4112-9eda-836a772ea5eb.
  Called from vds lostisles
  2013-01-30 10:56:38,506 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
  (pool-3-thread-49) START, MigrateStatusVDSCommand(HostName = lostisles,
  HostId = e042b03b-dd4e-414c-be1a-b2c65ac000f5,
  vmId=887d764a-f835-4112-9eda-836a772ea5eb), log id: 6556e75b
  2013-01-30 10:56:38,510 ERROR
  [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
  (pool-3-thread-49) Failed in MigrateStatusVDS method
  2013-01-30 10:56:38,510 ERROR
  [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
  (pool-3-thread-49) Error code migrateErr and error message
  VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS,
 error =
  Fatal error during migration
  2013-01-30 10:56:38,511 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
  (pool-3-thread-49) Command
  org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand return
  value
   StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=12,
  mMessage=Fatal error during migration]]
 
 
  VDSM Side:
  Thread-43670::ERROR::2013-01-30 10:56:37,052::vm::200::vm.Vm::(_recover)
  vmId=`887d764a-f835-4112-9eda-836a772ea5eb`::this function is not
 supported
  by the connection driver: virDomainMigrateToURI2
  Thread-43670::ERROR::2013-01-30 10:56:37,513::vm::288::vm.Vm::(run)
  vmId=`887d764a-f835-4112-9eda-836a772ea5eb`::Failed to migrate
  Traceback (most recent call last):
File /usr/share/vdsm/vm.py, line 273, in run
  self._startUnderlyingMigration()
File /usr/share/vdsm/libvirtvm.py, line 504, in
  _startUnderlyingMigration
  None, maxBandwidth)
File /usr/share/vdsm/libvirtvm.py, line 540, in f
  ret = attr(*args, **kwargs)
File /usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py,
 line
  111, in wrapper
  ret = f(*args, **kwargs)
File /usr/lib64/python2.6/site-packages/libvirt.py, line 1103, in
  migrateToURI2
  if ret == -1: raise libvirtError ('virDomainMigrateToURI2() failed',
  dom=self)
  libvirtError: this function is not supported by the connection driver:
  virDomainMigrateToURI2

 Could it be that you are using an ancient libvirt with no
 virDomainMigrateToURI2? What are your libvirt and qemu-kvm versions (on
 both machines)?

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


[Users] oVirt 3.1 VM is not responding

2013-01-30 Thread José Ferradeira
Hi, 

I'm testing oVirt 3.1, with one node 2.5.5-0.1fc17 and a NAS built with 
openfiler 2.99, working on a Gigabit net. 
I configured a NFS share on openfiler, and everything looks nice. 
I'm installing a Windows 2008 R2 as a VM, time to time i get a warning message: 
! VM is not responding, but the windows installation keeps going, a bit slow. 

Any idea what is happening? 

Thanks 

Jose 

the vdsm.log : 

Thread-2405::DEBUG::2013-01-30 
16:42:21,532::resourceManager::212::ResourceManager.Request::(grant) 
ResName=`Storage.7b44684c-5f34-11e2-beba-00138fbe3093`ReqID=`e9aefcf3-b4ed-4d7c-9d95-723f824c30ee`::Granted
 request 
Thread-2405::DEBUG::2013-01-30 
16:42:21,532::task::817::TaskManager.Task::(resourceAcquired) 
Task=`c581aa06-4e50-41dd-a836-756827865cc6`::_resourcesAcquired: 
Storage.7b44684c-5f34-11e2-beba-00138fbe3093 (shared) 
Thread-2405::DEBUG::2013-01-30 
16:42:21,532::task::978::TaskManager.Task::(_decref) 
Task=`c581aa06-4e50-41dd-a836-756827865cc6`::ref 1 aborting False 
Thread-2405::INFO::2013-01-30 16:42:21,664::logUtils::39::dispatcher::(wrapper) 
Run and protect: getStoragePoolInfo, Return response: {'info': {'spm_id': 1, 
'master_uuid': 'cc060953-baf5-4b86-a66c-2f135b8fbb30', 'name': 'acloudDC', 
'version': '0', 'domains': 
'39484795-666f-44b3-9cf5-21bbb02531ad:Active,0b6a87e8-53d9-46f3-bc81-20aab92f08aa:Active,cc060953-baf5-4b86-a66c-2f135b8fbb30:Active',
 'pool_status': 'connected', 'isoprefix': 
'/rhev/data-center/7b44684c-5f34-11e2-beba-00138fbe3093/0b6a87e8-53d9-46f3-bc81-20aab92f08aa/images/----',
 'type': 'NFS', 'master_ver': 10575, 'lver': 4}, 'dominfo': 
{'0b6a87e8-53d9-46f3-bc81-20aab92f08aa': {'status': 'Active', 'diskfree': 
'17986224128', 'alerts': [], 'disktotal': '23648534528'}, 
'39484795-666f-44b3-9cf5-21bbb02531ad': {'status': 'Active', 'diskfree': 
'467744063488', 'alerts': [], 'disktotal': '476676358144'}, 
'cc060953-baf5-4b86-a66c-2f135b8fbb30': {'status': 'Active', 'diskfree': 
'313802031104', 'alerts': [], 'disktotal': '982927736832'}}} 
Thread-2405::DEBUG::2013-01-30 
16:42:21,664::task::1172::TaskManager.Task::(prepare) 
Task=`c581aa06-4e50-41dd-a836-756827865cc6`::finished: {'info': {'spm_id': 1, 
'master_uuid': 'cc060953-baf5-4b86-a66c-2f135b8fbb30', 'name': 'acloudDC', 
'version': '0', 'domains': 
'39484795-666f-44b3-9cf5-21bbb02531ad:Active,0b6a87e8-53d9-46f3-bc81-20aab92f08aa:Active,cc060953-baf5-4b86-a66c-2f135b8fbb30:Active',
 'pool_status': 'connected', 'isoprefix': 
'/rhev/data-center/7b44684c-5f34-11e2-beba-00138fbe3093/0b6a87e8-53d9-46f3-bc81-20aab92f08aa/images/----',
 'type': 'NFS', 'master_ver': 10575, 'lver': 4}, 'dominfo': 
{'0b6a87e8-53d9-46f3-bc81-20aab92f08aa': {'status': 'Active', 'diskfree': 
'17986224128', 'alerts': [], 'disktotal': '23648534528'}, 
'39484795-666f-44b3-9cf5-21bbb02531ad': {'status': 'Active', 'diskfree': 
'467744063488', 'alerts': [], 'disktotal': '476676358144'}, 
'cc060953-baf5-4b86-a66c-2f135b8fbb30': {'status': 'Active', 'diskfree': 
'313802031104', 'alerts': [], 'disktotal': '982927736832'}}} 
Thread-2405::DEBUG::2013-01-30 
16:42:21,664::task::588::TaskManager.Task::(_updateState) 
Task=`c581aa06-4e50-41dd-a836-756827865cc6`::moving from state preparing - 
state finished 
Thread-2405::DEBUG::2013-01-30 
16:42:21,664::resourceManager::809::ResourceManager.Owner::(releaseAll) 
Owner.releaseAll requests {} resources 
{'Storage.7b44684c-5f34-11e2-beba-00138fbe3093':  ResourceRef 
'Storage.7b44684c-5f34-11e2-beba-00138fbe3093', isValid: 'True' obj: 'None'} 
Thread-2405::DEBUG::2013-01-30 
16:42:21,664::resourceManager::844::ResourceManager.Owner::(cancelAll) 
Owner.cancelAll requests {} 
Thread-2405::DEBUG::2013-01-30 
16:42:21,665::resourceManager::538::ResourceManager::(releaseResource) Trying 
to release resource 'Storage.7b44684c-5f34-11e2-beba-00138fbe3093' 
Thread-2405::DEBUG::2013-01-30 
16:42:21,665::resourceManager::553::ResourceManager::(releaseResource) Released 
resource 'Storage.7b44684c-5f34-11e2-beba-00138fbe3093' (0 active users) 
Thread-2405::DEBUG::2013-01-30 
16:42:21,665::resourceManager::558::ResourceManager::(releaseResource) Resource 
'Storage.7b44684c-5f34-11e2-beba-00138fbe3093' is free, finding out if anyone 
is waiting for it. 
Thread-2405::DEBUG::2013-01-30 
16:42:21,665::resourceManager::565::ResourceManager::(releaseResource) No one 
is waiting for resource 'Storage.7b44684c-5f34-11e2-beba-00138fbe3093', 
Clearing records. 
Thread-2405::DEBUG::2013-01-30 
16:42:21,665::task::978::TaskManager.Task::(_decref) 
Task=`c581aa06-4e50-41dd-a836-756827865cc6`::ref 0 aborting False 
Thread-2406::DEBUG::2013-01-30 
16:42:23,304::task::588::TaskManager.Task::(_updateState) 
Task=`8926a671-3076-42e5-8521-f8ec6ba67748`::moving from state init - state 
preparing 
Thread-2406::INFO::2013-01-30 16:42:23,304::logUtils::37::dispatcher::(wrapper) 
Run and protect: repoStats(options=None) 
Thread-2406::INFO::2013-01-30 

Re: [Users] VM migrations failing

2013-01-30 Thread Shu Ming

Hi,

Just curiously,  did you install  oVirt packages from 
http://resources.ovirt.org/releases/nightly/rpm/EL/6/noarch/  ?

And there is no stable oVirt release 3.1/3.2 for RHEL.

Dead Horse:

The nodes are EL6.3 based.

Currently installed libvirt packages:

libvirt-lock-sanlock-0.9.10-21.el6_3.8.x86_64
libvirt-cim-0.6.1-3.el6.x86_64
libvirt-0.9.10-21.el6_3.8.x86_64
libvirt-python-0.9.10-21.el6_3.8.x86_64
libvirt-client-0.9.10-21.el6_3.8.x86_64

and qemu packages:
qemu-kvm-0.12.1.2-2.295.el6_3.10.x86_64
qemu-kvm-tools-0.12.1.2-2.295.el6_3.10.x86_64
qemu-img-0.12.1.2-2.295.el6_3.10.x86_64

Thus my presumption here given the above is that 
virDomainMigrateToURI2 has not yet been patched and/or back-ported 
into the EL6.x libvirt/qemu?


virDomainMigrateToURI2() is supported in libvirt-0.9.10, I am not sure 
if qemu-kvm-0.12.1.2 supports it.

/var/log/libvirtd.log may help to verify this assumption



- DHC


On Wed, Jan 30, 2013 at 1:28 PM, Dan Kenigsberg dan...@redhat.com 
mailto:dan...@redhat.com wrote:


On Wed, Jan 30, 2013 at 11:04:00AM -0600, Dead Horse wrote:
 Engine Build -- Commit: 82bdc46dfdb46b000f67f0cd4e51fc39665bf13b
 VDSM Build: -- Commit: da89a27492cc7d5a84e4bb87652569ca8e0fb20e
+ patch
 -- http://gerrit.ovirt.org/#/c/11492/

 Engine Side:
 2013-01-30 10:56:38,439 ERROR
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (QuartzScheduler_Worker-70) Rerun vm
887d764a-f835-4112-9eda-836a772ea5eb.
 Called from vds lostisles
 2013-01-30 10:56:38,506 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
 (pool-3-thread-49) START, MigrateStatusVDSCommand(HostName =
lostisles,
 HostId = e042b03b-dd4e-414c-be1a-b2c65ac000f5,
 vmId=887d764a-f835-4112-9eda-836a772ea5eb), log id: 6556e75b
 2013-01-30 10:56:38,510 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
 (pool-3-thread-49) Failed in MigrateStatusVDS method
 2013-01-30 10:56:38,510 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
 (pool-3-thread-49) Error code migrateErr and error message
 VDSGenericException: VDSErrorException: Failed to
MigrateStatusVDS, error =
 Fatal error during migration
 2013-01-30 10:56:38,511 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
 (pool-3-thread-49) Command

org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand
return
 value
  StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=12,
 mMessage=Fatal error during migration]]


 VDSM Side:
 Thread-43670::ERROR::2013-01-30
10:56:37,052::vm::200::vm.Vm::(_recover)
 vmId=`887d764a-f835-4112-9eda-836a772ea5eb`::this function is
not supported
 by the connection driver: virDomainMigrateToURI2
 Thread-43670::ERROR::2013-01-30 10:56:37,513::vm::288::vm.Vm::(run)
 vmId=`887d764a-f835-4112-9eda-836a772ea5eb`::Failed to migrate
 Traceback (most recent call last):
   File /usr/share/vdsm/vm.py, line 273, in run
 self._startUnderlyingMigration()
   File /usr/share/vdsm/libvirtvm.py, line 504, in
 _startUnderlyingMigration
 None, maxBandwidth)
   File /usr/share/vdsm/libvirtvm.py, line 540, in f
 ret = attr(*args, **kwargs)
   File
/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py, line
 111, in wrapper
 ret = f(*args, **kwargs)
   File /usr/lib64/python2.6/site-packages/libvirt.py, line
1103, in
 migrateToURI2
 if ret == -1: raise libvirtError ('virDomainMigrateToURI2()
failed',
 dom=self)
 libvirtError: this function is not supported by the connection
driver:
 virDomainMigrateToURI2

Could it be that you are using an ancient libvirt with no
virDomainMigrateToURI2? What are your libvirt and qemu-kvm
versions (on
both machines)?




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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


[Users] oVirt 3.2 Beta Availability

2013-01-30 Thread Mike Burns
The beta versions of oVirt 3.2 are now available.  Packages can be
installed using the ovirt-beta yum repository [1] after installing the
ovirt-release package[1].

oVirt Node is not currently available.  It should be made available in
the next couple days.  

Thanks

The oVirt Team

[1] http://resources.ovirt.org/releases/beta/
[2] http://resources.ovirt.org/releases/ovirt-release-fedora.noarch.rpm


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


[Users] [Reminder] oVirt 3.2 test-day is today!!

2013-01-30 Thread Moran Goldboim
Today are having oVirt 3.2 testday - 
http://www.ovirt.org/Testing/OvirtTestDay


you are welcome to take an active part on testing oVirt 3.2 new 
features[1], look around and get a deeper experience with this oVirt 
release.


[1] http://www.ovirt.org/OVirt_3.2_release-management#Features

Moran.


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