Re: [Users] OS-independent ovirt-engine distribution archive

2013-03-04 Thread Eyal Edri


- Original Message -
 From: Jiri Belka jbe...@redhat.com
 To: Eyal Edri ee...@redhat.com
 Cc: users@ovirt.org, infra in...@ovirt.org
 Sent: Thursday, February 28, 2013 9:13:14 PM
 Subject: Re: [Users] OS-independent ovirt-engine distribution archive
 
 On Wed, 27 Feb 2013 06:41:07 -0500 (EST)
 Eyal Edri ee...@redhat.com wrote:
 
  it is now available via ovirt nightly builds as
  'ovirt-engine-archive.tar.gz':
  
  http://resources.ovirt.org/releases/nightly/src/
  
  Eyal.
 
 Thank you very much! But.. can I respectfully ask archive tarball
 having date/version in its filename
 (ovirt-engine-archive-20130228.tar.gz)?

done.
it will be available from tonight's builds.

 
 I suppose ports (makefiles to build a BSD package) with source files
 without unique date/version in filenames would never be accepted.
 
 Right now I'm quite busy, I've just made some tunning of path to
 python
 interpreter, replaces absolute symlinks with relative... Real
 modification for BSD system (here OpenBSD) is on my TODO.
 
 I suppose hard stuff would be modification of engine-upgrade :D
 
 jbelka
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] UI lack of ui-plugins

2013-03-04 Thread bigclouds
at last i build engine code success, then i start jboss-as.
go to http://host:8700, when i click user,admin portal, error occur.


1. it reports ui-plugins is miss.
2. $OVIRT_HOME/backend/manager/conf/engine.conf.defaults
ENGINE_USR=username
ENGINE_ETC=/etc/ovirt-engine

i do not know what ENGINE_USR really is?


thanks.


error -msg:


2013-03-04 17:39:10,182 INFO  [org.ovirt.engine.core.bll.DbUserCacheManager] 
(DefaultQuartzScheduler_Worker-1) Start refreshing all users data
2013-03-04 17:39:10,338 INFO  [org.ovirt.engine.core.vdsbroker.ResourceManager] 
(MSC service thread 1-1) Finished initializing ResourceManager
2013-03-04 17:39:10,365 INFO  [org.ovirt.engine.core.bll.AsyncTaskManager] (MSC 
service thread 1-1) Initialization of AsyncTaskManager completed successfully.
2013-03-04 17:39:10,384 INFO  [org.ovirt.engine.core.bll.OvfDataUpdater] (MSC 
service thread 1-1) Initialization of OvfDataUpdater completed successfully.
2013-03-04 17:39:10,388 INFO  [org.ovirt.engine.core.bll.VdsLoadBalancer] (MSC 
service thread 1-1) Start scheduling to enable vds load balancer
2013-03-04 17:39:10,394 INFO  [org.ovirt.engine.core.bll.VdsLoadBalancer] (MSC 
service thread 1-1) Finished scheduling to enable vds load balancer
2013-03-04 17:39:10,410 INFO  
[org.ovirt.engine.core.bll.network.MacPoolManager] (pool-10-thread-1) Start 
initializing MacPoolManager
2013-03-04 17:39:10,450 INFO  
[org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean] (MSC service 
thread 1-1) Init VM custom properties utilities
2013-03-04 17:39:10,461 INFO  
[org.ovirt.engine.core.bll.network.MacPoolManager] (pool-10-thread-1) Finished 
initializing MacPoolManager
2013-03-04 17:39:10,470 INFO  [org.jboss.as] (MSC service thread 1-2) 
JBAS015951: Admin console listening on http://127.0.0.1:9990
2013-03-04 17:39:10,471 INFO  [org.jboss.as] (MSC service thread 1-2) 
JBAS015874: JBoss AS 7.1.1.Final Brontes started in 11961ms - Started 507 of 
594 services (86 services are passive or on-demand)
2013-03-04 17:39:10,560 INFO  [org.jboss.as.server] (DeploymentScanner-threads 
- 2) JBAS018559: Deployed engine.ear
2013-03-04 17:42:22,716 ERROR [org.jboss.remoting.remote.connection] (Remoting 
ovirtdev read-1) JBREM000200: Remote connection failed: java.io.IOException: 
Received an invalid message length of 1195725856
2013-03-04 17:42:56,702 ERROR [org.jboss.remoting.remote.connection] (Remoting 
ovirtdev read-1) JBREM000200: Remote connection failed: java.io.IOException: 
Received an invalid message length of 1195725856
2013-03-04 17:45:14,258 INFO  [org.hibernate.validator.util.Version] 
(http--0.0.0.0-8700-1) Hibernate Validator 4.2.0.Final
2013-03-04 17:45:14,385 INFO  [org.ovirt.engine.core.utils.LocalConfig] 
(http--0.0.0.0-8700-1) Loaded file 
/mnt/ovirt-engine/backend/manager/conf/engine.conf.defaults.
2013-03-04 17:45:14,386 INFO  [org.ovirt.engine.core.utils.LocalConfig] 
(http--0.0.0.0-8700-1) Loaded file /etc/sysconfig/ovirt-engine.
2013-03-04 17:45:14,392 INFO  [org.ovirt.engine.core.utils.LocalConfig] 
(http--0.0.0.0-8700-1) Value of property ENGINE_DEBUG_ADDRESS is 
0.0.0.0:8787.
2013-03-04 17:45:14,393 INFO  [org.ovirt.engine.core.utils.LocalConfig] 
(http--0.0.0.0-8700-1) Value of property ENGINE_ETC is /etc/ovirt-engine.
2013-03-04 17:45:14,394 INFO  [org.ovirt.engine.core.utils.LocalConfig] 
(http--0.0.0.0-8700-1) Value of property ENGINE_USR is root.
2013-03-04 17:45:14,397 WARN  
[org.ovirt.engine.ui.frontend.server.gwt.plugin.PluginDataManager] 
(http--0.0.0.0-8700-1) Cannot list UI plugin descriptor files in 
[/mnt/ovirt-engine/root/ui-plugins]
2013-03-04 17:48:13,672 WARN  
[org.ovirt.engine.ui.frontend.server.gwt.plugin.PluginDataManager] 
(http--0.0.0.0-8700-1) Cannot list UI plugin descriptor files in 
[/mnt/ovirt-engine/root/ui-plugins]___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] UI lack of ui-plugins

2013-03-04 Thread Oved Ourfalli


- Original Message -
 From: bigclouds bigclo...@163.com
 To: users@ovirt.org
 Sent: Monday, March 4, 2013 12:07:53 PM
 Subject: [Users] UI lack of ui-plugins
 
 
 
 at last i build engine code success, then i start jboss-as.
 go to http://host:8700, when i click user,admin portal, error occur.
 
 
 1. it reports ui-plugins is miss.
 2. $OVIRT_HOME/backend/manager/conf/engine.conf.defaults
 ENGINE_USR=username
 ENGINE_ETC=/etc/ovirt-engine i do not know what ENGINE_USR really is?
 thanks.
 

ENGINE_USR should be something like /usr/share/ovirt-engine
The warning about the ui-plugins directory is probably because it doesn't exist 
(see bug https://bugzilla.redhat.com/show_bug.cgi?id=895933), but that 
shouldn't effect anything besides loading UI plugins you wrote/downloaded, so 
the admin portal should work properly.

As far as I know, the ENGINE_USR is currently used only in order to detect the 
ui-plugins directory.

What happens when you just browse to
http://host:8700/webadmin
?

Does it work?

 
 error -msg:
 
 
 
 2013-03-04 17:39:10,182 INFO
 [org.ovirt.engine.core.bll.DbUserCacheManager]
 (DefaultQuartzScheduler_Worker-1) Start refreshing all users data
 2013-03-04 17:39:10,338 INFO
 [org.ovirt.engine.core.vdsbroker.ResourceManager] (MSC service
 thread 1-1) Finished initializing ResourceManager
 2013-03-04 17:39:10,365 INFO
 [org.ovirt.engine.core.bll.AsyncTaskManager] (MSC service thread
 1-1) Initialization of AsyncTaskManager completed successfully.
 2013-03-04 17:39:10,384 INFO
 [org.ovirt.engine.core.bll.OvfDataUpdater] (MSC service thread 1-1)
 Initialization of OvfDataUpdater completed successfully.
 2013-03-04 17:39:10,388 INFO [org.ovirt.engine.co
 re.bll.VdsLoadBalancer] (MSC service thread 1-1) Start scheduling to
 enable vds load balancer
 2013-03-04 17:39:10,394 INFO
 [org.ovirt.engine.core.bll.VdsLoadBalancer] (MSC service thread 1-1)
 Finished scheduling to enable vds load balancer
 2013-03-04 17:39:10,410 INFO
 [org.ovirt.engine.core.bll.network.MacPoolManager]
 (pool-10-thread-1) Start initializing MacPoolManager
 2013-03-04 17:39:10,450 INFO
 [org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean] (MSC
 service thread 1-1) Init VM custom properties utilities
 2013-03-04 17:39:10,461 INFO
 [org.ovirt.engine.core.bll.network.MacPoolManager]
 (pool-10-thread-1) Finished initializing MacPoolManager
 2013-03-04 17:39:10,470 INFO [org.jboss.as] (MSC service thread 1-2)
 JBAS015951: Admin console listening on http://127.0.0.1:9990
 2013-03-04 17:39:10,471 INFO [org.jboss.as] (MSC service thread 1-2)
 JBAS015874: JBoss AS 7.1.1.Final  Brontes started in 11961ms -
 Started 507 of 594 services (86 services are passive or on-demand)
 2013-03-04 17:39:10,560 INFO [org.jboss.as.server]
 (DeploymentScanner-threads - 2) JBAS018559: Deployed engine.ear
 2013-03-04 17:42:22,716 ERROR [org.jboss.remoting.remote.connection]
 (Remoting ovirtdev read-1) JBREM000200: Remote connection failed:
 java.io.IOException: Received an invalid message length of
 1195725856
 2013-03-04 17:42:56,702 ERROR [org.jboss.remoting.remote.connection]
 (Remoting ovirtdev read-1) JBREM000200: Remote connection failed:
 java.io.IOException: Received an invalid message length of
 1195725856
 2013-03-04 17:45:14,258 INFO [org.hibernate.validator.util.Version]
 (http--0.0.0.0-8700-1) Hibernate Validator 4.2.0.Final
 2013-03-04 17:45:14,385 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Loaded file
 /mnt/ovirt-engine/backend/manager/conf/engine.conf.defaults.
 2013-03-04 17:45:14,386 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Loaded file /etc/sysconfig/ovirt-engine.
 2013-03-04 17:45:14,392 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Value of property ENGINE_DEBUG_ADDRESS is 0.0.0.0:8787.
 2013-03-04 17:45:14,393 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Value of property ENGINE_ETC is /etc/ovirt-engine.
 2013-03-04 17:45:14,394 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Value of property ENGINE_USR is root.
 2013-03-04 17:45:14,397 WARN
 [org.ovirt.engine.ui.frontend.server.gwt.plugin.PluginDataManager]
 (http--0.0.0.0-8700-1) Cannot list UI plugin descriptor files in
 [/mnt/ovirt-engine/root/ui-plugins]
 2013-03-04 17:48:13,672 WARN
 [org.ovirt.engine.ui.frontend.server.gwt.plugin.PluginDataManager]
 (http--0.0.0.0-8700-1) Ca nnot list UI plugin descriptor files in
 [/mnt/ovirt-engine/root/ui-plugins]
 
 
 ___
 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 support for backup/restore

2013-03-04 Thread Ricky Schneberger
Hi,

How can I do if I want to schedule a daily live-snapshot of a VM for
backup purpose?

I have backup software inside my VMs (Netvault), but in some cases I
just want to do daily snapshots and use them as backups.


-- 
Ricky Schneberger



0xB88C0B63.asc
Description: application/pgp-keys
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt support for backup/restore

2013-03-04 Thread Jiri Belka
On Mon, 04 Mar 2013 12:10:54 +0100
Ricky Schneberger ri...@schneberger.se wrote:

 Hi,
 
 How can I do if I want to schedule a daily live-snapshot of a VM for
 backup purpose?
 
 I have backup software inside my VMs (Netvault), but in some cases I
 just want to do daily snapshots and use them as backups.
 
 

Live snapshot does not save memory state, IIRC. So either shutdown all
VMs or do not think about this as solid backup solution.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt support for backup/restore

2013-03-04 Thread Ricky Schneberger
On 2013-03-04 12:31, Jiri Belka wrote:
 On Mon, 04 Mar 2013 12:10:54 +0100
 Ricky Schneberger ri...@schneberger.se wrote:
 
 Hi,

 How can I do if I want to schedule a daily live-snapshot of a VM for
 backup purpose?

 I have backup software inside my VMs (Netvault), but in some cases I
 just want to do daily snapshots and use them as backups.


 
 Live snapshot does not save memory state, IIRC. So either shutdown all
 VMs or do not think about this as solid backup solution.
 

Hi, If I dont think about it as a solid solution, is it doable?
Even with a manual live snapshot I will lack this memory state, right?

All I want if I must restore a snapshot is to get the WM up on track in
an earlier state.

regards //Ricky


0xB88C0B63.asc
Description: application/pgp-keys
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2013-03-04 Thread Alissa Bonas

 - Original Message -
  From: Gianluca Cecchi gianluca.cec...@gmail.com
  To: Liron Aravot lara...@redhat.com
  Cc: users users@ovirt.org, Vered Volansky ve...@redhat.com
  Sent: Thursday, February 28, 2013 7:07:55 PM
  Subject: Re: [Users] clone vm from snapshot problem in 3.2
  
  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...

Can you please provide the engine logs where the boot success/failure of master 
and clone can be seen?
 
  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.
 
 Hi Gianluca,
 
 Regarding the second item you mentioned - failure of the clone vm
 from snapshot,
 the engine log indicates that the  following error occurred  Volume
 Group not big enough - suggesting you might check if you have
 enough free space.
 
  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] oVirt support for backup/restore

2013-03-04 Thread Jiri Belka
On Mon, 04 Mar 2013 12:52:53 +0100
Ricky Schneberger ri...@schneberger.se wrote:

  Live snapshot does not save memory state, IIRC. So either shutdown all
  VMs or do not think about this as solid backup solution.
  
 
 Hi, If I dont think about it as a solid solution, is it doable?
 Even with a manual live snapshot I will lack this memory state, right?
 
 All I want if I must restore a snapshot is to get the WM up on track in
 an earlier state.

The snapshot like in VMWare world which saves even memory is called
checkpoint in qemu-kvm world. And IIRC it is not implemented yet.

Live snapshot is doable, no problem. The problem can be your design. As
you know a lot of apps do not write to filesystem immediately, so
snapshot backup is useless. So either shutdown/think twice or forget it.

But others can have different view... Backup is thing you _must_ trust,
if you design is broken, the consequences are terrific! If your goal is
to have fast disaster recovery, then why not to have backup machine or
some clustered solution?

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


[Users] Gluster integration issue with oVirt 3.2

2013-03-04 Thread Sven Knohsalla
Hi,

I'm still testing oVirt 3.2 with GlusterFS 3.3
Have 2 F18 nodes for virt service, 2 F18 nodes for gluster services, 1 F18 
running as oVirt-engine.

Adding Gluster-nodes / oVirt-nodes is working as expected.

At the moment I want to test Gluster Volume management with oVirt,
when trying to create a replicate brick on the Gluster-nodes
the webgui says
Error while executing Create Gluster Voume: Unexpected exception

ovirt-engine log:
2013-03-04 13:20:58,680 ERROR 
[org.ovirt.engine.core.bll.gluster.GlusterManager] (QuartzScheduler_Worker-56) 
Error while refreshing Gluster lightweight data of cluster Gluster-Cluster!: 
org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException: 
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: 
VDSGenericException: VDSErrorException: Failed to GlusterVolumesListVDS, error 
= XML error
error: cliOutputopRet0/opRetopErrno0/opErrnoopErrstr 
/volInfovolumesvolumenamebrick1/nameid7a212719-162e-4837-9474-828d640965a5/idtype2/typestatus0/statusbrickCount2/brickCountdistCount2/distCountstripeCount1/stripeCountreplicaCount2/replicaCounttransport0/transportbricksbrick192.168.90.42:/export/brick1/brickbrick192.168.90.43:/export/brick1/brick/bricksoptCount0/optCountoptions
 
//volumevolumenamebrick/nameid36d951ab-1c8b-4d32-aa7b-57faed12967c/idtype2/typestatus0/statusbrickCount2/brickCountdistCount2/distCountstripeCount1/stripeCountreplicaCount2/replicaCounttransport0/transportbricksbrick192.168.90.42:/export/brick/brickbrick192.168.90.43:/export/brick/brick/bricksoptCount0/optCountoptions
 //volumecount2/count/volumes/volInfo/cliOutput

Does anybody can give me an advice where I can look at (-Failed to 
GlusterVolumesListVDS, seems to give a hint)

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]http://www.netbiscuits.com/

 
[https://my.netbiscuits.com/image/image_gallery?uuid=9e553e7b-3e7d-4784-b274-15aa1dfb48e2groupId=10211t=1361533377340]
 https://www.netbiscuits.com/news  
[https://my.netbiscuits.com/image/image_gallery?uuid=1d1a5e29-ceda-4ab1-9353-67a1e838364dgroupId=10211t=1347281040591]
 https://twitter.com/netbiscuits  
[https://my.netbiscuits.com/image/image_gallery?uuid=c99bf866-be25-4236-a0ee-dca68ec828a5groupId=10211t=1347280983848]
 http://www.linkedin.com/company/netbiscuits  
[https://my.netbiscuits.com/image/image_gallery?uuid=d62ba951-14dc-450d-b5f1-be33884225e3groupId=10211t=1347280983872]
 http://www.xing.com/companies/netbiscuitsgmbh  
[https://my.netbiscuits.com/image/image_gallery?uuid=7b28f500-f415-40bb-851f-0cd55beeaf45groupId=10211t=1347280983791]
 https://www.facebook.com/Netbiscuits  
[https://my.netbiscuits.com/image/image_gallery?uuid=cc8764d0-a5ac-4623-bb63-da3ca7c97f94groupId=10211t=1347280983836]
 https://plus.google.com/u/0/112410769451962733032  
[https://my.netbiscuits.com/image/image_gallery?uuid=a15e871c-a11b-419c-acca-da5a0ebd5856groupId=10211t=1347281040599]
 http://www.youtube.com/user/netbiscuits

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.

[http://www.netbiscuits.com/image/image_gallery?uuid=0ba7711a-a277-4ea0-acb0-17fe13c3089dgroupId=10211t=1348560850164]Please
 consider the environment before printing

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


Re: [Users] Gluster integration issue with oVirt 3.2

2013-03-04 Thread Karli Sjöberg
mån 2013-03-04 klockan 07:28 -0500 skrev Sven Knohsalla:
Hi,



I’m still testing oVirt 3.2 with GlusterFS 3.3
Have 2 F18 nodes for virt service, 2 F18 nodes for gluster services, 1 F18 
running as oVirt-engine.



Adding Gluster-nodes / oVirt-nodes is working as expected.



At the moment I want to test Gluster Volume management with oVirt,

when trying to create a replicate brick on the Gluster-nodes

the webgui says
“Error while executing Create Gluster Voume: Unexpected exception”



ovirt-engine log:
2013-03-04 13:20:58,680 ERROR 
[org.ovirt.engine.core.bll.gluster.GlusterManager] (QuartzScheduler_Worker-56) 
Error while refreshing Gluster lightweight data of cluster Gluster-Cluster!: 
org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException: 
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: 
VDSGenericException: VDSErrorException: Failed to GlusterVolumesListVDS, error 
= XML error

error: cliOutputopRet0/opRetopErrno0/opErrnoopErrstr 
/volInfovolumesvolumenamebrick1/nameid7a212719-162e-4837-9474-828d640965a5/idtype2/typestatus0/statusbrickCount2/brickCountdistCount2/distCountstripeCount1/stripeCountreplicaCount2/replicaCounttransport0/transportbricksbrick192.168.90.42:/export/brick1/brickbrick192.168.90.43:/export/brick1/brick/bricksoptCount0/optCountoptions
 
//volumevolumenamebrick/nameid36d951ab-1c8b-4d32-aa7b-57faed12967c/idtype2/typestatus0/statusbrickCount2/brickCountdistCount2/distCountstripeCount1/stripeCountreplicaCount2/replicaCounttransport0/transportbricksbrick192.168.90.42:/export/brick/brickbrick192.168.90.43:/export/brick/brick/bricksoptCount0/optCountoptions
 //volumecount2/count/volumes/volInfo/cliOutput



Does anybody can give me an advice where I can look at (-”Failed to 
GlusterVolumesListVDS”, seems to give a hint)
It´s apparently a problem with gluster:
http://www.mail-archive.com/users@ovirt.org/msg06118.html

The version problems has been ironed out, so just add this repo:
/etc/yum.repos.d/gluster.repo:
[gluster]
name=GlusterFS
baseurl=http://bits.gluster.org/pub/gluster/glusterfs/stage/
gpgcheck=0
enabled=1

Update gluster and try again. Just had this issue this morning and updating 
made it work as expected:)

/Karli




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]http://www.netbiscuits.com/



 
[https://my.netbiscuits.com/image/image_gallery?uuid=3031deca-7e56-4417-9822-3d6d72f71ef0groupId=10211t=1347280983812]
 https://www.netbiscuits.com/news  
[https://my.netbiscuits.com/image/image_gallery?uuid=1d1a5e29-ceda-4ab1-9353-67a1e838364dgroupId=10211t=1347281040591]
 https://twitter.com/netbiscuits  
[https://my.netbiscuits.com/image/image_gallery?uuid=c99bf866-be25-4236-a0ee-dca68ec828a5groupId=10211t=1347280983848]
 http://www.linkedin.com/company/netbiscuits  
[https://my.netbiscuits.com/image/image_gallery?uuid=d62ba951-14dc-450d-b5f1-be33884225e3groupId=10211t=1347280983872]
 http://www.xing.com/companies/netbiscuitsgmbh  
[https://my.netbiscuits.com/image/image_gallery?uuid=7b28f500-f415-40bb-851f-0cd55beeaf45groupId=10211t=1347280983791]
 https://www.facebook.com/Netbiscuits  
[https://my.netbiscuits.com/image/image_gallery?uuid=cc8764d0-a5ac-4623-bb63-da3ca7c97f94groupId=10211t=1347280983836]
 https://plus.google.com/u/0/112410769451962733032  
[https://my.netbiscuits.com/image/image_gallery?uuid=a15e871c-a11b-419c-acca-da5a0ebd5856groupId=10211t=1347281040599]
 http://www.youtube.com/user/netbiscuits



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=1348560850164]Please
 consider the environment before printing





___
Users mailing list

[Users] Fwd: build vdsm error at TestSuperVdsm

2013-03-04 Thread Yaniv Bronheim
Hey bigclouds,
I didn't notice the personal reply. Any news with the tests? did you try 
running the tests locally?

- Forwarded Message -
From: Yaniv Bronheim ybron...@redhat.com
To: bigclouds bigclo...@163.com
Sent: Saturday, March 2, 2013 11:45:41 AM
Subject: Re: [Users] build vdsm error  at TestSuperVdsm

OK. so first, you can work with NOSE_EXCLUDE=.* until we figure the error. try 
to get into vdsm/tests folder and run
./run_tests_local.sh -s superVdsmTests.py
and tell me what you've got. it runs only supervdsm tests.

if it doesn't work, check if vdsm is running, stop it and try again.
i just did the same, fetch the last code and ran with the tests and it works 
(with some exceptions, but works)

TestSuperVdsm
testIsSuperUp   Exception 
AttributeError: AttributeError('_DummyThread' object has no attribute 
'_Thread__block',) in module 'threading' from 
'/usr/lib64/python2.7/threading.pyc' ignored
OK
testKillSuper   Exception 
AttributeError: AttributeError('_DummyThread' object has no attribute 
'_Thread__block',) in module 'threading' from 
'/usr/lib64/python2.7/threading.pyc' ignored
OK
testNoPidFile   Exception 
AttributeError: AttributeError('_DummyThread' object has no attribute 
'_Thread__block',) in module 'threading' from 
'/usr/lib64/python2.7/threading.pyc' ignored
OK

seems like its something with your environment, and we will figure what is it 
if you want

- Original Message -
From: bigclouds bigclo...@163.com
To: Yaniv Bronheim ybron...@redhat.com
Cc: users@ovirt.org
Sent: Friday, March 1, 2013 3:26:18 AM
Subject: Re:Re: [Users] build vdsm error  at TestSuperVdsm





i get it ' git clone http://gerrit.ovirt.org/p/vdsm.git' this morning. and make 
it again. error remains. 

i fellow http://www.ovirt.org/Vdsm_Developers step by step until( make rpm 
).but if add ' NOSE_EXCLUDE=.* ' ,make can success 
thanks. 

error message: 

testConnectWithoutCertificateFails OK testSessionIsCached OK 
SPM_MailMonitorTests 
testThreadLeak OK 
TestSuperVdsm 
testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] 
Connection refused 
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm 
Traceback (most recent! call last): 
File /root/rpmbuild/BUILD/vdsm-! 4.10.3/vdsm/supervdsm.py, line 202, in 
launch 
utils.retry(self._connect, Exception, timeout=60, tries=3) 
File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py, line 1001, in retry 
return func() 
File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py, line 188, in 
_connect 
self._manager.connect() 
File /usr/lib64/python2.6/multiprocessing/managers.py, line 474, in connect 
conn = Client(self._address, authkey=self._authkey) 
File /usr/lib64/python2.6/multiprocessing/connection.py, line 143, in Client 
c = SocketClient(address) 
File /usr/lib64/python2.6/multiprocessing/connection.py, line 263, in 
SocketClient 
s.connect(address) 
File string, line 1, in connect 
error: [Errno 111] Connection refused 
Kil! led 
[root@ovirtdev vdsm]# ./autogen.sh --system  ./configure --enable-hooks  
make rpm 



At 2013-02-28 23:33:10,Yaniv Bronheim  ybron...@redhat.com  wrote:
i dont think they're related at all

run it without the tests:
./autogen.sh --system  ./configure --enable-hooks  make rpm NOSE_EXCLUDE=.*

tell me what you've got..
what vdsm branch do you compile? master or ovirt-3.2?

- Original Message -
From: bigclouds  bigclo...@163.com 
To: Yaniv Bronheim  ybron...@redhat.com 
Sent: Thursday, February 28, 2013 5:18:20 PM
Subject: Re:Re: [Users] build vdsm error  at TestSuperVdsm



hi, i think the error occurs when do unit test during compiling engine code. 
my env is centos6.3,engine code is latest from git-repo. 








At 2013-02-28 22:00:08,Yaniv Bronheim  ybron...@redhat.com  wrote:
Hey,
Maybe you've got vdsm that already runs on your machine ? but it doesn't 
supposed to throw this exception anyway
/msg NickServ identify 
What version of vdsm do you compile?? maybe the tests couldn't create the 
socket for the communication between supervdsm and vdsm.. 
its wrong that all the compilation fails that way.. ill check it. but did you 
try more than once to run it?


- Original Message -
From: bigclouds  bigclo...@163.com 
To: users@ovirt.org Sent: Thursday, February 28, 2013 7:47:37 AM
Subject: [Users] build vdsm error  at TestSuperVdsm




testThreadLeak OK 
TestSuperVdsm 
testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] 
Connection refused 
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm 
Traceback (most 

Re: [Users] oVirt support for backup/restore

2013-03-04 Thread Itamar Heim

On 04/03/2013 14:57, Ricky Schneberger wrote:

On 2013-03-04 13:24, Jiri Belka wrote:

On Mon, 04 Mar 2013 12:52:53 +0100 Ricky Schneberger
ri...@schneberger.se wrote:


Live snapshot does not save memory state, IIRC. So either
shutdown all VMs or do not think about this as solid backup
solution.



Hi, If I dont think about it as a solid solution, is it doable?
Even with a manual live snapshot I will lack this memory state,
right?

All I want if I must restore a snapshot is to get the WM up on
track in an earlier state.


The snapshot like in VMWare world which saves even memory is
called checkpoint in qemu-kvm world. And IIRC it is not implemented
yet.

Live snapshot is doable, no problem. The problem can be your
design. As you know a lot of apps do not write to filesystem
immediately, so snapshot backup is useless. So either
shutdown/think twice or forget it.

But others can have different view... Backup is thing you _must_
trust, if you design is broken, the consequences are terrific! If
your goal is to have fast disaster recovery, then why not to have
backup machine or some clustered solution?

jbelka



Thanks for your answer.

We have both Netvault and Acronis on the most of the VMs, but then we
have other VMs in the cluster that we want a daily scheduled snapshot
implementation on, but we dont want to setup a complete backup
solution on this VMs. It's testmachines, different virtual desktops,
OCR-readers and so on. We have no needs of snapshots like in VMWare
world for them, nor even a complete backup solution. There I think
Ovirts snapshot handling should be perfect.



in general, you are correct - you don't care about live snapshot with 
memory, since you probably mostly care about backing up the disks.
you may care, depending on the type of guest, on having a 
qemu-guest-agent installed, which would help with syncing the writes to 
the disks before the live snapshot is taken.


something to test though is if a daily snapshot does not degrade the 
performance of the running VM, due to more COW layers (until the backup 
api and live merge are in place).

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


Re: [Users] oVirt 3.1 - engine configuration problem

2013-03-04 Thread Itamar Heim

On 28/02/2013 18:10, Piotr Szubiakowski wrote:




- Original Message -

From: Piotr Szubiakowskipiotr.szubiakow...@nask.pl
To: Eli Mesikaemes...@redhat.com
Cc: users@ovirt.org
Sent: Thursday, February 28, 2013 5:56:30 PM
Subject: Re: [Users] oVirt 3.1 - engine configuration problem



Yes , it can be
only set
ENGINEEARLib to the place where the EAR are (under JBOSS_HOME
deployments dir)
CAEngineKey to point to the certificate key location

the other entries are not related


Hi,
I set these variables using psql command:

psql ovirtdb postgres -c update vdc_options set option_value =
'/opt/jboss/jboss-as-7.1.1.Final/standalone/deployments/engine.ear'
where option_name = 'ENGINEEARLib';
psql ovirtdb postgres -c update vdc_options set option_value =
'/opt/jboss/CA/ca/private/ca.pem' where option_name = 'CAEngineKey';

in database looks like there is everything fine:

ovirtdb=# select option_name, option_value from vdc_options where
option_name IN ('CAEngineKey', 'ENGINEEARLib');
   option_name  |   option_value
--+---

   CAEngineKey  | /opt/jboss/CA/ca/private/ca.pem
   ENGINEEARLib |
/opt/jboss/jboss-as-7.1.1.Final/standalone/deployments/engine.ear
(2 wiersze)

However the problem still occurs. I set debug log level. The jboss

Did you restarted the oVirt service ?


Yes I restarted the oVirt service.


you ignored the version field - set it to 'general'.

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


Re: [Users] UI Plugin iframe dialogs

2013-03-04 Thread Vojtech Szocs
Hi René, sorry for replying late!

 I will go for the showDialog API method, as I think I will not into troubles 
 in future oVirt version and avoid hacks.
 It would be really great if showDialog would be able to create these nice 
 oVirt dialogs in addition to opening new windows.

There's a patch for improving showDialog API/implementation to integrate with 
standard WebAdmin dialog look  feel :)

http://gerrit.ovirt.org/#/c/11717/

Still a work-in-progress, but we're planning to finalize/merge it soon!

For now, you can use the current showDialog API, e.g. api.showDialog('Dialog 
Title', 'http://www.example-content.com/', 640, 480);

I have one question for you: would you prefer if new showDialog API supported 
accepting DOM elements instead of contentUrl string? For example (using jQuery):

  var $content = $('divCustom dialog content/div');
  var contentElement = $content.get();
  api.showDialog('Dialog Title', contentElement, 640, 480);

[In other words, UI plugin could build custom UI directly on client, instead of 
having to ask server to provide it.]

Regards,
Vojtech


- Original Message -
From: René Koch r.k...@ovido.at
To: Vojtech Szocs vsz...@redhat.com
Cc: ovirt-users users@ovirt.org
Sent: Sunday, February 24, 2013 7:31:47 PM
Subject: RE: [Users] UI Plugin iframe dialogs

Thanks a lot for your answer and sorry for my late response - I skipped dialogs 
for my first UI plugin release, but have to deal with it in the next release 
again.

I will go for the showDialog API method, as I think I will not into troubles in 
future oVirt version and avoid hacks.
It would be really great if showDialog would be able to create these nice oVirt 
dialogs in addition to opening new windows.


Regards,
René 

 
 
-Original message-
 From:Vojtech Szocs vsz...@redhat.com
 Sent: Wednesday 6th February 2013 18:54
 To: René Koch r.k...@ovido.at
 Cc: ovirt-users users@ovirt.org
 Subject: Re: [Users] UI Plugin iframe dialogs
 
 Hi René, this is an interesting problem.
 
 UI plugin infrastructure loads individual plugins via dedicated iframe 
 elements by design, with iframes serving the purpose of plugin runtime 
 environment that is (more or less) sandboxed with regard to WebAdmin 
 (top-level window) and other plugins. This allows a plugin to load whatever 
 JavaScript libraries, styles etc. without any impact on WebAdmin or other 
 plugins, so that the plugin itself is kind of 'HTML/JS application' on its 
 own, contained within the iframe. Interaction between a plugin and WebAdmin 
 happens through the pluginApi object, plugins are not meant to modify 
 WebAdmin top-level DOM directly on their own. (I'll post a detailed email on 
 this later on.)
 
 Aside from plugin code itself running within an iframe, you have a custom 
 sub-tab that renders some URL content via another iframe (this is another 
 'content' iframe, not related to plugin host page iframe).
 
  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).
 
 Yes, because the jQuery dialog is shown within the sub-tab content iframe 
 window.
 
  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).
 
 Yes, this is possible :)
 
 There are two options you can go with:
 
 1, use showDialog API to render custom dialog whose content is rendered via 
 iframe
- you need to provide URL for the dialog content
- this is the preferred way of showing custom dialogs
Note: showDialog API is currently under improvement, see 
 http://gerrit.ovirt.org/#/c/11717/
 
 2, [hacky workaround] use 'parent' within the iframe to reference top-level 
 WebAdmin window
- your plugin can show jQuery dialog within the context of WebAdmin DOM 
 (parent.document)
- for example:
  var $dialog = $('div title=TitleContent/div');
  var dialogElement = $dialog.get();
  parent.document.body.appendChild(dialogElement);
  $dialog.dialog();
 
 3, [planned for future] extend showDialog to accept DOM element in addition 
 to content URL
- this way, you can build your dialog content with JavaScript and put it 
 inside the dialog
- you would still use showDialog API, in preference to direct WebAdmin DOM 
 manipulation
 
 In general, plugins are not meant to modify 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: 

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

2013-03-04 Thread Gianluca Cecchi
On Sun, Mar 3, 2013 at 5:30 PM, Alissa Bonas  wrote:

 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.

 Hi Gianluca,

 Regarding the second item you mentioned - failure of the clone vm from 
 snapshot,
 the engine log indicates that the  following error occurred  Volume Group 
 not big enough - suggesting you might check if you have enough free space.


Yes, you are right. I thought I had selected a storage domain with
sufficient free space but probably it was not so.

I just repeated the operation, creating a snapshot and then a clone of
the same VM and selecting an SD with sufficient free space, and it
completed correctly with the cloned VM able to boot.
I take the occasion to suggest oVirt to at least behave this way:

1) pre-calculate necessary space and in case of problems don't start
the clone operations but send a warning message impeding it

If during 1) all was ok and in the mean time went KO (unexpected new
storage allocated that made impossible clone completion)
2) notify the user with the actual problem (insufficient space) and
not those crypic messages
see the already pointed link:
https://docs.google.com/file/d/0BwoPbcrMv8mvaW9OVW84WVI1dkU/edit?usp=sharing

Thanks,
Gianluca
___
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-03-04 Thread Michael Pasternak
On 03/04/2013 03:43 PM, Romil Gupta wrote:
 Hi Michael ,
 
 May I know , Is there any api to get the no. of cores available in  Host 
 attached to a Cluster in RHEV-M ??

see in host CPU element:

cpu
  topology sockets=.. cores=../
  ...
/cpu

api.hosts.get(name=...).get_cpu().get_topology().get_cores()

 
 Thanks 
 Romil


-- 

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


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

2013-03-04 Thread Gianluca Cecchi
On Mon, Mar 4, 2013 at 1:19 PM, Alissa Bonas wrote:

 
  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...

 Can you please provide the engine logs where the boot success/failure of 
 master and clone can be seen?

OK.
here it is:
https://docs.google.com/file/d/0BwoPbcrMv8mva2Z2dUNJTWlCWHM/edit?usp=sharing

Starting point 15:16 both powered off.
First message with 15:17 is boot of sl1432b that is the master and boots ok.

First message with 15:21 is boot of slclone that is the clone.

The slackware OS uses lilo as boot loader and on master it is
configured this way at the moment:

root@sl1432b:~# grep -v ^# /etc/lilo.conf
append= vt.default_utf8=0
boot = /dev/vda

  bitmap = /boot/slack.bmp
  bmp-colors = 255,0,255,0,255,0
  bmp-table = 60,6,1,16
  bmp-timer = 65,27,0,255


prompt
timeout = 50
change-rules
  reset
vga = normal

disk=/dev/vda bios=0x80 max-partitions=7

image = /boot/vmlinuz
  root = /dev/vda2
  initrd = /boot/initrd.gz
  label = Linux
  read-only



The disk=... entry was added to be able to support boot from device
of type vda in slackware, that doesn't support it ootb..

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


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

2013-03-04 Thread Alissa Bonas


- Original Message -
 From: Gianluca Cecchi gianluca.cec...@gmail.com
 To: Alissa Bonas abo...@redhat.com
 Cc: users users@ovirt.org, Vered Volansky ve...@redhat.com, Liron 
 Aravot lara...@redhat.com
 Sent: Monday, March 4, 2013 4:13:38 PM
 Subject: Re: [Users] clone vm from snapshot problem in 3.2
 
 On Sun, Mar 3, 2013 at 5:30 PM, Alissa Bonas  wrote:
 
  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.
 
  Hi Gianluca,
 
  Regarding the second item you mentioned - failure of the clone vm
  from snapshot,
  the engine log indicates that the  following error occurred
   Volume Group not big enough - suggesting you might check if you
  have enough free space.
 
 
 Yes, you are right. I thought I had selected a storage domain with
 sufficient free space but probably it was not so.
 
 I just repeated the operation, creating a snapshot and then a clone
 of
 the same VM and selecting an SD with sufficient free space, and it
 completed correctly with the cloned VM able to boot.
 I take the occasion to suggest oVirt to at least behave this way:
 
 1) pre-calculate necessary space and in case of problems don't start
 the clone operations but send a warning message impeding it
 
 If during 1) all was ok and in the mean time went KO (unexpected new
 storage allocated that made impossible clone completion)
 2) notify the user with the actual problem (insufficient space) and
 not those crypic messages
 see the already pointed link:
 https://docs.google.com/file/d/0BwoPbcrMv8mvaW9OVW84WVI1dkU/edit?usp=sharing

Those are indeed great improvement suggestions for a better user experience.
It will be great if you could add it in bugzilla (as RFE) so it can be followed 
and managed there:
https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt
Thank you!

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


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

2013-03-04 Thread Gianluca Cecchi
On Mon, Mar 4, 2013 at 3:34 PM, Alissa Bonas  wrote:


 Those are indeed great improvement suggestions for a better user experience.
 It will be great if you could add it in bugzilla (as RFE) so it can be 
 followed and managed there:
 https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt
 Thank you!

 Thanks,
 Gianluca


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

I didn't know how to post an rfe bug, so I chose unspecified as
severity and put RFE: at the beginning of subject.
Feel free to modify it if this is the wrong way to submit RFE bug...

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


Re: [Users] Improvement for the oVirt java sdk

2013-03-04 Thread Morrissey, Christopher
Hi Michael,

Yes, that is the case here. I'm getting the JSESSIONID from the client and 
passing it to our server so that it can perform REST-API calls back to oVirt 
under the logged in user's authenticated session.

-Chris

 -Original Message-
 From: Michael Pasternak [mailto:mpast...@redhat.com]
 Sent: Sunday, March 03, 2013 4:44 AM
 To: Morrissey, Christopher
 Cc: users@ovirt.org; engine-devel
 Subject: Re: Improvement for the oVirt java sdk
 
 
 Hi Christopher,
 
 In general SDK abstracts the transport layer, therefore all authentication
 internals hidden from the user,
 
 i.e SESSION based authentication happens implicitly (by default), when you
 initiate SDK entry point,
 
 the story is different if you want using SSO-like login by reusing JSESSIONID
 from the REST-API for instance, and i can support such scenario,
 
 but, is this your case?
 
 On 02/28/2013 10:04 PM, Morrissey, Christopher wrote:
  Hi Michael,
 
  I'm looking to use the oVirt java sdk for connecting into oVirt from
  our server. However, we have a UI plugin that gets access to a session
  ID that we should be able to use to connect through the REST API
  instead of the username and password. Any chance the sdk could be
 updated to take the session ID and create a connection vs. a user name and
 password?
 
  -Chris
 
  Chris Morrissey
  Software Engineer
  NetApp Inc.
  919.476.4428
 
 
 
 
 --
 
 Michael Pasternak
 RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-03-04 Thread Alex Leonhardt
Hi,

I just tested this with this config :


target iqn.2013-02.local.vm:iscsi.lun1
backing-store /vol/scsi.img
vendor_id ISCSI-MULTIPATH
scsi_id MULTIPATHTEST
scsi_sn 9911
lun 1
/backing-store
/target


However, upon discovery / login, the LUN ID was again :

1IET_11


Alex




On 3 March 2013 18:34, Ayal Baron aba...@redhat.com wrote:



 - Original Message -
 
 
 
 
 
  Hi there,
 
  I was doing some testing around ovirt and iscsi and found an issue
  where as when you use dd to create backing-stores for iscsi and
  you point ovirt to it to discover  login, it thinks the LUN ID is
  the same although the target is different and adds additional paths
  to the config (automagically?) bringing down the iSCSI storage
  domain.

 There is no question about the behaviour, it's not a bug, that is the way
 multipathing works (has nothing to do with oVirt).  The GUID of a LUN has
 to be unique.  multipathd seeing the same LUN ID across multiple targets
 assumes that it's the same LUN with multiple paths and that's how you get
 redundancy and load balancing.
 Why tgtd doesn't take care of this built in I could never grok, but what
 you need to do is edit your targets.conf and add the scsi_id and scsi_sn
 fields.

 Example:
 target MasterBackup
  allow-in-use yes
 backing-store /dev/vg0/MasterBackup
  lun 1
  scsi_id MasterBackup
  scsi_sn 4401
 /backing-store
 /target

 
  See attached screenshot of what I got when trying to a new iscsi san
  storage domain to ovirt. The Storage Domain is now down and I
  cannot get rid of the config (???) how do I force it to logout of
  the targets ??
 
 
  Also, anyone know how to deal with the duplicate LUN ID issue ?
 
 
  Thanks
  Alex
 
 
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
  ___
  Users mailing list
  Users@ovirt.org
  http://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] Configure spice plugin for wan

2013-03-04 Thread Gianluca Cecchi
On Sun, Mar 3, 2013 at 7:52 AM, Itamar Heim  wrote:


 1. ok, the config key isn't user editable, not an issue.
 2. for ovirt to see list of applications, you need to have the
 ovirt-guest-agent installed as well, not just the spice one.

Trying to build on windows 7 following git instructions.
http://gerrit.ovirt.org/gitweb?p=ovirt-guest-agent.git;a=blob;f=ovirt-guest-agent/README-windows.txt;h=bf6bb3c18567537489b56e6888b2eb7f025cc4f9;hb=HEAD

I obtained

OVirtGuestService.exe
and
w9xpopen.exe

The instructions say...

Running the service:
  32 
  33
  34  python OVirtGuestService.py -install
  35  net start OVirtGuestService
  36
  37 Building executable file:
  38 -
  39
  40  python setup.py py2exe -b 1



I don't understand how to match the instructions with what I got...
Can anyone help in this?

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


Re: [Users] Configure spice plugin for wan

2013-03-04 Thread Gianluca Cecchi
On Mon, Mar 4, 2013 at 4:37 PM, Gianluca Cecchi  wrote:
 On Sun, Mar 3, 2013 at 7:52 AM, Itamar Heim  wrote:


 1. ok, the config key isn't user editable, not an issue.
 2. for ovirt to see list of applications, you need to have the
 ovirt-guest-agent installed as well, not just the spice one.

 Trying to build on windows 7 following git instructions.
 http://gerrit.ovirt.org/gitweb?p=ovirt-guest-agent.git;a=blob;f=ovirt-guest-agent/README-windows.txt;h=bf6bb3c18567537489b56e6888b2eb7f025cc4f9;hb=HEAD

 I obtained

 OVirtGuestService.exe
 and
 w9xpopen.exe

 The instructions say...
 
 Running the service:
   32 
   33
   34  python OVirtGuestService.py -install
   35  net start OVirtGuestService
   36
   37 Building executable file:
   38 -
   39
   40  python setup.py py2exe -b 1

 

 I don't understand how to match the instructions with what I got...
 Can anyone help in this?

 Gianluca

So I have to simply run what is written:


- Opening a console window as administrator:

C:\ python OVirtGuestService.py install
Installing service OVirtGuestService
Service installed


- Tryng to start the installed service
C:\ net start OVirtGuestService
The OVirt Guest Agent Service service is starting.
The OVirt Guest Agent Service service could not be started.

A service specific error occurred: 1.

More help is available by typing NET HELPMSG 3547.
but nothing interesting with NET HELPMSG 3547 for debugging...

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


Re: [Users] Copy VM using the commandline

2013-03-04 Thread YamakasY
Sorry, I thought I did an Reply to all.

See below.

What I did is the following:

Create a disk using the same size as
 your old one. remove the image file and move your old image file into 
the new folder for this disk.

Change the name of the image to the one that is also like the meta file and 
you're done.

This is a working way :)

Cheers,

On 4 Mar 2013 13:20:23, Adrian Gibanel wrote:
 Please reply to the ML too.
 Thank you.
 
  De:   YamakasY yamakasi@gmail.com
  Para:   adrian gibanel adrian.giba...@btactic.com
  Enviados:   Lunes, 4 de Marzo 2013 12:45:53
  Asunto:   Re: [Users] Copy VM using the commandline
  
  What I did is the following:
  
  Create a disk using the same size as your old one. remove the image file 
  and move your old image file into the new folder for this disk.
  
  Change the name of the image to the one that is also like the meta file and 
  you're done.
  
  This is a working way :)
  
  Cheers,
  
  Matt
  
  On 3 Mar 2013 20:05:56, Adrian Gibanel wrote:
   While you wait for a more oVirt-standard reply (like trying to solve your 
   problem from the Web Manager) you can check:
   
   http://www.ovirt.org/User:Adrian15/Virtual_Machines_Images_Raw_Management
   
   .
   
De: Matt . yamakasi@gmail.com
Para: users users@ovirt.org
Enviados: Domingo, 3 de Marzo 2013 19:20:03
Asunto: [Users] Copy VM using the commandline

Is it possible to copy a VM from storage node to storage node by using 
the commandline ?

ISO images are indexed automaticly but I don't know how this works for 
storage.

I have a storage device that was down following the system, but my 
images are still on there. To avoid reinstalling the systems and 
placing backups back I would like to know if I can copy the images from 
this folder  to a storage device that can be seen normal.

I hope this is possible.

Cheers,

Matt


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

   
   
   -- 
   Adrián Gibanel
   I.T. Manager
   
   +34 675 683 301
   www.btactic.com
   


   Ens podeu seguir a/Nos podeis seguir en:
   
i 

   Abans d´imprimir
aquest missatge, pensa en el medi ambient. El medi ambient és cosa de 
tothom.
/ Antes de imprimir el mensaje piensa en el medio ambiente. El medio 
ambiente
es cosa de todos. 
   
   
AVIS: 
   
El contingut d'aquest missatge i els seus annexos és confidencial. Si no
en sou el destinatari, us fem saber que està prohibit utilitzar-lo, 
divulgar-lo
i/o copiar-lo sense tenir l'autorització corresponent. Si heu rebut 
aquest
missatge per error, us agrairem que ho feu saber immediatamental remitent
i que procediu a destruir el missatge   .
   
   
AVISO:
   
El contenido de este mensaje y de sus anexos es confidencial. Si no es
el destinatario, les hacemos saber que está prohibido utilizarlo, 
divulgarlo
y/o copiarlo sin tener la autorización correspondiente. Si han recibido
este mensaje por error, les agradeceríamos que lo hagan saber 
inmediatamente
   al remitente y que procedan a
 destruir el mensaje   .   


   


 
 
 -- 
 Adrián Gibanel
 I.T. Manager
 
 +34 675 683 301
 www.btactic.com
 


 Ens podeu seguir a/Nos podeis seguir en:
 
  i 

 Abans d´imprimir
aquest missatge, pensa en el medi ambient. El medi ambient és cosa de 
tothom.
/ Antes de imprimir el mensaje piensa en el medio ambiente. El medio 
ambiente
es cosa de todos. 
 
 
AVIS: 
 
El contingut d'aquest missatge i els seus annexos és confidencial. Si no
en sou el destinatari, us fem saber que està prohibit utilitzar-lo, 
divulgar-lo
i/o copiar-lo sense tenir l'autorització corresponent. Si heu rebut 
aquest
missatge per error, us agrairem que ho feu saber immediatament  al remitent
i que procediu a destruir el missatge .
 
 
AVISO:
 
El contenido de este mensaje y de sus anexos es confidencial. Si no es
el destinatario, les hacemos saber que está prohibido utilizarlo, 
divulgarlo
y/o copiarlo sin tener la autorización correspondiente. Si han recibido
este mensaje por error, les agradeceríamos que lo hagan saber 
inmediatamente
 al remitente y que procedan a
 destruir el mensaje . 


 



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


Re: [Users] Introducing oVirt Monitoring UI-Plugin

2013-03-04 Thread Vojtech Szocs
Hi René,

 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.

Yes :) we could simply extend existing API functions to accept DOM element as 
custom content, in addition to contentUrl/iframe implementation.

This could be done for each API function that currently works with contentUrl 
argument: addMainTab, addSubTab, showDialog

The reason for pushing this feature forward is to give everyone more 
possibilities, e.g. I wouldn't want to lock people into plugins can contribute 
content only via contentUrl approach.

Also, check out 
http://www.ovirt.org/Features/UIPlugins#oVirt_Monitoring_UI_Plugin :)

Regards,
Vojtech


- Original Message -
From: René Koch (ovido) r.k...@ovido.at
To: Vojtech Szocs vsz...@redhat.com
Cc: ovirt-users users@ovirt.org
Sent: Tuesday, February 26, 2013 9:24:23 PM
Subject: Re: [Users] Introducing oVirt Monitoring UI-Plugin

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] 6.4 CR: oVirt 3.1 breaks with missing cpu features after update to CentOS 6.4 (6.3 + CR)

2013-03-04 Thread Patrick Hurrelmann
Hi list,

I tested the upcoming CentOS 6.4 release with my lab installation of
oVirt 3.1 and it fails to play well.

Background: freshly installed CentOS 6.3 host in a Nehalem CPU-type
Cluster with 2 other hosts. Storage is iSCSI. Datacenter and Cluster are
both version 3.1. oVirt 3.1 was installed via Dreyou's repo.

In CentOS 6.3 all is fine and the following rpms are installed:

libvirt.x86_640.9.10-21.el6_3.8
libvirt-client.x86_64 0.9.10-21.el6_3.8
libvirt-lock-sanlock.x86_64   0.9.10-21.el6_3.8
libvirt-python.x86_64 0.9.10-21.el6_3.8
vdsm.x86_64   4.10.0-0.46.15.el6
vdsm-cli.noarch   4.10.0-0.46.15.el6
vdsm-python.x86_644.10.0-0.46.15.el6
vdsm-xmlrpc.noarch4.10.0-0.46.15.el6
qemu-kvm.x86_64   2:0.12.1.2-2.295.el6_3.10


uname -a
Linux vh-test1.mydomain.com 2.6.32-279.22.1.el6.x86_64 #1 SMP Wed Feb 6
03:10:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

virsh cpu capabilities on 6.3:
cpu
  archx86_64/arch
  modelNehalem/model
  vendorIntel/vendor
  topology sockets='1' cores='4' threads='1'/
  feature name='rdtscp'/
  feature name='pdcm'/
  feature name='xtpr'/
  feature name='tm2'/
  feature name='est'/
  feature name='smx'/
  feature name='vmx'/
  feature name='ds_cpl'/
  feature name='monitor'/
  feature name='dtes64'/
  feature name='pbe'/
  feature name='tm'/
  feature name='ht'/
  feature name='ss'/
  feature name='acpi'/
  feature name='ds'/
  feature name='vme'/
/cpu

and corresponding cpu features from vdsClient:

   cpuCores = 4
   cpuFlags = fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,
  cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,
  tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,
  pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,
  dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,
  pdcm,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,
  flexpriority,ept,vpid,model_Conroe,model_Penryn,
  model_Nehalem
   cpuModel = Intel(R) Xeon(R) CPU   X3430  @ 2.40GHz
   cpuSockets = 1
   cpuSpeed = 2394.132


So the system was updated to 6.4 using the continuous release repo.

Installed rpms after update to 6.4 (6.3 + CR):

libvirt.x86_640.10.2-18.el6
libvirt-client.x86_64 0.10.2-18.el6
libvirt-lock-sanlock.x86_64   0.10.2-18.el6
libvirt-python.x86_64 0.10.2-18.el6
vdsm.x86_64   4.10.0-0.46.15.el6
vdsm-cli.noarch   4.10.0-0.46.15.el6
vdsm-python.x86_644.10.0-0.46.15.el6
vdsm-xmlrpc.noarch4.10.0-0.46.15.el6
qemu-kvm.x86_64   2:0.12.1.2-2.355.el6_4_4.1


uname -a
Linux vh-test1.mydomain.com 2.6.32-358.0.1.el6.x86_64 #1 SMP Wed Feb 27
06:06:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

virsh capabilities on 6.4:
cpu
  archx86_64/arch
  modelNehalem/model
  vendorIntel/vendor
  topology sockets='1' cores='4' threads='1'/
  feature name='rdtscp'/
  feature name='pdcm'/
  feature name='xtpr'/
  feature name='tm2'/
  feature name='est'/
  feature name='smx'/
  feature name='vmx'/
  feature name='ds_cpl'/
  feature name='monitor'/
  feature name='dtes64'/
  feature name='pbe'/
  feature name='tm'/
  feature name='ht'/
  feature name='ss'/
  feature name='acpi'/
  feature name='ds'/
  feature name='vme'/
/cpu

and corresponding cpu features from vdsClient:

   cpuCores = 4
   cpuFlags = fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,
  cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,
  tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,
  pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,
  dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,
  pdcm,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,
  flexpriority,ept,vpid,model_coreduo,model_Conroe
   cpuModel = Intel(R) Xeon(R) CPU   X3430  @ 2.40GHz
   cpuSockets = 1
   cpuSpeed = 2394.098

Full outputs of virsh capabilities and vdsCaps are attached. The only
difference I can see is that 6.4 exposes one additional cpu flags (sep)
and this seems to break the cpu recognition of vdsm.

Anyone has some hints on how to resolve or debug this further? What more
information can I provide to help?

Best regards
Patrick
-- 
Lobster LOGsuite GmbH, Münchner Straße 15a, D-82319 Starnberg

HRB 178831, Amtsgericht München
Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
vdsClient -s 0 getVdsCaps
HBAInventory = {'iSCSI': [{'InitiatorName': 
'iqn.2012-09.com.mydomain:vh-test1'}], 'FC': []}
ISCSIInitiatorName = iqn.2012-09.com.mydomain:vh-test1
bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': 
'', 'slaves': [], 'hwaddr': 

Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-03-04 Thread Alex Leonhardt
Ok, so finally got this working, anyone know how to change the timeout for
multipathd from say 120 seconds to ~10 seconds ?

== /var/log/messages ==
Mar  4 17:09:12 TESTHV01 kernel: session5: session recovery timed out after
120 secs
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Unhandled error code
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Result:
hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] CDB: Read(10): 28 00 00
04 08 00 00 00 08 00
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Unhandled error code
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Result:
hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] CDB: Read(10): 28 00 00
00 00 00 00 00 08 00


Alex




On 4 March 2013 15:35, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi,

 I just tested this with this config :


 target iqn.2013-02.local.vm:iscsi.lun1
 backing-store /vol/scsi.img
 vendor_id ISCSI-MULTIPATH
 scsi_id MULTIPATHTEST
 scsi_sn 9911
 lun 1
 /backing-store
 /target


 However, upon discovery / login, the LUN ID was again :

 1IET_11


 Alex




 On 3 March 2013 18:34, Ayal Baron aba...@redhat.com wrote:



 - Original Message -
 
 
 
 
 
  Hi there,
 
  I was doing some testing around ovirt and iscsi and found an issue
  where as when you use dd to create backing-stores for iscsi and
  you point ovirt to it to discover  login, it thinks the LUN ID is
  the same although the target is different and adds additional paths
  to the config (automagically?) bringing down the iSCSI storage
  domain.

 There is no question about the behaviour, it's not a bug, that is the way
 multipathing works (has nothing to do with oVirt).  The GUID of a LUN has
 to be unique.  multipathd seeing the same LUN ID across multiple targets
 assumes that it's the same LUN with multiple paths and that's how you get
 redundancy and load balancing.
 Why tgtd doesn't take care of this built in I could never grok, but what
 you need to do is edit your targets.conf and add the scsi_id and scsi_sn
 fields.

 Example:
 target MasterBackup
  allow-in-use yes
 backing-store /dev/vg0/MasterBackup
  lun 1
  scsi_id MasterBackup
  scsi_sn 4401
 /backing-store
 /target

 
  See attached screenshot of what I got when trying to a new iscsi san
  storage domain to ovirt. The Storage Domain is now down and I
  cannot get rid of the config (???) how do I force it to logout of
  the targets ??
 
 
  Also, anyone know how to deal with the duplicate LUN ID issue ?
 
 
  Thanks
  Alex
 
 
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 




 --

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




-- 

| 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] Configure spice plugin for wan

2013-03-04 Thread Gianluca Cecchi
One problem was setting where to put the .ini file.
For now I put it where the python is called and the service starts now.
But no ip and no applications are populated even after setting service to
auto and restart win7 vm.
Where to look for now?
Thanks
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Configure spice plugin for wan

2013-03-04 Thread Itamar Heim

On 03/04/2013 07:59 PM, Gianluca Cecchi wrote:

One problem was setting where to put the .ini file.
For now I put it where the python is called and the service starts now.
But no ip and no applications are populated even after setting service
to auto and restart win7 vm.
Where to look for now?
Thanks
Gianluca



guest agent and vdsm log
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 6.4 CR: oVirt 3.1 breaks with missing cpu features after update to CentOS 6.4 (6.3 + CR)

2013-03-04 Thread Itamar Heim

On 04/03/2013 19:03, Patrick Hurrelmann wrote:

Hi list,

I tested the upcoming CentOS 6.4 release with my lab installation of
oVirt 3.1 and it fails to play well.

Background: freshly installed CentOS 6.3 host in a Nehalem CPU-type
Cluster with 2 other hosts. Storage is iSCSI. Datacenter and Cluster are
both version 3.1. oVirt 3.1 was installed via Dreyou's repo.

In CentOS 6.3 all is fine and the following rpms are installed:

libvirt.x86_640.9.10-21.el6_3.8
libvirt-client.x86_64 0.9.10-21.el6_3.8
libvirt-lock-sanlock.x86_64   0.9.10-21.el6_3.8
libvirt-python.x86_64 0.9.10-21.el6_3.8
vdsm.x86_64   4.10.0-0.46.15.el6
vdsm-cli.noarch   4.10.0-0.46.15.el6
vdsm-python.x86_644.10.0-0.46.15.el6
vdsm-xmlrpc.noarch4.10.0-0.46.15.el6
qemu-kvm.x86_64   2:0.12.1.2-2.295.el6_3.10


uname -a
Linux vh-test1.mydomain.com 2.6.32-279.22.1.el6.x86_64 #1 SMP Wed Feb 6
03:10:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

virsh cpu capabilities on 6.3:
 cpu
   archx86_64/arch
   modelNehalem/model
   vendorIntel/vendor
   topology sockets='1' cores='4' threads='1'/
   feature name='rdtscp'/
   feature name='pdcm'/
   feature name='xtpr'/
   feature name='tm2'/
   feature name='est'/
   feature name='smx'/
   feature name='vmx'/
   feature name='ds_cpl'/
   feature name='monitor'/
   feature name='dtes64'/
   feature name='pbe'/
   feature name='tm'/
   feature name='ht'/
   feature name='ss'/
   feature name='acpi'/
   feature name='ds'/
   feature name='vme'/
 /cpu

and corresponding cpu features from vdsClient:

cpuCores = 4
cpuFlags = fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,
   cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,
   tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,
   pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,
   dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,
   pdcm,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,
   flexpriority,ept,vpid,model_Conroe,model_Penryn,
   model_Nehalem
cpuModel = Intel(R) Xeon(R) CPU   X3430  @ 2.40GHz
cpuSockets = 1
cpuSpeed = 2394.132


So the system was updated to 6.4 using the continuous release repo.

Installed rpms after update to 6.4 (6.3 + CR):

libvirt.x86_640.10.2-18.el6
libvirt-client.x86_64 0.10.2-18.el6
libvirt-lock-sanlock.x86_64   0.10.2-18.el6
libvirt-python.x86_64 0.10.2-18.el6
vdsm.x86_64   4.10.0-0.46.15.el6
vdsm-cli.noarch   4.10.0-0.46.15.el6
vdsm-python.x86_644.10.0-0.46.15.el6
vdsm-xmlrpc.noarch4.10.0-0.46.15.el6
qemu-kvm.x86_64   2:0.12.1.2-2.355.el6_4_4.1


uname -a
Linux vh-test1.mydomain.com 2.6.32-358.0.1.el6.x86_64 #1 SMP Wed Feb 27
06:06:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

virsh capabilities on 6.4:
 cpu
   archx86_64/arch
   modelNehalem/model
   vendorIntel/vendor
   topology sockets='1' cores='4' threads='1'/
   feature name='rdtscp'/
   feature name='pdcm'/
   feature name='xtpr'/
   feature name='tm2'/
   feature name='est'/
   feature name='smx'/
   feature name='vmx'/
   feature name='ds_cpl'/
   feature name='monitor'/
   feature name='dtes64'/
   feature name='pbe'/
   feature name='tm'/
   feature name='ht'/
   feature name='ss'/
   feature name='acpi'/
   feature name='ds'/
   feature name='vme'/
 /cpu

and corresponding cpu features from vdsClient:

cpuCores = 4
cpuFlags = fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,
   cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,
   tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,
   pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,
   dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,
   pdcm,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,
   flexpriority,ept,vpid,model_coreduo,model_Conroe
cpuModel = Intel(R) Xeon(R) CPU   X3430  @ 2.40GHz
cpuSockets = 1
cpuSpeed = 2394.098

Full outputs of virsh capabilities and vdsCaps are attached. The only
difference I can see is that 6.4 exposes one additional cpu flags (sep)
and this seems to break the cpu recognition of vdsm.

Anyone has some hints on how to resolve or debug this further? What more
information can I provide to help?

Best regards
Patrick



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



seems like a vdsm issue - can you check if you have this patch (not sure 
its related):


commit 558994f8ffe030acd1b851dfd074f3417681337b
Author: Mark Wu wu...@linux.vnet.ibm.com
Date:   Tue Oct 9 

[Users] call for content! oVirt Workshop Intel Campus, Shanghai China 8-9 May 2013

2013-03-04 Thread Theron Conrey
Hi everyone,

We are actively seeking speakers for the oVirt workshop which will be 
held on Intel's Shanghai Campus, 8-9 May 2013. 

We are interested in talks in the following areas:

* Getting started developing oVirt
* oVirt for the systems administrator
* Where oVirt fits in the enterprise
* Gluster Integration
* leveraging oVirt for Gluster deployments
* Case studies on cost savings with oVirt and Open Source data center 
virtualization
* Troubleshooting oVirt
* Hardware optimations for virtualization
* oVirt Plugin development
* oVirt architecture from a security and best practices point of view.
* oVirt Project Roadmaps
* Deep dives into features/areas
* Deep dives into code/debugging 

Please submit talk proposals for review by sending an email to workshop-pc at 
ovirt.org.

Please include your full name, speaker biography and your talk abstract. We 
will accept submissions through Friday, 29 March 2013 at 23:59 PST. Speakers 
will be notified of acceptance by Monday, 8 April 2013.

Accepted speakers should plan to submit their slides to the workshop-pc at 
ovirt.org mailing list no later than close of business on Monday, 22 April 2013.

Registration and workshop logistical information will be posted soon, keep your 
eyes open for further announcements!

Thank you all for your participation!
-- 
Theron Conrey 
Open Source and Standards, Red Hat
@theronconrey
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] oVirt 3.2 on CentOS with Gluster 3.3

2013-03-04 Thread Rob Zwissler
Running CentOS 6.3 with the following VDSM packages from dre's repo:

vdsm-xmlrpc-4.10.3-0.30.19.el6.noarch
vdsm-gluster-4.10.3-0.30.19.el6.noarch
vdsm-python-4.10.3-0.30.19.el6.x86_64
vdsm-4.10.3-0.30.19.el6.x86_64
vdsm-cli-4.10.3-0.30.19.el6.noarch

And the following gluster packages from the gluster repo:

glusterfs-3.3.1-1.el6.x86_64
glusterfs-fuse-3.3.1-1.el6.x86_64
glusterfs-vim-3.2.7-1.el6.x86_64
glusterfs-server-3.3.1-1.el6.x86_64

I get the following errors in vdsm.log:

Thread-1483::DEBUG::2013-03-04
16:35:27,427::BindingXMLRPC::913::vds::(wrapper) client
[10.33.9.73]::call volumesList with () {}
MainProcess|Thread-1483::DEBUG::2013-03-04
16:35:27,429::misc::84::Storage.Misc.excCmd::(lambda)
'/usr/sbin/gluster --mode=script volume info --xml' (cwd None)
MainProcess|Thread-1483::DEBUG::2013-03-04
16:35:27,480::misc::84::Storage.Misc.excCmd::(lambda) SUCCESS: err
= ''; rc = 0
MainProcess|Thread-1483::ERROR::2013-03-04
16:35:27,480::supervdsmServer::80::SuperVdsm.ServerCallback::(wrapper)
Error in wrapper
Traceback (most recent call last):
  File /usr/share/vdsm/supervdsmServer.py, line 78, in wrapper
return func(*args, **kwargs)
  File /usr/share/vdsm/supervdsmServer.py, line 352, in wrapper
return func(*args, **kwargs)
  File /usr/share/vdsm/gluster/cli.py, line 45, in wrapper
return func(*args, **kwargs)
  File /usr/share/vdsm/gluster/cli.py, line 430, in volumeInfo
except (etree.ParseError, AttributeError, ValueError):
AttributeError: 'module' object has no attribute 'ParseError'
Thread-1483::ERROR::2013-03-04
16:35:27,481::BindingXMLRPC::932::vds::(wrapper) unexpected error
Traceback (most recent call last):
  File /usr/share/vdsm/BindingXMLRPC.py, line 918, in wrapper
res = f(*args, **kwargs)
  File /usr/share/vdsm/gluster/api.py, line 32, in wrapper
rv = func(*args, **kwargs)
  File /usr/share/vdsm/gluster/api.py, line 56, in volumesList
return {'volumes': self.svdsmProxy.glusterVolumeInfo(volumeName)}
  File /usr/share/vdsm/supervdsm.py, line 81, in __call__
return callMethod()
  File /usr/share/vdsm/supervdsm.py, line 72, in lambda
**kwargs)
  File string, line 2, in glusterVolumeInfo
  File /usr/lib64/python2.6/multiprocessing/managers.py, line 740,
in _callmethod
raise convert_to_error(kind, result)
AttributeError: 'module' object has no attribute 'ParseError'

Which corresponds to the following in the engine.log:

2013-03-04 16:34:46,231 INFO
[org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand]
(QuartzScheduler_Worker-86) START,
GlusterVolumesListVDSCommand(HostName = xor-q-virt01, HostId =
b342bf4d-d9e9-4055-b662-462dc2e6bf50), log id: 987aef3
2013-03-04 16:34:46,365 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(QuartzScheduler_Worker-86) Failed in GlusterVolumesListVDS method
2013-03-04 16:34:46,366 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(QuartzScheduler_Worker-86) Error code unexpected and error message
VDSGenericException: VDSErrorException: Failed to
GlusterVolumesListVDS, error = Unexpected exception
2013-03-04 16:34:46,367 ERROR
[org.ovirt.engine.core.vdsbroker.VDSCommandBase]
(QuartzScheduler_Worker-86) Command GlusterVolumesListVDS execution
failed. Exception: VDSErrorException: VDSGenericException:
VDSErrorException: Failed to GlusterVolumesListVDS, error = Unexpected
exception
2013-03-04 16:34:46,369 INFO
[org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand]
(QuartzScheduler_Worker-86) FINISH, GlusterVolumesListVDSCommand, log
id: 987aef3
2013-03-04 16:34:46,370 ERROR
[org.ovirt.engine.core.bll.gluster.GlusterManager]
(QuartzScheduler_Worker-86) Error while refreshing Gluster lightweight
data of cluster qa-cluster1!:
org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
VDSGenericException: VDSErrorException: Failed to
GlusterVolumesListVDS, error = Unexpected exception
at 
org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:168)
[engine-bll.jar:]
at 
org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33)
[engine-bll.jar:]
at 
org.ovirt.engine.core.bll.gluster.GlusterManager.runVdsCommand(GlusterManager.java:258)
[engine-bll.jar:]
at 
org.ovirt.engine.core.bll.gluster.GlusterManager.fetchVolumes(GlusterManager.java:454)
[engine-bll.jar:]
at 
org.ovirt.engine.core.bll.gluster.GlusterManager.fetchVolumes(GlusterManager.java:440)
[engine-bll.jar:]
at 
org.ovirt.engine.core.bll.gluster.GlusterManager.refreshVolumeData(GlusterManager.java:411)
[engine-bll.jar:]
at 
org.ovirt.engine.core.bll.gluster.GlusterManager.refreshClusterData(GlusterManager.java:191)
[engine-bll.jar:]
at 
org.ovirt.engine.core.bll.gluster.GlusterManager.refreshLightWeightData(GlusterManager.java:170)
[engine-bll.jar:]
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)

Re: [Users] UI lack of ui-plugins

2013-03-04 Thread bigclouds

hi  ovedo
the explorer  is waiting all the time.  when go to  portal 
http://192.168.5.109:8700/UserPortal/org.ovirt.engine.ui.userportal.UserPortal/UserPortal.html




webadmin  url  see nothing at all
http://192.168.5.109:8700/webadmin/webadmin/WebAdmin.html


if http://www.ovirt.org/Building_oVirt_engine is not up to date?
thanks.







At 2013-03-04 18:20:20,Oved Ourfalli ov...@redhat.com wrote:


- Original Message -
 From: bigclouds bigclo...@163.com
 To: users@ovirt.org
 Sent: Monday, March 4, 2013 12:07:53 PM
 Subject: [Users] UI lack of ui-plugins
 
 
 
 at last i build engine code success, then i start jboss-as.
 go to http://host:8700, when i click user,admin portal, error occur.
 
 
 1. it reports ui-plugins is miss.
 2. $OVIRT_HOME/backend/manager/conf/engine.conf.defaults
 ENGINE_USR=username
 ENGINE_ETC=/etc/ovirt-engine i do not know what ENGINE_USR really is?
 thanks.
 

ENGINE_USR should be something like /usr/share/ovirt-engine
The warning about the ui-plugins directory is probably because it doesn't 
exist (see bug https://bugzilla.redhat.com/show_bug.cgi?id=895933), but that 
shouldn't effect anything besides loading UI plugins you wrote/downloaded, so 
the admin portal should work properly.

As far as I know, the ENGINE_USR is currently used only in order to detect the 
ui-plugins directory.

What happens when you just browse to
http://host:8700/webadmin
?

Does it work?

 
 error -msg:
 
 
 
 2013-03-04 17:39:10,182 INFO
 [org.ovirt.engine.core.bll.DbUserCacheManager]
 (DefaultQuartzScheduler_Worker-1) Start refreshing all users data
 2013-03-04 17:39:10,338 INFO
 [org.ovirt.engine.core.vdsbroker.ResourceManager] (MSC service
 thread 1-1) Finished initializing ResourceManager
 2013-03-04 17:39:10,365 INFO
 [org.ovirt.engine.core.bll.AsyncTaskManager] (MSC service thread
 1-1) Initialization of AsyncTaskManager completed successfully.
 2013-03-04 17:39:10,384 INFO
 [org.ovirt.engine.core.bll.OvfDataUpdater] (MSC service thread 1-1)
 Initialization of OvfDataUpdater completed successfully.
 2013-03-04 17:39:10,388 INFO [org.ovirt.engine.co
 re.bll.VdsLoadBalancer] (MSC service thread 1-1) Start scheduling to
 enable vds load balancer
 2013-03-04 17:39:10,394 INFO
 [org.ovirt.engine.core.bll.VdsLoadBalancer] (MSC service thread 1-1)
 Finished scheduling to enable vds load balancer
 2013-03-04 17:39:10,410 INFO
 [org.ovirt.engine.core.bll.network.MacPoolManager]
 (pool-10-thread-1) Start initializing MacPoolManager
 2013-03-04 17:39:10,450 INFO
 [org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean] (MSC
 service thread 1-1) Init VM custom properties utilities
 2013-03-04 17:39:10,461 INFO
 [org.ovirt.engine.core.bll.network.MacPoolManager]
 (pool-10-thread-1) Finished initializing MacPoolManager
 2013-03-04 17:39:10,470 INFO [org.jboss.as] (MSC service thread 1-2)
 JBAS015951: Admin console listening on http://127.0.0.1:9990
 2013-03-04 17:39:10,471 INFO [org.jboss.as] (MSC service thread 1-2)
 JBAS015874: JBoss AS 7.1.1.Final  Brontes started in 11961ms -
 Started 507 of 594 services (86 services are passive or on-demand)
 2013-03-04 17:39:10,560 INFO [org.jboss.as.server]
 (DeploymentScanner-threads - 2) JBAS018559: Deployed engine.ear
 2013-03-04 17:42:22,716 ERROR [org.jboss.remoting.remote.connection]
 (Remoting ovirtdev read-1) JBREM000200: Remote connection failed:
 java.io.IOException: Received an invalid message length of
 1195725856
 2013-03-04 17:42:56,702 ERROR [org.jboss.remoting.remote.connection]
 (Remoting ovirtdev read-1) JBREM000200: Remote connection failed:
 java.io.IOException: Received an invalid message length of
 1195725856
 2013-03-04 17:45:14,258 INFO [org.hibernate.validator.util.Version]
 (http--0.0.0.0-8700-1) Hibernate Validator 4.2.0.Final
 2013-03-04 17:45:14,385 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Loaded file
 /mnt/ovirt-engine/backend/manager/conf/engine.conf.defaults.
 2013-03-04 17:45:14,386 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Loaded file /etc/sysconfig/ovirt-engine.
 2013-03-04 17:45:14,392 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Value of property ENGINE_DEBUG_ADDRESS is 0.0.0.0:8787.
 2013-03-04 17:45:14,393 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Value of property ENGINE_ETC is /etc/ovirt-engine.
 2013-03-04 17:45:14,394 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Value of property ENGINE_USR is root.
 2013-03-04 17:45:14,397 WARN
 [org.ovirt.engine.ui.frontend.server.gwt.plugin.PluginDataManager]
 (http--0.0.0.0-8700-1) Cannot list UI plugin descriptor files in
 [/mnt/ovirt-engine/root/ui-plugins]
 2013-03-04 17:48:13,672 WARN
 [org.ovirt.engine.ui.frontend.server.gwt.plugin.PluginDataManager]
 (http--0.0.0.0-8700-1) Ca nnot list UI plugin descriptor files in
 [/mnt/ovirt-engine/root/ui-plugins]
 
 
 ___
 Users mailing list
 

Re: [Users] oVirt 3.2 on CentOS with Gluster 3.3

2013-03-04 Thread Dan Kenigsberg
On Mon, Mar 04, 2013 at 04:38:50PM -0800, Rob Zwissler wrote:
 Running CentOS 6.3 with the following VDSM packages from dre's repo:
 
 vdsm-xmlrpc-4.10.3-0.30.19.el6.noarch
 vdsm-gluster-4.10.3-0.30.19.el6.noarch
 vdsm-python-4.10.3-0.30.19.el6.x86_64
 vdsm-4.10.3-0.30.19.el6.x86_64
 vdsm-cli-4.10.3-0.30.19.el6.noarch
 
 And the following gluster packages from the gluster repo:
 
 glusterfs-3.3.1-1.el6.x86_64
 glusterfs-fuse-3.3.1-1.el6.x86_64
 glusterfs-vim-3.2.7-1.el6.x86_64
 glusterfs-server-3.3.1-1.el6.x86_64
 
 I get the following errors in vdsm.log:
 
 Thread-1483::DEBUG::2013-03-04
 16:35:27,427::BindingXMLRPC::913::vds::(wrapper) client
 [10.33.9.73]::call volumesList with () {}
 MainProcess|Thread-1483::DEBUG::2013-03-04
 16:35:27,429::misc::84::Storage.Misc.excCmd::(lambda)
 '/usr/sbin/gluster --mode=script volume info --xml' (cwd None)
 MainProcess|Thread-1483::DEBUG::2013-03-04
 16:35:27,480::misc::84::Storage.Misc.excCmd::(lambda) SUCCESS: err
 = ''; rc = 0
 MainProcess|Thread-1483::ERROR::2013-03-04
 16:35:27,480::supervdsmServer::80::SuperVdsm.ServerCallback::(wrapper)
 Error in wrapper
 Traceback (most recent call last):
   File /usr/share/vdsm/supervdsmServer.py, line 78, in wrapper
 return func(*args, **kwargs)
   File /usr/share/vdsm/supervdsmServer.py, line 352, in wrapper
 return func(*args, **kwargs)
   File /usr/share/vdsm/gluster/cli.py, line 45, in wrapper
 return func(*args, **kwargs)
   File /usr/share/vdsm/gluster/cli.py, line 430, in volumeInfo
 except (etree.ParseError, AttributeError, ValueError):
 AttributeError: 'module' object has no attribute 'ParseError'
 Thread-1483::ERROR::2013-03-04
 16:35:27,481::BindingXMLRPC::932::vds::(wrapper) unexpected error
 Traceback (most recent call last):
   File /usr/share/vdsm/BindingXMLRPC.py, line 918, in wrapper
 res = f(*args, **kwargs)
   File /usr/share/vdsm/gluster/api.py, line 32, in wrapper
 rv = func(*args, **kwargs)
   File /usr/share/vdsm/gluster/api.py, line 56, in volumesList
 return {'volumes': self.svdsmProxy.glusterVolumeInfo(volumeName)}
   File /usr/share/vdsm/supervdsm.py, line 81, in __call__
 return callMethod()
   File /usr/share/vdsm/supervdsm.py, line 72, in lambda
 **kwargs)
   File string, line 2, in glusterVolumeInfo
   File /usr/lib64/python2.6/multiprocessing/managers.py, line 740,
 in _callmethod
 raise convert_to_error(kind, result)
 AttributeError: 'module' object has no attribute 'ParseError'
 

Rob,

It seems that a bug in vdsm code is hiding the real issue.
Could you do a

sed -i s/ParseError/ElementTree.ParseError /usr/share/vdsm/gluster/cli.py

restart vdsmd, and retry?

Bala, would you send a patch fixing the ParseError issue (and adding a
unit test that would have caught it on time)?


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