Re: [Users] Unbundle bond0 which virtmgmt is attached

2014-01-18 Thread Dan Kenigsberg
On Sat, Jan 18, 2014 at 03:17:22PM -0800, William Kwan wrote:
 Hi,
 
 FAQ type of question.
 
 If virtmgmt is assigned to bond0, which is composed of eth0 and eth1, what is 
 the best way to unbundle eth1 from bond0?

I'd say:
- Move the host to maintanence, so it runs no VMs and does not play SPM
  role.
- Use the Setup Network dialog to brake the bond and define ovirtmgmt
  directly on top of eth0. The Engine/Vdsm connection should survive
  this kind of change (unlike a change of management address or vlan).

If the host uses a special storage domain, or is not SPM, you could even
do that while VMs are running.

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


Re: [Users] Centos 6.5 and bonding: A slave interface is not properly configured

2014-01-22 Thread Dan Kenigsberg
On Wed, Jan 22, 2014 at 07:43:52AM +, Karli Sjöberg wrote:
 On Tue, 2014-01-21 at 21:22 -0300, Federico Sayd wrote:
  Hello:
  
  I am having problems with bonding
  
  I have installed Centos 6.5 in order to use it as host. I configured
  eth0 with the vlan of the management network (Vlan 70). Then I
  registered the host to the engine (3.3.2-1-el6) and the engine
  installed oVirt in the host without problem.  Ovirtmgmt was created
  automatically and bridged with eth0.70.
  
  Now I need to bond a second network interface (eth1) with eth0. But
  when I try to bond the nics, I get the next error:
  
  A slave interface is not properly configured. Please verify slaves do
  not contain any of the following properties: network name, boot
  protocol, IP address, netmask, gateway or vlan-ID notation (as part of
  interface's name or explicitly)

Federico, where exactly do you get this error? Would you attach the
setupNetwork log from supervdsmd.log?

  
  I delete any unnecessary parameters from ifcfg-eth0 and ifcfg-eth1.
  
  This is my network config:
  
  ifcfg-eth0:
  DEVICE=eth0
  TYPE=Ethernet
  ONBOOT=yes
  
  ifcfg-eth1:
  DEVIC E=eth1
  TYPE=Ethernet
  ONBOOT=yes
  
  ifcfg-eth0.70:
  # Generated by VDSM version 4.13.2-1.el6
  DEVICE=eth0.70
  ONBOOT=yes
  VLAN=yes
  BRIDGE=ovirtmgmt
  NM_CONTROLLED=no
  STP=no
  
  ifcfg-ovirtmgmt:
  # Generated by VDSM version 4.13.2-1.el6
  DEVICE=ovirtmgmt
  ONBOOT=yes
  TYPE=Bridge
  DELAY=0
  IPADDR=192.168.1.101
  NETMASK=255.255.255.0
  BOOTPROTO=none
  DEFROUTE=yes
  NM_CONTROLLED=no
  STP=no
  
  No others ifcfg-* files.
  
  I don't see the parameters that oVirt doesn't like. Any clue,
  workaround, bug report?
  
  Thanks!
  
  Federico
  
  PD: Sorry for my basic english
   
 
 I´ve seen issues from folks trying to configure Host network through
 webadmin and failing one too many times now, so I decided to write
 something up:
 
 http://www.ovirt.org/Bonding_VLAN_Bridge
 
 Hope this helps!

Thanks Karli! Though it SHOULD be possible to start with eth0 and eth0.2
on the host (where 2 is the vlan id of your manamgement network), and
from there on, do all configuration via Engine.

I'd like to automate as much as possible out of this process, and iron
out remaining bugs. Hence, I would like to hear more about Federico's
mode of failure.

One comment to your wiki page: in order to better intergrate with our
recent source-routing support (mostly useful for display network),
please set GATEWAY only in ifcfg-ovirtmgmt, and remember to set
DEFROUTE=no in any other ifcfg that mentions IPADDR so as not to
override the default.

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


Re: [Users] Centos 6.5 and bonding: A slave interface is not properly configured

2014-01-22 Thread Dan Kenigsberg
On Wed, Jan 22, 2014 at 01:57:35PM -0300, Federico Alberto Sayd wrote:
 On 22/01/14 12:13, Dan Kenigsberg wrote:
 On Wed, Jan 22, 2014 at 07:43:52AM +, Karli Sjöberg wrote:
 On Tue, 2014-01-21 at 21:22 -0300, Federico Sayd wrote:
 Hello:
 
 I am having problems with bonding
 
 I have installed Centos 6.5 in order to use it as host. I configured
 eth0 with the vlan of the management network (Vlan 70). Then I
 registered the host to the engine (3.3.2-1-el6) and the engine
 installed oVirt in the host without problem.  Ovirtmgmt was created
 automatically and bridged with eth0.70.
 
 Now I need to bond a second network interface (eth1) with eth0. But
 when I try to bond the nics, I get the next error:
 
 A slave interface is not properly configured. Please verify slaves do
 not contain any of the following properties: network name, boot
 protocol, IP address, netmask, gateway or vlan-ID notation (as part of
 interface's name or explicitly)
 Federico, where exactly do you get this error? Would you attach the
 setupNetwork log from supervdsmd.log?
 I get the error in the setup-network dialog in ovirt-engine.
 
 Today I solved the issue copying the network config of other host
 (same hardware), and it worked.
 
 The supervdsm.log whith the lines logged yesterday:
 
 http://pastebin.com/kpXrRd2w
 
 It would be nice if the error could be more explicit, i.e. telling
 the ifcfg-* that are conflictive.

I do not understand the error yet... I believe that in the text you have
quoted, Engine complains that an interface has not joined a bond. But
Engine's command to Vdsm

MainProcess|Thread-15::DEBUG::2014-01-21 
13:13:21,166::supervdsmServer::95::SuperVdsm.ServerCallback::(wrapper) call 
setupNetworks with ({'ovirtmgmt': {'nic': 'eth0', 'vlan': '70', 'ipaddr': 
'192.168.1.101', 'netmask': '255.255.255.0', 'STP': 'no', 'bridged': 'true'}}, 
{}, {'connectivityCheck': 'true', 'connectivityTimeout': 120}

contains no reference to a bond device, and seems to have succeeded.

One notable problem is that the network definitions lack a 'gateway'
parameter, which is very important for ovirtmgmt.

Would you share your vdsm.log, too? The output of getCapabilities before
and after setupNetworks may shed some light on the circumstances.

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


[Users] Centos 6.5: mom spam

2014-01-22 Thread Dan Kenigsberg
On Wed, Jan 22, 2014 at 01:57:35PM -0300, Federico Alberto Sayd wrote:
 On 22/01/14 12:13, Dan Kenigsberg wrote:

snip

 
 The supervdsm.log whith the lines logged yesterday:
 
 http://pastebin.com/kpXrRd2w
 

On an unrelated matter: this log includes

MainProcess|PolicyEngine::DEBUG::2014-01-21 
13:13:41,187::supervdsmServer::95::SuperVdsm.ServerCallback::(wrapper) call 
ksmTune with ({},) {}
MainProcess|PolicyEngine::DEBUG::2014-01-21 
13:13:41,188::supervdsmServer::102::SuperVdsm.ServerCallback::(wrapper) return 
ksmTune with None
MainProcess|PolicyEngine::DEBUG::2014-01-21 
13:13:51,220::supervdsmServer::95::SuperVdsm.ServerCallback::(wrapper) call 
ksmTune with ({},) {}
MainProcess|PolicyEngine::DEBUG::2014-01-21 
13:13:51,220::supervdsmServer::102::SuperVdsm.ServerCallback::(wrapper) return 
ksmTune with None

spam every 10 seconds. Federico, which version of mom do you have installed? I
thought we have solved a similar issue in the past.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Centos 6.5 and bonding: A slave interface is not properly configured

2014-01-23 Thread Dan Kenigsberg
On Thu, Jan 23, 2014 at 06:50:59AM +, Karli Sjöberg wrote:
 
  
  One comment to your wiki page: in order to better intergrate with our
  recent source-routing support (mostly useful for display network),
  please set GATEWAY only in ifcfg-ovirtmgmt, and remember to set
  DEFROUTE=no in any other ifcfg that mentions IPADDR so as not to
  override the default.
  
  Dan.
 
 Does that imply that default gateway is supposed to be on the same net
 as ovirtmgmt?

Yes, and that's what happening whenever you make changes to
ovirtmgmt via Vdsm.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [vdsm] ovirtmgmt vanishes after reboot

2014-01-23 Thread Dan Kenigsberg
On Thu, Jan 23, 2014 at 05:12:17PM +0100, Fabian Deutsch wrote:
 Am Donnerstag, den 23.01.2014, 12:34 -0300 schrieb Francisco Pérez:
   Hi. I have configured an ovirt-engine to manage an ovirt node
  succesfully. I have created VM and all runs well but im trying to do
  some escenario testing and i have found an issue.
  
  
   If somehow the ovirt node is rebooted(Power failure, crash, manual
  reboot, etc) when its comes up it does not start the ovirtmgmt
  network. Even if in the ovirt-engine you save network configuration or
  if you execute persist
  on /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt. It tells you it's
  already been added to the configuration.
  
  
   Is this normal behavior after ovirt node's is rebooted? Am i doing
  something wrong?
 
 Hey Francisco,
 
 that sounds like a bug.
 VDSM Devs, how can we debug why the network is not brought up?

Could you share vdsm.log and supervdsm.log? When you set up ovirtmgmt,
as setupNetworks command should be visible there. Later, on save, a
call to setSafeNetworkConfig is sent, which is expected to persist your
network configuration.

Is it visible? Is it successful?

What do you see in the logs post boot? Can you tell whether
the vdsm-restore-net-config.init server was run? (its job is to revert
unsaved network config changes on non-ovirt-nodes).
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Centos 6.5: mom spam

2014-01-24 Thread Dan Kenigsberg
On Thu, Jan 23, 2014 at 04:23:48PM -0500, Adam Litke wrote:
 On 23/01/14 23:02 +0200, Itamar Heim wrote:
 On 01/23/2014 08:04 PM, Adam Litke wrote:
 On 23/01/14 10:43 -0300, Federico Alberto Sayd wrote:
 On 22/01/14 21:32, Dan Kenigsberg wrote:
 On Wed, Jan 22, 2014 at 01:57:35PM -0300, Federico Alberto Sayd wrote:
 On 22/01/14 12:13, Dan Kenigsberg wrote:
 snip
 
 The supervdsm.log whith the lines logged yesterday:
 
 http://pastebin.com/kpXrRd2w
 
 On an unrelated matter: this log includes
 
 MainProcess|PolicyEngine::DEBUG::2014-01-21
 13:13:41,187::supervdsmServer::95::SuperVdsm.ServerCallback::(wrapper) 
 call
 ksmTune with ({},) {}
 MainProcess|PolicyEngine::DEBUG::2014-01-21
 13:13:41,188::supervdsmServer::102::SuperVdsm.ServerCallback::(wrapper)
 return ksmTune with None
 MainProcess|PolicyEngine::DEBUG::2014-01-21
 13:13:51,220::supervdsmServer::95::SuperVdsm.ServerCallback::(wrapper) 
 call
 ksmTune with ({},) {}
 MainProcess|PolicyEngine::DEBUG::2014-01-21
 13:13:51,220::supervdsmServer::102::SuperVdsm.ServerCallback::(wrapper)
 return ksmTune with None
 
 spam every 10 seconds. Federico, which version of mom do you have
 installed? I
 thought we have solved a similar issue in the past.
 
 
 mom-0.3.2-6.el6.noarch
 
 This is the upstream version of mom which (sadly) is far too old and
 is missing a bunch of features.  For Fedora, we are building master
 and releasing versions like mom-0.3.2-20140120.gitfd877c5.fc20 [1]
 which have lots of ovirt-specific fixes applied.
 
 The fix is to have someone rebuild the mom RPM for el6 since the last
 refresh happened on August 13 (!).  For now, please try to upgrade to
 this build of master [2].
 
 any reason we don't build it via jenkins to resources.ovirt.org
 like other rpms?
 
 Yes, because (up until now) the mom build system was not compatible
 with other oVirt projects.  That was fixed this week [1] so now we can
 release proper RPMs into the oVirt repositories.  Next I want to do a
 MOM version bump and synchronize the official Fedora packages with
 what we have in oVirt.
 
 Any opinion on whether we should adopt the current MOM master (build
 system rewrite) this late in the 3.4 release process?  If so, I will
 work with Sandro to make sure that rc1 has it updated.  Othewise, we
 can do that for 3.4.1.

Currently 3.4 beta includes
http://resources.ovirt.org/releases/beta/rpm/EL/6/noarch/mom-0.3.2-3.el6.noarch.rpm
which is sorely outdated, as you say. We should fix this as soon as
possible. Branching one week too late is a small price to pay, imo.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] vms behaviour when a host shut down

2014-01-24 Thread Dan Kenigsberg
On Fri, Jan 24, 2014 at 10:01:52AM +0100, Nathanaël Blanchet wrote:
 Hi all,
 
 I'd like to be sure about the behaviour of vms when hist host goes
 down for any reason. I suppose high availibility is for migrating
 vms to another host, but how to do if I prefer them to shut down at
 the same time of the host?

For a planned shutdown of a host, you should move it to maintenance
mode (which migrates all VMs from it) or shut down the VMs individually.

If the host unexpectedly dies, it would be fenced by Engine.
Highly-available VMs that were running on it, would be re-started on
another host. You can mimic such a condition with logging into the host
as root and doing
service vdsmd stop
pkill qemu-kvm
(and may the force be with your guest's data)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Cluster compatibility

2014-01-27 Thread Dan Kenigsberg
On Sun, Jan 26, 2014 at 01:38:50PM +0200, Itamar Heim wrote:
 On 01/23/2014 11:54 AM, Sandro Bonazzola wrote:
 Il 23/01/2014 10:49, Piotr Kliczewski ha scritto:
 I wanted to install two hosts one on f19 and the second on el6. I
 created additional cluster for el6.
 Host installation for el6 worked well and it joined the cluster
 without any issues. Whereas host in f19was successfully deployed
 but it failed to join the cluster due to:
 
 Host fedora is compatible with versions (3.0,3.1,3.2,3.3) and cannot
 join Cluster Default which is set to version 3.4.
 
 known issue, on F19 please enable fedora-virt-preview repo, update 
 libvirt* and retry
 
 
 why would a newer libvirt be required to get 3.4 compat mode?

http://gerrit.ovirt.org/#/c/23628/4/vdsm/caps.py


VIR_MIGRATE_ABORT_ON_ERROR not found in libvirt,
support for clusterLevel = 3.4 is disabled.
For Fedora 19 users, please consider upgrading
libvirt from the virt-preview repository

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


Re: [Users] Multi-Host Network Configuration

2014-01-27 Thread Dan Kenigsberg
On Mon, Jan 27, 2014 at 04:23:47PM +0100, Piotr Kliczewski wrote:
 Hi,
 
 I played with multi host network config and used two boxes to test it.
 One el6 (vdsm) and f19 (engine, vdsm). During the test I noticed that
 vdsm on f19 haven't joined to cluster (known issue). I performed
 modification of vlan and MTU. Both boxes were modified but I noticed
 that by accident I modified ovirtmgmt network and I noticed that I
 lost connectivity. el6 box recovered whereas f19 haven't. I think it
 was because the vdsm was local to the engine.

That may be so. To make sure, I'd love to see your vdsm.log and
supervdsm.log of the time of the modification.

 I spend sometime trying
 to recover network configuration.

Thanks for testing this feature.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Setup Networks: Unexpected exception

2014-01-28 Thread Dan Kenigsberg
On Tue, Jan 28, 2014 at 04:15:56AM -0500, Antoni Segura Puimedon wrote:
 
   
   Looks related to the recently merged:
   http://gerrit.ovirt.org/#/c/23366/
  
  Indeed! My bad in +1 it. The ifcfg.py implementation refers
  to self thinking it is the configurator but from the configwriter,
  which does not have access to the method.
 
 Fix posted: http://gerrit.ovirt.org/#/c/23792/

Frank, thanks for reporting this; Toni, thanks for the quick fix.
It has been a very misearble verification on my part. I most probably
verified the last revision of my patch only with the non-default
iproute2 configurator.

23:41:09,871::fileSD::225::Storage.Misc.excCmd::(getReadDelay) SUCCESS:
err = '0+1 records in\n0+1 records out\n512 bytes (512 B) copied,
0.000273105 s, 1.9 MB/s\n'; rc = 0
Thread-119::ERROR::2014-01-27
23:41:10,119::BindingXMLRPC::989::vds::(wrapper) unexpected error
Traceback (most recent call last):
  File /usr/share/vdsm/BindingXMLRPC.py, line 973, in wrapper
res = f(*args, **kwargs)
  File /usr/share/vdsm/BindingXMLRPC.py, line 402, in setupNetworks
return api.setupNetworks(networks, bondings, options)
  File /usr/share/vdsm/API.py, line 1294, in setupNetworks
supervdsm.getProxy().setupNetworks(networks, bondings, options)
  File /usr/share/vdsm/supervdsm.py, line 50, in __call__
return callMethod()
  File /usr/share/vdsm/supervdsm.py, line 48, in lambda
**kwargs)
  File string, line 2, in setupNetworks
  File /usr/lib64/python2.6/multiprocessing/managers.py, line 740, in
  _callmethod
raise convert_to_error(kind, result)
AttributeError: 'ConfigWriter' object has no attribute 'getEthtoolOpts'

   
   Seems the failure on vdsm side. Adding Toni and Assaf.

I do not understand one thing: the offensive code with getEthtoolOpts
was merged only to the master branch.

Frank, can you tell how did it reach your ovirt-3.4 installation? Did
you pull a nightly build of Vdsm ?

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


Re: [Users] Setup Networks: Unexpected exception

2014-01-28 Thread Dan Kenigsberg
On Tue, Jan 28, 2014 at 11:07:46AM +0100, Frank Wall wrote:
 On Tue, Jan 28, 2014 at 09:47:11AM +, Dan Kenigsberg wrote:
  Frank, can you tell how did it reach your ovirt-3.4 installation? Did
  you pull a nightly build of Vdsm ?
 
 Indeed, I'm currently testing vdsm nightly along with oVirt-Engine 3.4 Beta:
 
 ovirt-engine:
 ovirt-engine-3.4.0-0.5.beta1.el6.noarch
 
 ovirt node:
 vdsm-4.14.1-17.gitcf59a55.el6.x86_64
 ovirt-hosted-engine-setup-1.2.0-0.0.master.20140117.gitfaf77a5.el6.noarch

Thank you for that!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [vdsm] ovirtmgmt vanishes after reboot

2014-01-28 Thread Dan Kenigsberg
On Tue, Jan 28, 2014 at 11:27:21AM -0300, Francisco Pérez wrote:
  Im setting up two networks. ovirtmgmt and a LAN. Both of them are gone
 after reboot on the node, its starts only with eth0 initial configuration.
 
 Antoni, here are the outputs you requested:
 
 [root@ovirth1 ~]# /etc/init.d/vdsmd status
 VDS daemon server is running
 [root@ovirth1 ~]# service vdsmd status
 VDS daemon server is running
 [root@ovirth1 ~]# virsh -r net-list
 setlocale: No such file or directory
 Name State  Autostart Persistent
 --
 ;vdsmdummy;  active nono
 
 [root@ovirth1 ~]# ls /etc/sysconfig/network-scripts/
 ifcfg-eth0   ifdown-eth   ifdown-postifdown-tunnel  ifup-eth
 ifup-plip   ifup-routesinit.ipv6-globalroute-LAN
 ifcfg-lo ifdown-ippp  ifdown-ppp ifup   ifup-ippp
  ifup-plusb  ifup-sit   net.hotplug route-ovirtmgmt
 ifdown   ifdown-ipv6  ifdown-routes  ifup-aliases   ifup-ipv6
  ifup-post   ifup-tunnelnetwork-functions   rule-LAN
 ifdown-bnep  ifdown-isdn  ifdown-sit ifup-bnep  ifup-isdn  ifup-ppp
ifup-wireless  network-functions-ipv6  rule-ovirtmgmt
 
 Dan those command are excecuted where? on the manager or the node? Im new
 at this and the logs are a little overwhelming so if you help me to
 interpret them i'll apreciate them. I have attached the whole log directory
 /var/log/vdsm/
 
  Could you share vdsm.log and supervdsm.log? When you set up ovirtmgmt,
  as setupNetworks command should be visible there. Later, on save, a
  call to setSafeNetworkConfig is sent, which is expected to persist your
  network configuration.
 
  Is it visible? Is it successful?

Your supervdsmd has

MainProcess|Thread-26::DEBUG::2014-01-27 
15:51:48,866::configNetwork::561::Storage.Misc.excCmd::(setSafeNetworkConfig) 
'/usr/share/vdsm/vdsm-store-net-config' (cwd None)

which reports success, too.

 
  What do you see in the logs post boot? Can you tell whether
  the vdsm-restore-net-config.init server was run? (its job is to revert
  unsaved network config changes on non-ovirt-nodes).

Maybe you can debug the issue:
Setup up a network but do not save it yet.
Log into your ovirt-node.

You should see /etc/sysconfig/network-scripts/ifcfg-YOURNET
and /var/lib/vdsm/netconfback/ifcfg-YOURNET, the
latter meaning that it's not yet persisted.

Now run locally
  vdsClient -s 0 setSafeNetworkConfig

You should see /config/etc/sysconfig/network-scripts/ifcfg-YOURNET
created, and /var/lib/vdsm/netconfback/ifcfg-YOURNET gone.

Now please run
/usr/share/vdsm/vdsm-restore-net-config
which should do absolutely nothing.

If the process above breaks, it's a Vdsm bug. If not, it most probably
something in ovirt-node.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [vdsm] ovirtmgmt vanishes after reboot

2014-01-29 Thread Dan Kenigsberg
On Wed, Jan 29, 2014 at 11:07:08AM +0100, Fabian Deutsch wrote:
 Am Mittwoch, den 29.01.2014, 05:02 -0500 schrieb Antoni Segura Puimedon:
 Right.
 I believe the bug you are seeing is:
 http://gerrit.ovirt.org/#/c/20068/
 
 This has been merged into out stable branch, but the release of a new
 oVirt Node ISO for 3.3 is pending because of the vdsm-python-cpopen
 dependency problem.

Would you agree to patch `yum` on your build machine? I do not fully
understand the issue, but with the following patch, the dependency
problem is resolved for me:

diff --git a/yum/depsolve.py b/yum/depsolve.py
index 95c21bc..57cf379 100644
--- a/yum/depsolve.py
+++ b/yum/depsolve.py
@@ -720,7 +720,7 @@ class Depsolve(object):
 else:
 self.verbose_logger.debug(_('TSINFO: Marking %s as install for 
%s'), best,
 requiringPo)
-reqtuple = misc.string_to_prco_tuple(needname + str(needflags) + 
needversion)
+reqtuple = misc.string_to_prco_tuple(requirement)
 txmbrs = self.install(best, provides_for=reqtuple)
 for txmbr in txmbrs:
 txmbr.setAsDep(po=requiringPo)

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


Re: [Users] ovirt-3.3.3 release postponed due to blockers

2014-01-30 Thread Dan Kenigsberg
On Thu, Jan 30, 2014 at 08:52:36AM +, Sven Kieske wrote:
 Hi,
 
 any news regarding my questions?
 
 Am 29.01.2014 09:23, schrieb Sandro Bonazzola:
  Il 29/01/2014 09:21, Sven Kieske ha scritto:
  Hi,
 
  I wanted to try it the other way around, installing vdsm-python-cpopen
  and check if it runs without python-cpopen .
 
  But that leads me to a question:
 
  Is there any difference between these packages beside their different
  name?
 
  If yes, what is the difference and which package should be installed?
  I no, why is there a packet vdsm-python-cpopen ?
  
  CCing VDSM

python-cpopen includes some improvements and bug fixes, that are going
to be needed in ovirt-3.4. vdsm-python-cpopen is shipped by ovirt-3.3.

python-cpopen wast intended to deprecate and replace vdsm-python-cpopen,
but we have had way too many issues trying to do that properly in
rpm/yum. Most of the bugs are ours, at least one is yum's.

At the moment, the existence of python-cpopen in Fedora confuses `yum
install vdsm`.

To avoid this unfortunate delay, we can either include python-cpopen in
ovirt-stable or exclude vdsm-python-cpopen from there. Both options are
unfavorable, but so is continuing to wait.

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


Re: [Users] ovirt-3.3.3 release postponed due to blockers

2014-01-30 Thread Dan Kenigsberg
On Thu, Jan 30, 2014 at 10:27:34AM +0100, Sandro Bonazzola wrote:
 Il 30/01/2014 10:20, Dan Kenigsberg ha scritto:
  On Thu, Jan 30, 2014 at 08:52:36AM +, Sven Kieske wrote:
  Hi,
 
  any news regarding my questions?
 
  Am 29.01.2014 09:23, schrieb Sandro Bonazzola:
  Il 29/01/2014 09:21, Sven Kieske ha scritto:
  Hi,
 
  I wanted to try it the other way around, installing vdsm-python-cpopen
  and check if it runs without python-cpopen .
 
  But that leads me to a question:
 
  Is there any difference between these packages beside their different
  name?
 
  If yes, what is the difference and which package should be installed?
  I no, why is there a packet vdsm-python-cpopen ?
 
  CCing VDSM
  
  python-cpopen includes some improvements and bug fixes, that are going
  to be needed in ovirt-3.4. vdsm-python-cpopen is shipped by ovirt-3.3.
  
  python-cpopen wast intended to deprecate and replace vdsm-python-cpopen,
  but we have had way too many issues trying to do that properly in
  rpm/yum. Most of the bugs are ours, at least one is yum's.
  
  At the moment, the existence of python-cpopen in Fedora confuses `yum
  install vdsm`.
  
  To avoid this unfortunate delay, we can either include python-cpopen in
  ovirt-stable or exclude vdsm-python-cpopen from there. Both options are
  unfavorable, but so is continuing to wait.
 
 If it's enough just to add python-cpopen to ovirt-stable, I'm fine with that.
 I just need the link to the build to be included there.

Yaniv, have you tried if shipping python-cpopen hides this issue?

http://kojipkgs.fedoraproject.org//packages/python-cpopen/1.3/1.fc20/x86_64/python-cpopen-1.3-1.fc20.x86_64.rpm
http://kojipkgs.fedoraproject.org//packages/python-cpopen/1.3/1.fc19/x86_64/python-cpopen-1.3-1.fc19.x86_64.rpm
http://kojipkgs.fedoraproject.org//packages/python-cpopen/1.3/1.el6/ppc64/python-cpopen-1.3-1.el6.ppc64.rpm

Dropping vdsm-python-cpopen from a stable version seems impolite, but
should work, too.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt-3.3.3 release postponed due to blockers

2014-01-31 Thread Dan Kenigsberg
On Fri, Jan 31, 2014 at 09:36:48AM +0100, Sandro Bonazzola wrote:
 Il 30/01/2014 22:38, Robert Story ha scritto:
  Can we revert these packages to previous versions in the 3.3.2 stable repo
  so those of us who want/need to install new hosts in our clusters aren't
  dead in the water waiting for 3.3.3?
 
 Hi Robert, I think you can still install 3.3.2 on your clusters with the 
 requirement of adding
 manually oython-cpopen before trying to install vdsm.
 
 About 3.3.3, I think vdsm should really drop dependency on vdsm-python-cpopen:
 it's a package obsoleted by python-cpopen so there's no point in still 
 requiring it especially if keeping that requirement still break dependency
 resolution.

I really wanted to avoid eliminating a subpackage during a micro
release. That's impolite and surprising.
But given the awkward yum bug, persistent dependency problems, and
the current release delay, I give up.

Let's eliminate vdsm-python-cpopen from ovirt-3.3 branch, and require
python-cpopen. Yaniv, Douglas: could you handle it?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host x is installed with VDSM version (UNKNOWN)

2014-02-01 Thread Dan Kenigsberg
On Fri, Jan 31, 2014 at 01:26:20PM -0500, Matt Warren wrote:
 Any troubleshooting ideas for vdsm reporting UNKNONW version when it's
 clearly 4.13 installed?
 
Host x is installed with VDSM version (UNKNOWN) and cannot join
 cluster Default which is compatible with VDSM versions [4.13, 4.9, 4.11,
 4.12, 4.10].
 In reading some google searches, suggestion was to first run vdsClient
 -s 0 getVdsCaps. This returns Failed to initialize storage for any
 vdsClient command.

Engine cannot tell which Vdsm is install, since there's a serious
problem there - so serious that Vdsm cannot report its own version.

Could you restart Vdsm and follow vdsm.log and supervdsm.log for hints
on why does the storage subsystem fail to start?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt-3.3.3 release postponed due to blockers

2014-02-01 Thread Dan Kenigsberg
On Fri, Jan 31, 2014 at 04:16:54PM -0500, Douglas Schilling Landgraf wrote:
 On 01/31/2014 05:17 AM, Dan Kenigsberg wrote:
 On Fri, Jan 31, 2014 at 09:36:48AM +0100, Sandro Bonazzola wrote:
 Il 30/01/2014 22:38, Robert Story ha scritto:
 Can we revert these packages to previous versions in the 3.3.2 stable repo
 so those of us who want/need to install new hosts in our clusters aren't
 dead in the water waiting for 3.3.3?
 
 Hi Robert, I think you can still install 3.3.2 on your clusters with the 
 requirement of adding
 manually oython-cpopen before trying to install vdsm.
 
 About 3.3.3, I think vdsm should really drop dependency on 
 vdsm-python-cpopen:
 it's a package obsoleted by python-cpopen so there's no point in still 
 requiring it especially if keeping that requirement still break dependency
 resolution.
 
 I really wanted to avoid eliminating a subpackage during a micro
 release. That's impolite and surprising.
 But given the awkward yum bug, persistent dependency problems, and
 the current release delay, I give up.
 
 Let's eliminate vdsm-python-cpopen from ovirt-3.3 branch, and require
 python-cpopen. Yaniv, Douglas: could you handle it?
 
 
 Sure. Done: http://gerrit.ovirt.org/#/c/23942/

Acked. Could you cherry-pick it into dist-git and rebuild the
ovirt-3.3.3 candidate (and without other changes that can wait for
ovirt-3.3.4).
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Mixing tagged and untagged VLANs

2014-02-04 Thread Dan Kenigsberg
On Tue, Feb 04, 2014 at 03:11:36AM -0500, Assaf Muller wrote:
  Is it not possible to have multiple untagged VLAN networks associated
 to one interface in oVirt?
 
 No, not at this time.
 
 You can have one untagged network and N tagged networks on the same device,
 but only up to one untagged network.
 
 If you need multiple untagged networks on a single device then you're very
 welcome to report an RFE :)
 
 
 Assaf Muller, Cloud Networking Engineer 
 Red Hat 
 
 - Original Message -
 From: Trey Dockendorf treyd...@gmail.com
 To: users users@ovirt.org
 Sent: Monday, February 3, 2014 10:45:44 PM
 Subject: [Users] Mixing tagged and untagged VLANs
 
 Using 3.3.2 I seem unable to mix tagged and untagged VLANs on a single
 interface.  I'm trying to put the following logical networks on a
 host's eth0.
 
 ovirtmgmt:
  - Display Network
  - Migration Network
  - NOT VM Network
  - NO VLAN
 
 private:
  - VM network
  - NO VLAN

Beyond stating a request for extension, I'd love to understand how we
can sift private traffic from ovirtmgmt one, and in what way they
are different networks.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Problems with migration on a VM and not detected by gui

2014-02-04 Thread Dan Kenigsberg
On Tue, Feb 04, 2014 at 08:41:13AM -0500, Meital Bourvine wrote:
 Hi,
 
 Can you please open a bug about KeyError: 'path'?

Please include an excerpt of supervdsm.log, to give a better hint why
glusterVolumeStatus is failing in this fashion.

  
  First error I see in source host log:
  Thread-728830::ERROR::2014-02-04
  13:42:59,735::BindingXMLRPC::984::vds::(wrapper) unexpected error
  Traceback (most recent call last):
File /usr/share/vdsm/BindingXMLRPC.py, line 970, in wrapper
  res = f(*args, **kwargs)
File /usr/share/vdsm/gluster/api.py, line 53, in wrapper
  rv = func(*args, **kwargs)
File /usr/share/vdsm/gluster/api.py, line 206, in volumeStatus
  statusOption)
File /usr/share/vdsm/supervdsm.py, line 50, in __call__
  return callMethod()
File /usr/share/vdsm/supervdsm.py, line 48, in lambda
  **kwargs)
File string, line 2, in glusterVolumeStatus
File /usr/lib64/python2.7/multiprocessing/managers.py, line 773,
  in _callmethod
  raise convert_to_error(kind, result)
  KeyError: 'path'
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Networking. Hosted Setup. All in One Host. Hetzner

2014-02-05 Thread Dan Kenigsberg
On Thu, Jan 16, 2014 at 11:51:25PM +, Peter Styk wrote:
 Greetings,
 
 I'm writing here as to share some of my findings about hosting with
 Hetzner. All in one setups on single remote host can be tricky. Provider
 mounted an extra /29 subnet to the main host but none is routed by default
 and host has to become router itself. At the same time single mistake in
 bridging configuration and lost access results in need for re-bootstrap.
 It's still tempting to try and with many trials I eventually got to see
 guests talking to the net.
 
 Scenario 1: Working. Package bridge-utils, oVirt engine, setup bridge,
 VDSM, add host to engine, add routing to host routing table. Networking by
 trial and error. Still something is not right. Occasionally on ping out I'm
 getting Redirect Host (New nexthop messages.
 http://styk.tv/wp-content/uploads/2014/01/oVirtHosted1_almost_working.png

Unfortunately, I fail to understand what can be hampering your routing
there. Assaf, do you have a guess?

Which version of ovirt have you been using? Now, with source-routing
implemented into ovirt-3.3, there is a danger in setting your own
content into route-netname, as it would be overwritten if netname is
reconfigured via Engine.

 
 Scenario 2: Dreaming. Private network with private router/dhcp/nat. Private
 10.0.0.0/24 network. No problems with routing as gateway 10.0.0.1 would be
 on the same subnet. Thought of using pfSense but can't seem to bring up an
 instance with two network cards on two different networks. I thought this
 would be easy.
 Go to Networks, click create new network, type private, save
 ok. then go to new instance. point at iso, attach two network cards. save
 ok. Launch Host did not satisfy internal filter Network No idea what that
 is. Maybe I don't understand how this works.

I do not understand where having an instance with two nics fail. Is the
Host did not satisfy internal filter Network message coming from
Hetzner management, or oVirt's?

 I even tried removing
 ovirtmgmt network and leaving private network by itself. Tried with all 3
 network card types (rtl8139/e1000/VirtIO)
 http://styk.tv/wp-content/uploads/2014/01/oVirtHosted2_preferred.png

Could you explain how you configured your provate network? In my
experience, your easiest option is to define a dummy interface
ip link add name dummy_private type dummy
and set up a normal oVirt network on top of it, as if it were a true
nic.

 
 Either way if you have a minute or two please take a look at both attached
 diagrams. Deliberately making it difficult by forcing all elements on
 single box in hosted environment.
 
 Maybe there is a way to have this all installed with Neutron or vSwitch on
 the same box or is that pushing it?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] NAT configuration

2014-02-05 Thread Dan Kenigsberg
On Wed, Feb 05, 2014 at 09:50:04AM +, Sven Kieske wrote:
 I can confirm that vdsm@ovirt does work.
 
 However, I have the strong feeling that
 the password in /etc/pki/vdsm/keys/libvirt_password
 is static for all installations.
 
 And gerrit proves me right:
 
 http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob;f=vdsm/libvirt_password;h=09e60bce9bc401bb8943154f7cb9cb08bd0f49da;hb=refs/heads/master
 
 So what is the purpose of authentication when that information
 is public?
 
 I created a BZ for this:
 
 https://bugzilla.redhat.com/show_bug.cgi?id=1061639
 
 PS: I hope, whoever coded this, feels a little bit ashamed
 and perhaps buys a good book on writing secure code and reads it..

I feel ashamed, but not due to the security issue here.

Vdsm uses a unix domain socket to connect to libvirtd. That socket is
owned by vdsm, so that only vdsm and root can use it. There is no
security reason to use a password at all.

I am ashamed for caving in and adding an obfuscation layer, designed
only to deter local administrators from messing with libvirt under the
feet of ovirt. This little hurdle does not deter from messing with qemu
directly, but I suppose that qemu's command line does a good job anyway.

Red Hat support folks repeatedly claim that this hurdle is more
effective than putting a release note warning of the dangers in direct
libvirt access.

Dan.


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


Re: [Users] NAT configuration

2014-02-05 Thread Dan Kenigsberg
On Tue, Feb 04, 2014 at 08:20:26PM +, martin.tru...@cspq.gouv.qc.ca wrote:
 Hi,
 
 I want to configure NAT in Ovirt with this procedure :
 http://lists.ovirt.org/pipermail/users/2012-April/001751.html
 
 But I don't have the login password of virsh and for the PosgreSQL database.
 
 I used the last version of oVirt with default installation with engine-setup

Note that now it is possible to use vdsm-hook-extnet instead of changing
Engine's database (step 12 and forth). You do not have your NAT network
defined in oVirt, but you can define a vNIC Profile with the property
extnet=natbr0 and whatever network you have defined (say ovirtmgmt).

When you attach a vnic of a VM to your vNIC profile and start the
VM, the hook script kicks into action and points the vnic to natbr0.

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


Re: [Users] Networking. Hosted Setup. All in One Host. Hetzner

2014-02-05 Thread Dan Kenigsberg
On Wed, Feb 05, 2014 at 06:36:32AM -0500, Assaf Muller wrote:
 Could you explain further why does the host need to do any routing?

 From what I gather, the hosting service (Hetzner) allows only IP traffic
out of the box, but Peter may correct me.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Timezone Hypervisor/VM

2014-02-07 Thread Dan Kenigsberg
On Fri, Feb 07, 2014 at 08:01:11AM +, Markus Stockhausen wrote:
  Von: Dan Kenigsberg [dan...@redhat.com]
  Gesendet: Donnerstag, 6. Februar 2014 19:43
  An: Bob; Martin Polednik
  Cc: Markus Stockhausen; ovirt-users
  Betreff: Re: [Users] Timezone Hypervisor/VM
  
  On Thu, Feb 06, 2014 at 12:46:38PM -0500, Bob wrote:
   I have the same issue. I have assumed it was a Windows configuration
   issue. I have relied on sync'ing to Internet Time upon each bootup.
   It would be nice to find a solution to this. My Windows VM
   consistently comes up exactly 5 hours off, and although NTP is
   configured the time is never corrected until I manually sync to
   Internet Time. It certainly appears to be using the wrong TZ (GMT).
  
  I suppose you are seeing
  
  https://bugzilla.redhat.com/show_bug.cgi?id=956741 When RHEL VMs are
  powered off/on time is off by as much as 3 hrs when system comes
  back up
  
  which http://gerrit.ovirt.org/14750 should fix. Which ovirt version are
  you using? Would you agree to verify the patch once Martin backports it?
  
  Dan.
 
 I implemented the above patch on one of our hypervisor nodes. But this
 does not change anything. The VM has always the time difference after reboot
 that is set in table vm_dynamic.

That patch is not intended to change this fact. What it should do is
report a correct timeOffset once your guest OS syncs its time.
 
 We are on GMT+1. if utc_diff = 0 Windows VM time is on hour back. If
 utc_diff = 3600 Windows VM time matches.
 
 Should I file a new BZ?

I'd prefer to make sure we have all the facts first. Would you boot your
VM, and report the vmCreate line from vdsm.log?
The, fix the timezone withing the guest, and report the rtc events from
the log, and the timeOffset reported by `vdsClient -s 0 getAllVmStats`.
Stop the VM and check if Engine's utc_diff has changed.

A detailed BZ report is worth its weight in gold ;-)

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


Re: [Users] vdsm netinfo fails errors with InfiniBand present

2014-02-07 Thread Dan Kenigsberg
On Thu, Feb 06, 2014 at 07:20:20PM -0600, Trey Dockendorf wrote:
 I am seeing lots of entries like the one below on my ovirt nodes that
 have InfiniBand (ib0).
 
 Thread-13::ERROR::2014-02-06 19:03:52,906::netinfo::301::root::(speed)
 cannot read ib0 speed
 Traceback (most recent call last):
   File /usr/lib64/python2.6/site-packages/vdsm/netinfo.py, line 297, in 
 speed
 s = int(speedFile.read())
 IOError: [Errno 22] Invalid argument
 
 I'm seeing related entries in system's syslog.
 
 Feb  6 18:58:31 vm02 vdsm root ERROR cannot read ib0
 speed#012Traceback (most recent call last):#012  File
 /usr/lib64/python2.6/site-packages/vdsm/netinfo.py, line 297, in
 speed#012s = int(speedFile.read())#012IOError: [Errno 22] Invalid
 argument
 
 The file being read exists but I can't cat it.
 
 # cat /sys/class/net/ib0/speed
 cat: /sys/class/net/ib0/speed: Invalid argument
 
 Attached is full vdsm log.
 
 Host is CentOS 6.5.  I just upgraded host from 3.3.2 to 3.3.3 and the
 errors are the same.

I do not know it it's comforting, but http://gerrit.ovirt.org/#/c/21542/
inadvertantly fixes this issue in ovirt-3.4.

Would you check if
http://gerrit.ovirt.org/24197
solves this issue for ovirt-3.3?

BTW, Itzik, do you know why speed is not reported for infiniband?

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


Re: [Users] [ANN] oVirt 3.4.0 beta2 is now available

2014-02-10 Thread Dan Kenigsberg
On Mon, Feb 10, 2014 at 08:04:24AM +0100, Sandro Bonazzola wrote:
 Il 07/02/2014 18:01, Markus Stockhausen ha scritto:
  Von: users-boun...@ovirt.org [users-boun...@ovirt.org]quot; im Auftrag 
  von quot;Sandro Bonazzola [sbona...@redhat.com]
  Gesendet: Freitag, 7. Februar 2014 11:36
  An: annou...@ovirt.org; Users@ovirt.org; engine-devel; arch; VDSM Project 
  Development
  Betreff: [Users] [ANN] oVirt 3.4.0 beta2 is now available
 
  The oVirt team is pleased to announce that the 3.4.0 second beta release 
  is now available for testing.
 
  Release notes and information on the changes for this update are still 
  being worked on and will be available soon on the wiki[1].
  Please ensure to follow install instruction from release notes if you're 
  going to test it.
  The existing repository ovirt-3.4.0-prerelease has been updated for 
  delivering this beta and future refreshes until release candidate.
 
  A new oVirt Node build will be available soon as well.
 
  You're welcome to join us testing this beta release in next week test day 
  [2] scheduled for 2014-02-11!
 
 
  [1] http://www.ovirt.org/OVirt_3.4.0_release_notes
  [2] http://www.ovirt.org/OVirt_3.4_Test_Day
 
  --
  Sandro Bonazzola
  
  Hello Sandro,
  
  may I politely ask to set BZ 1062615 for target release 3.4.0 - and as a 
  blocker too?
 
 Hi,
 The VDSM maintainer has targeted BZ 1062615 for 3.4.1 so it has not been 
 considered as blocker for 3.4.0.
 Dan, any chance of having this fixed in 3.4.0?

It is purely an Engine issue, and apparently this is a very new
regression, so I am joining the request to have this fixed in 3.4.0, and
block GA.

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


Re: [Users] Network question

2014-02-21 Thread Dan Kenigsberg
On Fri, Feb 14, 2014 at 02:54:28PM +0100, René Koch wrote:
 Hi,
 
 On 02/14/2014 09:10 AM, Hans-Joachim wrote:
 Hello,
 
 so far I'm using the nodes host IP@/Interface as well as for the
 ovirtmgmt network and host communication.
 For performance/security reasons I'd like to move it into private
 network, dedicated to oVIRT
 
 as requested... I'l give you more information about my 'problem' ;-)
 
 actual situation:
 ===
 Host ---\
  eth0  10.1.2.3 no VLAN
 ovirtmgmt /
 
 VMs  eth1 bridge no IP@ no VLAN
 
 
 requested situation
 ==
 Host --- eth0 10.1.2.3 no VLAN
 
 VMs  eth1 bridge no IP@ no VLAN
 
 ovirtmgmt  eth2 192.168.1.2 no VLAN
 
 
 So, my question is, do I have to declare th IP@ of the ovirtmgmt in the
 definion of Cluster/Hosts or can I stay with the host IP@?
 
 
 This change isn't that easy, as you will loose connectivity from
 oVirt to your hosts and have to change patch cables. I would do the
 following:
 - configure 192.168.1.x ip on oVirt engine and keep 10.1.2.x address
 - put first host into maintenance mode
 - configure network on host on CLI to match your requested situation
 and patch host accordingly

 - edit host and change IP address to 192.168.1.x (or if you're using
 DNS-Name/hosts-entry for host communication change this)

Please note that if you are using ssl=True to communicate with the
hosts, and added the host with their IP address, their certificates
would become useless, and you'd have to re-add the hosts to oVirt.

The alternetive of changing the address on the DNS saves you this stage.
If that's your situation, you could even reconfigure ovirtmgmt from
ovirt-engine GUI - just remember to turn off the connectivity check
box. After fixing your DNS entry, the reconfigured host should become
reachable again.

 - check/refresh network configuration in network tab of this host
 - activate host
 - repeat steps for all other hosts
 
 As your private ovirtmgmt network is properly not routed, I suggest
 to add a display network which is the 10.1.2.0/xx network or use
 Spice proxy in order to be able to connect to vm consoles.
 
 Maybe there is an easier way to change your network setup - I would
 do it as described above...
 
 
 Regards,
 René
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] smbios hook

2014-02-26 Thread Dan Kenigsberg
On Wed, Feb 26, 2014 at 11:47:36AM +1300, Liviu Elama wrote:
 Thank you Dan
 
 That actually works but I still have on more question: how can I add more
 than just one key in custom properties to use with more than one hook?
 the above method seems to allow only one key to be set for the same cluster
 version
 
 Regards
 Liviu
 
 
 On Tue, Feb 25, 2014 at 8:05 PM, Dan Kenigsberg dan...@redhat.com wrote:
 
  On Tue, Feb 25, 2014 at 02:53:54PM +1300, Liviu Elama wrote:
   Hi
  
   I have a 2 node hosted engine cluster using 3.4 beta3 on centos 6.5 and
  I'm
   trying to use smbios hook(first try to use a hook) and I can't see the
   smbios key in custom properties when I edit a VM.
  
   I have installed the vdsm-hook-smbios on both hosts and restarted vdsm
  and
   restarted the engine as well.
   I can see the hooks available on each hosts from the engine GUI but I
  can't
   see the custom property to modify at VM level.
  
   Can anyone advise if I'm doing the right thing here or what logs should I
   provide for debugging ?
 
  You have to explicitly enabled your custom property in Engine's
  database.
 
  See http://www.ovirt.org/Vdsm_Hooks#VM-level_hooks for an example how
  this can be done with the engine-config utility. You could make your
  users cozy by limiting their input to the likes of
 
  {'serial': '1234'}^{'vendor': 'oVirt'}
 
  or be lazy and allow everything
 
  engine-config -s UserDefinedVMProperties=smbios=.*

You should separate different properties with a semicolon, e.g.:

UserDefinedVMProperties=smbios=.*;some_other_prop=(true|false)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Disk Migration

2014-02-27 Thread Dan Kenigsberg
On Thu, Feb 27, 2014 at 09:12:26AM +0100, Michal Skrivanek wrote:
 
 On Feb 27, 2014, at 08:15 , Nir Soffer nsof...@redhat.com wrote:
 
  - Original Message -
  From: Dafna Ron d...@redhat.com
  To: Maurice James midnightst...@msn.com
  Cc: Ofer Blaut obl...@redhat.com, users@ovirt.org
  Sent: Wednesday, February 26, 2014 7:34:11 PM
  Subject: Re: [Users] Disk Migration
  
  On 02/26/2014 05:24 PM, Maurice James wrote:
  I have a specific interface set up for migrations. Why do disk
  migrations not use the interface that I have set for migrations? Is
  that by design? Shouldnt it use the interfaces that I have set aside
  for migrations? VM migrations work as they should but not disk migrations
  
  I don't think that you can configure interface for disk migration.
  Disk migration is actually copy of information from the original disk to
  a new disk created on a new domain + delete of the original disk once
  that is done.
  it's not actually a migration and so I am not sure you can actually
  configure an interface for that.
  adding ofer - perhpas he has a solution or it's possible and I am not
  aware of it.
  
  I guess that *not* using the migration network for storage operation is
  the expected behavior, to make migration faster and safer.
  
  Michal, Dan, can you elaborate on this?
 
 with storage offloading it's probably not going to be significant, however 
 today it likely is.
 Nir, why would not using migration network make it better? Won't we have the 
 same problem as before without migration network at all, i.e. choking the 
 management channel?
 Should we maybe consider a dedicated storage network?

As far as I understand Nir, you are saying the same thing: it's better
to separate management, migration, and storage to separate networks, so
that one does not choke the other.

When we get host network QoS done (hopefully ovirt-3.5) we can do this
quite cheaply, over vlans.

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


Re: [Users] Migration Failed

2014-02-27 Thread Dan Kenigsberg
On Thu, Feb 27, 2014 at 10:42:54AM +0100, Koen Vanoppen wrote:
 Sorry...
 I added the correct one now

Still, I fail to find the relevant ::ERROR:: line about migration.
But as Michal mentioned, Could not connect to peer VDS means that
source vdsm failed to contact the destination one.

This can stem from physical or logical network problem.
Can you ping from source to dest?
Can what happens when you log into source host and run

  vdsClient -s fqdn-of-destination-host list

? do you get any response? What happens if you disable your firewall?

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


Re: [Users] oVirt 3.5 planning - bandwidth accounting

2014-02-27 Thread Dan Kenigsberg
On Thu, Feb 27, 2014 at 02:14:32PM +0100, Johan Kooijman wrote:
 Dan,
 
 How about storing the rx_byte per 5 minutes in the engine DB? That way a
 reset of the counters has a minimal impact and analytics as traffic for VM
 x in month Y could be made.
 
 Another approach could be to have iptables keep the count?

I do not see how iptables can help here. On the host, Vdsm reports how
much traffic did VM x consume. However, when the VM is migrated to
another host, the accounting at the destination are reset.

If Engine simply copied the value, you can start month Y with 10GiB of
traffic, and end it with 7KiB.

This should be solved by Engine, probably by banking the Vdsm-reported
values on certain occasions (vm shutdown, migration, counter reset), and
exposing only the accumulated result.

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


Re: [Users] The purpose of Wipe on delete ?

2014-03-02 Thread Dan Kenigsberg
On Thu, Feb 27, 2014 at 09:16:10PM +, Dafna Ron wrote:
 wipe = writing zero's on the space allocated to that disk to make
 sure any data once written will be deleted permanently.
 
 so it's  a security vs speed decision on using this option - since
 we zeroing the disk to make sure any information once written will
 be overwritten, a delete of a large disk can take a while.

To be more precise: if not using Wipe on delete on block storage, the
same storage used by the deleted disks is to be used for a future vDisk.
If that disk is to be allocated as raw storage, and it is attached to
another VM, that VM would have access to the original data.

If you trust your VMs, or use qcow, or mkfs before running guests, you
do not need this io-eating flag.

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


Re: [Users] Adding FC19 Host to oVirt Engine 3.3.3-2.fc19 - Failed to configure management network on the host

2014-03-03 Thread Dan Kenigsberg
On Mon, Mar 03, 2014 at 04:42:25AM -0500, Moti Asayag wrote:
 
 The engine attempts to configure the management network on top of 'em1' 
 device which is reported 
 in the getVdsCaps without the cfg element:
 
 'em1': {'netmask': '255.255.0.0', 'addr': '10.10.22.114', 'hwaddr': 
 'e8:39:35:2b:3c:26', 'cfg': {}, 'ipv6addrs': 
 ['fe80::ea39:35ff:fe2b:3c26/64'], 'speed': 5000, 'mtu': '1500'}
 
 IIRC this issue is already reported and can be solved by creating the 
 ifcfg-em1 on the host.
 Toni, could you confirm ?

Ondrej is working of a fix for this bug in these very days
http://gerrit.ovirt.org/#/c/25170/
Independent verification most welcome (hint hint).
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] hosted engine help

2014-03-07 Thread Dan Kenigsberg
On Fri, Mar 07, 2014 at 10:17:43AM +0100, Sandro Bonazzola wrote:
 Il 07/03/2014 01:10, Jason Brooks ha scritto:
  Hey everyone, I've been testing out oVirt 3.4 w/ hosted engine, and
  while I've managed to bring the engine up, I've only been able to do it
  manually, using hosted-engine --vm-start.
  
  The ovirt-ha-agent service fails reliably for me, erroring out with
  RequestError: Request failed: success.
  
  I've pasted error passages from the ha agent and vdsm logs below.
  
  Any pointers?
 
 looks like a VDSM bug, Dan?

Why? The exception is raised from deep inside the ovirt_hosted_engine_ha
code.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [oVirt Test Day 3] all-in-one

2014-03-07 Thread Dan Kenigsberg
On Fri, Mar 07, 2014 at 11:49:06AM +0100, Sandro Bonazzola wrote:
 Il 07/03/2014 11:04, dan...@redhat.com ha scritto:
  Hi,
  
  I've tested all-in-one, and it went much smoother than I've
  expected! I must admit that it was a rather shallow test.
  
  - Installed a fresh CentOS 6.5 minimal installation
  - Followed http://www.ovirt.org/OVirt_3.4_Test_Day#Installation_notes
  - Followed http://www.ovirt.org/Feature/AllInOne#Installation_flow
  - Followed http://www.ovirt.org/Quick_Start_Guide#Install_oVirt
  - Typed Yes Yes Yes like a blind baboon
  - Connected to the admin portal
  - Created a VM
  - Ran it
  - Hibernated it.
  
  All went well. However, as reproted by Piotr in a parallel thread, I
  failed connect with spice to the VM. I had to run `service iptables
  restart` to make enable the iptables rules that were installed.
  
  Sandro, can this be done automatically?
  
 
 Sure, need to investigate on this iptables restart requirement.
 Can you open a BZ about it?

I can, and I just have: Bug 1073965 - iptables rules are not applied at
the end of all-in-one installation
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] vdsm python error

2014-03-08 Thread Dan Kenigsberg
On Fri, Mar 07, 2014 at 07:57:15PM -0700, jacek burghardt wrote:
 I am attempting to use vdsm with arch linux and I am getting this error
 when I run vdsm-tool
 Traceback (most recent call last):
   File /usr/bin/vdsm-tool, line 151, in main
 return tool_command[cmd][command](*args[1:])
   File /usr/lib/python2.7/site-packages/vdsm/tool/configurator.py, line
 220, in configure
 if service.service_status(s, False) == 0:
   File /usr/lib/python2.7/site-packages/vdsm/tool/service.py, line 378,
 in service_status
 return _runAlts(_srvStatusAlts, srvName)
   File /usr/lib/python2.7/site-packages/vdsm/tool/service.py, line 341,
 in _runAlts
 rc, out, err = alt(srv, *args, **kwarg)
   File /usr/lib/python2.7/site-packages/vdsm/tool/service.py, line 110,
 in wrapper
 rc, out, err = execCmd(cmd, raw=False)
   File /usr/lib/python2.7/site-packages/vdsm/tool/service.py, line 36, in
 execCmd
 return _execCmd(argv, raw=raw, *args, **kwargs)
   File /usr/lib/python2.7/site-packages/vdsm/utils.py, line 682, in
 execCmd
 deathSignal=deathSignal, childUmask=childUmask)
 TypeError: __init__() got an unexpected keyword argument 'childUmask'
 How I can solve it ?

You need to upgrade you python-cpopen package to v1.3
https://pypi.python.org/pypi/cpopen

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


Re: [Users] oVirt 3.5 planning - bandwidth/cpu/io accounting

2014-03-12 Thread Dan Kenigsberg
On Thu, Feb 27, 2014 at 12:03:55PM +, Dan Kenigsberg wrote:
 There are users that would like to tell how much traffic each vnic of
 each VM has consumed in a period of time. Currently, we report only
 bitrate as a percetage of an estimated vnic speed. Integrating this
 value over time is inefficent and error prone.
 
 I suggest to have all the stack (Vdsm, Engine, dwh) report the
 actually-trasmitted (and actually-received) byte count on each vnic, as
 well as the time when the sample was taken.
 
 Currently, Vdsm reports
 
'eth0': {'rxDropped': '0',
 'rxErrors': '0',
 'rxRate': '8.0',
 'speed': '1000',
 'state': 'up',
 'txDropped': '0',
 'txErrors': '0',
 'txRate': '10.0'},
 
 but it should add rxKiBytes, txKiBytes and time to the frill.
 
 GUI could still calculate the rate for illustration, based on the raw
 trasmission and the sample time.
 
 Until we break backward compatibility, we'd keep reporting the flaky
 rxRate/txRate, too.
 
 I can think of only two problems with this approach: Linux byte counters would
 eventually reset when they overflow. This is currently hidden by Vdsm, but 
 with
 the suggested change, would have to be handled by higher levels of the stack.
 
 A similar problem appears on migration: the counters would reset and Engine
 would need to know how to keep up the accounting properly.
 
 I've opened
 
 Bug 1066570 - [RFE] Report actual rx_byte instead of a false rxRate
 
 to track this request of mine.

For the reconrd, I'm told that there is a very similar need for
reporting accumulated guest CPU cycle IO operations consuption.
Martin, do we already have BZs for the other two use cases?

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


Re: [Users] oVIRT3.3.3 Live Migration fails

2014-03-16 Thread Dan Kenigsberg
On Thu, Mar 13, 2014 at 12:39:24PM -0400, Hans-Joachim wrote:
 Hello,
 
 Thank you for your help.
 
 finally, it was a mismatch between a server running in SE permissive mode and 
 a server running in disabled mode.

Yet another reminder that we should implement

894084  [RFE] engine should check and enforce selinux state in
cluster policies

Having Vdsm report selinux state (disabled/enforcing/permissive) in
getVdsCaps should be a piece of cake.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Instructions to add a remote controlled power strip not in the native list?

2014-03-25 Thread Dan Kenigsberg
On Tue, Mar 25, 2014 at 09:00:42AM -0700, David Smith wrote:
 oh I see, since I have the latest fence, that's where option is now
 missing, got it.. just a minor tweak to api.py ;)
 
 
 On Tue, Mar 25, 2014 at 8:25 AM, David Smith dsm...@mypchelp.com wrote:
 
  Hehe. Apparently not, unless I pulled an old copy of fence-agents somehow
  direct from git? I used the master branch too.
 
 

Is there any reason for you not to use the pre-packaged fence-agents?
I am not very happy about intoducing non-necessary changes to
old stable branches like ovirt-3.3. To do this, I'd need a BZ opened,
explaining why this is actually a good thing.

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


Re: [Users] Instructions to add a remote controlled power strip not in the native list?

2014-03-25 Thread Dan Kenigsberg
On Tue, Mar 25, 2014 at 05:46:58AM -0400, Eli Mesika wrote:
 
 
 - Original Message -
  From: David Smith dsm...@mypchelp.com
  To: Eli Mesika emes...@redhat.com
  Cc: Marek Grac mg...@redhat.com, users users@ovirt.org, Yedidyah 
  Bar David d...@redhat.com
  Sent: Tuesday, March 25, 2014 3:04:53 AM
  Subject: Re: [Users] Instructions to add a remote controlled power strip 
  not in the native list?
  
  All right, serious progress. Thanks to all for your nudges in the right
  direction.
  I've managed to get my ovirt to recognize and use the agent.
  I have a new problem however
  
  I get this message when the fence_raritan agent is run: Ignoring unknown
  option 'option=status' fence
  So it appears that my fence_raritan agent is being sent --option instead
  of --action
  
  Since the default behavior is reboot (fence_raritan expects --action= not
  --option=) the systems reboot every time a status request is sent :( hehe
  
  Related:? https://bugzilla.redhat.com/show_bug.cgi?id=987446
  I'm not using concurrent
 
 Not related 
 
  
  So the question is, does anyone here know what the best course of action to
  resolve this issue is?  My host machines are running centos 6.5.
  Is this problem within a fencing package, ovirt, or other?
 
 AFAIK this is related to http://gerrit.ovirt.org/#/c/24343/ which changed 
 --option to --action 
 danken ?

I smells very much related.
Where is fence_raritan comming from? Could you have the el6 version of
it support the legacy --option name?

If not, we could consider taking http://gerrit.ovirt.org/#/c/26075/.

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


Re: [Users] Instructions to add a remote controlled power strip not in the native list?

2014-03-25 Thread Dan Kenigsberg
On Tue, Mar 25, 2014 at 11:37:13AM -0700, David Smith wrote:
 I created fence_raritan.
 
 Unfortunately it looks like fencing.py is where the legacy --option was
 translated to --action. I believe ovirt calls fencing.py as a proxy to
 execute fence_raritan?
 
 The version of fence-agents I pulled from git has the backwards
 compatibility removed;
 https://lists.fedorahosted.org/pipermail/cluster-commits/2013-February/003090.html
 
 
 So if I added support for it in fence_raritan I'm not sure it would work (I
 can try) but also the fence-agents guys probably wouldn't take the
 submission to have it added to future code.

Indeed - I do not expect upstream fence-agents to accept the legacy
option. However, you could backport your own code to el6, and create a
fence-agents-raritan rpm from it.

 
 I edited API.py as in http://gerrit.ovirt.org/#/c/26075/ and re-compiled
 API.py to pyc and pyo files and copied to all my hosts, yet I'm still
 getting an error, so I'm wondering if that change is incomplete or I missed
 some other step to make this actually work.  It's really a bummer
 especially since the default behavior with no action is reboot ;)

I suppose that you have missed something. My don't you place API.py
under /usr/share/vdsm ? And make sure you restart vdsmd, to make the new
code take effect?

 
 
 *Thread-199071::DEBUG::2014-03-25 10:28:10,587::API::1110::vds::(fenceNode)
 fenceNode(addr=10.105.128.25,port=,agent=raritan,user=admin,passwd=,action=status,secure=,options=port=/system1/outlet6)*
 
 
 *Thread-199071::DEBUG::2014-03-25 10:28:13,104::API::1136::vds::(fenceNode)
 rc 0 in agent=fence_raritan*
 *ipaddr=10.105.128.25*
 *login=admin*
 *option=status*
 *passwd=*
 *port=/system1/outlet6 out Success: Rebooted*
 * err Parse error: Ignoring unknown option 'option=status'*
 
 
 On Tue, Mar 25, 2014 at 6:28 AM, Dan Kenigsberg dan...@redhat.com wrote:
 
  On Tue, Mar 25, 2014 at 05:46:58AM -0400, Eli Mesika wrote:
   AFAIK this is related to http://gerrit.ovirt.org/#/c/24343/ which
  changed --option to --action
   danken ?
 
  I smells very much related.
  Where is fence_raritan comming from? Could you have the el6 version of
  it support the legacy --option name?
 
  If not, we could consider taking http://gerrit.ovirt.org/#/c/26075/.
 
  Dan.
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM satelit is down. Exit message: 'int' object has no attribute 'replace'.

2014-03-31 Thread Dan Kenigsberg
On Mon, Mar 31, 2014 at 01:38:29PM +0300, Gabi C wrote:
 Hello!
 
 3.3.3 migrated to latest stable 3.4.0
 
 3 nodes F19
 
 KVM Version:1.4.2 - 15.fc19
 LIBVIRT Version:libvirt-1.0.5.9-1.fc19
 VDSM Version:libvirt-1.0.5.9-1.fc19
 
 oVirt Engine Version: 3.4.0-1.fc19
 
 
 Upgraded took place with 3 Vm up and 2 down: first upgraded engine,then
 after freeing one node at a time node of and updating it.
 
 
 After upgrade when I try to run any of the 2 powered down machines, I get
 VM . is down. Exit message: 'int' object has no attribute
 'replace'.

Would you share an excerpt of your /var/log/vdsm/vdsm.log? Most
interesting is the backtrace ending up with this error message.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM satelit is down. Exit message: 'int' object has no attribute 'replace'.

2014-04-01 Thread Dan Kenigsberg
On Mon, Mar 31, 2014 at 04:57:44PM +0300, Gabi C wrote:
 Hello!
 
 Has that fix pushed into the repository yet?
 
 
 Seems that removing Qos profiles from the NIC profiles did the trick..VM is
 up!
 
 Thanks guys!

No, thank you for reporting this.

The patch still awaits verification http://gerrit.ovirt.org/#/c/26254/

I would very much appreciate if you can apply it on your host's vdsm,
re-add the QoS profiles, and report if life is good again.

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


Re: [Users] VM satelit is down. Exit message: 'int' object has no attribute 'replace'.

2014-04-03 Thread Dan Kenigsberg
On Wed, Apr 02, 2014 at 10:06:00AM +0300, Gabi C wrote:
 I'll try and let you know, but is a little bit difficult due to the fact
 that my setup is a production one!

The patch has now been merged, and would get into the next release of
Vdsm (most probably not before ovirt-3.4.1)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.3 vnic profile with bonding vlans problem

2014-04-04 Thread Dan Kenigsberg
On Fri, Apr 04, 2014 at 11:25:15AM +, Sven Kieske wrote:
 Well I created BZs for ovirt
 and libvirt for this apparently
 almost completely broken feature:
 
 libvirt:
 https://bugzilla.redhat.com/show_bug.cgi?id=108
 ovirt:
 https://bugzilla.redhat.com/show_bug.cgi?id=1084448
 -- 
 Mit freundlichen Grüßen / Regards
 
 Sven Kieske
 
 Systemadministrator
 Mittwald CM Service GmbH  Co. KG
 Königsberger Straße 6

Nice to meet someone who works on my street (almost) ;-)
Thanks for reporting these bugs !

 32339 Espelkamp
 T: +49-5772-293-100
 F: +49-5772-293-333
 https://www.mittwald.de
 Geschäftsführer: Robert Meyer
 St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
 Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Error installing self hosted engine

2014-04-04 Thread Dan Kenigsberg
On Fri, Apr 04, 2014 at 04:28:29PM +0200, Sandro Bonazzola wrote:
 Il 01/04/2014 16:15, Sandro Bonazzola ha scritto:
  Il 01/04/2014 15:38, ovirt-t...@arcor.de ha scritto:
  Hello,
 
  I'm new to this list and I need help installing a self hosted engine
 
  I've installed CentOS 6.5 and oVirt 3.4. The following repositories are 
  enabled:
  yum localinstall 
  http://resources.ovirt.org/releases/ovirt-release.noarch.rpm
  yum localinstall 
  http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
  yum localinstall 
  http://mirrors.dotsrc.org/jpackage/6.0/generic/free/RPMS/jpackage-release-6-3.jpp6.noarch.rpm
 
  Just wanted to check out the self hosted feature. But I get this error:
 
  # hosted-engine --deploy
  [ INFO  ] Stage: Initializing
Continuing will configure this host for serving as hypervisor 
  and create a VM where you have to install oVirt Engine afterwards.
Are you sure you want to continue? (Yes, No)[Yes]: 
  [ INFO  ] Generating a temporary VNC password.
  [ INFO  ] Stage: Environment setup
Configuration files: []
Log file: 
  /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140401153028.log
Version: otopi-1.2.0 (otopi-1.2.0-1.el6)
  [ INFO  ] Hardware supports virtualization
  [ INFO  ] Stage: Environment packages setup
  [ INFO  ] Stage: Programs detection
  [ INFO  ] Stage: Environment setup
  [ ERROR ] Failed to execute stage 'Environment setup': Fault 1: type 
  'exceptions.TypeError':cannot marshal None unless allow_none is enabled
  [ INFO  ] Stage: Clean up
  [ INFO  ] Stage: Pre-termination
  [ INFO  ] Stage: Termination
 
  It is not this error:
  http://lists.ovirt.org/pipermail/users/2014-March/022424.html
 
  In my logfile are the following errors:
  2014-04-01 15:30:32 DEBUG otopi.plugins.otopi.services.rhel 
  plugin.executeRaw:366 execute: ('/sbin/service', 'vdsmd', 'status'), 
  executable='None', cwd='None', env=None
  2014-04-01 15:30:32 DEBUG otopi.plugins.otopi.services.rhel 
  plugin.executeRaw:383 execute-result: ('/sbin/service', 'vdsmd', 
  'status'), rc=0
  2014-04-01 15:30:32 DEBUG otopi.plugins.otopi.services.rhel 
  plugin.execute:441 execute-output: ('/sbin/service', 'vdsmd', 'status') 
  stdout:
  VDS daemon server is running
 
  2014-04-01 15:30:32 DEBUG otopi.plugins.otopi.services.rhel 
  plugin.execute:446 execute-output: ('/sbin/service', 'vdsmd', 'status') 
  stderr:
 
 
  2014-04-01 15:30:32 DEBUG otopi.plugins.otopi.services.rhel 
  rhel.status:147 service vdsmd status True
  2014-04-01 15:30:32 DEBUG otopi.context context._executeMethod:152 method 
  exception
  Traceback (most recent call last):
File /usr/lib/python2.6/site-packages/otopi/context.py, line 142, in 
  _executeMethod
  method['method']()
File 
  /usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/system/vdsmenv.py,
   line 157, in _late_setup
  self._connect()
File 
  /usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/system/vdsmenv.py,
   line 78, in _connect
  hwinfo = serv.s.getVdsHardwareInfo()
File /usr/lib64/python2.6/xmlrpclib.py, line 1199, in __call__
  return self.__send(self.__name, args)
File /usr/lib64/python2.6/xmlrpclib.py, line 1489, in __request
  verbose=self.__verbose
File /usr/lib64/python2.6/xmlrpclib.py, line 1253, in request
  return self._parse_response(h.getfile(), sock)
File /usr/lib64/python2.6/xmlrpclib.py, line 1392, in _parse_response
  return u.close()
File /usr/lib64/python2.6/xmlrpclib.py, line 838, in close
  raise Fault(**self._stack[0])
  Fault: Fault 1: type 'exceptions.TypeError':cannot marshal None unless 
  allow_none is enabled
  2014-04-01 15:30:32 ERROR otopi.context context._executeMethod:161 Failed 
  to execute stage 'Environment setup': Fault 1: type 
  'exceptions.TypeError':cannot marshal None unless allow_none is enabled
  2014-04-01 15:30:32 DEBUG otopi.context context.dumpEnvironment:468 
  ENVIRONMENT DUMP - BEGIN
 
 Corresponding to the above call to getVdsHardwareInfo vdsm log shows:
 
 Thread-22::DEBUG::2014-04-01 
 15:30:32,100::BindingXMLRPC::1067::vds::(wrapper) client [127.0.0.1]::call 
 getHardwareInfo with () {}
 Thread-22::DEBUG::2014-04-01 
 15:30:32,110::BindingXMLRPC::1074::vds::(wrapper) return getHardwareInfo with 
 {'status': {'message': 'Done', 'code': 0},
 'info': {'systemProductName': 'ProLiant DL380 G5', 'systemSerialNumber': 
 'CZC6451JFR',

That's the culprit:

 'systemFamily': None,

Vdsm must never return None since it cannot be marshaled over standard
xmlrpc.

Please open an Vdsm bug on this!

 'systemVersion': 'Not Specified',
 'systemUUID': '435a4336-3435-435a-4336-3435314a4652', 'systemManufacturer': 
 'HP'}}
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Network custom properties

2014-04-06 Thread Dan Kenigsberg
On Sun, Apr 06, 2014 at 11:33:29AM +0300, Lior Vernia wrote:
 Hello all,
 
 Introducing the oVirt 3.5 feature of network custom properties:
 http://www.ovirt.org/Features/Network_Custom_Properties
 
 Essentially, this feature aims to solve two RFEs, that request the
 ability to set bridge and ethtool options on host interfaces from the
 GUI/REST:
 https://bugzilla.redhat.com/show_bug.cgi?id=1080984
 https://bugzilla.redhat.com/show_bug.cgi?id=1080987
 
 It will do so by adding custom properties (key:value pairs) to networks
 assigned to host interfaces, which can in turn be acted upon via hooks
 when e.g. a Setup Networks command is triggered.
 
 Two predefined keys will include bridge_opts and ethtool_opts, but any
 arbitrary custom property could be supplied as well.
 
 Please take a look at the detailed feature page and let me know if you
 have any comments.

Thanks for taking this feature! I think that it's very important to open
up our network configuration to all sorts of things that users want and
we have not even thought about.

I did not read all the page, but I'm worried about
http://www.ovirt.org/Features/Network_Custom_Properties#Vdsm
The network-specific custom properties should be specific to a network,
not to a setupNetwork command. They cannot be part of
@SetupNetworkOptions, as two different network being set up by a single
command may have different custom properties.

The following example dictionary adds to the confusion with what seems
to be a typo (bootproto is certainly not an option of 'bonding').

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


Re: [Users] Cannot Ping CARP/Spoofed address

2014-04-06 Thread Dan Kenigsberg
On Mon, Apr 07, 2014 at 01:36:02AM +0200, Matt . wrote:
 Hi Guys,
 
 I'm trying to use Mac spoofing for a Carp setup which is not working out
 well.
 
 Following here:
 
 https://forum.pfsense.org/index.php?topic=68137.0
 
 and here
 
 http://lists.ovirt.org/pipermail/users/2013-October/017217.html
 
 This should be working by:
 
 engine-config -s EnableMACAntiSpoofingFilterRules=false --cver=3.3
 
 (The clusters are 3.3 compatible)
 
 In some strange way this is not working in any way.
 
 How can we solve this, as I'm out of options.

Could you attach vdsm.log from vmCraete of the relevant VM down to the
domxml passed to libvirt?

Please note that it is possible to enable mac spoofing not in the global
system level, but rather on a specific vNIC of a specific VM.

For this, you'd need to install vdsm-hook-macspoof, device a vNIC
profile with ifacemacspoof=True custom property, and attach it to your
specific VM.

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


Re: [Users] Cannot Ping CARP/Spoofed address

2014-04-07 Thread Dan Kenigsberg
On Mon, Apr 07, 2014 at 05:01:07AM +0200, Matt . wrote:
 HI,
 
 I managed it by using the commands on that hook page. It seems that you
 enable it for a whole VM indeed.

The hook has too options: either macspoof (for the whole VM) or
ifacemacspoof (for a single vNIC).

If one of them does the other thing, it's a bug that I'd like to know
about (preferably with the complete log requested earlier).

 
 Nice!
 
 Thanks for the clarification!
 
 Cheers,
 
 Matt
 
 
 2014-04-07 4:07 GMT+02:00 Matt . yamakasi@gmail.com:
 
  Hi Dan,
 
  Thank you for your reply!
 
  I have installed that hook and removed it again because I was not sure.
 
  Following the mailinglist it looks like it's globally doable, so it's
  actually not ?
 
  I understand that but what would be the right steps than ? For an example
  when you have a vm with 4 nics ?
 
  Cheers,
 
  Matt
 
 
  2014-04-07 2:00 GMT+02:00 Dan Kenigsberg dan...@redhat.com:
 
  On Mon, Apr 07, 2014 at 01:36:02AM +0200, Matt . wrote:
 
   Hi Guys,
  
   I'm trying to use Mac spoofing for a Carp setup which is not working out
   well.
  
   Following here:
  
   https://forum.pfsense.org/index.php?topic=68137.0
  
   and here
  
   http://lists.ovirt.org/pipermail/users/2013-October/017217.html
  
   This should be working by:
  
   engine-config -s EnableMACAntiSpoofingFilterRules=false --cver=3.3
  
   (The clusters are 3.3 compatible)
  
   In some strange way this is not working in any way.
  
   How can we solve this, as I'm out of options.
 
  Could you attach vdsm.log from vmCraete of the relevant VM down to the
  domxml passed to libvirt?
 
  Please note that it is possible to enable mac spoofing not in the global
  system level, but rather on a specific vNIC of a specific VM.
 
  For this, you'd need to install vdsm-hook-macspoof, device a vNIC
  profile with ifacemacspoof=True custom property, and attach it to your
  specific VM.
 
  Dan.
 
 
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vdsm dependency rsyslog?

2014-04-10 Thread Dan Kenigsberg
On Wed, Apr 09, 2014 at 04:15:26PM +, Sven Kieske wrote:
 Hi,
 
 I just observed that vdsm
 has a hard dependency on rsyslog.
 
 Could anybody enlighten me why this
 is needed?

 As I understand it's a python
 script which could log to any configurable
 logging facility.
 
 What about other syslog services?

Incidently, the same issue has been raised in

Bug 1083100 - vdsm depends on rsyslog

Could you present (here, or on bugzilla) your use case for another
syslog service? Which one? Or do you want to turn it off completely?

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


Re: [ovirt-users] off topic = newbie with bugzilla, gerrit and ovirt VDSM 4.14

2014-04-10 Thread Dan Kenigsberg
On Wed, Apr 09, 2014 at 11:06:44AM -0300, Tamer Lima wrote:
 Hi,
 
 I have a problem with an automatic yum vdsm upgrade  (4.13 to 4.14)  on
 ovirt 3.3  : Host x.x.x.x is installed with VDSM version (4.14) and cannot
 join cluster Default which is compatible with VDSM versions
 [4.13,4.9,4.11,4.12,4.10].
 
 I am searching the solution and one of them (from bz Bug 1083008 ) points
 to gerrit site(http://gerrit.ovirt.org/#/c/23456/)
 
 I do not have any experience in solving bugs, neither bz, gerrit,
 github
 How to initialize in this world and solve the ovirt problem ?
 
 another thing : does downgrade or remove vdms package excludes the
 installed virtual machines ?
 
 
 I know about ovirt 3.4 is the new release, but I want to learn how to solve
 some bugs when new releases is not launched;
 
 (off course I am afraid to upgrade to ovirt 3.4 too :) )

Which exact version of Engine do you have?
We have a recurrent bug of Engine not honoring Vdsm's supportedENGINEs.
(Cf. Bug 1016461 - [vdsm] engine fails to add host with vdsm version
4.13.0)

The simplest hack to do is to add 4.14 to SupportedVDSMVersions in
Engines database. Eli and Yair could give the exact command line for
that.

I believe that there's work to fix this properly on Engine's side.

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


Re: [ovirt-users] off topic = newbie with bugzilla, gerrit and ovirt VDSM 4.14

2014-04-11 Thread Dan Kenigsberg
On Fri, Apr 11, 2014 at 04:06:48PM +0300, Itamar Heim wrote:
 On 04/10/2014 11:04 PM, Tamer Lima wrote:
 
 hi,
 
 I have now ovirt 3.4 with vdsm 4.14
 
 danken - the bug you referenced is fixed in 3.3, yet recurs in 3.4?

I have very little explanations.

The bug was hidden by an ad-hoc patch, adding 4.13 to
SupportedVDSMVersions. I hope that Yaniv, Yair or Eli have better
knowledge about the real fix, of honoring vdsm's supportedENGINEs again.


 
 
 Well, my question is not exactly how to solve an specific problem.
   In fact, what I want is learn how to apply the corrections proposed on
 bugzila, gerrit, etc.  Or this is only for ovirt internal developers ?
 thanks
 
 we'll be happy if you try.
 this would be the starting point. if anything is not clear, ask, and
 we should probably add it there:
 http://www.ovirt.org/Develop
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM samba4 is down. Exit message: 'int' object has no attribute 'replace'.

2014-04-16 Thread Dan Kenigsberg
On Tue, Apr 15, 2014 at 07:28:20AM +, Sven Kieske wrote:
 Hi,
 
 well it turns out I'm happy to
 _not_ have already upgraded to 3.4.
 because I heavily rely on vlans.
 
 revisiting
 http://www.ovirt.org/OVirt_3.4_release_management
 
 I see the following criteria:
 
  MUST: vm life-cycle is working flawlessly
 (start,suspend,resume,stop,migrate)
 
 MUST: Can define VLAN based networks, bond interfaces, and have VLANs
 over bonded interfaces
 
 however it seems that the combination of both of
 these features didn't get tested.
 
 I therefore suggest to add a new MUST
 to the VLAN based networks:
 
 MUST: vm life-cycle is working flawlessly
 (start,suspend,resume,stop,migrate)
 with VLANs
 
 what do you think?

I think that this is an unfortunate bug that creeped into ovirt-3.4.0.

However, please that note that it does not affect the plain network
definitions described in the release criteria, but rather a more complex
one, that includes QoS support.

Since it's creating too much grief, I'm inclined to ask Douglas if he
could rebuild vdsm for el6 and Fedora with that single patch added to
it. Can this be done?

 
 Am 14.04.2014 21:33, schrieb Gabi C:
  http://gerrit.ovirt.org/#/c/26254/
  
  See list on 31 march thread started by me
  Brief...disable QOS
  On Apr 14, 2014 2:56 PM, René Koch rk...@linuxland.at wrote:
  
 
 -- 
 Mit freundlichen Grüßen / Regards
 
 Sven Kieske
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] almost there

2014-04-16 Thread Dan Kenigsberg
On Wed, Apr 16, 2014 at 05:13:01AM +0200, i...@aliengine.it wrote:
 Hello everyone 
 
 I wrestled alot to come to this point now I am in the process to install
 the first kvm but when I click on run once it seems unable to find the
 iso.

Could you provide the exact error message and explain where it is shown?
Could you explain your data center and host cluster? How did you define
them? How many hosts are there? Which storage does it use?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Users] Updating AIO from 3.3.4 to 3.4

2014-04-16 Thread Dan Kenigsberg
On Wed, Apr 16, 2014 at 11:24:22AM +0200, Sandro Bonazzola wrote:
 Il 03/04/2014 21:20, Gianluca Cecchi ha scritto:
  Hello,
  I know that AIO setup is only for experimenting and trying but I find
  it very useful in several situations. So having a 3.3.4 All-In_one
  installation on fedora19 and wanting to update it to 3.4 I have some
  doubts.
  In release notes I see for general updates:
  
  On Fedora 19 you'll need to enable fedora-updates repository for
  having updated openstack packages -- OK. It is normally already
  enabled
  
  On Fedora 19, you'll need to enable fedora-virt-preview repository for
  using Fedora 19 as node on 3.4 clusters -- how do I managed this?
  This is indeed a node too, so I have to enable virt-preview for it?
  Correct?
 
 Correct
 
  
  BTW: Is this note still true in general or did the related virt
  packages go into fedora-updates, or is it planned in coming
  days/weeks?
 
 It's still true in general. libvirt people said they won't update F19 with 
 the virt-preview packages.
 
 
  When engine-setup is run and detects that a newer version is available
  and outputs that I have to run
  
  yum update ovirt-engine-setup
  
  is it correct to say that in AIO setups I should actually run
  
  yum update ovirt-engine-setup ovirt-engine-setup-plugin-allinone
 
 On all-in-one think that it may be useful a general yum update in order to 
 get libvirt, vdsm and ovirt-engine-setup*
 If you want to update only the minimum for the upgrade, better go with yum 
 update ovirt-engine-setup*
 
 
 
  
  or is it the latest package not crucial to be updated before new
  engine-setup is run?
  
  At the end of engine update can I simply put the AIO server into
  maintenance (as a node) and run yum update so that vdsm (aka node)
  packages are updated too and so the server will become a 3.4 enabled
  node after reboot?
 
 I think you should move the system in maintenance before running engine-setup.
 I also don't think that a full reboot is needed, I think that just service 
 vdsmd restart should be enough.
 But Dan can tell you if the reboot is needed.

Actually, vdsm restarts itself (and supervdsm) on rpm upgrade, so if
anything explicit is required (certainly a reboot), it's a bug.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Connection hickups with Pfsense and Carp

2014-04-17 Thread Dan Kenigsberg
On Thu, Apr 17, 2014 at 01:11:13AM +0200, Matt . wrote:
 OK, also this is finetuned, but it would be nice to have some more info
 about the hooks in these cases... it's interesting as oVirt has the right
 settings to start with but we need to know what we need to set when we have
 a setup like this for an example.

Could you explain what you have done, and what do you need promiscuouity
for? oVirt has port mirroring that allows to mirror ip traffic from
one vm network to another.

 
 
 2014-04-17 0:35 GMT+02:00 Matt . yamakasi@gmail.com:
 
  Traffic issues are solved, but the advertising in not that well.
 
  I see on ESXi (vSphere) that you need to enable Promiscuous Mode, but
  how on oVirt ?
 
  http://www.blissfulidiot.com/2013/11/using-carp-with-vmware-esxi.html
 
  Do I need the vdsm-hook-promisc for it ? as I need to make real settings
  on a VM there I think the vswitch only needs the mode.
 
  Information is welcome!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vdsm host hooks

2014-04-17 Thread Dan Kenigsberg
On Wed, Apr 16, 2014 at 08:13:55PM -0400, Maurice James wrote:
 Does anyone know of a good reference/how-to for vdsm host hooks? 

I'm not sure how good they are, but here are few
- http://www.ovirt.org/Vdsm_Hooks
- http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=tree;f=vdsm_hooks
- http://developerblog.redhat.com/2014/02/25/extending-rhev-vdsm-hooks/

What would you like to do with Vdsm hooks?

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


Re: [ovirt-users] oVirt Networking query

2014-04-21 Thread Dan Kenigsberg
On Fri, Apr 18, 2014 at 09:43:06PM +, Rudrajit Tapadar (rtapadar) wrote:
 Hi Lior,
 
 Thanks for your response. I¹ll surely take a look at the configurator.
 
 I have used macvtap in passthru mode on a eth to sniff all packets from
 all vlans. Hence I was wondering if this is supported in oVirt.
 
 -Rudrajit
 
 On 4/18/14, 1:56 PM, Lior Vernia lver...@redhat.com wrote:
 
 Hi Rudrajit,
 
 Welcome, I hope you'll like it! See comments inline.
 
 On 18/04/14 21:53, Rudrajit Tapadar (rtapadar) wrote:
  Hello!
  
  I am a newbie to ovirt and I had a couple of questions and I was hoping
  I could get some help.
  
   1. Does ovirt support openvswitch without going through Neutron? So far
  all the documents that I came across uses Neutron as an external
  network provider.
 
 At the moment it doesn't. However, this has been talked about and will
 probably be implemented at some point (though not sure when).
 
 In fact, if you're a developer, you could help make it happen yourself!
 A lot of the necessary nfrastructure has been recently laid down by
 this feature, which would only require someone to implement an OVS
 configurator:
 
 http://www.ovirt.org/Feature/NetworkReloaded

Non-developers are advised to use Vdsm hooks. You should start by
defining whatever network libvirt supports on each of your hosts. This
includes openvswitch (e.g.
http://libvirt.org/formatnetwork.html#elementVlanTag ).

Then, install the extnet hook on each of your hosts and define a vNIC
profile in oVirt-Engine with the extnet custom propery linking to your
openvswitch network. vNICs configures with the new profile would be
connected to openvswitch.

Similarly, if you define your libvirt network and a pool of host
devices (e.g. http://libvirt.org/formatnetwork.html#examplesDirect ) the
extnet hook would let you use macvtap.

I'd be happy to hear if it works for you, and to assist if it does not.

 
   2. Is there a support for macvtap in ovirt? I couldn¹t find anything on
  macvtap.
 
 Not at the moment, and I myself am not knowledgeable about macvtap.
 However, since Google tells me it should play well with libvirt, I'm
 guessing support for that might also be added by implementing a
 dedicated configurator.
 
 Following the said Google search however, I would be very interested to
 hear why it interests you, since oVirt handles bridge and tap device
 creation. What would be the gain in using specifically macvtap? I'm
 asking because this if there's good reason to do this, it might be
 prioritized in the future.

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


Re: [ovirt-users] IP forwarding... Cannot access guest IP

2014-04-29 Thread Dan Kenigsberg
On Tue, Apr 29, 2014 at 06:33:14AM -0400, richard.seg...@marisec.ca wrote:
 Hi Dan,
 
 Yes I am an ovirt user.  Basically, I am running into an issue running xen 
 inside of kvm.  Our scenario is that this is lab environment, and we enjoy 
 the luxury of spinning up kvm instances (as opposed to installing on bare 
 metal each time we need something). Our product uses Xen, and we are pretty 
 much stuck with it for the time being.
 
 I think what I am running into is a double bridge issue... Xen has a bridge, 
 and so does kvm obviously.  I am able to ping dom0 (which is just the bridge 
 itself) on Xen from the outside world, but I am not able to ping udom... 
 and... udom doesn't have access out either.   When I was using vmware, I 
 enabled promisc mode on the virtual switch, and this solution worked fine... 
 
 If we ignore the types of technology that I am using,  and just focus on the 
 networking, what would I be looking at as possibilities?  Or... a better 
 question would be, does ovirt have a promiscuous flag somewhere that I can 
 set?

I cannot say that I understand your setup, but if you have nested
virtuallization (such as a Xen udom) you may experience ovirt's
no-mac-spoofing rule: by default we disallow our VMs to emit traffic
that has different mac address from the one assigned by oVirt.

To avoid this, follow http://www.ovirt.org/Vdsm_Hooks#Installing_a_hook
and report if that's the issue.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] IP forwarding... Cannot access guest IP

2014-04-29 Thread Dan Kenigsberg
On Tue, Apr 29, 2014 at 08:47:38AM -0400, Alexander Wels wrote:
 On Tuesday, April 29, 2014 01:35:08 PM Dan Kenigsberg wrote:
  On Tue, Apr 29, 2014 at 06:33:14AM -0400, richard.seg...@marisec.ca wrote:
   Hi Dan,
   
   Yes I am an ovirt user.  Basically, I am running into an issue running xen
   inside of kvm.  Our scenario is that this is lab environment, and we
   enjoy the luxury of spinning up kvm instances (as opposed to installing
   on bare metal each time we need something). Our product uses Xen, and we
   are pretty much stuck with it for the time being.
   
   I think what I am running into is a double bridge issue... Xen has a
   bridge, and so does kvm obviously.  I am able to ping dom0 (which is just
   the bridge itself) on Xen from the outside world, but I am not able to
   ping udom... and... udom doesn't have access out either.   When I was
   using vmware, I enabled promisc mode on the virtual switch, and this
   solution worked fine...
   
   If we ignore the types of technology that I am using,  and just focus on
   the networking, what would I be looking at as possibilities?  Or... a
   better question would be, does ovirt have a promiscuous flag somewhere
   that I can set?
  I cannot say that I understand your setup, but if you have nested
  virtuallization (such as a Xen udom) you may experience ovirt's
  no-mac-spoofing rule: by default we disallow our VMs to emit traffic
  that has different mac address from the one assigned by oVirt.
  
  To avoid this, follow http://www.ovirt.org/Vdsm_Hooks#Installing_a_hook
  and report if that's the issue.
 
 If the mac address is the issue wouldn't it be easier for him to just edit 
 the 
 VM and in custom properties set macspoof to true?

yes, that's what I'm suggesting. But this requires having the hook
installed, first.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] IP forwarding... Cannot access guest IP

2014-04-29 Thread Dan Kenigsberg
On Tue, Apr 29, 2014 at 05:11:57PM -0400, richard.seg...@marisec.ca wrote:
 All of the other hypervisors that I am reading about allows for promiscuous 
 mode to be turned on at the host level...  Do we have anything like that?

Would you confirm that once you have set macspoof=true, libvirt's domxml
for the relevant VM has lost its filterref element? (virsh -r dumpxml
would verify that)

This should allow you to ping out of the Xen guest outside of the KVM
host. If it doesn't, we'd have to debug this to understand what drops
your packets.

I'm not quite sure what you mean by promiscuous mode. What VMWare
calls promiscuous mode is not unlike oVirt's port mirroring, but I'm not
convinced that this is what you are looking for.

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


Re: [ovirt-users] Fedora 20 as hypervisor

2014-05-02 Thread Dan Kenigsberg
On Fri, May 02, 2014 at 11:11:58AM +0200, Gianluca Cecchi wrote:
 On Fri, May 2, 2014 at 11:07 AM, Markus Stockhausen  wrote:
 
   Hello,
 
  did not find any discussion thread about this topic.
  Is Fedora 20 already fully supported as hypervisor
  host for OVirt 3.4 environments?
 
  Thanks.
 
  Markus
 
 
 
 Not yet AFAIK.
 Bug tracker as RFE for it is here:
 https://bugzilla.redhat.com/show_bug.cgi?id=1060198

On the Engine node we still have a few issues, but as of ovirt-3.4.1
(pending imminent release) the hypervisor side is fine.

Two relevant patches fixed for 3.4.1 are

Bug 1078312 - F20 ovirt host installation fails due to python-ethtool 
SystemError
Bug 1060383 - vdsm requires a compatible plugin with sos 3

and I am not aware of any other one. Please try it out!

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


Re: [ovirt-users] ovirt 3.4 networking

2014-05-08 Thread Dan Kenigsberg
On Thu, May 08, 2014 at 11:00:40AM +0200, Tobias Honacker wrote:
 Hi all,
 
 using centos 6.5 and i'm asking if it is possible to run ovirt without
 connecting a bridge to ethX but running any kind of virtual bridge without
 touching my ethX interface.

The simplest trick is to run

ip link add dummy_tobias type dummy

as root on the host. This fake device would be reported as NIC to oVirt
Engine, and you could build a local network on top of it.

For smarter bridging of your network connectivity, you can use
vdsm-hook-extnet as described in
http://developerblog.redhat.com/2014/02/25/extending-rhev-vdsm-hooks/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] getVdsCapabilites unexpected exception [was: Re: AIO 3.4 on fedora 19 initial errors before coming up]

2014-05-12 Thread Dan Kenigsberg
On Mon, May 12, 2014 at 02:33:52AM -0400, Francesco Romani wrote:
 Hi,
 
 - Original Message -
  From: Gianluca Cecchi gianluca.cec...@gmail.com
  To: Roy Golan rgo...@redhat.com
  Cc: users users@ovirt.org
  Sent: Sunday, May 11, 2014 11:49:06 PM
  Subject: Re: [ovirt-users] getVdsCapabilites unexpected exception [was: Re: 
  AIO 3.4 on fedora 19 initial errors
  before coming up]
 [...]
  it seems the error in vdsm.log when I run the command above is of this type:
  
  Thread-25::ERROR::2014-05-11
  20:18:02,202::BindingXMLRPC::1086::vds::(wrapper) unexpected error
  Traceback (most recent call last):
  File /usr/share/vdsm/BindingXMLRPC.py, line 1070, in wrapper
  res = f(*args, **kwargs)
  File /usr/share/vdsm/BindingXMLRPC.py, line 393, in getCapabilities
  ret = api.getCapabilities()
  File /usr/share/vdsm/API.py, line 1185, in getCapabilities
  c = caps.get()
  File /usr/share/vdsm/caps.py, line 369, in get
  caps.update(netinfo.get())
  File /usr/lib64/python2.7/site-packages/vdsm/netinfo.py, line 557, in get
  netAttr.get('qosOutbound'))
  File /usr/lib64/python2.7/site-packages/vdsm/netinfo.py, line 487, in
  _getNetInfo
  ipv4addr, ipv4netmask, ipv6addrs = getIpInfo(iface)
  File /usr/lib64/python2.7/site-packages/vdsm/netinfo.py, line 317, in
  getIpInfo
  ipv6addrs = devInfo.get_ipv6_addresses()
  SystemError: error return without exception set
  
  
  Based on above errors, I think that for some reason these two python related
  packages that were updated yesterday are causing some problems with vdsm.
  Can you confirm that you can run ok the 3.4 vdsm with those?
  
  vdsm-4.14.6-0.fc19.x86_64
  
  
  May 10 21:24:23 Updated: python-ethtool-0.9-2.fc19.x86_64
  May 10 21:24:23 Updated: python-lxml-3.3.5-1.fc19.x86_64
  
  I can also try to rollback and see...
  
  
  I was right.
  Against what to bugzilla?
  This is a show stopper for fedora 19 ovirt users...
 
 Unfortunately, you are been hit by 
 https://bugzilla.redhat.com/show_bug.cgi?id=1078312
 
 It is fixed on gerrit, but you'll need VDSM = 4.14.8.1

Too bad that we did not manage to add a Conflicts: vdsm = 4.18.6 to
that release of python-ethtool-0.9-2.fc19.x86_64. But now that it is
out, there is not much that one can do but to upgrade to a new Vdsm or
roll back python-ethtool.

The propblem was due to Vdsm-proper using libnl1 while that version of
python-ethtool starting to use linbnl3 and solved by
http://gerrit.ovirt.org/26514. Backporting this to the now-unsupported
ovirt-3.3 is not really viable, I a m afraid.

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


Re: [ovirt-users] Allinone One NIC for multiple network

2014-05-12 Thread Dan Kenigsberg
On Sun, May 11, 2014 at 09:35:04PM +0200, Kevin Tibi wrote:
 Hi,
 
 i have a little problem with my ovirt allinone. I have a dedibox with one
 NIC. I can't use VLAN tagging on this network. I need to create a second
 network for specific VMs. So, i can't add this network on my physical NIC
 because i have already the mgnt network.
 
 Can i create a tap/virtual NIC for this network ? Ovirt see tap interface
 in interface's host?

Does my http://lists.ovirt.org/pipermail/users/2014-May/024071.html
answer help?

Do you need your VMs to do out-of-box communication? If so, you'd need
to establish forwarding via libvirt.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] newbee questions

2014-05-12 Thread Dan Kenigsberg
On Sun, May 11, 2014 at 05:32:41PM -0400, Itamar Heim wrote:
 On 05/04/2014 05:54 AM, John Smith wrote:
 Hi,
 
 
 Im very new to virtualization on Linux, wanting to kick the tires
 some, and am wondering where best to go next.
 
 Right now, ive done the 'all in one install' of ovirt 3.4 on a single
 fedora 19 machine. Its a desktop with a wifi network interface, and im
 trying to set up the kvm hypervisor in combination with macvtap. Any
 pointers to docs on what best to do next is appreciated. Im currently
 trying to make sense of this:
 http://www.ovirt.org/Quick_Start_Guide
 
 Also, as far as I can tell, there seems to be an issue with the
 detection of my wireless wifi network interface 'wlp2s0' as it doesnt
 seem to show up anywhere in the interface. I can attach the
 'ovirtmgmt' network to my standard wired ethernet interface 'p2p2',
 but that device is not in use on the machine and it is disconnected
 from the network.
 
 Reading about linux virt and issues with bridging with wifi NIC's on
 the web made me, perhaps incorrectly here, assume that a wifi nic
 might be an issue, so thats where the idea to use macvtap came from.
 
 Manual setup of macvtap seems to work, as i can do this without issues
 on a root prompt on the same machine:
 
 ip link add link wlp2s0 name macvtap0 type macvtap
 ip link set macvtap0 address 1a:46:0b:ca:bc:7b up
 ip link show macvtap0
 
 But the wifi interface 'wlp2s0' does not seem to show up in the ovirt
 web gui interface.
 
 Im sorry if I sound confusing here, but that may be just because im
 really still confused about ovirt.
 ;)
 
 So any pointers on what to read up on or do next is appreciated,
 
 
 Thanks,
 
 
 Regards,
 
 
 John Smith.
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 ovirt is meant to manage your datacenter, so not the best match for
 running with a wireless nic i guess.
 vdsm may even be filtering it (danken?)

It is, because oVirt only supports bridge-based VM networks, and Linux
does not allow you to bridge a WiFi nic.

To work around this limitation, you could define a NAT-based network in
libvirt http://libvirt.org/formatnetwork.html#examplesNAT and use it in
oVirt via vdsm-hook-extnet (a bit more about it in
http://developerblog.redhat.com/2014/02/25/extending-rhev-vdsm-hooks/ )

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


Re: [ovirt-users] help with sriov vdsm hook?

2014-05-12 Thread Dan Kenigsberg
On Sun, May 11, 2014 at 05:44:35PM -0400, Itamar Heim wrote:
 On 05/08/2014 02:54 PM, Darrell Budic wrote:
 Anyone gotten the SRIOV hook to work with Solar Flare 10g cards? Any advice?
 
 I've gotten the hooks installed on my host nodes, and added a string to my 
 engine. The card is up in SRIOV mode on the host and virtual instances are 
 available. I can see the hooks running in the vdsm logs, but can't tell what 
 they are doing from there. They are not attaching the sriov card instance to 
 my VM though, so I'm at a loss.
 
 you can compare the generated livirt xml send to qemu by vdsm and
 compare to what you expected to happen by the hook.

You may also share the bit of vdsm.log from vmCreate until failure.

 
 
 As an aside, it'd be really nice to have hooks register with the engine and 
 add proper custom strings to the setup. Failing that, some explicit 
 documentation on EXACTLY what string should be used for the hook would be 
 nice. My first pass at it resulted in an improper string that caused my host 
 to crash/hang and reboot when I attempted to start a VM with it the first 
 time.
 
 each hook has a README - maybe send a patch to elaborate more on the
 one not clear enough to you?

I think that Darrel means something like

Bug 1086329 - [RFE] semi-automatic hook registration

(or maybe a bit less fancy). It would be cool to add some introspection
to the hook framework, so that Engine learns about available hooks and
their custom properties from the nodes.

 
 
 Speaking of which, I added my custom string to UserDefinedVMProperties, not 
 CustomDeviceProperties. Was that correct?
 
 yes. it was correct.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] newbee questions

2014-05-12 Thread Dan Kenigsberg
On Mon, May 12, 2014 at 05:12:14PM +0200, John Smith wrote:
 On Mon, May 12, 2014 at 12:49 PM, Dan Kenigsberg dan...@redhat.com wrote:
 
  oVirt only supports bridge-based VM networks, and Linux
  does not allow you to bridge a WiFi nic.
 
 Which is why I was looking at the option of using 'macvtap' instead,
 which does allow you to use a wifi nic:
 
 http://libvirt.org/formatnetwork.html#examplesDirect
 http://www.libvirt.org/formatdomain.html#elementsNICSDirect

A big limitation of the macvtap approach is that it would let you
connect only a single VM to your WiFi. Is that fine by you?

 
 However, my current knowledge (of libvirt, etc.) is too limited to use
 those two links to create a working setup for me, so some more
 detailed and/or elaborate instructions and/or documentation would be
 appreciated.
 
 It seems to involve the manual creation of xml files, and then feeding
 those to virsh in order to change the configuration or something ? Is
 there a command i can feed vrish to make it dump the current
 configuration in xml, so that maybe i can start to use that as a basis
 and hack it up to see what happens ?

Yes, defining a libvirt network requires using

  virsh net-define xmlfile

(you may need to pass the not-so-secret vdsm@ovirt/shibboleth password
to tinker with libvirt, which is better done on non-production setup)

  virsh net-dumpxml net-name

could show you what's already defined, but I don't expect you to have
interesting networks as of yet.

It may not be easy, but I'd be grateful if you report here on what you
will have accomplished.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] newbee questions

2014-05-12 Thread Dan Kenigsberg
On Mon, May 12, 2014 at 06:14:40PM +0200, John Smith wrote:
 On Mon, May 12, 2014 at 5:39 PM, Dan Kenigsberg dan...@redhat.com wrote:
 
  A big limitation of the macvtap approach is that it would let you
  connect only a single VM to your WiFi. Is that fine by you?
 
 I wasnt aware of that limitation. No, a single VM limitation would not
 be sufficient. I was assuming you could simply do something like this
 :
 
 ip link add link wlp2s0 name macvtap0 type macvtap
 ip link add link wlp2s0 name macvtap1 type macvtap
 ip link add link wlp2s0 name macvtap2 type macvtap
 
 And then assign individual 'interfaces' macvtap0, macvtap1 and
 macvtap2 to different VM's. Apparently it doesnt work that way.

Maybe it does - please try or wait for someone in the know (such as mst) to
explain. The thing is that afaik
http://libvirt.org/formatnetwork.html#examplesDirect creates the macvtap
devices for you, and it creates one device per one virtual function.

 
 
 
  Yes, defining a libvirt network requires using
 
virsh net-define xmlfile
 
  (you may need to pass the not-so-secret vdsm@ovirt/shibboleth password
  to tinker with libvirt, which is better done on non-production setup)
 
virsh net-dumpxml net-name
 
  could show you what's already defined, but I don't expect you to have
  interesting networks as of yet.
 
 Thanks, ill start fooling around with virsh net-define and virsh
 net-dumpxml then.
 
 
 
  It may not be easy, but I'd be grateful if you report here on what you
  will have accomplished.
 
 No problem. Although after having read your last message, I think I
 may be better off using (and start with looking at) your NAT-based
 network / vdsm-hook-extnet approach.

NB: Even if it is possible to define a libvirt network with several
pre-created macvtaps, you'd need something like vdsm-hook-extnet to
convince oVirt to use your network instead of a bridge.

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


Re: [ovirt-users] Failure during self-hosted deployment: exception configuring management bridge

2014-05-13 Thread Dan Kenigsberg
On Tue, May 13, 2014 at 10:27:12AM +0200, Sandro Bonazzola wrote:
 Il 13/05/2014 00:33, Bob Doolittle ha scritto:
  On 05/12/2014 06:21 PM, Dan Kenigsberg wrote:
  On Mon, May 12, 2014 at 05:53:10PM -0400, Bob Doolittle wrote:
  On 05/12/2014 02:49 PM, Bob Doolittle wrote:
  Hi,
 
  I'm trying to set up a fresh system on F19, using oVirt 3.4.
 
  When running hosted-engine --deploy, it fails during Configuring the
  management bridge. The ovirt-hosted-engine-setup log shows:
 
  2014-05-12 13:59:35 INFO
  otopi.plugins.ovirt_hosted_engine_setup.network.bridge bridge._misc:196
  Configuring the management bridge
  2014-05-12 13:59:35 DEBUG otopi.context context._executeMethod:152 method
  exception
  Traceback (most recent call last):
File /usr/lib/python2.7/site-packages/otopi/context.py, line 142, in
  _executeMethod
  method['method']()
File 
  /usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py,
  line 201, in _misc
  ].s.getVdsCapabilities()['info']['nics'][nics]
  KeyError: 'info'
  2014-05-12 13:59:35 ERROR otopi.context context._executeMethod:161 Failed
  to execute stage 'Misc configuration': 'info'
 
 
  The vdsm.log shows:
 
  Thread-14::DEBUG::2014-05-12
  13:59:35,840::BindingXMLRPC::1067::vds::(wrapper) client 
  [127.0.0.1]::call
  getCapabilities with () {}
  Thread-14::DEBUG::2014-05-12 13:59:35,875::utils::642::root::(execCmd)
  '/sbin/ip route show to 0.0.0.0/0 table all' (cwd None)
  Thread-14::DEBUG::2014-05-12 13:59:35,879::utils::662::root::(execCmd)
  SUCCESS: err = ''; rc = 0
  Thread-14::ERROR::2014-05-12
  13:59:35,882::BindingXMLRPC::1086::vds::(wrapper) unexpected error
  Traceback (most recent call last):
File /usr/share/vdsm/BindingXMLRPC.py, line 1070, in wrapper
  res = f(*args, **kwargs)
File /usr/share/vdsm/BindingXMLRPC.py, line 393, in getCapabilities
  ret = api.getCapabilities()
File /usr/share/vdsm/API.py, line 1185, in getCapabilities
  c = caps.get()
File /usr/share/vdsm/caps.py, line 369, in get
  caps.update(netinfo.get())
File /usr/lib64/python2.7/site-packages/vdsm/netinfo.py, line 566, in
  get
  d['nics'][dev.name] = _nicinfo(dev.name, paddr)
File /usr/lib64/python2.7/site-packages/vdsm/netinfo.py, line 516, in
  _nicinfo
  info = _devinfo(nic)
File /usr/lib64/python2.7/site-packages/vdsm/netinfo.py, line 536, in
  _devinfo
  ipv4addr, ipv4netmask, ipv6addrs = getIpInfo(dev)
File /usr/lib64/python2.7/site-packages/vdsm/netinfo.py, line 317, in
  getIpInfo
  ipv6addrs = devInfo.get_ipv6_addresses()
  SystemError: error return without exception set
 
 
  I have two NICs - a wireless NIC which is disabled, and an ethernet NIC
  p3p1 which is statically configured via network-scripts.
 
  I've also attached the output of ip addr.
 
  I also notice some disturbing looking messages in the vdsm log during
  setupMultipath, including Panic: Error initializing IRS and then
  subsequent lvm-related errors during StorageRefresh. Those did not abort
  the deployment, however. What do those failures indicate?
  This looks a lot like a new manifestation of:
  https://bugzilla.redhat.com/show_bug.cgi?id=1057772
  Which version of Vdsm are you using? ovirt-3.4.1's vdsm-4.14.7 should
  have fixed the that problem.
  
  
  I am using the vdsm from ovirt-stable (and ovirt-3.4-stable): 
  vdsm-4.14.6-0.fc19.x86_64
  
  Should stable be updated with vdsm-4.14.7?
  Can I workaround the problem by using a different repository?
  
  I even instrumented the code in
  /usr/lib64/python2.7/site-packages/vdsm/netinfo.py
 
  The device name (p3p1) being passed in is correct (I even tried setting
  the string directly), but the returned object is empty.
 
  If I start python by hand and run ethtool.get_interfaces_info(p3p1) it
  returns the correct data.
 
  So it seems as though the code is somehow environmentally sensitive. I'm 
  not
  sure what it is about my environment that would cause issues here however,
  since presumably this is working for others...
  I'm afraid this has recently been tickled by a relase of python-ethtool
  to Fedora 19.
  
  What is my best workaround? I need to get going again ASAP.
 
 if it's a python-ethtool issue, try with
 yum downgrade python-ethtool
 if it works, add it to exclusion (in /etc/yum.conf add 
 exclude=python-ethtool) until the issue is fixed.
 
 Dan, can we have a respin of VDSM once the issue is handled (if it has to be 
 solved vdsm side)?
 
 If we haven't already a BZ, please open one and make it blocking 3.4.2 
 release, thanks!

The bug has been solved in vdsm-4.14.7, and should have been in
ovirt-3.4-stable as of the release of ovirt-3.4.1. Sandro, do you know
why Bob reports that 4.14.6 is still there?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failure during self-hosted deployment: exception configuring management bridge

2014-05-13 Thread Dan Kenigsberg
On Tue, May 13, 2014 at 12:03:28PM +0200, Sandro Bonazzola wrote:
 Il 13/05/2014 11:50, Dan Kenigsberg ha scritto:
  On Tue, May 13, 2014 at 10:27:12AM +0200, Sandro Bonazzola wrote:
  Il 13/05/2014 00:33, Bob Doolittle ha scritto:

 
  I am using the vdsm from ovirt-stable (and ovirt-3.4-stable): 
  vdsm-4.14.6-0.fc19.x86_64
 
  Should stable be updated with vdsm-4.14.7?
  Can I workaround the problem by using a different repository?

  
 
 ovirt-3.4.1 deliver vdsm-4.14.8.1 not 4.14.7, you can check yourself here: 
 http://resources.ovirt.org/pub/ovirt-3.4/rpm
 Can you point me to the email where he says he has 4.14.6?

Look up ^^^ ;-)

 That's the version we released with 3.4.0.
 Maybe he didn't follow installation instructions here: 
 http://www.ovirt.org/OVirt_3.4.1_release_notes

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


Re: [ovirt-users] newbee questions

2014-05-14 Thread Dan Kenigsberg
On Wed, May 14, 2014 at 08:43:40AM +0200, John Smith wrote:
 On Wed, May 14, 2014 at 1:45 AM, Itamar Heim ih...@redhat.com wrote:
  On 05/13/2014 05:22 AM, Sven Kieske wrote:
 
  Am 13.05.2014 11:12, schrieb Dan Kenigsberg:
 
  If you are planning to run only a couple of VMs on a single laptop,
  going to basics and using qemu/libvirt directly, or gnome-boxes, would
  make sense.
 
  If you plan to manage a multitude of hosts, then the benefits of oVirt
  comes to play.
 
 
  In the long run, it would be a huge achievement to utilize ovirt
  even for little vm workloads, especially if you want to compete
  with vmware.
 
  I know one size never fits all but I guess ovirt could very well
  be improved for single host management as well.
 
 
  single host management is not the same as roaming laptop with wireless...
  all-in-one and hosted engine should provide a decent solution for single
  host management - what are the gaps?
 
 
 For what it's worth: my system is not a roaming laptop. it's a fairly
 big desktop system that has a wireless interface. so in my case i
 think we might still be talking about 'single host management'. The
 reason i have wireless adapters in my desktops as well is because i
 couldnt easily wire the entire house. Perhaps these days, this is not
 such an uncommon configuration as you might think, and wireless is no
 longer only common in portable or laptop systems but in desktops as
 well.
 
 Anyway, I just wanted to try out this enterprise grade/level
 virtualization stack on a single node, just to see how it works and
 where the good/bad points are. Other people might want to try this for
 similar purposes, kick the tires a bit before a full blown formal
 multi host pilot is attempted. The 'All-In-One' installation/setup is
 meant to address that; i was hoping it would be a good fit for me as
 well.

I still hope that it would, despite the need to tweak and hack it a bit,
and we'd be here to help.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failure during self-hosted deployment: exception configuring management bridge

2014-05-14 Thread Dan Kenigsberg
On Wed, May 14, 2014 at 08:49:06AM +0200, Sandro Bonazzola wrote:
 Il 13/05/2014 20:29, Dan Kenigsberg ha scritto:
  On Tue, May 13, 2014 at 12:07:09PM +0200, Sandro Bonazzola wrote:
  Il 12/05/2014 23:53, Bob Doolittle ha scritto:
  On 05/12/2014 02:49 PM, Bob Doolittle wrote:
  Hi,
 
  I'm trying to set up a fresh system on F19, using oVirt 3.4.
 
  Hi Bob, can you check you're using right repositories in order to get 
  3.4.1?
  See http://www.ovirt.org/OVirt_3.4.1_release_notes
  Thanks,
  
  I now see that EPEL6 still has 4.14.6 in its stable repo.
  Douglas - can you push 4.14.8 ASAP?
  
 
 http://resources.ovirt.org/pub/ovirt-3.4/rpm/el6/noarch/
 
 has 4.14.8.1.
 
 or do you mean fedora epel repository?

Yes. Sorry for not being explicit.
I now see[1] that there's not even a (non-scratch) Fedora build yet.
So more of Douglas's help is needed.

[1] https://admin.fedoraproject.org/updates/search/vdsm
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] AllInOne

2014-05-14 Thread Dan Kenigsberg
On Tue, May 13, 2014 at 07:38:00PM -0400, Itamar Heim wrote:
 On 05/13/2014 12:38 PM, supo...@logicworks.pt wrote:
 Hi,
 
 I'm trying to install ovirt AllnOne, following these steps:
 Install FC19
 yum localinstall
 http://resources.ovirt.org/releases/ovirt-release.noarch.rpm

Please use ovirt-3.4.1 instead, as explained in
http://www.ovirt.org/OVirt_3.4.1_release_notes

 yum install yum-utils
 yum-config-manager --enable ovirt-3.4
 yum-config-manager --enable fedora-virt-preview
 yum-config-manager --enable ovirt-epel

ovirt-epel is not really helpful for F19 installation

 yum install epel-release
 
 yum -y update
 
 yum -y install ovirt-engine
 
 engine-setup
 
 
 When asked Configure VDSM on this host?, I answered yes
 
 
   rpm -qa|grep vdsm
 vdsm-xmlrpc-4.14.6-0.fc19.noarch
 vdsm-python-zombiereaper-4.14.6-0.fc19.noarch
 vdsm-4.14.6-0.fc19.x86_64
 vdsm-cli-4.14.6-0.fc19.noarch
 vdsm-python-4.14.6-0.fc19.x86_64

As discussed in parallel threads, this version is known to misbehave
with the latest version of python-ethtool. Please make sure that you
upgrade to 4.14.8 (from ovirt-3.4.1) before continuing.

That's unrelated to the problem you describe below, but is bound to bite
you soon enough.

 
 
 
 Now I can access to the Administration Portal, but cannot start the
 local Hots, allways get this message:
 
 Host's Compatibility Version doesn't match the Cluster's Compatibility
 Version.
 
 Host local_host is installed with VDSM version (Non interactive user)
 and cannot join cluster local_cluster which is compatible with VDSM
 versions [4.13, 4.14, 4.9, 4.11, 4.12, 4.10].
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cluster emulation mode issue

2014-05-14 Thread Dan Kenigsberg
On Tue, May 13, 2014 at 06:06:00PM -0700, Doug Bishop wrote:
 Here ya go :
 
 [root@ovirt-vmtest ~]# /usr/libexec/qemu-kvm -M ?
 Supported machines are:
 pc RHEL 6.4.0 PC (alias of rhel6.4.0)
 rhel6.4.0  RHEL 6.4.0 PC (default)
 rhel6.3.0  RHEL 6.3.0 PC
 rhel6.2.0  RHEL 6.2.0 PC
 rhel6.1.0  RHEL 6.1.0 PC
 rhel6.0.0  RHEL 6.0.0 PC
 rhel5.5.0  RHEL 5.5.0 PC
 rhel5.4.4  RHEL 5.4.4 PC
 rhel5.4.0  RHEL 5.4.0 PC
 
 qemu-kvm-rhev -M ? isn’t working The package is installed but the binary 
 isn’t on the machine anywhere.

And what does

vdsClient -s 0 getVdsCaps

has to say about emulatedMachines? is rhel6.4.0 reported there?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] New problem with hosted-engine during Configuring the management bridge

2014-05-15 Thread Dan Kenigsberg
On Tue, May 13, 2014 at 01:11:52PM -0400, Bob Doolittle wrote:
 Maybe this isn't the actual problem after all.
 
 I replaced /sbin/multipath with a script runs the old version, but the
 suppresses those errors and returns exit status 0.
 But vdsm-tool service-reload multipathd is still failing and I don't know
 why.

Does is work when you call it from the command line?
Your traceback has

Job for multipathd.service failed. See 'systemctl status 
multipathd.service' and 'journalctl -xn' for details.

so may there are clues there.


 
 I have attached my vdsm.log file.
 
 Any guidance appreciated. I'll try digging through the python code for
 service.py and see if I can catch it when the multipath configuration is in
 place to see the exact issue.

BTW, the fact that multipath is reloaded on vdsm startup is a known pain in the
neck:

Bug 1076531 - vdsm overwrites multipath.conf at every startup

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


Re: [ovirt-users] New problem with hosted-engine during Configuring the management bridge

2014-05-15 Thread Dan Kenigsberg
On Wed, May 14, 2014 at 08:06:00PM -0400, Bob Doolittle wrote:
 Thanks John.
 
 When hosted-engine aborts, it uninstalls everything.
 So there is no webadmin available.
 
 I've tried modifying the VDSM python code (e.g.
 /usr/share/vdsm/storage/multipath.py and
 /usr/lib64/python2.7/site-packages/vdsm/tool/service.py) to see/work around
 what's going wrong, but oddly VDSM does not seem to be affected. I suspect
 the original code (or bytecodes) are cached somewhere.

I do not think that this is the issue, but you can remove all trace of
*.pyc/*.pyo to make sure this is not the case.

 Restarting vdsmd
 service has no effect. I'd really appreciate some insight there so I can
 work around it.

What have you changed exactly? Where? If you add a plain syntax error to
the script, does it still run?

 
 Does oVirt 3.4.1 work more smoothly with F20? I chose F19 because it's more
 stable at this point, thinking that things would be more likely to work
 smoothly. It's not turning out that way... I'm willing to start over with
 F20 if there's no path forward.

Vdsm works fine on 3.4.1, but I do not know about hosted-engine. Engine
itself is known not to work on F20.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Duplicate ID 'drive-ide0-1-0' for drive .

2014-05-15 Thread Dan Kenigsberg
On Thu, May 15, 2014 at 10:47:39AM +, Daniel Helgenberger wrote:
 Hello,
 
 I seem to run into a bug when creating a VM with 'advanced' options from
 the 'blank' template attaching a iso image. 
 
 Steps:
  I. Create VM in oVirt GUI using blank template
 II. Use advanced settings to attach an ISO image
III. Run the VM
 
 Engine events:
 
 Failed to run VM rhel7-test on Host node-hv01.
 VM rhel7-test is down. Exit message: internal error process exited while 
 connecting to monitor: qemu-kvm: -drive 
 file=/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-domain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/----/rhel-everything-7.0-beta-1-x86_64-dvd.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw,serial=:
  Duplicate ID 'drive-ide0-1-0' for drive .   
 VM rhel7-test was started by daniel (Host: node-hv01)
 
 A workaround is:
 - Create the VM using default options; do not touch adv. settings
 - Start / Stop VM
 - Attach the ISO image
 - The VM is starting now
 
 Please also find the corresponding vdsm.log attached. I could not trace
 the event in engine.log. Also, this is affecting all my hosts.

Which version of Engine is this? Pardon the following long line, but you
can see the Engine sends the cdrom device multiple times. I remeber
seeing such a bug few months ago - Omer, do you have better
recollection?

Thread-13::DEBUG::2014-05-15 11:43:06,090::BindingXMLRPC::1067::vds::(wrapper) 
client [192.168.50.20]::call vmCreate with ({'acpiEnable': 'true', 
'emulatedMachine': 'rhel6.5.0', 'vmId': '5ca67cce-4f92-473c-91f8-ced87a46e0c3', 
'memGuaranteedSize': 682, 'spiceSslCipherSuite': 'DEFAULT', 'timeOffset': '0', 
'cpuType': 'Nehalem', 'custom': {}, 'smp': '1', 'vmType': 'kvm', 'memSize': 
1024, 'smpCoresPerSocket': '1', 'vmName': 'rhel7-test', 'nice': '0', 
'smartcardEnable': 'false', 'keyboardLayout': 'en-us', 'kvmEnable': 'true', 
'pitReinjection': 'false', 'transparentHugePages': 'true', 'devices': 
[{'device': 'qxl', 'specParams': {'vram': '32768', 'ram': '65536', 'heads': 
'1'}, 'type': 'video', 'deviceId': 'c1e5c506-ba27-459b-85d1-8f17c510693f'}, 
{'index': '2', 'iface': 'ide', 'specParams': {'path': 
'rhel-everything-7.0-beta-1-x86_64-dvd.iso'}, 'readonly': 'true', 'deviceId': 
'0d319f28-c6c0-4547-9508-51bdd4642f3a', 'path': 
'/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-d
 
omain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/----/rhel-everything-7.0-beta-1-x86_64-dvd.iso',
 'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': '2', 'iface': 
'ide', 'specParams': {'path': 'rhel-everything-7.0-beta-1-x86_64-dvd.iso'}, 
'readonly': 'true', 'deviceId': '1574ac2c-7bcf-4e4f-a276-9402feff6bb7', 'path': 
'/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-domain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/----/rhel-everything-7.0-beta-1-x86_64-dvd.iso',
 'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': '2', 'iface': 
'ide', 'specParams': {'path': 'rhel-everything-7.0-beta-1-x86_64-dvd.iso'}, 
'readonly': 'true', 'deviceId': '1714f33d-0231-4f89-bc70-4ce5aac0230c', 'path': 
'/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-domain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/----/rhel-everything-7.0-beta-1-x86_64-dvd.iso',
 'd
 evice': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': '2', 'iface': 
'ide', 'specParams': {'path': 'rhel-everything-7.0-beta-1-x86_64-dvd.iso'}, 
'readonly': 'true', 'deviceId': '3cdc204a-f19b-43d2-9ab5-431b9ae4d7bb', 'path': 
'/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-domain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/----/rhel-everything-7.0-beta-1-x86_64-dvd.iso',
 'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': '2', 'iface': 
'ide', 'specParams': {'path': 'rhel-everything-7.0-beta-1-x86_64-dvd.iso'}, 
'readonly': 'true', 'deviceId': 'a99aa1f1-26a9-41ef-a863-c38a3df37061', 'path': 
'/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-domain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/----/rhel-everything-7.0-beta-1-x86_64-dvd.iso',
 'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': '2', 'iface': 
'ide', 'specParams': {'path': 'rhel-everything-7.0-beta-
 1-x86_64-dvd.iso'}, 'readonly': 'true', 'deviceId': 
'e0c94099-4e76-4895-a9d8-eae176e21d2d', 'path': 
'/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-domain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/----/rhel-everything-7.0-beta-1-x86_64-dvd.iso',
 'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': 0, 'iface': 
'scsi', 'format': 'raw', 'optional': 'false', 'poolID': 
'0002-0002-0002-0002-03a0', 'volumeID': 
'f962bdf7-10a9-4e5d-b566-208e66953776', 'imageID': 
'32f401ba-98f0-4e7f-9369-79744560e77a', 'specParams': 

Re: [ovirt-users] Connection hickups with Pfsense and Carp

2014-05-15 Thread Dan Kenigsberg
On Thu, May 15, 2014 at 02:18:39PM +0200, Matt . wrote:
 Hi,
 
 I don't do top-postings, just a reply to all.
 
 It works now on all hosts!
 
 I was testing with a Run Once with no macspoof option and changed the CARP
 IP on the pfsense box to alias, and back to carp... where with alias I was
 able to ping with carp not... and this was good because of the disabled
 macspoof option. After this change I was also, with spoof true and not set,
 able to ping the IP on the CARP interface itself, so I think Pfsense messed
 something up here with ARP tables (I know form the past).
 
 After a restart of the VM I was able to ping all IP, also CARP as it was
 starting with macspoof true again.
 
 Some other thing I'm curious about... let's say you have 3 servers in a
 cluster, 2 installed with the macspoof hook and one not. The VM with
 macspoof enabled starts on the host without the hook and you migrate it to
 a host where the hooks is installed. What happens... ?

When I answer to your question immediately after it, it's easier to
corrolate a question and an answer. Top-posting is frowned upon.

Once a domain xml has been created by Vdsm, it is migrated intact to the
destination, so there too, no filtering would take place.

Do note that having different installed on your cluster is bound to
cause random problem, and is better avoided.

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


Re: [ovirt-users] New problem with hosted-engine during Configuring the management bridge

2014-05-15 Thread Dan Kenigsberg
On Thu, May 15, 2014 at 04:20:09PM +0200, Sandro Bonazzola wrote:
 Il 15/05/2014 16:09, Bob Doolittle ha scritto:
  
  On 05/15/2014 09:59 AM, Sandro Bonazzola wrote:
  Il 15/05/2014 15:55, Bob Doolittle ha scritto:
  If I run vdsm-tool service-reload multipathd by hand then I see the log 
  I'd expect:
  reload multipathd.service
  If this command works, hosted-engine setup should not fail on it.
  The setup doesn't touch anything related to multipathd.
  
  Sorry but that is not strictly correct.
  You can see the code in multipath.py (setupMultipath()) that writes a new 
  multipath.conf file just before it tries to restart the service.
  It looks like it's trying to modify the scsi_id_path.
  
  So when I run it by hand, I am using the original multipath.conf file. When 
  it is run during hosted-engine setup, it is with a modified version.
  My efforts in modifying the python have been to try to capture that 
  modified version, so that I can exercise it by hand and see what's wrong.
 
 If something is configuring it, it must be vdsm-tool:

As I've noted ealier on this thread, that's not correct, unfortunately:
Bug 1076531 - vdsm overwrites multipath.conf at every startup

 In hosted-engine setup code there's a call to vdsm-tool configure --force.

However, it's possible to copy the vdsm-sactioned multipath.conf from
one host to another, and try `systemctl reload multipathd.service`.

Please look into journalctl for hints on why it has failed.

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


Re: [ovirt-users] [ovirt-devel] [QE][ACTION NEEDED] oVirt 3.4.2 RC status

2014-05-21 Thread Dan Kenigsberg
On Wed, May 21, 2014 at 11:33:13AM +0200, Sandro Bonazzola wrote:
 Il 21/05/2014 11:08, Sven Kieske ha scritto:
  Hi,
  
  and thanks for the list with the open bugs.
  
  Here are my proposed blockers (I won't add
  them directly without dev agreement)
  The list is not ordered in any way:
  
  Cache records in memory
  https://bugzilla.redhat.com/show_bug.cgi?id=870330
  Status: Post
  
  ovirt-log-collector: conflicts with file from package sos = 3.0
  https://bugzilla.redhat.com/show_bug.cgi?id=1037663
  Status: Post
 
 I'm working with sos maintainer for coordinating oVirt 3.4.2 release with sos 
 3.1.1 release fixing the issue
 by moving all oVirt sos plugins to upstream sos fixing conflicts once for all.
 Since a workaround exists (yum downgrade sos to 2.2-31.fc19 still available 
 in F19) I don't think it should be a blocker.
 
 
  
  Firmware missing
  https://bugzilla.redhat.com/show_bug.cgi?id=1063001
  Status: Post
  
  Hot plug CPU - allow over-commit
  https://bugzilla.redhat.com/show_bug.cgi?id=1097195
  Status: New
  
  Stucked tuned service during host deploying
  https://bugzilla.redhat.com/show_bug.cgi?id=1069119
  Status: New
  
  Failed to reconfigure libvirt for VDSM
  https://bugzilla.redhat.com/show_bug.cgi?id=1078309
  Status: NEW
 
 Let's discuss this on sync meeting, not sure it's important enough for 
 blocking the release.
 
  
  [vdsm] Fix make distcheck target
  https://bugzilla.redhat.com/show_bug.cgi?id=1098179
  Status: NEW

and this most certainly should not block a micro release. it is a
code-only change, with no functional effects.

  
  Run vm with odd number of cores drop libvirt error
  https://bugzilla.redhat.com/show_bug.cgi?id=1070890
  Status: New
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VDSM 4.15 cluster compatibility

2014-05-23 Thread Dan Kenigsberg
On Fri, May 23, 2014 at 02:04:26PM +0100, Jon Archer wrote:
 Hi all,
 
 just upgraded to the latest nightly and am faced with a host/cluster
 compatibility issue, seems my cluster is only compatible with vdsm [4.13,
 4.14, 4.9,.4.11,4.12,4.10] but i'm now running 4.15.
 
 Any ideas on how to upgrade the cluster to be 4.15 compatible?

Which version of Engine are you running?
(I really hope it's not a nightly build, that would mean that

Bug 1016461 - [vdsm] engine fails to add host with vdsm version 4.13.0

was not solved properly)

What is your cluster level?

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


Re: [ovirt-users] VDSM 4.15 cluster compatibility

2014-05-27 Thread Dan Kenigsberg
On Tue, May 27, 2014 at 08:31:09PM +0100, Jon Archer wrote:
 Hi Dan,
 
 Sorry for taking so long to come back to you on this...
 yes I'm on nightly and my cluster level is 3.5 (i set this, but that is also
 causing another issue).
 
 engine version is 3.5.0-0.0.master.20140519181229.gitc6324d4

Ah, ok. So it's not the bug I was afraid of. It's simply about Vdsm not
reporting the 3.5 clusterLevel yet (as it does not have all of 3.5
feature committed to, or so I thought).
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Support by Scientific linux?

2012-01-29 Thread Dan Kenigsberg
On Sun, Jan 29, 2012 at 05:12:09AM +0400, зоррыч wrote:
 Hi.
 
 Testing work Ovirt on scientific linux 6.1.
 
 Compiling from source oVirt-engine
 (http://www.ovirt.org/wiki/Building_Ovirt_Engine) is successful.
 
 However, if you add a node incorrectly determined the operating system:
 
 OS Version: unknown.
 
 Nodes perform the installation instructions on:
 http://www.ovirt.org/wiki/Building_Ovirt_Engine
 
 Analyzing the log files are found incorrect answer vdsm (Node status
 NonOperational.  nonOperationalReason = VERSION_INCOMPATIBLE_WITH_CLUSTER)
 
 /var/log/vdsm/vdsm.log:
 
 Thread-16::DEBUG::2012-01-28 14:08:09,200::clientIF::48::vds::(wrapper)
 return getVdsCapabilities with {'status': {'message': 'Done', 'code': 0},
 'info': {'HBAInventory': {'iSCSI': [{'InitiatorName':
 'iqn.1994-05.com.redhat:4052e3fcadb'}], 'FC': []}, 'packages2': {'kernel':
 {'release': '220.el6.x86_64', 'buildtime': '0', 'version': '2.6.32'},
 'spice-server': {'release': '5.el6', 'buildtime': '1323492018', 'version':
 '0.8.2'}, 'vdsm': {'release': '63.el6', 'buildtime': '1327784725',
 'version': '4.9'}, 'qemu-kvm': {'release': '2.209.el6_2.4', 'buildtime':
 '1327361568', 'version': '0.12.1.2'}, 'libvirt': {'release': '23.el6',
 'buildtime': '1323231757', 'version': '0.9.4'}, 'qemu-img': {'release':
 '2.209.el6_2.4', 'buildtime': '1327361568', 'version': '0.12.1.2'}},
 'cpuModel': 'Intel(R) Xeon(R) CPU5140  @ 2.33GHz', 'hooks': {},
 'networks': {'virbr0': {'cfg': {}, 'netmask': '255.255.255.0', 'stp': 'on',
 'ports': ['virbr0-nic'], 'addr': '192.168.122.1'}}, 'vmTypes': ['kvm',
 'qemu'], 'cpuFlags':
 u'fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflus
 h,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,lm,constant_tsc,arch_pe
 rfmon,pebs,bts,rep_good,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,sss
 e3,cx16,xtpr,pdcm,dca,lahf_lm,dts,tpr_shadow,model_486,model_pentium,model_p
 entium2,model_pentium3,model_pentiumpro,model_qemu32,model_coreduo,model_cor
 e2duo,model_n270,model_Conroe,model_Opteron_G1', 'cpuSockets': '1', 'uuid':
 '343C9406-3478-4923-3478-492339393407_00:1c:c4:74:a0:60', 'lastClientIface':
 'eth0', 'nics': {'eth1': {'hwaddr': '00:1C:C4:74:A0:61', 'netmask': '',
 'speed': 0, 'addr': ''}, 'eth0': {'hwaddr': '00:1C:C4:74:A0:60', 'netmask':
 '255.255.255.0', 'speed': 1000, 'addr': '10.1.20.10'}}, 'software_revision':
 '63', 'management_ip': '', 'clusterLevels': ['2.3'], 'supportedProtocols':
 ['2.2', '2.3'], 'ISCSIInitiatorName': 'iqn.1994-05.com.redhat:4052e3fcadb',
 'memSize': '15949', 'reservedMem': '256', 'bondings': {'bond4': {'hwaddr':
 '00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr': '', 'slaves': []},
 'bond0': {'hwaddr': '00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr':
 '', 'slaves': []}, 'bond1': {'hwaddr': '00:00:00:00:00:00', 'cfg': {},
 'netmask': '', 'addr': '', 'slaves': []}, 'bond2': {'hwaddr':
 '00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr': '', 'slaves': []},
 'bond3': {'hwaddr': '00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr':
 '', 'slaves': []}}, 'software_version': '4.9', 'cpuSpeed': '2333.331',
 'version_name': 'Snow Man', 'vlans': {}, 'cpuCores': 2, 'kvmEnabled':
 'true', 'guestOverhead': '65', 'supportedRHEVMs': ['2.3'],
 'emulatedMachines': ['pc', 'rhel6.2.0', 'rhel6.1.0', 'rhel6.0.0',
 'rhel5.5.0', 'rhel5.4.4', 'rhel5.4.0'], 'operatingSystem': {'release': '',
 'version': '', 'name': 'unknown'}, 'lastClient': '10.1.20.12'}}
 
 Note the line: 'operatingSystem': {'release':'', 'version':'', 'name':
 'unknown'}.
 
  
 
  
 
 The output commands to the node:
 
 [root@node ~]# lsb_release -a
 
 LSB Version:
 :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:print
 ing-4.0-amd64:printing-4.0-noarch
 
 Distributor ID: Scientific
 
 Description:Scientific Linux release 6.2 rolling (Carbon)
 
 Release:6.2
 
 Codename:   Carbon
 
 [root@lnode ~]# cat /etc/redhat-release
 
 Scientific Linux release 6.1 (Carbon)
 
  
 
  
 
 How do I get to define vdsm right operating system?
 
  
 
 p.s. Sorry for my english (google translate)

We have plenty of native Russian speakers on this list ;-)

The short answer is that is that no one wrote a patch to Vdsm to let it
recognize Scientific Linux. You are more than welcome to write such a
patch.

I suspect that you would need a (yet unpublished) SL6.2 in order to have
oVirt work properly. Vdsm requires several packages by version for a
reason.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt VM start fails - Perm Denied error

2012-02-13 Thread Dan Kenigsberg
On Sun, Feb 12, 2012 at 11:58:05PM +0530, Deepak C Shetty wrote:
 Hi,
I have tried this multiple times and i hit the same error.
 
 I have 3 storage domains  created (iso, data and export) all
 connected to the DC with DC status as Up and
 1 host with status as Up and the same (only) host acting as SPM.
 
 I used the engine-iso-uploader utility to upload my .iso to the iso domain.
 Created a new VM and attached a vdisk of type sparse (thin-prov) and
 click on Run Once,
 where i select Attach CD and select my .iso, and change boot order
 to boot from CD, then disk.
 
 But i get this error...
 
 VM first-ovirt-vm is down. Exit message internal error process
 exited while connecting to monitor: qemu-kvm: -drive 
 file=/rhev/data-center/4087fea7-b54a-4318-8d5c-828eff8846f4/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw:
 could not open disk image 
 /rhev/data-center/4087fea7-b54a-4318-8d5c-828eff8846f4/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso:
 Permission denied .
 
 I am unable to figure out why.. bcos the user.group perms for the
 .iso are fine.
 In fact i logged into the system serving the nfs share and added 0777 perms
 still i get the same error. Here is the snip of how the perms for
 .iso look like...
 
 ll 
 /tmp/iso1-domain/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso
 -rwxr-xr-x. 1 vdsm kvm 3757047808 Feb 13 04:24 
 /tmp/iso1-domain/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso

would you try `ls -lZ` ? Does your /var/log/audit/audit.log shows an
selinux problem? What's `getenforce`? And `getsebool virt_use_nfs`?

What is `groups qemu`?
Does
   su - qemu -s /bin/bash -c 'strings your.iso'
work for you?

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


Re: [Users] ovirt VM start fails - Perm Denied error

2012-02-13 Thread Dan Kenigsberg
On Mon, Feb 13, 2012 at 08:57:23AM -0500, Keith Robertson wrote:
 On 02/13/2012 08:33 AM, Deepak C Shetty wrote:
 On 02/13/2012 03:16 PM, Dan Kenigsberg wrote:
 On Sun, Feb 12, 2012 at 11:58:05PM +0530, Deepak C Shetty wrote:
 Hi,
 I have tried this multiple times and i hit the same error.
 
 I have 3 storage domains  created (iso, data and export) all
 connected to the DC with DC status as Up and
 1 host with status as Up and the same (only) host acting as SPM.
 
 I used the engine-iso-uploader utility to upload my .iso to
 the iso domain.
 Created a new VM and attached a vdisk of type sparse (thin-prov) and
 click on Run Once,
 where i select Attach CD and select my .iso, and change boot order
 to boot from CD, then disk.
 
 But i get this error...
 
 VM first-ovirt-vm is down. Exit message internal error process
 exited while connecting to monitor: qemu-kvm: -drive 
 file=/rhev/data-center/4087fea7-b54a-4318-8d5c-828eff8846f4/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw:
 could not open disk image 
 /rhev/data-center/4087fea7-b54a-4318-8d5c-828eff8846f4/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso:
 Permission denied .
 
 I am unable to figure out why.. bcos the user.group perms for the
 .iso are fine.
 In fact i logged into the system serving the nfs share and
 added 0777 perms
 still i get the same error. Here is the snip of how the perms for
 .iso look like...
 
 ll 
 /tmp/iso1-domain/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso
 -rwxr-xr-x. 1 vdsm kvm 3757047808 Feb 13 04:24 
 /tmp/iso1-domain/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso
 would you try `ls -lZ` ? Does your /var/log/audit/audit.log shows an
 selinux problem? What's `getenforce`? And `getsebool virt_use_nfs`?
 
 What is `groups qemu`?
 Does
 su - qemu -s /bin/bash -c 'strings your.iso'
 work for you?
 
 Regards,
 Dan.
 
 
 
 Hello Dan,
 Here is the output you requested...
 
 [root@llm56 ~]# ls -lZ 
 /rhev/data-center/4087fea7-b54a-4318-8d5c-828eff8846f4/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso
 -rwxr-xr-x. vdsm kvm system_u:object_r:nfs_t:s0   
 /rhev/data-center/4087fea7-b54a-4318-8d5c-828eff8846f4/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso
 
 [root@llm56 ~]# getenforce
 Enforcing
 
 [root@llm56 ~]# getsebool virt_use_nfs
 virt_use_nfs -- off

Vdsm SHOULD configure this to on when it first starts, by running

/usr/sbin/semanage  boolean -m -S targeted -F /dev/stdin   _EOF
virt_use_nfs=1
_EOF
   /usr/sbin/setsebool virt_use_nfs on

Please try running this as root to understand why it failed. qemu cannot
use NFS when this is off and selinux is enforcing.



 
 [root@llm56 ~]# groups qemu
 qemu : qemu kvm
 
 Also `su - qemu -s /bin/bash -c 'strings your.iso'`
 
 worked for me.. dumped loads of strings on the screen.
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 Perhaps I missed that snippet of logs, but is llm56 the hyper-visor?
 
 Also, here is another litmus test to help shake out some common NFS
 issues.  Do the following from the hyper-visor:
 1. temporarily give user vdsm in /etc/passwd a login shell (e.g. /bin/bash)
 2. mkdir /mnt/testmount
 3. mount nfs server here:/path/to/iso/storage/domain /mnt/testmount
 4. su - vdsm -- Really important.

unrelated comment:
if you add '-s /bin/bash' you can avoid steps 1 and 8.

 5. cd 
 35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----
 6. touch test.txt
 7. strings Fedora-16-x86_64-DVD.iso
 8. reset vdsm in /etc/passwd to nologin
 
 Do 6 and 7 work?
 
 Cheers,
 Keith
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt VM start fails - Perm Denied error

2012-02-14 Thread Dan Kenigsberg
On Tue, Feb 14, 2012 at 10:36:39AM +0530, Deepak C Shetty wrote:
 On 02/13/2012 03:16 PM, Dan Kenigsberg wrote:
 On Sun, Feb 12, 2012 at 11:58:05PM +0530, Deepak C Shetty wrote:
 Hi,
 I have tried this multiple times and i hit the same error.
 
 I have 3 storage domains  created (iso, data and export) all
 connected to the DC with DC status as Up and
 1 host with status as Up and the same (only) host acting as SPM.
 
 I used the engine-iso-uploader utility to upload my .iso to the iso domain.
 Created a new VM and attached a vdisk of type sparse (thin-prov) and
 click on Run Once,
 where i select Attach CD and select my .iso, and change boot order
 to boot from CD, then disk.
 
 But i get this error...
 
 VM first-ovirt-vm is down. Exit message internal error process
 exited while connecting to monitor: qemu-kvm: -drive 
 file=/rhev/data-center/4087fea7-b54a-4318-8d5c-828eff8846f4/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw:
 could not open disk image 
 /rhev/data-center/4087fea7-b54a-4318-8d5c-828eff8846f4/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso:
 Permission denied .
 
 I am unable to figure out why.. bcos the user.group perms for the
 .iso are fine.
 In fact i logged into the system serving the nfs share and added 0777 perms
 still i get the same error. Here is the snip of how the perms for
 .iso look like...
 
 ll 
 /tmp/iso1-domain/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso
 -rwxr-xr-x. 1 vdsm kvm 3757047808 Feb 13 04:24 
 /tmp/iso1-domain/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso
 would you try `ls -lZ` ? Does your /var/log/audit/audit.log shows an
 selinux problem? What's `getenforce`? And `getsebool virt_use_nfs`?
 
 Hi Dan,
 Thanks for the hint, after setting virt_use_nfs, it worked for me.
 Strangely VDSM should have set it, not sure why it didn't.

I suppose this is related to the fact that your `semanage` hangs. Please
help us understand why.

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


Re: [Users] ovirt VM start fails - Perm Denied error

2012-02-15 Thread Dan Kenigsberg
On Wed, Feb 15, 2012 at 02:50:26PM +0530, Deepak C Shetty wrote:
 On 02/15/2012 01:27 PM, Dan Kenigsberg wrote:
 On Wed, Feb 15, 2012 at 12:13:39PM +0530, Deepak C Shetty wrote:
 On 02/14/2012 02:55 PM, Dan Kenigsberg wrote:
 On Tue, Feb 14, 2012 at 10:36:39AM +0530, Deepak C Shetty wrote:
 On 02/13/2012 03:16 PM, Dan Kenigsberg wrote:
 On Sun, Feb 12, 2012 at 11:58:05PM +0530, Deepak C Shetty wrote:
 Hi,
 I have tried this multiple times and i hit the same error.
 
 I have 3 storage domains  created (iso, data and export) all
 connected to the DC with DC status as Up and
 1 host with status as Up and the same (only) host acting as SPM.
 
 I used the engine-iso-uploader utility to upload my .iso to the iso 
 domain.
 Created a new VM and attached a vdisk of type sparse (thin-prov) and
 click on Run Once,
 where i select Attach CD and select my .iso, and change boot order
 to boot from CD, then disk.
 
 But i get this error...
 
 VM first-ovirt-vm is down. Exit message internal error process
 exited while connecting to monitor: qemu-kvm: -drive 
 file=/rhev/data-center/4087fea7-b54a-4318-8d5c-828eff8846f4/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw:
 could not open disk image 
 /rhev/data-center/4087fea7-b54a-4318-8d5c-828eff8846f4/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso:
 Permission denied .
 
 I am unable to figure out why.. bcos the user.group perms for the
 .iso are fine.
 In fact i logged into the system serving the nfs share and added 0777 
 perms
 still i get the same error. Here is the snip of how the perms for
 .iso look like...
 
 ll 
 /tmp/iso1-domain/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso
 -rwxr-xr-x. 1 vdsm kvm 3757047808 Feb 13 04:24 
 /tmp/iso1-domain/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso
 would you try `ls -lZ` ? Does your /var/log/audit/audit.log shows an
 selinux problem? What's `getenforce`? And `getsebool virt_use_nfs`?
 Hi Dan,
  Thanks for the hint, after setting virt_use_nfs, it worked for me.
 Strangely VDSM should have set it, not sure why it didn't.
 I suppose this is related to the fact that your `semanage` hangs. Please
 help us understand why.
 
 Hello Dan,
  This is what strace dumped, when i attached to the semanage process.
 Note that i am only pasting the last few lines.. as the dump was large...
 Let me know if you need to entire dump...
 I'd better know if strace seems to be advancing anywhere. Is there a
 blocking system call? For how long did you wait? (I guess I should have
 asked for `strace -t`)
 
 You are rite, i did not wait enuf for it to finish may be.
 This time i did.. it took ~ 2.5 mins to finish the semanage cmd.
 
 I started with -t this time, so here is the time gap (wait) that i see...
 20:12:20 close(5)   = 0
 20:12:20
 open(/etc/selinux/targeted/modules/tmp/netfilter_contexts,
 O_WRONLY|O_CREAT|O_TRUNC, 0600) = 5
 20:12:20 write(5, , 0)= 0
 20:12:20 close(5)   = 0
 20:15:19 open(/etc/selinux/targeted/modules/tmp/commit_num,
 O_RDONLY) = 5
 20:15:19 read(5,
 4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0,
 32) = 32
 20:15:19 close(5)   = 0
 
 I marked the gap with  .. let me know if you need the entire dump ?

hmm, I wish I'd asked you to use -ff, to see if there's a subthread
doing something fishy. Is something interesting written to
/var/log/audit /var/log/message at this time?

Anyway, I'm not sure that this list has the expertise to properly debug
an SELinux problem on your machine. It seems that it merits opening a
bug on policycoreutils-python - if you can identify why it takes so
long.

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


Re: [Users] Newly created VM will not start. Bad permissions on its virtual disk.

2012-02-27 Thread Dan Kenigsberg
On Mon, Feb 27, 2012 at 03:50:32PM -0500, Terry Phelps wrote:
 I have a newly installed ovirt engine, and node. I created a new VM, gave
 it a virtual disk, and a network, attached my one ISO that I have out
 there, and tried to start it. It failed. The admin portal error messages
 say:
 
 2012-Feb-27, 15:40:10
 Failed to run VM oel-test (User: admin@internal).
 
 2012-Feb-27, 15:40:10
 Failed to run VM oel-test on Host oravm2.
 
 2012-Feb-27, 15:40:10
 VM oel-test is down. Exit message unable to open disk path
 /rhev/data-center/f465251e-
 5679-11e1-ba81-97917332892e/24b70dff-549e-46a6-a863-3a158aa6e9a3/images/c07482cb-818f-47b7-97d1-1409909408bb/e1e57887-e660-4191-87a0-5eac7a44f2d7:
 Permission denied.
 
 2012-Feb-27, 15:40:08
 VM oel-test was started by admin@internal (Host: oravm2).
 
 
 When I go to the node, and check, the permissions do indeed look bad.
 vdsm:kvm owns everything down through
 /rhev/data-center/f465251e-5679-11e1-ba81-97917332892e/24b70dff-549e-46a6-a863-3a158aa6e9a3,
 but below that, it looks bad. Here is a ls -l of that last directory:
 
 # ls -l
 total 8
 drwxr-xr-x. 2 4294967294 4294967294 4096 Feb 23 16:22 dom_md
 drwxr-xr-x. 3 4294967294 4294967294 4096 Feb 27 16:22 images
 
 And then the owner and group of everything below 'images' is bad, too.
 
 Can some help me determine what happened? And how to fix it?

I've never seen a filed owned by uid -2 before! I suppose you are using nfs.
what are the mount options (look for the relevant line in the output of
`mount`)? which is your server, and how was it configured?

The script in
http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob;f=contrib/nfs-check.py
may help diagnose few nfs-related problems. Once we understand what's wrong with
you setup, we should probabaly update this script.

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


Re: [Users] new wiki for ovirt-engine-cli

2012-03-04 Thread Dan Kenigsberg
On Thu, Mar 01, 2012 at 09:38:41AM +0200, Michael Pasternak wrote:
 
 On 03/01/2012 07:44 AM, Deepak C Shetty wrote:
  On 02/29/2012 08:38 PM, Michael Pasternak wrote:
  http://www.ovirt.org/wiki/CLI
 
  I would like to see something similar for VDSM cli (vdsClient) :)
  
 
 if VDSM api will expose RSDL (RESTful service description language), we could
 generate SDK [1] for it and then very same cli can be used against this sdk
 
 [1] our ovirt-engine-sdk [2] is auto-generated from RSDL exposed in 
 ovirt-engine-api
 [2] http://www.ovirt.org/wiki/SDK

REST API for Vdsm is in the works, http://gerrit.ovirt.org/2021
but I am not sure that mixing the layers and having one cli to Engine and Vdsm
makes sense. In fact, I would guess that Engine would not be surprised if you
spring a VM below its feet, or migrate an existing VM.
That's why vdsClient is considered and test and debug tool.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to configure sharedFS ?

2012-03-19 Thread Dan Kenigsberg
On Wed, Mar 14, 2012 at 07:04:47PM +0530, Deepak C Shetty wrote:
 On 02/29/2012 08:06 PM, Dan Kenigsberg wrote:
 On Wed, Feb 29, 2012 at 07:42:15PM +0530, Deepak C Shetty wrote:
 On 02/27/2012 04:55 AM, Ayal Baron wrote:
 Any help on documenting this so people would not have to dig into the code 
 would be greatly appreciated.
 
 Great, let me start and get back if i land up into issues.
 thanks for the pointer.
 Let us know if you need further assistance..
 
 If you have that python script working for LOCALFS, I'd suggest you try
 making it work for SHAREDFS too.
 
 
 
 I was able to use the VDSM_Standalone example, and modify it to use SHAREDFS
 and export glusterfs as a DATA_DOMAIN and invoke VM backed by
 gluster storage.
 
 I edited http://www.ovirt.org/wiki/Vdsm_Standalone (scroll below) 
 added it as
 a SHAREDFS example.

Thanks! It is great news that all you need is O_DIRECT in fuse, and that
Vdsm's SHAREDFS interface works as it is for gluster.

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


Re: [Users] Cannot delete VM

2012-03-25 Thread Dan Kenigsberg
On Mon, Mar 19, 2012 at 05:25:35PM +0530, Saurabh Bathe wrote:
 Hi,
 
 I installed ovirt on F16 following the installation doc. The
 installation was a breeze and was also able to add a ovirt-node via
 the web console.
 I created a VM on the host (using a local storage domain on the same
 host). But I cannot delete the VM now, either via the webadmin console
 (which says Browser Firefox version 10 is currently not supported)
 or via the cli. The webadmin console says Failed to remove VM test
 (User: admin@internal).). Attaching vdsm.log snippet from ovirt-node.
 It says
 Thread-207010::ERROR::2012-03-19
 11:42:02,591::dispatcher::90::Storage.Dispatcher.Protect::(run)
 {'status': {'message': Volume does not exist:
 ('c0cbe099-aa2d-444e-a734-1de7d9171498',), 'code': 201}}
 
 But I can see the file is present on the file system.
 [root@ovirt-node ~]# find /data -name
 'c0cbe099-aa2d-444e-a734-1de7d9171498*'/data/images/rhev/ff81a0d4-b132-4d9b-972a-1a75319fd061/images/c0219347-b425-4ee6-a6e1-c0fdd1a8a71d/c0cbe099-aa2d-444e-a734-1de7d9171498
 /data/images/rhev/ff81a0d4-b132-4d9b-972a-1a75319fd061/images/c0219347-b425-4ee6-a6e1-c0fdd1a8a71d/c0cbe099-aa2d-444e-a734-1de7d9171498.meta

I do not understand yet why deleteImage fails for you. Which Vdsm
version are you using?

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


Re: [Users] Build RPM packages vdm from source code

2012-04-11 Thread Dan Kenigsberg
On Wed, Apr 11, 2012 at 03:25:05PM +0400, ?? wrote:
I build vdsm version with commands:
 
git clone git://gerrit.ovirt.org/vdsm
 
./autogen.sh --system  ./configure
 
make clean  make rpm
 
make rpm
 
Command make rpm ( and make check) return error:
 
make[3]: Entering directory `/root/rpmbuild/BUILD/vdsm-4.9.6/tests'
 
../tests/run_tests.sh main.py miscTests.py resourceManagerTests.py
processPoolTests.py fileUtilTests.py guestIFTests.py
 
Traceback (most recent call last):
 
  File ../tests/testrunner.py, line 192, in module
 
hackVdsmModule()
 
  File ../tests/testrunner.py, line 187, in hackVdsmModule
 
import utils
 
  File /root/rpmbuild/BUILD/vdsm-4.9.6/vdsm/utils.py, line 40, in
module
 
import ethtool
 
ImportError: No module named ethtool

Do you have it installed?
A recent patch by Ewoud makes a check for this during ./configure ,
after I get a question sorted out about it, I'd like to take it in.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Use Filer for NFS storage

2012-04-15 Thread Dan Kenigsberg
On Fri, Apr 13, 2012 at 12:26:39PM -0700, Christian Hernandez wrote:
 Here is the log from the Host
 
 
 *Thread-1821::DEBUG::2012-04-13
 12:18:52,200::BindingXMLRPC::167::vds::(wrapper) [192.168.11.236]
 Thread-1821::ERROR::2012-04-13
 12:18:52,200::BindingXMLRPC::171::vds::(wrapper) Unexpected exception
 Traceback (most recent call last):
   File /usr/share/vdsm/BindingXMLRPC.py, line 169, in wrapper
 return f(*args, **kwargs)
   File /usr/share/vdsm/BindingXMLRPC.py, line 571, in
 poolValidateStorageServerConnection
 return pool.validateStorageServerConnection(domType, conList)
   File /usr/share/vdsm/API.py, line 897, in
 validateStorageServerConnection
 return self._irs.validateStorageServerConnection(domainType,
 AttributeError: 'NoneType' object has no attribute
 'validateStorageServerConnection'
 Thread-1822::DEBUG::2012-04-13
 12:18:52,333::BindingXMLRPC::167::vds::(wrapper) [192.168.11.236]
 Thread-1822::ERROR::2012-04-13
 12:18:52,334::BindingXMLRPC::171::vds::(wrapper) Unexpected exception
 Traceback (most recent call last):
   File /usr/share/vdsm/BindingXMLRPC.py, line 169, in wrapper
 return f(*args, **kwargs)
   File /usr/share/vdsm/BindingXMLRPC.py, line 491, in
 poolDisconnectStorageServer
 return pool.disconnectStorageServer(domType, conList)
   File /usr/share/vdsm/API.py, line 823, in disconnectStorageServer
 return self._irs.disconnectStorageServer(domainType, self._UUID,
 AttributeError: 'NoneType' object has no attribute 'disconnectStorageServer'

It seems like the interesting traceback should be further up - I
suppose self._irs failed initialization and kept its original None
value. Please scroll up and try to find out why this failed on Vdsm
startup.

We have a FIXME in vdsm so that we report such failures better:

vdsm/BindingXMLRPC.py: # XXX: Need another way to check if IRS init was okay

Adam, could you take a further look into this?

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


Re: [Users] high availability via fencing

2012-04-24 Thread Dan Kenigsberg
On Tue, Apr 24, 2012 at 12:20:37PM -0400, Ian Levesque wrote:
  2012-04-20 11:32:44,696 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]
  (http--0.0.0.0-8443-5) FINISH, FenceVdsVDSCommand, return: Test
  Failed, Host Status is: unknown. The fence-agent script reported the
  following error: Failed: You have to enter plug number
  Please use '-h' for usage
  
  I've tried to add port=1 to the Options field but that seems to
  have no effect.
  
  Any ideas? Is there any way to configure a dumb power management /
  fencing configuration for testing?
  
  If you still have the problem, can you please put also the vdsm log (look 
  for fenceNode )
  Thanks
 
 Hi Eli,
 
 Here is the relevant output, though I don't think it'll be much more help:

Actually, it does, since it shows that Vdsm did not receive any 'port'
to pass to fence_apc, which is required. 'port' is usually the ordinal
postion of your blade. Either define it in the GUI or use port=n
option in the options edit box.

 
 Thread-1818::DEBUG::2012-04-24 12:17:59,804::API::954::vds::(fenceNode) 
 fenceNode(addr=134.174.x.x,port=,agent=apc,user=ovirt,passwd=,action=status,secure=,options=)
 Thread-1818::DEBUG::2012-04-24 12:17:59,841::API::980::vds::(fenceNode) rc 1 
 in agent=fence_apc
 ipaddr=134.174.x.x
 login=ovirt
 option=status
 passwd=
  out  err Failed: You have to enter plug number
 Please use '-h' for usage
 
 Thanks,
 Ian
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] high availability via fencing

2012-04-25 Thread Dan Kenigsberg
On Wed, Apr 25, 2012 at 05:13:40AM -0400, Eli Mesika wrote:
 
 
 - Original Message -
  From: Dan Kenigsberg dan...@redhat.com
  To: Ian Levesque i...@crystal.harvard.edu
  Cc: Eli Mesika emes...@redhat.com, users@ovirt.org
  Sent: Wednesday, April 25, 2012 7:59:08 AM
  Subject: Re: [Users] high availability via fencing
  
  On Tue, Apr 24, 2012 at 12:20:37PM -0400, Ian Levesque wrote:
2012-04-20 11:32:44,696 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]
(http--0.0.0.0-8443-5) FINISH, FenceVdsVDSCommand, return: Test
Failed, Host Status is: unknown. The fence-agent script reported
the
following error: Failed: You have to enter plug number
Please use '-h' for usage

I've tried to add port=1 to the Options field but that seems
to
have no effect.

Any ideas? Is there any way to configure a dumb power
management /
fencing configuration for testing?

If you still have the problem, can you please put also the vdsm
log (look for fenceNode )
Thanks
   
   Hi Eli,
   
   Here is the relevant output, though I don't think it'll be much
   more help:
  
  Actually, it does, since it shows that Vdsm did not receive any
  'port'
  to pass to fence_apc, which is required. 'port' is usually the
  ordinal
  postion of your blade. Either define it in the GUI or use port=n
  option in the options edit box.
 
 This is the line from the engine log
 
 2012-04-20 11:32:44,598 INFO  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] 
 (http--0.0.0.0-8443-5) START, FenceVdsVDSCommand(vdsId = 
 6de5e3fa-8a33-11e1-b3f9-003048c85226, targetVdsId = 
 60087c5e-8a3b-11e1-b15d-003048c85226, action = Status, ip = 134.174.x.x, port 
 = , type = apc, user = ovirt, password = **, options = 
 'port=22,secure=true,slot=1'), log id: 57f86a56
 
 So, what I see is that port was sent twice , once as empty and then the 
 port=22 is sent as part of the options string.
 
 Can you please remove the port from the options field and put it in the port 
 field.
 If this works , this is an engine core bug...

I believe that it is such a bug, since the options field come up as
empty in vdsm.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VDSM build error

2012-05-10 Thread Dan Kenigsberg
On Thu, May 10, 2012 at 06:57:37PM +0400, ov...@qip.ru wrote:
the is no file  netmaskconversions  in src.rpm
 
Чтв 10 Май 2012 18:30:56 +0400, ov...@qip.ru написал:
 
  after commit 44ef2cecb541d3bdab6a36bfc45f1bf3b6fdd690
 
  VDSM build error
 
  ==
  ERROR: testNetmaskConversions (netinfoTests.TestNetinfo)
  --
  Traceback (most recent call last):
    File /root/rpmbuild/BUILD/vdsm-4.9.6/tests/netinfoTests.py, line 32,
  in testNetmaskConversions
      for line in file(path):
  IOError: [Errno 2] No such file or directory:
  '/root/rpmbuild/BUILD/vdsm-4.9.6/tests/netmaskconversions'

I knew that it would be simpler to embed the content of
netmaskconversions in netinfoTests, arghh. Hunt, would you fix this rpm
build failure?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host can't jo­in the cluster

2012-05-16 Thread Dan Kenigsberg
How difficult would it be for Engine to handle the true
version-release of vdsm?

As a stop-gap measure, Engine could convert the reported version-release
into the floating point numbers it can handle. The same stop-gap could
be done on Vdsm side, but I consider this as a step backward.

On Wed, May 16, 2012 at 09:59:42AM -0400, Haim Ateya wrote:
 This issue was introduced in Ic7b4a63a974bfc301f3294603d8fe91f534b74dd 
 (http://gerrit.ovirt.org/4284), we are currently working to resolve this 
 issue 
 and patch will be sent soon.
 meantime, you can edit /usr/share/vdsm/dsaversion.py and change the following 
 fields:
 
 software_version = 4.9
 software_revision = 0
 
 restart vdsmd service and activate host again.
 
 Haim
 - Original Message -
 
  From: ov...@qip.ru
  To: Haim Ateya hat...@redhat.com
  Cc: users@ovirt.org
  Sent: Wednesday, May 16, 2012 3:19:04 PM
  Subject: Re: Re: [Users] Host can't jo­in the cluster
 
  in secure and non secure connections i have the same nonoperational
  status
 
  the output of getVdsCaps on host is empty
 
  this is event log in webadmin
 
 
 
  2012-May-16, 16:05:04
 
  Host kvm04 is compatible with versions (3.0,3.1) and cannot join
  Cluster Default which is set to version 3.1.
 
 
 
  2012-May-16, 16:05:04
 
  Detected new Host kvm04. Host state was set to Up.
 
 
 
  2012-May-16, 16:05:03
 
  Host kvm04 was autorecovered.
 
 
 
  2012-May-16, 16:05:03
 
  Host kvm04 is compatible with versions (3.0,3.1) and cannot join
  Cluster Default which is set to version 3.1.
 
 
 
  2012-May-16, 16:01:02
 
  Host kvm04 was activated by admin@internal.
  if i do downgrade to 4.9.6-0.196.gitb8b79b5 host state set's to Up.
 
  Срд 16 Май 2012 15:24:36 +0400, Haim Ateya hat...@redhat.com
  написал:
 
   I guess you compiled vdsm yourself, please run the following
   command
   from your host:
 
 
   vdsClient -s 0 getVdsCaps (assuming you work with SSL).
 
 
   anyhow, it smells like a known issue with latest build where vdsm
   returns supported_clusters = 3.0 and engine reject host, but lets
   find out.



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


  1   2   3   4   5   6   7   >