Re: [Users] clone vm from snapshot problem in 3.2
- Original Message - From: Gianluca Cecchi gianluca.cec...@gmail.com To: Alissa Bonas abo...@redhat.com Cc: users users@ovirt.org Sent: Tuesday, March 5, 2013 5:31:19 PM Subject: Re: [Users] clone vm from snapshot problem in 3.2 On Tue, Mar 5, 2013 at 1:48 PM, Alissa Bonas wrote: Hi, Thanks for additional information. The engine log actually shows that slclone started ok: VM slclone c6c56d41-d70d-4b9b-a1cb-8b0c097b89a0 moved from PoweringUp -- Up Can you explain what problem are you experiencing in that VM? Also, could provide the vdsm log from the same timeframe? Gianluca The Vm doesn't boot. As I wrote in the other e-mail: 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... What is important here is to check the boot properties of both devices as they are configured for the master and clone. They might not be swapped, the order in the console is not necessarily the issue here. Please attach vdsm.log with times of both machines boot. the properties of the devices boot should be part of the startup command so it should help to investigate the issue. Thanks Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt 3.2 on CentOS with Gluster 3.3
On 03/05/2013 06:08 AM, 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 oVirt 3.2 needs a newer (3.4.0) version of glusterfs, which is currently in alpha and hence not available in stable repositories. http://bits.gluster.org/pub/gluster/glusterfs/3.4.0alpha/ This issue has been reported multiple times now, and I think it needs an update to the oVirt 3.2 release notes. Have added a note to this effect at: http://www.ovirt.org/OVirt_3.2_release_notes#Storage 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)
Re: [Users] Configure spice plugin for wan
On 03/06/2013 01:50 AM, Gianluca Cecchi wrote: On Wed, Mar 6, 2013 at 1:48 AM, Gianluca Cecchi wrote: I was also able to connect to the infra with the windows 7 VM. After restarting vdsmd I was indeed able to see ip and applications for the VM in web admin gui Still no wan options in user portal. Logs for vdsm of this infra with Windows 7 VM here: https://docs.google.com/file/d/0BwoPbcrMv8mvTGk1d0x5N2NQZ2c/edit?usp=sharing Gianluca Did you configure Windows 7 also in the configuration for the VM in the admin portal? If not you might need to shutdown the VM and edit the settings to Windows 7. Then you should be able to see the WAN option.-- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Wed, Mar 6, 2013 at 9:36 AM, Vinzenz Feenstra wrote: Did you configure Windows 7 also in the configuration for the VM in the admin portal? If not you might need to shutdown the VM and edit the settings to Windows 7. Then you should be able to see the WAN option.-- Regards, Vinzenz Feenstra | WHat do you mean with Did you configure Windows 7 also in the configuration for the VM in the admin portal? I configured OS as Windows 7 from the beginning. I set spice as protocol in console section, in fact from the beginning I was able to connect via spice I don't see any other settings related to wan optiization in create/edit part of the VM Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt 3.2 on CentOS with Gluster 3.3
On 03/05/2013 01:16 PM, Dan Kenigsberg wrote: 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)? python 2.7 throws ParseError whereas python 2.6 throws SyntaxError. Aravinda is sending a fix for it. Regards, Bala ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt 3.2 on CentOS with Gluster 3.3
On 03/06/2013 01:20 PM, Dan Kenigsberg wrote: On Tue, Mar 05, 2013 at 10:08:48AM -0800, Rob Zwissler wrote: On Mon, Mar 4, 2013 at 11:46 PM, Dan Kenigsberg dan...@redhat.com wrote: 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)? 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: class ElementTree has no attribute 'ParseError' My guess has led us nowhere, since etree.ParseError is simply missing from python 2.6. It is to be seen only in python 2.7! That's sad, but something *else* is problematic, since we got to this error-handling code. Could you make another try and temporarily replace ParseError with Exception? sed -i s/etree.ParseError/Exception/ /usr/share/vdsm/gluster/cli.py (this sed is relative to the original code). More specific sed is sed -i s/etree.ParseError/SyntaxError/ /usr/share/vdsm/gluster/cli.py Regards, Bala ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 03/06/2013 09:48 AM, Gianluca Cecchi wrote: On Wed, Mar 6, 2013 at 9:36 AM, Vinzenz Feenstra wrote: Did you configure Windows 7 also in the configuration for the VM in the admin portal? If not you might need to shutdown the VM and edit the settings to Windows 7. Then you should be able to see the WAN option.-- Regards, Vinzenz Feenstra | WHat do you mean with Did you configure Windows 7 also in the configuration for the VM in the admin portal? I configured OS as Windows 7 from the beginning. I set spice as protocol in console section, in fact from the beginning I was able to connect via spice I don't see any other settings related to wan optiization in create/edit part of the VM The WAN option should be then visible in the UI in the user portal. Not in the configuration of the VM. The option for the Operating System must be set where I have shown it in the screenshot attached. Gianluca -- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com attachment: ss.png___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt 3.2 on CentOS with Gluster 3.3
On Wed, Mar 06, 2013 at 02:04:29PM +0530, Shireesh Anjal wrote: On 03/05/2013 06:08 AM, 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 oVirt 3.2 needs a newer (3.4.0) version of glusterfs, which is currently in alpha and hence not available in stable repositories. http://bits.gluster.org/pub/gluster/glusterfs/3.4.0alpha/ Shireesh, this should be specifed in vdsm.spec - please patch both master and ovirt-3.2 branches. Beyond that, there's a problem of Python 2.6 missing ParseError. This issue has been reported multiple times now, and I think it needs an update to the oVirt 3.2 release notes. Have added a note to this effect at: http://www.ovirt.org/OVirt_3.2_release_notes#Storage 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
Re: [Users] oVirt 3.2 on CentOS with Gluster 3.3
Hi, Sent a patch to handle ParseError attribute issue. vdsm still depends on newer(3.4) version of glusterfs, but Python ParseError is fixed. http://gerrit.ovirt.org/#/c/12752/ -- regards Aravinda On 03/06/2013 01:20 PM, Dan Kenigsberg wrote: On Tue, Mar 05, 2013 at 10:08:48AM -0800, Rob Zwissler wrote: On Mon, Mar 4, 2013 at 11:46 PM, Dan Kenigsberg dan...@redhat.com wrote: 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)? 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: class ElementTree has no attribute 'ParseError' My guess has led us nowhere, since etree.ParseError is simply missing from python 2.6. It is to be seen only in python 2.7! That's sad, but something *else* is problematic, since we got to this error-handling code. Could you make another try and temporarily replace ParseError with Exception? sed -i s/etree.ParseError/Exception/ /usr/share/vdsm/gluster/cli.py (this sed is relative to the original code). Dan. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirt reporting wrong cpu family (2nd server)
On 03/02/2013 08:46 PM, Itamar Heim wrote: On 02/03/2013 18:39, Adrian Gibanel wrote: I've read again the wiki page and as you might ask for it here's the cpuinfo flags output: 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 pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid If we check the mentioned cpu_max.xml file we find : model name='SandyBridge' model name='Westmere'/ feature name='pclmuldq'/ feature name='x2apic'/ feature name='tsc-deadline'/ feature name='xsave'/ feature name='avx'/ feature name='rdtscp'/ /model So I suppose that pclmuldq is expected in the flags but it's not there. Isn't it? well, it kind of looks like a bug, since you have pclmulqdq (additional 'q' in the middle'). martin? Hi, this is expected. While working on these features, the names sometime change and in this case pclmulqdq is the same as pclmuldq. Mostly it is referred to it as pclmulqdq, but when this feature was added in qemu, the name was without the 'q', alias was added later on: http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg02376.html # virsh -r capabilities capabilities host uuid----002590a41888/uuid cpu archx86_64/arch modelSandyBridge/model But from this output (which I pasted from the older mail, so the indentation may not fit), I see libvirt is detecting the CPU perfectly in this case. So I need to add my specific model at hand and trying to infer which are the specific flags for it? Or maybe that needs something more to be hacked in the libvirt code... and thus I should wait for libvirt people to add it? Well, I mean, going to their ML and asking there? Or isn't there any hope for my particular sandbridge cpu? There definitely is, as mentioned above. There almost always is, I remember only one CPU without a chance and that was because the HW itself really didn't know the function. Unfortunately, sometimes (HW-dependant) it really has to be set in BIOS/UEFI. For some changes there are utilities, so you don't have to have physical access to the machine, but as seen from the capabilities, this is not your case. Thank you. - Mensaje original - De: Adrian Gibanel adrian.giba...@btactic.com Para: users@ovirt.org CC: Itamar Heim ih...@redhat.com, Jithin Raju rajuj...@gmail.com, Martin Kletzander mklet...@redhat.com Enviados: Sábado, 2 de Marzo 2013 17:21:43 Asunto: Re: [Users] ovirt reporting wrong cpu family (2nd server) This is another server which I have also problems with. I cannot select SandyBridge as the cpu type. Still oVirt 3.1 in Fedora 17. * Tecnology : Sandy Bridge E * CPU : Intel Xeon E5-1620 * Cores / Threads : 4 / 8 * Frecuency : 3.6GHz / 3.8GHz Turbo Boost #cpuinfo: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz # rpm -qa | grep -E 'vdsm|libvirt' | sort libvirt-0.9.11.9-1.fc17.x86_64 libvirt-client-0.9.11.9-1.fc17.x86_64 libvirt-daemon-0.9.11.9-1.fc17.x86_64 libvirt-daemon-config-network-0.9.11.9-1.fc17.x86_64 libvirt-daemon-config-nwfilter-0.9.11.9-1.fc17.x86_64 libvirt-lock-sanlock-0.9.11.9-1.fc17.x86_64 libvirt-python-0.9.11.9-1.fc17.x86_64 vdsm-4.10.0-10.fc17.x86_64 vdsm-cli-4.10.0-10.fc17.noarch vdsm-python-4.10.0-10.fc17.x86_64 vdsm-xmlrpc-4.10.0-10.fc17.noarch # virsh -r capabilities capabilities [...] - Mensaje original - At first, let me say that this is very weird CPU detection as according to these flags, the processor described in here should be Nehalem. Could you try running 'virsh -r capabilities' on the host to check what libvirt reports? -- ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] problem with all-in-one ovirt install on Centos 6.3 related to hostname resolution
Hello, First, i apologise if it's the wrong place for my question. I had try to install ovirt all-in-one on a Centos6 test server, following this howtos: http://wiki.centos.org/HowTos/oVirt, http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/ and http://www.ovirt.org/Quick_Start_Guide. I followed the pre-requisites, cpu, ram, disks, packages etc.. My server is a test server with fresh new Centos 6.3 install, and so, it's in a lan séparated from the main prod lan. But It hass acces to Internet and DNS, but it isn't registred in our DNSs. Simply it's declared in his own hostfile ( /etc/hosts/). It's fqdn is srv-santos.cg33.fr (note the lame joke :-)), and when I ping it from himself (ping srv-santos;cg33.fr), the ping is OK (idem with ping localhost). When with python i do this: gethostbyname('srv-santos.cg33.fr') '172.18.93.215' the response is OK. So the OS himself can resolve is own hostname via the hosts file, since it isn't in DNS. I also checked that in the resolv.conf, the order is hosts, bind. But when i do the engine-set-up i obtain this: srv-santos.cg33.fr did not resolve into an IP address User input failed validation, do you still wish to use it? (yes|no): If i say yes, the install pursue, but it fails: Error: There's a problem with JBoss service.Check that it's up and rerun setup. Please check log file /var/log/ovirt-engine/engine-setup_2013_03_06_09_52_24.log for more information The last lines of the log --File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line 216, in waitForJbossUp utils.retry(isHealthPageUp, tries=45, timeout=350, sleep=5) File /usr/share/ovirt-engine/scripts/common_utils.py, line 929, in retry return func() File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line 429, in isHealthPageUp raise Exception(ERROR_JBOSS_STATUS) Exception: Error: There's a problem with JBoss service.Check that it's up and rerun setup. -- I even started jboss-as during one of my many tries: [root@srv-santos fred]# service jboss-as status jboss-as is running (pid 22043) So I think that the setup process can't resolve the name of the host to test if jboss is up and the servlet ok. This possibly means that the name resolution is only done with DNS, without checking the hostfile. Can someone help me to solve this problem (without seting up a local bind server on my host or registrering my test server in our DNS servers of course:-) Thanx ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirt 3.1 + iscsi + snapshot
Hi, Logs are attached - 2013-Mar-05, 15:44:47 Snapshot test creation for VM icinga-clone has been completed. 2013-Mar-05, 15:44:36 VM icinga-clone has paused due to storage permissions problem. 2013-Mar-05, 15:44:33 Snapshot test creation for VM icinga-clone was initiated by admin@internal. 2013-Mar-05, 15:44:20 VM icinga-clone started on Host TESTHV01 Alex On 5 March 2013 17:11, Alissa Bonas abo...@redhat.com wrote: - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: oVirt Mailing List users@ovirt.org Sent: Tuesday, March 5, 2013 6:12:08 PM Subject: [Users] ovirt 3.1 + iscsi + snapshot Hiya, Am testing live snapshot-ing at the moment, and my VM is being paused every time I try to do a snapshot - it wont recover either, once the snapshot is complete. This is what I see on the webadmin console : VM icinga-clone has paused due to storage permissions problem. Any hints ? When I stop the VM, then start again, all is good. Hi, Please attach engine+vdsm+libvirt logs with the timeframe when you perform the live snapshot and the failure. thanks 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 | snapshot.logs.tar.xz Description: Binary data ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Adding a bond.vlantag to ovirt-node
All, I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge and slaved bond.vlantag to it. I've upped the interfaces (no IPs), however ovirt-engine still wont allow me to add the new bridged interface. I did this yesterday, so I thought, maybe it's just a cache issue, however, it doesnt seem to update the HVs network config periodically ? What can I do to get this sorted ?? I dont want to have to restart the networking as VMs are running and needed. FWIW, the setup looks like this - eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt eth1 the change was : eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt | - bond0.113 --- br2 eth1 I then added br2 to the ovirt-engine config, however, I'm not able to assign it to bond in the network config (web admin interface) for the hyper visor / host. Also see screenshot attached. Thanks Alex -- | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com | attachment: ovirt-engine-network-config.png___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Adding a bond.vlantag to ovirt-node
Sorry, the picture should actually say br2 :) ... have had to edit it to protect the real name(s) ... Alex On 6 March 2013 11:39, Alex Leonhardt alex.t...@gmail.com wrote: All, I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge and slaved bond.vlantag to it. I've upped the interfaces (no IPs), however ovirt-engine still wont allow me to add the new bridged interface. I did this yesterday, so I thought, maybe it's just a cache issue, however, it doesnt seem to update the HVs network config periodically ? What can I do to get this sorted ?? I dont want to have to restart the networking as VMs are running and needed. FWIW, the setup looks like this - eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt eth1 the change was : eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt | - bond0.113 --- br2 eth1 I then added br2 to the ovirt-engine config, however, I'm not able to assign it to bond in the network config (web admin interface) for the hyper visor / host. Also see screenshot attached. Thanks Alex -- | 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] Adding a bond.vlantag to ovirt-node
- Original Message - From: Alex Leonhardt alex.t...@gmail.com To: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 12:42:06 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node Sorry, the picture should actually say br2 :) ... have had to edit it to protect the real name(s) ... Alex On 6 March 2013 11:39, Alex Leonhardt alex.t...@gmail.com wrote: All, I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge and slaved bond.vlantag to it. I've upped the interfaces (no IPs), however ovirt-engine still wont allow me to add the new bridged interface. I did this yesterday, so I thought, maybe it's just a cache issue, however, it doesnt seem to update the HVs network config periodically ? What does the engine say when you try to add it? The message could give us a good hint. What can I do to get this sorted ?? I dont want to have to restart the networking as VMs are running and needed. FWIW, the setup looks like this - eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt eth1 the change was : eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt | - bond0.113 --- br2 eth1 I then added br2 to the ovirt-engine config, however, I'm not able to assign it to bond in the network config (web admin interface) for the hyper visor / host. Also see screenshot attached. Thanks Alex -- | 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirt 3.1 + iscsi + snapshot
- Original Message - From: Alex Leonhardt alex.t...@gmail.com To: Alissa Bonas abo...@redhat.com Cc: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 11:46:30 AM Subject: Re: [Users] ovirt 3.1 + iscsi + snapshot Hi, Logs are attached - Thank you for attaching the logs. I'm checking them. Could you please confirm - you mentioned you work with ovirt 3.1 - is it the version of both engine and vdsm? If not - what is the exact version of each of the components? thank you 2013-Mar-05, 15:44:47 Snapshot test creation for VM icinga-clone has been completed. 2013-Mar-05, 15:44:36 VM icinga-clone has paused due to storage permissions problem. 2013-Mar-05, 15:44:33 Snapshot test creation for VM icinga-clone was initiated by admin@internal. 2013-Mar-05, 15:44:20 VM icinga-clone started on Host TESTHV01 Alex On 5 March 2013 17:11, Alissa Bonas abo...@redhat.com wrote: - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: oVirt Mailing List users@ovirt.org Sent: Tuesday, March 5, 2013 6:12:08 PM Subject: [Users] ovirt 3.1 + iscsi + snapshot Hiya, Am testing live snapshot-ing at the moment, and my VM is being paused every time I try to do a snapshot - it wont recover either, once the snapshot is complete. This is what I see on the webadmin console : VM icinga-clone has paused due to storage permissions problem. Any hints ? When I stop the VM, then start again, all is good. Hi, Please attach engine+vdsm+libvirt logs with the timeframe when you perform the live snapshot and the failure. thanks 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] ovirt 3.2 networking setup problems
Could you ssh to the host and do: cat /sys/class/net/bonding_masters There is a limitation on ovirt-3.2 that only the default bridges can be used. If you don't have enough of them, you can always create the needed bridge doing echo +bondN /sys/class/net/bonding_masters where N is the bridge you want to create. It would also be helpful to see the contents of doing vdsClient -s 0 getVdsCaps Best, Toni - Original Message - From: Yuriy Demchenko demchenko...@gmail.com To: users users@ovirt.org Sent: Wednesday, March 6, 2013 12:17:28 PM Subject: Re: [Users] ovirt 3.2 networking setup problems Hi, I'm still cant solve this issue - There are no available Bonds I've done clean install of ovirt-3.2 (from dreyou repo), added freshly-kickstarted host. In my kickstart I set up 2 interfaces em1/em2 as slaves to bond0 (mode=6), which is slave to bridge ovirtmgmt (just so i dont need to click more buttons in webadmin setting up bond for mgmt network). After that, on page setup host networks I can see correct scheme for ovirtmgmt network and 4 other unused NICs. I want to set up another 2 bonds from that unused NICs, but here's the problem strikes: when trying to bond 2 NICs together i have to chose bond name - and there's only 1 choise - bond4, I pick that and trying to bond the rest 2 NICs - I get error message There are no available Bonds. And nothing in engine.log or vdsm.log Why is that and how to solve it? Yuriy Demchenko On 02/26/2013 12:37 PM, Yuriy Demchenko wrote: 2. when i'm trying to team NIC's in bonds, i've got choice from only 3 bonds: bond0, bond1, bond4 - why is that list is fixed? If I've allready defined bond0+bond1 prior adding host to ovirt (via kickstart), even if they aren't used - choice list in ovirt host networks is short to bond4 and trying to bond more interfaces ends up with there no bonds available ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirt 3.1 + iscsi + snapshot
Yep, it's ovirt 3.1 - on the HV : vdsm.x86_64 4.10.0-0.46.15.el6 @vdsm31-dre vdsm-cli.noarch 4.10.0-0.46.15.el6 @vdsm31-dre vdsm-python.x86_644.10.0-0.46.15.el6 @vdsm31-dre vdsm-xmlrpc.noarch4.10.0-0.46.15.el6 @vdsm31-dre on the Engine: jpackage-utils.noarch 5.0.0-7.jpp6 @ovirt31-dre ovirt-engine.noarch3.1.0-3.19.el6 @ovirt31-dre ovirt-engine-backend.noarch 3.1.0-3.19.el6 @ovirt31-dre ovirt-engine-cli.noarch 3.1.0.7-1.el6 @ovirt31-dre ovirt-engine-config.noarch 3.1.0-3.19.el6 @ovirt31-dre ovirt-engine-dbscripts.noarch 3.1.0-3.19.el6 @ovirt31-dre ovirt-engine-genericapi.noarch 3.1.0-3.19.el6 @ovirt31-dre ovirt-engine-jbossas711.x86_64 1-0 @ovirt31-dre ovirt-engine-notification-service.noarch 3.1.0-3.19.el6 @ovirt31-dre ovirt-engine-restapi.noarch 3.1.0-3.19.el6 @ovirt31-dre ovirt-engine-sdk.noarch 3.1.0.5-1.el6 @ovirt31-dre ovirt-engine-setup.noarch 3.1.0-3.19.el6 @ovirt31-dre ovirt-engine-tools-common.noarch 3.1.0-3.19.el6 @ovirt31-dre ovirt-engine-userportal.noarch 3.1.0-3.19.el6 @ovirt31-dre ovirt-engine-webadmin-portal.noarch 3.1.0-3.19.el6 @ovirt31-dre ovirt-image-uploader.noarch 3.1.0-16.el6 @ovirt31-dre ovirt-iso-uploader.noarch 3.1.0-16.el6 @ovirt31-dre ovirt-log-collector.noarch 3.1.0-16.el6 @ovirt31-dre vdsm-bootstrap.noarch 4.10.0-0.46.15.el6 @vdsm31-dre Alex On 6 March 2013 12:25, Alissa Bonas abo...@redhat.com wrote: - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: Alissa Bonas abo...@redhat.com Cc: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 11:46:30 AM Subject: Re: [Users] ovirt 3.1 + iscsi + snapshot Hi, Logs are attached - Thank you for attaching the logs. I'm checking them. Could you please confirm - you mentioned you work with ovirt 3.1 - is it the version of both engine and vdsm? If not - what is the exact version of each of the components? thank you 2013-Mar-05, 15:44:47 Snapshot test creation for VM icinga-clone has been completed. 2013-Mar-05, 15:44:36 VM icinga-clone has paused due to storage permissions problem. 2013-Mar-05, 15:44:33 Snapshot test creation for VM icinga-clone was initiated by admin@internal. 2013-Mar-05, 15:44:20 VM icinga-clone started on Host TESTHV01 Alex On 5 March 2013 17:11, Alissa Bonas abo...@redhat.com wrote: - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: oVirt Mailing List users@ovirt.org Sent: Tuesday, March 5, 2013 6:12:08 PM Subject: [Users] ovirt 3.1 + iscsi + snapshot Hiya, Am testing live snapshot-ing at the moment, and my VM is being paused every time I try to do a snapshot - it wont recover either, once the snapshot is complete. This is what I see on the webadmin console : VM icinga-clone has paused due to storage permissions problem. Any hints ? When I stop the VM, then start again, all is good. Hi, Please attach engine+vdsm+libvirt logs with the timeframe when you perform the live snapshot and the failure. thanks 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] Adding a bond.vlantag to ovirt-node
Hmmm, nothing is coming up in the logs when i try and add it - I think ovirt-engine is not aware that the HV got a new interface added. Would restarting vdsm help ? If so, would that take down my VMs ? Alex On 6 March 2013 12:23, Antoni Segura Puimedon asegu...@redhat.com wrote: - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 12:42:06 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node Sorry, the picture should actually say br2 :) ... have had to edit it to protect the real name(s) ... Alex On 6 March 2013 11:39, Alex Leonhardt alex.t...@gmail.com wrote: All, I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge and slaved bond.vlantag to it. I've upped the interfaces (no IPs), however ovirt-engine still wont allow me to add the new bridged interface. I did this yesterday, so I thought, maybe it's just a cache issue, however, it doesnt seem to update the HVs network config periodically ? What does the engine say when you try to add it? The message could give us a good hint. What can I do to get this sorted ?? I dont want to have to restart the networking as VMs are running and needed. FWIW, the setup looks like this - eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt eth1 the change was : eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt | - bond0.113 --- br2 eth1 I then added br2 to the ovirt-engine config, however, I'm not able to assign it to bond in the network config (web admin interface) for the hyper visor / host. Also see screenshot attached. Thanks Alex -- | 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 ___ 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
[Users] Fwd: Adding a bond.vlantag to ovirt-node
Forgot to cc users list. - Forwarded Message - From: Antoni Segura Puimedon asegu...@redhat.com To: Alex Leonhardt alex.t...@gmail.com Sent: Wednesday, March 6, 2013 2:00:54 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: Antoni Segura Puimedon asegu...@redhat.com Cc: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 1:52:36 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node Hmmm, nothing is coming up in the logs when i try and add it - I think ovirt-engine is not aware that the HV got a new interface added. Would restarting vdsm help ? If so, would that take down my VMs ? I guess you could migrate the VMs to another host and try that. However, if doing that is not an option (no other hosts, for example), I guess there would be a workaround from host-side. It would be something like the following (on host): vdsClient -s 0 addNetwork bridge=br2 bond=bond0 vlan=113 bridged=true nics=nic0,nic1 substitute nic0 and nic1 for the actual nics that are on the host. This will effectively do the setup you want on the host. As far as making the engine realize it... I'm not aware of all the actions that trigger an update. I know that going to maintenance and back does it, but in this case I guess it is not an option. Alex On 6 March 2013 12:23, Antoni Segura Puimedon asegu...@redhat.com wrote: - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 12:42:06 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node Sorry, the picture should actually say br2 :) ... have had to edit it to protect the real name(s) ... Alex On 6 March 2013 11:39, Alex Leonhardt alex.t...@gmail.com wrote: All, I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge and slaved bond.vlantag to it. I've upped the interfaces (no IPs), however ovirt-engine still wont allow me to add the new bridged interface. I did this yesterday, so I thought, maybe it's just a cache issue, however, it doesnt seem to update the HVs network config periodically ? What does the engine say when you try to add it? The message could give us a good hint. What can I do to get this sorted ?? I dont want to have to restart the networking as VMs are running and needed. FWIW, the setup looks like this - eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt eth1 the change was : eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt | - bond0.113 --- br2 eth1 I then added br2 to the ovirt-engine config, however, I'm not able to assign it to bond in the network config (web admin interface) for the hyper visor / host. Also see screenshot attached. Thanks Alex -- | 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 ___ 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] Fwd: Adding a bond.vlantag to ovirt-node
Thanks Antoni, I'll try the above when it's a bit quieter (evening). Also, good to know that if you put the host in maint that it will pick the changes up :) ... IMO - the engine should poll the HVs at least once an hour / day to check if any hardware relevant to it has changed ... :) Thanks again, I'll update with the result(s) later today. Alex On 6 March 2013 13:02, Antoni Segura Puimedon asegu...@redhat.com wrote: Forgot to cc users list. - Forwarded Message - From: Antoni Segura Puimedon asegu...@redhat.com To: Alex Leonhardt alex.t...@gmail.com Sent: Wednesday, March 6, 2013 2:00:54 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: Antoni Segura Puimedon asegu...@redhat.com Cc: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 1:52:36 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node Hmmm, nothing is coming up in the logs when i try and add it - I think ovirt-engine is not aware that the HV got a new interface added. Would restarting vdsm help ? If so, would that take down my VMs ? I guess you could migrate the VMs to another host and try that. However, if doing that is not an option (no other hosts, for example), I guess there would be a workaround from host-side. It would be something like the following (on host): vdsClient -s 0 addNetwork bridge=br2 bond=bond0 vlan=113 bridged=true nics=nic0,nic1 substitute nic0 and nic1 for the actual nics that are on the host. This will effectively do the setup you want on the host. As far as making the engine realize it... I'm not aware of all the actions that trigger an update. I know that going to maintenance and back does it, but in this case I guess it is not an option. Alex On 6 March 2013 12:23, Antoni Segura Puimedon asegu...@redhat.com wrote: - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 12:42:06 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node Sorry, the picture should actually say br2 :) ... have had to edit it to protect the real name(s) ... Alex On 6 March 2013 11:39, Alex Leonhardt alex.t...@gmail.com wrote: All, I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge and slaved bond.vlantag to it. I've upped the interfaces (no IPs), however ovirt-engine still wont allow me to add the new bridged interface. I did this yesterday, so I thought, maybe it's just a cache issue, however, it doesnt seem to update the HVs network config periodically ? What does the engine say when you try to add it? The message could give us a good hint. What can I do to get this sorted ?? I dont want to have to restart the networking as VMs are running and needed. FWIW, the setup looks like this - eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt eth1 the change was : eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt | - bond0.113 --- br2 eth1 I then added br2 to the ovirt-engine config, however, I'm not able to assign it to bond in the network config (web admin interface) for the hyper visor / host. Also see screenshot attached. Thanks Alex -- | 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 ___ 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 -- | 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] ovirt / 2 iscsi storage domains / same LUN IDs
For those still interested, t he timeout issue doesnt occur on the m ultipath side, nor ovirt , but on the iscsid config side of things - To shorten the timeout and fail a path faster, edit /etc/iscsi/iscsid.conf C hange the value node.session.timeo.replacement_timeout = 1 2 0 t o something more useful, like I changed it to 10 Reloading iscsid's config does nothing , you'll have to restart the host for it to work. Alex On 4 March 2013 17:11, Alex Leonhardt alex.t...@gmail.com wrote: 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 | -- | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com | ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] oVirt Weekly Meeting Minutes -- 2013-03-06
Minutes: http://ovirt.org/meetings/ovirt/2013/ovirt.2013-03-06-15.00.html Minutes (text): http://ovirt.org/meetings/ovirt/2013/ovirt.2013-03-06-15.00.txt Log: http://ovirt.org/meetings/ovirt/2013/ovirt.2013-03-06-15.00.log.html *** Additional information included below that came in after the meeting. See lines that start with *** #ovirt: oVirt Weekly Meeting Meeting started by mburns at 15:00:24 UTC. The full logs are available at http://ovirt.org/meetings/ovirt/2013/ovirt.2013-03-06-15.00.log.html . Meeting summary --- * agenda and roll call (mburns, 15:00:42) * Agenda (mburns, 15:00:46) * * Release Planning and Updates (mburns, 15:00:57) * * Conferences and Workshops (mburns, 15:01:06) * * Sub-project Reports (mburns, 15:01:24) * Release Planning (mburns, 15:03:44) * release management wiki page is up for 3.3 (mburns, 15:04:15) * LINK: http://wiki.ovirt.org/OVirt_3.3_release-management (mburns, 15:04:17) * mburns has sent a request for feature pages and project contacts for 3.3 (mburns, 15:06:06) * no responses yet (but that's because I just sent it this morning) (mburns, 15:06:31) * mburns also sent out email about overall project management process going forward to arch@ and board@ (mburns, 15:07:05) * dneary and mgoldboi have also been working on the overall release process, material will be sent to arch and board in response to mburns email (mburns, 15:08:48) * Please get feature pages created in the wiki ASAP and link them to the release management page (mburns, 15:09:38) * oVirt 3.2 Updates (mburns, 15:11:36) * ovirt-node pushed live last thursday including vdsm and fix for a security issue (mburns, 15:11:55) * patches for el6 builds are included in engine master and proposed on engine-3.2 branch (mburns, 15:12:29) * currently in testing by jhernand and oschreib_ (mburns, 15:12:58) * beta of el6 packages and ga of f18 packages for engine 3.2.1 available next week (mburns, 15:14:45) * YamaKasY to work with oschreib_ on getting a list of issues in 3.2 that should be fixed in an async release (mburns, 15:24:01) * mburns to try to get on top of el6 vdsm builds this week (mburns, 15:24:19) * workshops and conferences (mburns, 15:28:15) * LINK: http://www.ovirt.org/Intel_Workshop_May_2013 (theron, 15:29:40) * moving forward with the oVirt workshop in Shangha (mburns, 15:29:56) * orking though logistics directly with Intel, and we've published the CFP to the oVirt website, as well as the mailing lists (mburns, 15:30:06) * LINK: http://www.ovirt.org/Intel_Workshop_May_2013 (mburns, 15:30:14) * we're actively looking for speakers now, if anyone can think of different avenues, feel free to let theron know (mburns, 15:31:12) * Attendees here thinking about attending should get visas in order ASAP (mburns, 15:32:49) * early in planning, but we are prepping for 3 tracks. (mburns, 15:32:58) * IDEA: focus on dev, user, and integration tracks.. thinking space for showcasing oVirt integration with Gluster (mburns, 15:33:12) * itamar and the intel GM have been asked to do keynotes, more info to follow on this (mburns, 15:33:54) * The oVirt marketing group (once finalized who's in it) will be reaching out to OVA to help with promotions (mburns, 15:35:49) * lodging and additional logistics are being worked, expect updates on the oVirt website as they materialize (mburns, 15:35:58) * Sub-Project Report -- infra (mburns, 15:43:44) * jenkins has migrated to a new host at AlterWay (mburns, 15:45:51) * things appear stable with the new jenkins master (mburns, 15:46:21) *** working on the rackspace boxes. Going to be oVirt on F18 to get nested virtualization. Will run RHEL in VMs on top. *** other info in the minutes *** LINK: http://resources.ovirt.org/meetings/ovirt/2013/ovirt.2013-03-04-15.03.html * Other Topics (mburns, 15:47:58) Meeting ended at 15:52:30 UTC. Action Items Action Items, by person --- * **UNASSIGNED** * (none) People Present (lines said) --- * mburns (86) * theron (21) * oschreib_ (17) * YamaKasY (15) * dneary (10) * ovirtbot (5) * tfeldman (3) * mgoldboi (3) * doron_ (1) * lh (1) * dustins (1) * quaid (0) * ewoud (0) 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
Re: [Users] problem with all-in-one ovirt install on Centos 6.3 related to hostname resolution
Sandro Bonazzola sbonazzo@... writes: Hi Frederic, thanks for your report! ..; Please run engine-cleanup, engine-setup and check ovirt-engine status if it fails again. If it fails, can you please attach your logs? Regards, Sandro Hi Sandro, thanks very much for your answer. I did run engine-cleanup, engine-setup and check ovirt-engine status and it failed again. But, meanwhile, to validate my hypothesis on the faulty name resolution, I installed dnsmasq, a small dns proxy/forwarder, on the same server (srv-santos.cg33.fr), wich can resolve name from local hosts file and from upstream DNS. Then, i re-run engine-setup, and bingo! :-)) no name résolution pbms and no error on JBoss.. Alas! it failed again shortly afterwards with this message: could not create ovirtsdk API object It seems to be a known bug cf. https://bugzilla.redhat.com/show_bug.cgi?id=869457;, fixed in lasts fedora's packages.. but apprently not in the ovirt-all-in-one packages on Centos 6. So unless if someone have a solution for this pbm, other than install ovirt on a fedora distrib with the last package of course, i just decided to stay on my centos 6, uninstall ovirt all-in-one and guive a try to a standard engine instal + a standard vdsm install on the same machine with the regular ovirt packages for centos. Regards, Frederic ___ Users mailing list Users at ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node
I've setup the same bond config on my test machine, and this is what I get : # vdsClient -s 0 addNetwork bridge=br2 bridged=true bond=bond0.113 nics=eth0,eth1 'bond0.113' is not a valid bonding device name Alex On 6 March 2013 13:05, Alex Leonhardt alex.t...@gmail.com wrote: Thanks Antoni, I'll try the above when it's a bit quieter (evening). Also, good to know that if you put the host in maint that it will pick the changes up :) ... IMO - the engine should poll the HVs at least once an hour / day to check if any hardware relevant to it has changed ... :) Thanks again, I'll update with the result(s) later today. Alex On 6 March 2013 13:02, Antoni Segura Puimedon asegu...@redhat.com wrote: Forgot to cc users list. - Forwarded Message - From: Antoni Segura Puimedon asegu...@redhat.com To: Alex Leonhardt alex.t...@gmail.com Sent: Wednesday, March 6, 2013 2:00:54 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: Antoni Segura Puimedon asegu...@redhat.com Cc: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 1:52:36 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node Hmmm, nothing is coming up in the logs when i try and add it - I think ovirt-engine is not aware that the HV got a new interface added. Would restarting vdsm help ? If so, would that take down my VMs ? I guess you could migrate the VMs to another host and try that. However, if doing that is not an option (no other hosts, for example), I guess there would be a workaround from host-side. It would be something like the following (on host): vdsClient -s 0 addNetwork bridge=br2 bond=bond0 vlan=113 bridged=true nics=nic0,nic1 substitute nic0 and nic1 for the actual nics that are on the host. This will effectively do the setup you want on the host. As far as making the engine realize it... I'm not aware of all the actions that trigger an update. I know that going to maintenance and back does it, but in this case I guess it is not an option. Alex On 6 March 2013 12:23, Antoni Segura Puimedon asegu...@redhat.com wrote: - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 12:42:06 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node Sorry, the picture should actually say br2 :) ... have had to edit it to protect the real name(s) ... Alex On 6 March 2013 11:39, Alex Leonhardt alex.t...@gmail.com wrote: All, I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge and slaved bond.vlantag to it. I've upped the interfaces (no IPs), however ovirt-engine still wont allow me to add the new bridged interface. I did this yesterday, so I thought, maybe it's just a cache issue, however, it doesnt seem to update the HVs network config periodically ? What does the engine say when you try to add it? The message could give us a good hint. What can I do to get this sorted ?? I dont want to have to restart the networking as VMs are running and needed. FWIW, the setup looks like this - eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt eth1 the change was : eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt | - bond0.113 --- br2 eth1 I then added br2 to the ovirt-engine config, however, I'm not able to assign it to bond in the network config (web admin interface) for the hyper visor / host. Also see screenshot attached. Thanks Alex -- | 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 ___ 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 -- | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com | -- | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com | ___ Users mailing list
Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node
- Original Message - From: Alex Leonhardt alex.t...@gmail.com To: Antoni Segura Puimedon asegu...@redhat.com Cc: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 5:16:36 PM Subject: Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node I've setup the same bond config on my test machine, and this is what I get : # vdsClient -s 0 addNetwork bridge=br2 bridged=true bond=bond0.113 nics=eth0,eth1 'bond0.113' is not a valid bonding device name It should be: vdsClient -s 0 addNetwork bridge=br2 bridged=true bond=bond0 vlan=113 nics=eth0,eth1 Alex On 6 March 2013 13:05, Alex Leonhardt alex.t...@gmail.com wrote: Thanks Antoni, I'll try the above when it's a bit quieter (evening). Also, good to know that if you put the host in maint that it will pick the changes up :) ... IMO - the engine should poll the HVs at least once an hour / day to check if any hardware relevant to it has changed ... :) Thanks again, I'll update with the result(s) later today. Alex On 6 March 2013 13:02, Antoni Segura Puimedon asegu...@redhat.com wrote: Forgot to cc users list. - Forwarded Message - From: Antoni Segura Puimedon asegu...@redhat.com To: Alex Leonhardt alex.t...@gmail.com Sent: Wednesday, March 6, 2013 2:00:54 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: Antoni Segura Puimedon asegu...@redhat.com Cc: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 1:52:36 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node Hmmm, nothing is coming up in the logs when i try and add it - I think ovirt-engine is not aware that the HV got a new interface added. Would restarting vdsm help ? If so, would that take down my VMs ? I guess you could migrate the VMs to another host and try that. However, if doing that is not an option (no other hosts, for example), I guess there would be a workaround from host-side. It would be something like the following (on host): vdsClient -s 0 addNetwork bridge=br2 bond=bond0 vlan=113 bridged=true nics=nic0,nic1 substitute nic0 and nic1 for the actual nics that are on the host. This will effectively do the setup you want on the host. As far as making the engine realize it... I'm not aware of all the actions that trigger an update. I know that going to maintenance and back does it, but in this case I guess it is not an option. Alex On 6 March 2013 12:23, Antoni Segura Puimedon asegu...@redhat.com wrote: - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 12:42:06 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node Sorry, the picture should actually say br2 :) ... have had to edit it to protect the real name(s) ... Alex On 6 March 2013 11:39, Alex Leonhardt alex.t...@gmail.com wrote: All, I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge and slaved bond.vlantag to it. I've upped the interfaces (no IPs), however ovirt-engine still wont allow me to add the new bridged interface. I did this yesterday, so I thought, maybe it's just a cache issue, however, it doesnt seem to update the HVs network config periodically ? What does the engine say when you try to add it? The message could give us a good hint. What can I do to get this sorted ?? I dont want to have to restart the networking as VMs are running and needed. FWIW, the setup looks like this - eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt eth1 the change was : eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt | - bond0.113 --- br2 eth1 I then added br2 to the ovirt-engine config, however, I'm not able to assign it to bond in the network config (web admin interface) for the hyper visor / host. Also see screenshot attached. Thanks Alex -- | 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] Fwd: Adding a bond.vlantag to ovirt-node
- Original Message - From: Alex Leonhardt alex.t...@gmail.com To: Antoni Segura Puimedon asegu...@redhat.com Cc: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 5:38:16 PM Subject: Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node Ah, yes, sorry - just did that - it said Done - but I cant see it in ovirt-engine still :( As I said earlier, unfortunately I don't know all the actions that make the engine refresh the network info from the hosts. IMHO it wouldn't be a bad idea to add something periodic or even a force refresh option in the context menu. However, I'm not an oVirt Engine guy, so I don't know all the intricacies that would play into that. If you want you can ping me on #ovirt and we can evaluate the particular situation to see if there is some workaround. Alex On 6 March 2013 16:34, Antoni Segura Puimedon asegu...@redhat.com wrote: - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: Antoni Segura Puimedon asegu...@redhat.com Cc: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 5:16:36 PM Subject: Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node I've setup the same bond config on my test machine, and this is what I get : # vdsClient -s 0 addNetwork bridge=br2 bridged=true bond=bond0.113 nics=eth0,eth1 'bond0.113' is not a valid bonding device name It should be: vdsClient -s 0 addNetwork bridge=br2 bridged=true bond=bond0 vlan=113 nics=eth0,eth1 Alex On 6 March 2013 13:05, Alex Leonhardt alex.t...@gmail.com wrote: Thanks Antoni, I'll try the above when it's a bit quieter (evening). Also, good to know that if you put the host in maint that it will pick the changes up :) ... IMO - the engine should poll the HVs at least once an hour / day to check if any hardware relevant to it has changed ... :) Thanks again, I'll update with the result(s) later today. Alex On 6 March 2013 13:02, Antoni Segura Puimedon asegu...@redhat.com wrote: Forgot to cc users list. - Forwarded Message - From: Antoni Segura Puimedon asegu...@redhat.com To: Alex Leonhardt alex.t...@gmail.com Sent: Wednesday, March 6, 2013 2:00:54 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: Antoni Segura Puimedon asegu...@redhat.com Cc: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 1:52:36 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node Hmmm, nothing is coming up in the logs when i try and add it - I think ovirt-engine is not aware that the HV got a new interface added. Would restarting vdsm help ? If so, would that take down my VMs ? I guess you could migrate the VMs to another host and try that. However, if doing that is not an option (no other hosts, for example), I guess there would be a workaround from host-side. It would be something like the following (on host): vdsClient -s 0 addNetwork bridge=br2 bond=bond0 vlan=113 bridged=true nics=nic0,nic1 substitute nic0 and nic1 for the actual nics that are on the host. This will effectively do the setup you want on the host. As far as making the engine realize it... I'm not aware of all the actions that trigger an update. I know that going to maintenance and back does it, but in this case I guess it is not an option. Alex On 6 March 2013 12:23, Antoni Segura Puimedon asegu...@redhat.com wrote: - Original Message - From: Alex Leonhardt alex.t...@gmail.com To: oVirt Mailing List users@ovirt.org Sent: Wednesday, March 6, 2013 12:42:06 PM Subject: Re: [Users] Adding a bond.vlantag to ovirt-node Sorry, the picture should actually say br2 :) ... have had to edit it to protect the real name(s) ... Alex On 6 March 2013 11:39, Alex Leonhardt alex.t...@gmail.com wrote: All, I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge and slaved bond.vlantag to it. I've upped the interfaces (no IPs), however ovirt-engine still wont allow me to add the new bridged interface. I did this yesterday, so I thought, maybe it's just a cache issue, however, it doesnt seem to update the HVs network config periodically ? What does the engine say when you try to add it? The message could give us a good hint. What can I do to
Re: [Users] oVirt 3.2 on CentOS with Gluster 3.3
On Wed, Mar 6, 2013 at 12:34 AM, Shireesh Anjal san...@redhat.com wrote: oVirt 3.2 needs a newer (3.4.0) version of glusterfs, which is currently in alpha and hence not available in stable repositories. http://bits.gluster.org/pub/gluster/glusterfs/3.4.0alpha/ This issue has been reported multiple times now, and I think it needs an update to the oVirt 3.2 release notes. Have added a note to this effect at: http://www.ovirt.org/OVirt_3.2_release_notes#Storage On one hand I like oVirt, I think you guys have done a good job with this, and it is free software so I don't want to complain. But on the other hand, if you release a major/stable release (ie: oVirt 3.2), but it relies on a major/critical component (clustering filesystem server) that is in alpha, not even beta, but alpha prerelease form, you really should be up front and communicative about this. My searches turned up nothing except an offhand statement from a GlusterFS developer, nothing from the oVirt team until now. It is not acceptable to expect people to run something as critical as a cluster filesystem server in alpha form on anything short of a development test setup. Are any other components of oVirt 3.2 dependent on non-stable general release packages? What is the latest release of oVirt considered to be stable and considered safe for use on production systems? Rob ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Adding a bond.vlantag to ovirt-node
Hi Alex, I'm using a very similar setup on our clusters, a few caveats I encountered - For oVirt to manage the networks, it would not allow me to run ovirtmgmt on the same interface as the data networks, so I'm running two bonds, one for ovirtmgmt and one for the data VLANs. It makes sense that oVirt would not allow ovirtmgmt on the trunked bond, as oVirt needs the ability to communicate with vdsm while modifying the trunked bond setup. I have tried splitting off a third bond for a dedicated storage network with Gluster but that has lead to issues of it's own, perhaps this will work in a future version of oVirt. With oVirt 3.1 it would not allow me to save a VLAN interface without an IP, but it appears that with oVirt 3.2 I can, which is good, as I want to offer a VLAN to my VMs which is on the same network as the ovirtmgmt interface, and the oVirt 3.1 requirement of having an IP on every bridge forces the situation of having two different interfaces on the same subnets with IPs, without using source policy routing (or some iptables work), whichever IP has lower entries in the routing table becomes essentially unusable. FWIW I'm building machines out of kickstart/cobbler with the bonded bridged setups, and they import and are recognized directly by oVirt, which is very convenient. I use LACP for the trunked bonds, and use vlanXXX as the naming convention for the bridges. I'm using balance-tlb (mode 5) for the ovirtmgmt bond for other reasons LACP is not viable on that bond in our setup. I previously tried balance-alb (mode 6) but that is not usable for VMs, which is another issue altogether (fixed in kernel 3.8 apparently). regards Rob On Wed, Mar 6, 2013 at 3:39 AM, Alex Leonhardt alex.t...@gmail.com wrote: All, I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge and slaved bond.vlantag to it. I've upped the interfaces (no IPs), however ovirt-engine still wont allow me to add the new bridged interface. I did this yesterday, so I thought, maybe it's just a cache issue, however, it doesnt seem to update the HVs network config periodically ? What can I do to get this sorted ?? I dont want to have to restart the networking as VMs are running and needed. FWIW, the setup looks like this - eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt eth1 the change was : eth0 | - bond0.111 --- br1 | - bond0.112 --- ovirtmgmt | - bond0.113 --- br2 eth1 I then added br2 to the ovirt-engine config, however, I'm not able to assign it to bond in the network config (web admin interface) for the hyper visor / host. Also see screenshot attached. 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Problem install
hi guys, I'am tryed install Ovirt 3.2 all-in-one in my Fedora 18, but this version not finish for sucessful install, information my enviroment: [root@firelap ovirt]# cat /etc/redhat-release Fedora release 18 (Spherical Cow) [root@firelap ovirt]# uname -a Linux firelap 3.7.9-205.fc18.x86_64 #1 SMP Sun Feb 24 20:10:02 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [root@firelap ovirt]# ifconfig bond0: flags=5123UP,BROADCAST,MASTER,MULTICAST mtu 1500 ether 00:00:00:00:00:00 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 bond1: flags=5123UP,BROADCAST,MASTER,MULTICAST mtu 1500 ether 00:00:00:00:00:00 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 bond2: flags=5123UP,BROADCAST,MASTER,MULTICAST mtu 1500 ether 00:00:00:00:00:00 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 bond3: flags=5123UP,BROADCAST,MASTER,MULTICAST mtu 1500 ether 00:00:00:00:00:00 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 bond4: flags=5123UP,BROADCAST,MASTER,MULTICAST mtu 1500 ether 00:00:00:00:00:00 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73UP,LOOPBACK,RUNNING mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10host loop txqueuelen 0 (Local Loopback) RX packets 136972 bytes 54834621 (52.2 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 136972 bytes 54834621 (52.2 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 p5p1: flags=4163UP,BROADCAST,RUNNING,MULTICAST mtu 1500 inet 172.16.255.43 netmask 255.255.255.192 broadcast 172.16.255.63 inet6 fe80::7a45:c4ff:feb0:8995 prefixlen 64 scopeid 0x20link ether 78:45:c4:b0:89:95 txqueuelen 1000 (Ethernet) RX packets 480681 bytes 614801393 (586.3 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 323373 bytes 35479386 (33.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 17 [root@firelap ovirt]# rpm -qa | grep ovirt ovirt-engine-cli-3.2.0.10-1.fc18.noarch ovirt-engine-backend-3.2.0-4.fc18.noarch ovirt-engine-config-3.2.0-4.fc18.noarch ovirt-host-deploy-1.0.0-1.fc18.noarch ovirt-engine-setup-plugin-allinone-3.2.0-4.fc18.noarch ovirt-engine-restapi-3.2.0-4.fc18.noarch ovirt-engine-dbscripts-3.2.0-4.fc18.noarch ovirt-image-uploader-3.2.0-1.fc18.noarch ovirt-host-deploy-offline-1.0.0-1.fc18.noarch ovirt-engine-setup-3.2.0-4.fc18.noarch ovirt-release-fedora-5-3.noarch ovirt-engine-tools-common-3.2.0-4.fc18.noarch ovirt-engine-3.2.0-4.fc18.noarch ovirt-log-collector-3.2.0-1.fc18.noarch ovirt-host-deploy-java-1.0.0-1.fc18.noarch ovirt-engine-userportal-3.2.0-4.fc18.noarch ovirt-engine-notification-service-3.2.0-4.fc18.noarch ovirt-iso-uploader-3.2.0-1.fc18.noarch ovirt-engine-webadmin-portal-3.2.0-4.fc18.noarch ovirt-engine-sdk-3.2.0.9-1.fc18.noarch ovirt-engine-genericapi-3.2.0-4.fc18.noarch [root@firelap ~]# host firelap.usc.unirede.net firelap.usc.unirede.net has address 172.16.255.43 [root@firelap ~]# ping firelap.usc.unirede.net PING firelap.usc.unirede.net (172.16.255.43) 56(84) bytes of data. 64 bytes from firelap (172.16.255.43): icmp_seq=1 ttl=64 time=0.055 ms [root@firelap ~]# engine-setup Welcome to oVirt Engine setup utility oVirt Engine uses httpd to proxy requests to the application server. It looks like the httpd installed locally is being actively used. The installer can override current configuration . Alternatively you can use JBoss directly (on ports higher than 1024) Do you wish to override current httpd configuration and restart the service? ['yes'| 'no'] [yes] : HTTP Port [80] : HTTPS Port [443] : Host fully qualified domain name. Note: this name should be fully resolvable [firelap.no-ip.org] : localhost.localdomain The IP (127.0.0.1) which was resolved from the FQDN localhost.localdomain is not configured on any interface on this host User input failed validation, do you still wish to use it? (yes|no): no Host fully qualified domain name. Note: this name should be fully resolvable [firelap.no-ip.org] : firelap.no-ip.org did
Re: [Users] Problem install
Hi. Have you tried solving the hostnames resolving issues that are described on your email? Add the hosts to /etc/hosts Alex No dia 06/03/2013 18:02, Marcelo Barbosa mr.marcelo.barb...@gmail.com escreveu: Attached my log file. Marcelo Barbosa *mr.marcelo.barb...@gmail.com* On Wed, Mar 6, 2013 at 2:48 PM, Marcelo Barbosa mr.marcelo.barb...@gmail.com wrote: hi guys, I'am tryed install Ovirt 3.2 all-in-one in my Fedora 18, but this version not finish for sucessful install, information my enviroment: [root@firelap ovirt]# cat /etc/redhat-release Fedora release 18 (Spherical Cow) [root@firelap ovirt]# uname -a Linux firelap 3.7.9-205.fc18.x86_64 #1 SMP Sun Feb 24 20:10:02 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [root@firelap ovirt]# ifconfig bond0: flags=5123UP,BROADCAST,MASTER,MULTICAST mtu 1500 ether 00:00:00:00:00:00 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 bond1: flags=5123UP,BROADCAST,MASTER,MULTICAST mtu 1500 ether 00:00:00:00:00:00 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 bond2: flags=5123UP,BROADCAST,MASTER,MULTICAST mtu 1500 ether 00:00:00:00:00:00 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 bond3: flags=5123UP,BROADCAST,MASTER,MULTICAST mtu 1500 ether 00:00:00:00:00:00 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 bond4: flags=5123UP,BROADCAST,MASTER,MULTICAST mtu 1500 ether 00:00:00:00:00:00 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73UP,LOOPBACK,RUNNING mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10host loop txqueuelen 0 (Local Loopback) RX packets 136972 bytes 54834621 (52.2 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 136972 bytes 54834621 (52.2 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 p5p1: flags=4163UP,BROADCAST,RUNNING,MULTICAST mtu 1500 inet 172.16.255.43 netmask 255.255.255.192 broadcast 172.16.255.63 inet6 fe80::7a45:c4ff:feb0:8995 prefixlen 64 scopeid 0x20link ether 78:45:c4:b0:89:95 txqueuelen 1000 (Ethernet) RX packets 480681 bytes 614801393 (586.3 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 323373 bytes 35479386 (33.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 17 [root@firelap ovirt]# rpm -qa | grep ovirt ovirt-engine-cli-3.2.0.10-1.fc18.noarch ovirt-engine-backend-3.2.0-4.fc18.noarch ovirt-engine-config-3.2.0-4.fc18.noarch ovirt-host-deploy-1.0.0-1.fc18.noarch ovirt-engine-setup-plugin-allinone-3.2.0-4.fc18.noarch ovirt-engine-restapi-3.2.0-4.fc18.noarch ovirt-engine-dbscripts-3.2.0-4.fc18.noarch ovirt-image-uploader-3.2.0-1.fc18.noarch ovirt-host-deploy-offline-1.0.0-1.fc18.noarch ovirt-engine-setup-3.2.0-4.fc18.noarch ovirt-release-fedora-5-3.noarch ovirt-engine-tools-common-3.2.0-4.fc18.noarch ovirt-engine-3.2.0-4.fc18.noarch ovirt-log-collector-3.2.0-1.fc18.noarch ovirt-host-deploy-java-1.0.0-1.fc18.noarch ovirt-engine-userportal-3.2.0-4.fc18.noarch ovirt-engine-notification-service-3.2.0-4.fc18.noarch ovirt-iso-uploader-3.2.0-1.fc18.noarch ovirt-engine-webadmin-portal-3.2.0-4.fc18.noarch ovirt-engine-sdk-3.2.0.9-1.fc18.noarch ovirt-engine-genericapi-3.2.0-4.fc18.noarch [root@firelap ~]# host firelap.usc.unirede.net firelap.usc.unirede.net has address 172.16.255.43 [root@firelap ~]# ping firelap.usc.unirede.net PING firelap.usc.unirede.net (172.16.255.43) 56(84) bytes of data. 64 bytes from firelap (172.16.255.43): icmp_seq=1 ttl=64 time=0.055 ms [root@firelap ~]# engine-setup Welcome to oVirt Engine setup utility oVirt Engine uses httpd to proxy requests to the application server. It looks like the httpd installed locally is being actively used. The installer can override current configuration . Alternatively you can use JBoss directly (on ports higher than 1024) Do you wish to override current httpd configuration and restart the service? ['yes'| 'no'] [yes] : HTTP Port [80]
Re: [Users] UI Plugin iframe dialogs
Hi Vojtech, On Mon, 2013-03-04 at 08:07 -0500, Vojtech Szocs wrote: 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! I'll have a look at this patch! 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.] Hm, I think both would be great. For simple dialogs it's easier if showDialog accepts DOM elements, but there are some use cases where it's better to provide a contentUrl. So for me it would be great if contentUrls and contentElements would be possible. :) Regards, René 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
Re: [Users] problem with all-in-one ovirt install on Centos 6.3 related to hostname resolution
On 03/06/2013 06:12 PM, Frederic Bevia wrote: Sandro Bonazzola sbonazzo@... writes: Hi Frederic, thanks for your report! ..; Please run engine-cleanup, engine-setup and check ovirt-engine status if it fails again. If it fails, can you please attach your logs? Regards, Sandro Hi Sandro, thanks very much for your answer. I did run engine-cleanup, engine-setup and check ovirt-engine status and it failed again. But, meanwhile, to validate my hypothesis on the faulty name resolution, I installed dnsmasq, a small dns proxy/forwarder, on the same server (srv-santos.cg33.fr), wich can resolve name from local hosts file and from upstream DNS. Then, i re-run engine-setup, and bingo! :-)) no name résolution pbms and no error on JBoss.. Alas! it failed again shortly afterwards with this message: could not create ovirtsdk API object It seems to be a known bug cf. https://bugzilla.redhat.com/show_bug.cgi?id=869457;, fixed in lasts fedora's packages.. but apprently not in the ovirt-all-in-one packages on Centos 6. So unless if someone have a solution for this pbm, other than install ovirt on a fedora distrib with the last package of course, i just decided to stay on my centos 6, uninstall ovirt all-in-one and guive a try to a standard engine instal + a standard vdsm install on the same machine with the regular ovirt packages for centos. Regards, Frederic Hi Federic, if you just want to have a look at oVirt 3.2, get some experience with it or deploy it. you can try the ovirt-live image[1], just boot it up from a usb and you have oVirt 3.2 up and running. (based on fedora18) [1]http://wiki.ovirt.org/OVirt_Live ___ Users mailing list Users at ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Problem install
Alex, Thankyou for attention. This return should not happen, because I have my hostname registered and running on my DNS servers, but i'm inserted in /etc/hosts my hostname and retry setup, but return new error: 2013-03-06 17:35:14::DEBUG::all_in_one_100::297::root:: Waiting for host to become operational 2013-03-06 17:35:14::DEBUG::all_in_one_100::300::root:: current host status is: up 2013-03-06 17:35:14::DEBUG::all_in_one_100::302::root:: The host is up. 2013-03-06 17:35:14::DEBUG::setup_sequences::59::root:: running addStorageDomain 2013-03-06 17:35:14::DEBUG::all_in_one_100::317::root:: Adding local storage domain 2013-03-06 17:35:14::INFO::all_in_one_100::322::root:: Creating local storage 2013-03-06 17:35:14::INFO::all_in_one_100::326::root:: Creating local storage domain 2013-03-06 17:35:14::INFO::all_in_one_100::334::root:: Adding local storage domain 2013-03-06 17:35:15::ERROR::all_in_one_100::337::root:: Traceback (most recent call last): File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line 335, in addStorageDomain controller.CONF[API_OBJECT].storagedomains.add(sdParams) File /usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py, line 5151, in add headers={Expect:expect, Correlation-Id:correlation_id}) File /usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py, line 118, in add return self.request('POST', url, body, headers) File /usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py, line 129, in request last=last) File /usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py, line 159, in __doRequest raise RequestError, response RequestError: status: 400 reason: Bad Request detail: Cannot add Storage. Internal error, Storage Connection doesn't exist. 2013-03-06 17:35:15::DEBUG::setup_sequences::62::root:: Traceback (most recent call last): File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in run function() File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line 338, in addStorageDomain raise Exception(ERROR_ADD_LOCAL_DOMAIN) Exception: Error: could not add local storage domain 2013-03-06 17:35:15::DEBUG::engine-setup::1948::root:: *** The following params were used as user input: 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: override-httpd-config: yes 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: http-port: 80 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: https-port: 443 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: random-passwords: no 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: mac-range: 00:1A:4A:10:FF:00-00:1A:4A:10:FF:FF 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: host-fqdn: firelap.usc.unirede.net 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: auth-pass: 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: org-name: firelap 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: application-mode: both 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: default-dc-type: NFS 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: db-remote-install: local 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: db-host: localhost 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: db-local-pass: 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: nfs-mp: /firebackup//iso 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: iso-domain-name: ISO_DOMAIN 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: config-nfs: yes 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: override-firewall: IPTables 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: config-allinone: yes 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: storage-path: /firebackup//vms 2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: superuser-pass: 2013-03-06 17:35:15::ERROR::engine-setup::2369::root:: Traceback (most recent call last): File /bin/engine-setup, line 2363, in module main(confFile) File /bin/engine-setup, line 2146, in main runSequences() File /bin/engine-setup, line 2068, in runSequences controller.runAllSequences() File /usr/share/ovirt-engine/scripts/setup_controller.py, line 54, in runAllSequences sequence.run() File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 154, in run step.run() File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in run function() File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line 338, in addStorageDomain raise Exception(ERROR_ADD_LOCAL_DOMAIN) Exception: Error: could not add local storage domain Any ideas to solve this problem? Marcelo Barbosa *mr.marcelo.barb...@gmail.com* On Wed, Mar 6, 2013 at 4:23 PM, Alexandre Santos santosa...@gmail.comwrote: Hi. Have you tried solving the hostnames resolving issues that are described on your email? Add the hosts to /etc/hosts Alex No dia 06/03/2013 18:02, Marcelo Barbosa
Re: [Users] [JENKINS][ANN] jenkins.ovirt.org new look and infra
- Original Message - From: Itamar Heim ih...@redhat.com To: Eyal Edri ee...@redhat.com Cc: users@ovirt.org, engine-devel engine-de...@ovirt.org, vdsm-de...@lists.fedorahosted.org, infra in...@ovirt.org Sent: Wednesday, March 6, 2013 11:37:29 PM Subject: Re: [JENKINS][ANN] jenkins.ovirt.org new look and infra On 03/05/2013 10:01 AM, Eyal Edri wrote: fyi, Starting from yesterday (4/3/13) jenkins.ovirt.org [1] has migrated to a new hosting server provided by alterway [2]. the new server has a new ui look that is similar to ovirt.org and is running on stronger infra then the previous one. All jobs and configuration have migrated from the old instance, but if you're still missing a certain job or permissions please contact infra team at in...@ovirt.org. I want to thank David caro from the infra team in helping with the migration and einav cohen from the ovirt frontend developer community for helping with the new css for jenkins. [1] http://jenkins.ovirt.org/ [2] http://www.ovirt.org/Sponsors_and_supporters Eyal Edri oVirt infra team. ___ Infra mailing list in...@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra finally... (and looks very nice) can we shutdown the ec2 instance for now? not yet, me quaid should change the dns 1st (tomorrow)? and then we can do it. do we have more horsepower to start running say engine findbugs on gerrit patches? not really, since we're still using the same ec2 slaves. (unless we'll run it on the master, but that's not recommended in terms of security) once we'll have ovirt instance running with vms, i imagine we can. hopefully we'll have it running soon (either on alterway02 or on the rackspace servers) Thanks, Itamar ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Searching for VMs that do not have a tag
I have to say, the Search Bookmark functionality is really cool! According to autocomplete, the only operator available for Vms:Tag is = It would be nice to have a != operator so we can have bookmarks that show hosts that are not tagged in a certain way... or is there a more general way to invert a query? Also, is there any way to add an order tag to alter the display order? Any online docs for this stuff? regards, Rob ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [JENKINS][ANN] jenkins.ovirt.org new look and infra
On 03/06/2013 01:43 PM, Eyal Edri wrote: - Original Message - From: Itamar Heim ih...@redhat.com can we shutdown the ec2 instance for now? not yet, me quaid should change the dns 1st (tomorrow)? and then we can do it. If the host thinks it's already jenkins.ovirt.org, then we can just do the DNS switch soonest. Do we need to coordinate more closely on timing? Otherwise I can just file the ticket. (I'll wait for your word before picking a time.) do we have more horsepower to start running say engine findbugs on gerrit patches? not really, since we're still using the same ec2 slaves. (unless we'll run it on the master, but that's not recommended in terms of security) once we'll have ovirt instance running with vms, i imagine we can. hopefully we'll have it running soon (either on alterway02 or on the rackspace servers) I was supposed to be working RackSpace servers today, but I got caught up in being a bit sick and post-travel. But the plan is to load F18 + the oVirt all-in-one on rax01. - Karsten -- Karsten 'quaid' Wade, Sr. Analyst - Community Growth http://TheOpenSourceWay.org .^\ http://community.redhat.com @quaid (identi.ca/twitter/IRC) \v' gpg: AD0E0C41 signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Ovirt 3.2 Setup Firewalld
I've been having trouble since beta where on occasion when running the setup, it would hang at configuring firewall, even if I leave it for hours. Tonight I decided to rebuild my VM (in virtualbox, for running the webadmin). I started by installing Fedora 18 x86_64 from DVD with minimal install. Fully updated (yum update; reboot), installed the ovirt repo according to the website, rebooted, and then ran engine-setup. At the end this time firewalld configuration failed with an error. Here is the relevant logbits. I'm going to disable firewalld for now but does anyone have any suggestions? 2013-03-06 20:07:44::DEBUG::engine-setup::1953::root:: override-firewall: Firewalld 2013-03-06 20:07:44::ERROR::engine-setup::2369::root:: Traceback (most recent call last): File /usr/bin/engine-setup, line 2363, in module main(confFile) File /usr/bin/engine-setup, line 2146, in main runSequences() File /usr/bin/engine-setup, line 2068, in runSequences controller.runAllSequences() File /usr/share/ovirt-engine/scripts/setup_controller.py, line 54, in runAllSequences sequence.run() File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 154, in run step.run() File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in run function() File /usr/bin/engine-setup, line 949, in _configFirewall _configureFirewalld() File /usr/bin/engine-setup, line 997, in _configureFirewalld for zone in firewalld.getActiveZones(): File /usr/share/ovirt-engine/scripts/engine_firewalld.py, line 7, in getActiveZones fw = FirewallClient() File /usr/lib/python2.7/site-packages/firewall/client.py, line 467, in __init__ dbus_interface=org.freedesktop.DBus) File /usr/lib/python2.7/site-packages/dbus/bus.py, line 148, in add_signal_receiver path, **keywords) File /usr/lib/python2.7/site-packages/dbus/connection.py, line 400, in add_signal_receiver self._require_main_loop() RuntimeError: To make asynchronous calls, receive signals or export objects, D-Bus connections must be attached to a main loop by passing mainloop=... to the constructor or calling dbus.set_default_main_loop(...) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] databases naming way is so confusing
hi, today i look into the databases,i find the way of naming of tables is so confusing. like vds_group==cluster,storage_pool==datacenter, i think it is better straightforward. now i have not found which table is HOST. i appreciate your hard work,but i hope my suggest is meaningful. thanks___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt 3.2 on CentOS with Gluster 3.3
On 03/06/2013 10:29 PM, Rob Zwissler wrote: On Wed, Mar 6, 2013 at 12:34 AM, Shireesh Anjal san...@redhat.com wrote: oVirt 3.2 needs a newer (3.4.0) version of glusterfs, which is currently in alpha and hence not available in stable repositories. http://bits.gluster.org/pub/gluster/glusterfs/3.4.0alpha/ This issue has been reported multiple times now, and I think it needs an update to the oVirt 3.2 release notes. Have added a note to this effect at: http://www.ovirt.org/OVirt_3.2_release_notes#Storage On one hand I like oVirt, I think you guys have done a good job with this, and it is free software so I don't want to complain. But on the other hand, if you release a major/stable release (ie: oVirt 3.2), but it relies on a major/critical component (clustering filesystem server) that is in alpha, not even beta, but alpha prerelease form, you really should be up front and communicative about this. My searches turned up nothing except an offhand statement from a GlusterFS developer, nothing from the oVirt team until now. It is not acceptable to expect people to run something as critical as a cluster filesystem server in alpha form on anything short of a development test setup. Are any other components of oVirt 3.2 dependent on non-stable general release packages? What is the latest release of oVirt considered to be stable and considered safe for use on production systems? Hi Rob, Your points are completely valid, and it's my fault (and not the oVirt release team's) not mentioning this important information when providing details of gluster related features to be included in the oVirt 3.2 release notes. Genuine apologies for the same. Having said this, I believe the stable release of glusterfs 3.4.0 should be coming out very soon (some time this month if I'm correct), which will provide some relief. Regards, Shireesh Rob ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] databases naming way is so confusing
On 03/07/2013 08:23 AM, bigclouds wrote: hi, today i look into the databases,i find the way of naming of tables is so confusing. like vds_group==cluster,storage_pool==datacenter, i think it is better straightforward. I agree :) I believe it's more of a 'legacy' issue. now i have not found which table is HOST. The view VDS should provide most details of a HOST. The underlying tables are VDS_STATIC, VDS_DYNAMIC and VDS_STATISTICS Once you get that VDS is HOST, VDS_GROUP suddenly starts making sense :) i appreciate your hard work,but i hope my suggest is meaningful. thanks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Ovirt 3.2 Setup Firewalld
Hi, This is a bug[1]. Alon [1] https://bugzilla.redhat.com/show_bug.cgi?id=904153 - Original Message - From: Nicholas Kesick cybertimber2...@hotmail.com To: oVirt Mailing List users@ovirt.org Sent: Thursday, March 7, 2013 3:24:18 AM Subject: [Users] Ovirt 3.2 Setup Firewalld I've been having trouble since beta where on occasion when running the setup, it would hang at configuring firewall, even if I leave it for hours. Tonight I decided to rebuild my VM (in virtualbox, for running the webadmin). I started by installing Fedora 18 x86_64 from DVD with minimal install. Fully updated (yum update; reboot), installed the ovirt repo according to the website, rebooted, and then ran engine-setup. At the end this time firewalld configuration failed with an error. Here is the relevant logbits. I'm going to disable firewalld for now but does anyone have any suggestions? 2013-03-06 20:07:44::DEBUG::engine-setup::1953::root:: override-firewall: Firewalld 2013-03-06 20:07:44::ERROR::engine-setup::2369::root:: Traceback (most recent call last): File /usr/bin/engine-setup, line 2363, in module main(confFile) File /usr/bin/engine-setup, line 2146, in main runSequences() File /usr/bin/engine-setup, line 2068, in runSequences controller.runAllSequences() File /usr/share/ovirt-engine/scripts/setup_controller.py, line 54, in runAllSequences sequence.run() File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 154, in run step.run() File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in run function() File /usr/bin/engine-setup, line 949, in _configFirewall _configureFirewalld() File /usr/bin/engine-setup, line 997, in _configureFirewalld for zone in firewalld.getActiveZones(): File /usr/share/ovirt-engine/scripts/engine_firewalld.py, line 7, in getActiveZones fw = FirewallClient() File /usr/lib/python2.7/site-packages/firewall/client.py, line 467, in __init__ dbus_interface=org.freedesktop.DBus) File /usr/lib/python2.7/site-packages/dbus/bus.py, line 148, in add_signal_receiver path, **keywords) File /usr/lib/python2.7/site-packages/dbus/connection.py, line 400, in add_signal_receiver self._require_main_loop() RuntimeError: To make asynchronous calls, receive signals or export objects, D-Bus connections must be attached to a main loop by passing mainloop=... to the constructor or calling dbus.set_default_main_loop(...) ___ 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] Configure spice plugin for wan
On Wed, Mar 6, 2013 at 10:07 AM, Vinzenz Feenstra wrote: The WAN option should be then visible in the UI in the user portal. Not in the configuration of the VM. The option for the Operating System must be set where I have shown it in the screenshot attached. Gianluca -- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com environment all-in-one f18 rpm from ovirt repo 3.2 with windos xp vm this is edit vm screen: https://docs.google.com/file/d/0BwoPbcrMv8mvVHpDTUJyR1ZkeXM/edit?usp=sharing and this is user portal as you can see there is the application detail pane populated, but no option for wan optimization... https://docs.google.com/file/d/0BwoPbcrMv8mvWHZYNlBtSTN5bmc/edit?usp=sharing ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Thu, Mar 7, 2013 at 6:58 AM, Gianluca Cecchi gianluca.cec...@gmail.com wrote: On Wed, Mar 6, 2013 at 10:07 AM, Vinzenz Feenstra wrote: The WAN option should be then visible in the UI in the user portal. Not in the configuration of the VM. The option for the Operating System must be set where I have shown it in the screenshot attached. Gianluca -- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com environment all-in-one f18 rpm from ovirt repo 3.2 with windos xp vm this is edit vm screen: https://docs.google.com/file/d/0BwoPbcrMv8mvVHpDTUJyR1ZkeXM/edit?usp=sharing and this is user portal as you can see there is the application detail pane populated, but no option for wan optimization... https://docs.google.com/file/d/0BwoPbcrMv8mvWHZYNlBtSTN5bmc/edit?usp=sharing engine.log https://docs.google.com/file/d/0BwoPbcrMv8mvUXNwZUxRTnNBckE/edit?usp=sharing vdsm.log https://docs.google.com/file/d/0BwoPbcrMv8mva0xhN1ZONjFKVWM/edit?usp=sharing Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirt 3.2 networking setup problems
Thanks! that helped i've managed to add another bond via 'echo +bondN /sys/class/net/bonding_masters' output from commands you asked: # vdsClient -s 0 getVdsCaps HBAInventory = {'iSCSI': [{'InitiatorName': 'iqn.1994-05.com.redhat:7681c664f86a'}], 'FC': [{'wwpn': '200190b11cac1b09', 'wwnn': '200090b11cac1b09', 'model': 'LPe1205-M - Emulex LPe1205-M 8Gb 2-port PCIe Fibre Channel Adapter'}, {'wwpn': '200290b11cac1b09', 'wwnn': '200090b11cac1b09', 'model': 'LPe1205-M - Emulex LPe1205-M 8Gb 2-port PCIe Fibre Channel Adapter'}]} ISCSIInitiatorName = iqn.1994-05.com.redhat:7681c664f86a bondings = {'bond4': {'addr': '', 'cfg': {'DEVICE': 'bond4', 'NM_CONTROLLED': 'no', 'ONBOOT': 'yes', 'BONDING_OPTS': 'mode=6'}, 'mtu': '1500', 'netmask': '', 'slaves': ['p3p1', 'p3p3'], 'hwaddr': '90:b1:1c:ac:1b:05'}, 'bond0': {'addr': '', 'cfg': {'BRIDGE': 'ovirtmgmt', 'NM_CONTROLLED': 'no', 'STP': 'no', 'BONDING_OPTS': 'mode=6', 'DEVICE': 'bond0', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'slaves': ['em1', 'em2'], 'hwaddr': '90:b1:1c:ac:1b:01'}} bridges = {'ovirtmgmt': {'addr': '192.168.10.130', 'cfg': {'IPADDR': '192.168.10.130', 'ONBOOT': 'yes', 'DELAY': '0', 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'GATEWAY': '192.168.10.1'}, 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 'off', 'ports': ['bond0']}} clusterLevels = ['3.0', '3.1', '3.2'] cpuCores = 16 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,pdpe1gb,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,sse4_2,x2apic,popcnt,aes,xsave,avx,lahf_lm,ida,arat,xsaveopt,pln,pts,dts,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_Penryn,model_Westmere,model_SandyBridge cpuModel = Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz cpuSockets = 2 cpuSpeed = 2599.849 cpuThreads = 32 emulatedMachines = ['rhel6.3.0', 'pc', 'rhel6.2.0', 'rhel6.1.0', 'rhel6.0.0', 'rhel5.5.0', 'rhel5.4.4', 'rhel5.4.0'] guestOverhead = 65 hooks = {} kvmEnabled = true lastClient = 192.168.10.147 lastClientIface = ovirtmgmt management_ip = memSize = 32062 netConfigDirty = False networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr': '192.168.10.130', 'cfg': {'IPADDR': '192.168.10.130', 'ONBOOT': 'yes', 'DELAY': '0', 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'GATEWAY': '192.168.10.1'}, 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 'off', 'bridged': True, 'gateway': '192.168.10.1', 'ports': ['bond0']}} nics = {'em1': {'permhwaddr': '90:B1:1C:AC:1B:01', 'addr': '', 'cfg': {'SLAVE': 'yes', 'NM_CONTROLLED': 'no', 'MASTER': 'bond0', 'DEVICE': 'em1', 'STP': 'no', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr': '90:b1:1c:ac:1b:01', 'speed': 1}, 'em2': {'permhwaddr': '90:B1:1C:AC:1B:04', 'addr': '', 'cfg': {'SLAVE': 'yes', 'NM_CONTROLLED': 'no', 'MASTER': 'bond0', 'DEVICE': 'em2', 'STP': 'no', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr': '90:b1:1c:ac:1b:04', 'speed': 1}, 'p3p4': {'addr': '', 'cfg': {'DEVICE': 'p3p4', 'HWADDR': '90:B1:1C:AC:1B:08', 'ONBOOT': 'no', 'NM_CONTROLLED': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr': '90:b1:1c:ac:1b:08', 'speed': 0}, 'p3p3': {'permhwaddr': '90:B1:1C:AC:1B:07', 'addr': '', 'cfg': {'SLAVE': 'yes', 'ONBOOT': 'yes', 'NM_CONTROLLED': 'no', 'MASTER': 'bond4', 'HWADDR': '90:b1:1c:ac:1b:07', 'DEVICE': 'p3p3'}, 'mtu': '1500', 'netmask': '', 'hwaddr': '90:b1:1c:ac:1b:07', 'speed': 1000}, 'p3p2': {'addr': '', 'cfg': {'DEVICE': 'p3p2', 'HWADDR': '90:B1:1C:AC:1B:06', 'ONBOOT': 'no', 'NM_CONTROLLED': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr': '90:b1:1c:ac:1b:06', 'speed': 0}, 'p3p1': {'permhwaddr': '90:B1:1C:AC:1B:05', 'addr': '', 'cfg': {'SLAVE': 'yes', 'ONBOOT': 'yes', 'NM_CONTROLLED': 'no', 'MASTER': 'bond4', 'HWADDR': '90:b1:1c:ac:1b:05', 'DEVICE': 'p3p1'}, 'mtu': '1500', 'netmask': '', 'hwaddr': '90:b1:1c:ac:1b:05', 'speed': 1000}} operatingSystem = {'release': '3.el6.centos.9', 'version': '6', 'name': 'RHEL'} packages2 = {'kernel': {'release': '279.22.1.el6.x86_64', 'buildtime': 1360105846.0, 'version': '2.6.32'}, 'spice-server': {'release': '10.el6', 'buildtime': 1340375889, 'version': '0.10.1'}, 'vdsm': {'release': '0.31.20.el6', 'buildtime': 1361952052, 'version': '4.10.3'}, 'qemu-kvm': {'release': '2.295.el6.10', 'buildtime': 1357897281, 'version': '0.12.1.2'}, 'libvirt': {'release': '21.el6_3.8', 'buildtime': 1359401311, 'version': '0.9.10'}, 'qemu-img': {'release': '2.295.el6.10', 'buildtime': 1357897281, 'version': '0.12.1.2'}, 'mom': {'release': '1.el6', 'buildtime': 1349470062,
Re: [Users] How to make oVirt I/O write faster than Virtualbox and others?
- Original Message - Every benchmark out there features KVM as the best virtualisation technology. Even in the I/O write category. My results with oVirt are deceiving. So I'm going to explain my test machine, setup and ask your for advice to find out what's wrong. Any more data you need please ask for it. I like oVirt mostly because of its datacentre-aware web manager. But if it gets unusable I would have to take a look at other systems. Hardware machine for the host OS - * Sandy Bridge E * CPU : Intel Xeon E5-1620 (10 MB Intel Smart Cache) * Cores / Threads : 4 / 8 * Frecuency : 3.6GHz / 3.8GHz Turbo Boost * RAM : 64 GB DDR3 ECC * Hard Disk : 2x 2TB SATA3 * VT technology: Intel VT Common OS Setup for the host OS - * 2 hard disks RAIDSoft Guest OS common setup - * 1 socket x 1 core x 1 thread * 2 GB RAM * 300 GB Preallocated hard disk * Virtualmin installed (Just an excuse to have a mysql server) * Ubuntu 12.04 64bit Write I/O test -- The write I/O test is not standard one but a custom one. One of our needs is to create new Mysql INNODB tables. These tables have to be created in less than php maximum execution time so that some web installations don't timeout when creating their databases. DISCLAIMER: If you want to evaluate oVirt don't trust on these times, please do your own tests. So the test creates table0 with two ints columns which are then filled with 100 insert intos. Repeat that for 99 more tables. Finally drop (delete) all the create tables. What I run is: mysql -u root -p -e drop database test_create_tables mysql -u root -p -e create database test_create_tables time mysql -u root -p test_create_tables test_mysql.sql I attach test_mysql.sql gzipped just in case anyone is curious. Note that all the Proxmox tests are: Debian Squeeze + Proxmox (KVM). It was never used openvz as a virtualisation technology. Test A - Debian Squeeze + Proxmox (KVM) - Description: This is proxmox booting a machine as KVM (not as openvz). As said before only 1 socket and 1 core. real0m9.453s user0m0.104s sys 0m0.076s Test B - Proxmox (KVM, aio=threads) Description: Proxmox again. Qemu was run at hand by changing aio parametre to be aio=threads (as oVirt uses) instead of aio=native. real0m9.510s user0m0.080s sys 0m0.096s Test C - Proxmox (linux-image-virtual kernel installed, aio=threads) Description: If we install linux-image-virtual kernel inside the guest machine times are improved a bit. real0m8.691s user0m0.104s sys 0m0.080s Test D - Proxmox (ubuntu, linux-virtual, aio=threads y: -cpu kvm64,+lahf_lm,+ssse3,-cx16) --- real0m8.790s user0m0.084s sys 0m0.096s Test E - Proxmox (ubuntu, linux-virtual, aio=threads y: -cpu kvm64,+lahf_lm,+ssse3,-cx16 -M pc-01.4) - real0m8.720s user0m0.100s sys 0m0.080s Test F - Proxmox (ubuntu, linux-virtual, aio=threads y: -cpu kvm64,+lahf_lm,+ssse3,-cx16 -M pc-01.4 -rtc base=2013-02-22T02:26:29,driftfix=slew) real0m8.790s user0m0.096s sys 0m0.084s Test G - Virtualbox -- Description: Ubuntu 12.04 64bit as a host. This is Virtualbox 4.2 with the extension pack installed. Notice that neither I installed the guest additions tools in the guest machine nor the linux-image-virtual kernel. real0m36.176s user0m0.612s sys 0m0.468s Test H - Fedora 17 64bit - oVirt 3.1 --- Description: This is Fedora 17 64bit oVirt 3.1 being installed in the Host. Web manager is installed in another machine. SELinux is in Permissive mode. Virtual machine is run at the same virtual machine where storage is. The datacenter is setup as Localhost on host type. Linux-image-virtual kernel installed inside the guest machine. real0m52.246s user0m0.200s sys 0m0.128s Test I - Fedora - oVirt 3.1 - vdsmd stopped. --- Description: This is Fedora 17 64bit oVirt 3.1 being installed in the Host. Web manager is installed in another machine. SELinux is in Permissive mode. Virtual machine is run at the same virtual machine where storage is. The datacenter is setup as Localhost on host type. Linux-image-virtual kernel installed inside the guest machine. vdsmd daemon was stopped at the host was stopped just in case it was the I/O decrease reason. real0m45.932s user0m0.216s sys 0m0.100s Some bits about the test: * If you're asking, yes, I've repeated the test several times and the times I give here are representative. The password was inserted manually when running mysql commands but that's only 1 to 2 seconds less which doesn't explain the huge differences between the tests. * I also tried Fedora 64bit and Centos 64bit as guest systems and the