Re: [ovirt-users] Jumbo Frames

2014-11-21 Thread Antoni Segura Puimedon


- Original Message -
> From: "Phil Daws" 
> To: "users" 
> Sent: Friday, November 21, 2014 11:45:10 AM
> Subject: Re: [ovirt-users] Jumbo Frames
> 
> Hmm, if an property does not already exist how does one add it ?
> 
> def replaceMTU(interface, newmtu):
> mtu = interface.getElementsByTagName('mtu')[0]
> if not mtu.hasAttribute('size'):
>   mtu.setAttribute('mtu size', newmtu)
> 
> 
> def main():
> newmtu = os.environ.get('extnet_mtu')
> 
> 
> if newmtu is not None:
> doc = hooking.read_domxml()
> interface, = doc.getElementsByTagName('interface')
> replaceMTU(interface, newmtu)
> hooking.write_domxml(doc)
> 
> When I test this code it throws and error:
> 
> mtu = interface.getElementsByTagName('mtu')[0]
> IndexError: list index out of range
> 
> so somehow I need to detect that element needs to be set.

Could you please post how the libvirt xml should look like after the
current hook (if it supported setting the mtu?

> 
> Thanks, Phil
> 
> - Original Message -
> From: "Phil Daws" 
> To: "users" 
> Sent: Friday, 21 November, 2014 10:16:48 AM
> Subject: Re: [ovirt-users] Jumbo Frames
> 
> works with:
> 
> engine-config -s
> CustomDeviceProperties='{type=interface;prop={extnet_ovs=^[a-zA-Z0-9_
> ---]+(:[a-zA-Z0-9_ ---]+|)$;extnet_mtu=^[a-zA-Z0-9_ ---]+(:[a-zA-Z0-9_
> ---]+|)$}};'
> 
> Now just need to sort out the Python code ;)
> 
> - Original Message -
> From: "Phil Daws" 
> To: "users" 
> Sent: Friday, 21 November, 2014 10:01:23 AM
> Subject: Re: [ovirt-users] Jumbo Frames
> 
> Ah, it looks like I need to the MTU on the underlying vnet interface
> therefore should be able to extend the hook to include .
> 
> Have tried to add an additional property using:
> 
> CustomDeviceProperties='{type=interface;prop={extnet_ovs=^[a-zA-Z0-9_
> ---]+(:[a-zA-Z0-9_ ---]+|)$};{extnet_mtu=^[a-zA-Z0-9_ ---]+(:[a-zA-Z0-9_
> ---]+|)$}};'
> 
> but it fails with the following error:
> 
> Cannot set value {type=interface;prop={extnet_ovs=^[a-zA-Z0-9_
> ---]+(:[a-zA-Z0-9_ ---]+|)$};{extnet_mtu=^[a-zA-Z0-9_ ---]+(:[a-zA-Z0-9_
> ---]+|)$}}; to key CustomDeviceProperties. Invalid syntax, custom device
> properties specification should conform to
> \{type=(disk|interface|video|sound|controller|balloon|channel|redir|console|rng|smartcard|watchdog);prop=\{((([a-z_A-Z0-9])+)=(([^;])*)(;(([a-z_A-Z0-9])+)=(([^;])*))*;?)?\}\}[;]?
> 
> I did try:
> 
> CustomDeviceProperties='{type=interface;prop={extnet_ovs=^[a-zA-Z0-9_
> ---]+(:[a-zA-Z0-9_ ---]+|)$};prop={extnet_mtu=^[a-zA-Z0-9_
> ---]+(:[a-zA-Z0-9_ ---]+|)$}};'
> 
> but that just gave me a new property of 'prop' :)
> 
> Any help appreciated please.
> 
> Thanks, Phil
> 
> - Original Message -
> From: "Phil Daws" 
> To: "Dan Yasny" 
> Cc: "users" 
> Sent: Friday, 21 November, 2014 8:49:51 AM
> Subject: Re: [ovirt-users] Jumbo Frames
> 
> Hello Dan:
> 
> We are using OVS for SFlow and OSPF functionality.  You can see that the
> bridge was correctly set:
> 
> ovirtmgmt: flags=4163  mtu 9000
> 
> Very odd as OVS is unaware of whether its jumbo frames or not.
> 
> Thanks, Phil
> 
> - Original Message -
> From: "Dan Yasny" 
> To: "Phil Daws" 
> Cc: "users" 
> Sent: Friday, 21 November, 2014 1:39:32 AM
> Subject: Re: [ovirt-users] Jumbo Frames
> 
> Why do you use OVS at all? If you have VLANs, all you need is to tag the mgmt
> traffic, and create a VM traffic VLAN with a different MTU. The bridge and
> underlying NICs will have MTU=9000 and the VM bridge will have MTU=1500
> 
> On Thu, Nov 20, 2014 at 7:40 PM, Phil Daws < ux...@splatnix.net > wrote:
> 
> 
> Hello:
> 
> am really enjoying oVirt but have now hit an issue with iSCSI. As there is
> only one NIC in the host I have had to enable an MTU of 9000 on ovirtmgmt.
> Then have vNIC profiles on that interface which are using a custom hook for
> Openvswitch. I have created a specific vLAN for iSCSI traffic and on the
> initiator and targets have set their respective interface MTUs to be 9000.
> When I connect to a LUN it is timing out straight away with a 1011 error. If
> I drop the MTU back to 1500 all works okay. This is all fine on my other
> KVM, non-oVirt, system so am wondering if I have missed a step ?
> 
> Thanks, Phil
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> ___
> Users 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: [ovirt-users] oVirt 3.5 & NAT

2014-11-20 Thread Antoni Segura Puimedon


- Original Message -
> From: "Dan Kenigsberg" 
> To: "Phil Daws" 
> Cc: "users" 
> Sent: Thursday, November 20, 2014 1:02:04 PM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> 
> On Thu, Nov 20, 2014 at 01:21:27AM +, Phil Daws wrote:
> > Yes, thank you Robert.  The hook is working wonderfully!  Have a single NIC
> > on the VDSM host configured with public IP, then OVS installed, and VLANs
> > hanging off that to a guest which is acting as the firewall to
> > internal/NAT systems.
> > 
> > [root@vmh01 ~]# ovs-vsctl show
> > 077da472-acf6-4141-bd9d-8e42047d3efc
> > Bridge "ovsbr0"
> > Port "vnet4"
> > tag: 14
> > Interface "vnet4"
> > Port "vnet2"
> > tag: 10
> > Interface "vnet2"
> > Port "ovsbr0"
> > Interface "ovsbr0"
> > type: internal
> > Port "vnet3"
> > tag: 14
> > Interface "vnet3"
> > Port "vnet1"
> > tag: 8
> > Interface "vnet1"
> > ovs_version: "2.3.90"
> 
> Thank you both for your contributions!
> 
> From a software design PoV, we'd better not duplicate the extnet code.
> If a bug is found and fixed in extnet,
> http://www.ovirt.org/VDSM-Hooks/network-nat would have to be updated as
> well.
> 
> It would be more elegant to ship an additional script with an independent
> custom property, say "ovs_portgroup". This script would run after extnet
> does, and would add the portgroup attribute to to the proper element.

I agree with a separate custom property, but I think that we could make
extnet look for it too and set the port group itself. It would be backwards
compatible and simpler.

> 
> Who's posting this to gerrit first?
> 
> Dan.
> ___
> 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: [ovirt-users] oVirt 3.5 & NAT

2014-11-19 Thread Antoni Segura Puimedon


- Original Message -
> From: "Robert Story" 
> To: users@ovirt.org
> Sent: Wednesday, November 19, 2014 2:30:49 PM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> 
> On Wed, 19 Nov 2014 09:03:44 + (GMT) Phil wrote:
> PD> With thanks to Antoni we have this working now.  The working hook may
> PD> be viewed at http://paste.fedoraproject.org/152070/
> 
> I'd hate for this info to get lost, so I added a page in the oVirt wiki. I
> haven't actually tried it, but just pulled info from this thread. Can you
> review the page and see if it look right to you, or if I missed anything?
> 
>   http://www.ovirt.org/VDSM-Hooks/network-nat
> 

Thanks Robert!

> 
> Robert
> 
> --
> Senior Software Engineer @ Parsons
> 
> ___
> 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: [ovirt-users] oVirt 3.5 & NAT

2014-11-02 Thread Antoni Segura Puimedon
rom: "Phil Daws" 
> To: users@ovirt.org
> Sent: Monday, 27 October, 2014 5:51:53 PM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> 
> I believe am really missing the point somewhere along the line :( on my
> straight KVM and OVS system I see:
> 
> brctl show
> bridge name   bridge id   STP enabled interfaces
> virbr08000.fe5400552ed9   yes vnet5
>   vnet8
> ovs-vsctl show
> 55a2af2f-daf5-4f01-a757-9bccaf4f6932
> Bridge "ovsbr0"
> Port "vnet0"
> Interface "vnet0"
> Port "vnet1"
> tag: 8
> Interface "vnet1"
> Port "vnet13"
> tag: 14
> Interface "vnet13"
> Port "vnet9"
> tag: 10
> Interface "vnet9"
> Port "mgmt0"
> Interface "mgmt0"
> type: internal
> Port "vnet14"
> tag: 8
> Interface "vnet14"
> Port "ovsbr0"
> Interface "ovsbr0"
> type: internal
> Port "vnet11"
> tag: 8
> Interface "vnet11"
> 
> and on the new oVirt system I see:
> 
> brctl show
> bridge name   bridge id   STP enabled interfaces
> ;vdsmdummy;   8000.   no
> ovirtmgmt 8000.c81f66c42c76   no  em1
>   vnet0
> ovs-vsctl show
> 08554d11-3ba7-4303-b9d5-6a09f23c9057
> Bridge "ovsbr0"
> Port "ovsbr0"
> Interface "ovsbr0"
> type: internal
> 
> 
> so I have the ovirtmgmt bridge running fine and that is responding to
> traffic.  If I bond an IP to the ovsbr0 it responds okay:
> 
> ip add add 88.XXX.XXX.XXX/29 dev ovsbr0
> 
> so network traffic is flowing in and out of OVS.  The next step would be to
> create a VM that will act as the firewall with a public facing interface on
> ovsbr0, but then all internal networks would need specific vlans behind
> that.  I have already defined a new network called ovs-network:
> 
> 
>   ovs-network
>   76152e72-34da-43bc-864a-85e727025bc9
>   
>   
>   
>   
> 
>   
> 
>   
>   
> 
>   
> 
>   
>   
> 
>   
> 
>   
>   
> 
>   
> 
>   
>   
> 
>   
> 
>   
>   
>   
> 
> 
> and then I should just be able to assign the network and vlan IDs to each VM
> NIC:
> 
> 
>   
>   
>   
>  function='0x0'/>
> 
> 
>   
>   
>   
>  function='0x0'/>
> 
> 
> so where should I start to put all this together please ? I believe am 90%
> there its just how to get the source-network and port-group to be assigned
> to a VM guest when its built ?  Guess probably need to create a new hook
> similar to
> https://github.com/oVirt/vdsm/blob/master/vdsm_hooks/macspoof/macspoof_vnic.py
> that changes this in each guests VM definition from bridge to a network:
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  function='0x0'/>
>   
> 
> Thanks, Phil
> - Original Message -
> From: "Phil Daws" 
> To: users@ovirt.org
> Sent: Monday, 27 October, 2014 5:16:05 PM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> 
> How does one add multiple custom properties ? tried:
> 
> engine-config -s
> CustomDeviceProperties='{type=interface;prop={vlan=^[a-zA-Z0-9_
> ---]+$}}{type=interface;prop={bridge=^[a-zA-Z0-9_ ---]+$}}'
> 
> but ended up with one call vlan and the other prop :) If can add vlan and
> bridge then should be able to use a vNIC profile for adding an interface
> directly to OVS using a custom hook.
> 
> Thanks, Phil
> 
> - Original Message -
> From: "Phil Daws" 
> To: users@ovirt.org
> Sent: Monday, 27 October, 2014 3:04:20 PM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> 
> Well, in fact have got something to work now! Left ovirtmgmt and em1 alone
> but ran:
> 
> $ ovs-vsctl add-br ovsbr0
> $ ip link add name veth0 type veth peer name veth1
> $ brctl addif ovirtmgmt veth0
> $ ovs-vsctl add-port ovsbr veth1
> $ ip add add XXX.XXX.XXX.XXX/29 dev veth1
> 

Re: [ovirt-users] Change default gateway

2014-10-29 Thread Antoni Segura Puimedon


- Original Message -
> From: "Moti Asayag" 
> To: "Ludek Finstrle" 
> Cc: users@ovirt.org, "Antoni Segura Puimedon" 
> Sent: Wednesday, October 29, 2014 3:55:41 PM
> Subject: Re: [ovirt-users] Change default gateway
> 
> 
> 
> - Original Message -
> > From: "Ludek Finstrle" 
> > To: users@ovirt.org
> > Sent: Wednesday, October 29, 2014 4:11:36 PM
> > Subject: [ovirt-users] Change default gateway
> > 
> > 
> > Hi,
> > 
> > I have ovirt 3.5 with hosted engine.
> > I'm running it on 2 physical hosts (for management + storage) directly
> > connected. I have another NICs for data.
> > 
> > -- data -- | VM_HOST1 | -- ovirtmgmt -- | VM_HOST2 | -- data --
> > 
> > Is it possible to setup oVirt hosts to use different network (not
> > ovirtmgmt but data) for default route using GUI?
> 
> No, the engine supports setting default route only for the management
> network.

In that case, I'm afraid that you have two lower level options:

1.- Write a before_network_setup hook that takes defaultroute out of the
management network and sets it for your 'data' network. This would work
even when re-defining the networks.
2.- Manually modify /var/lib/vdsm/persistence/netconf/nets/{ovirtmgmt,data}
so that defaultRoute is set on data and not on ovirtmgmt. Then doing
vdsm-tool restore-nets. This will survive reboots, but changes to 
ovirtmgmt and 'data' will have it overwritten and return the default route
to the management net.

> 
> > I think about vdsm hook
> > but I don't want to reinvent the wheel. Also I don't like an idea to
> > make hosted engine default gateway for physical hosts.
> > 
> > Thanks,
> > 
> > Luf
> > 
> > 
> > NOTICE: This email and any attachments may contain confidential and
> > proprietary information of NetSuite Inc. and is for the sole use of the
> > intended recipient for the stated purpose. Any improper use or distribution
> > is prohibited. If you are not the intended recipient, please notify the
> > sender; do not review, copy or distribute; and promptly delete or destroy
> > all transmitted information. Please note that all communications and
> > information transmitted through this email system may be monitored and
> > retained by NetSuite or its agents and that all incoming email is
> > automatically scanned by a third party spam and filtering service which may
> > result in deletion of a legitimate e-mail before it is read by the intended
> > recipient.
> > 
> > ___
> > 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: [ovirt-users] oVirt 3.5 & NAT

2014-10-27 Thread Antoni Segura Puimedon


- Original Message -
> From: "Phil Daws" 
> To: "Antoni Segura Puimedon" 
> Cc: "Dan Kenigsberg" , users@ovirt.org
> Sent: Monday, October 27, 2014 11:41:56 AM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> 
> Hi Antoni:
> 
> Yes, prior to the reboot it did work okay.  This is how it should look I
> believe:
> 
> Bridge "ovirtmgmt"
> Port "mgmt0"
> Interface "mgmt0"
> type: internal
> Port "ovsbr0"
> Interface "ovsbr0"
> type: internal
> 
> So the bridge would be defined by oVirt then I guess with a custom hook that
> would then be added to the OVS stack ?

exactly! You could just make a hook script that runs an after_network_setup
hook that does the ovs-vsctl for you ;-)

Here you can see the presentation I gave last February at devconf about 
extending
with configurators and hooks.

http://blog.antoni.me/devconf14/#/8/1

I linked directly to a before_network_setup hook sample, because it works just 
like
the after_network_setup hook. Instead of logging to systemd, just add that if
'remove' is not in data and network == 'ovirtmgmt', it adds the network bridge 
to
the vswitch with python's subprocess.call or subprocess.check_output.

You can send it if you want me to take a look ;-)

PS: It is possible to write the hooks in bash, c, perl, etc. But we only have 
the
convenience read_json methods and such for python. If you wanted to, you could 
have
a simple bash hook that just checked if there was an ovirtmgmt bridge and it 
would
add it doing ovs-vsctl in the before_vdsm_start hooking point. That would have 
the
drawback that changing the ovirtmgmt bridge with oVirt UI would leave it 
disconnected
again.

> 
> Thanks, Phil
> 
> - Original Message -
> From: "Antoni Segura Puimedon" 
> To: "Phil Daws" 
> Cc: "Dan Kenigsberg" , users@ovirt.org
> Sent: Monday, 27 October, 2014 9:56:38 AM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> 
> 
> 
> - Original Message -
> > From: "Phil Daws" 
> > To: "Antoni Segura Puimedon" 
> > Cc: "Dan Kenigsberg" , users@ovirt.org
> > Sent: Monday, October 27, 2014 10:37:18 AM
> > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> > 
> > That is what I tried but oVirt appears to overwrite the bridge information
> > on
> > boot :( Thanks, Phil
> 
> But before rebooting, does it work as you intended? If so, you could just
> make
> a vdsm hook that adds ovirtmgmt to the ovs bridge after it is set up. (I
> could
> give more directions into how to do it).
> 
> > 
> > - Original Message -
> > From: "Antoni Segura Puimedon" 
> > To: "Phil Daws" 
> > Cc: "Dan Kenigsberg" , users@ovirt.org
> > Sent: Monday, 27 October, 2014 8:00:33 AM
> > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> > 
> > 
> > 
> > - Original Message -
> > > From: "Phil Daws" 
> > > To: "Dan Kenigsberg" 
> > > Cc: users@ovirt.org
> > > Sent: Saturday, October 25, 2014 5:02:59 PM
> > > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> > > 
> > > Hmmm, this is becoming difficult ..
> > > 
> > > I have added into the engine the custom hook and understand how that will
> > > work.  The issue is how can a single NIC use two different bridges ?
> > > Example with OVS would be that one requires:
> > > 
> > > em1 -+ ovirtmgmt (bridge) -> management IP (public)
> > >  + ovs   (bridge) -> firewall IP (public)
> > > |
> > > + vlan 1
> > > + vlan 2
> > > 
> > > this works fine when using OVS and KVM, without oVirt, so there must be a
> > > way
> > > to hook the two together without a Neutron appliance.
> > > 
> > > Any thoughts ? Thanks, Phil.
> > 
> > I haven't tried this, and it may not work, but what happens if you add the
> > ovirtmgmt
> > bridge as a port of the ovs bridge?
> > > 
> > > 
> > > - Original Message -
> > > From: "Dan Kenigsberg" 
> > > To: "Phil Daws" 
> > > Cc: users@ovirt.org
> > > Sent: Wednesday, 22 October, 2014 3:54:46 PM
> > > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> > > 
> > > On Wed, Oct 22, 2014 at 03:12:09PM +0100, Phil Daws wrote:
> > > > Thanks Dan &

Re: [ovirt-users] oVirt 3.5 & NAT

2014-10-27 Thread Antoni Segura Puimedon


- Original Message -
> From: "Phil Daws" 
> To: "Antoni Segura Puimedon" 
> Cc: "Dan Kenigsberg" , users@ovirt.org
> Sent: Monday, October 27, 2014 10:37:18 AM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> 
> That is what I tried but oVirt appears to overwrite the bridge information on
> boot :( Thanks, Phil

But before rebooting, does it work as you intended? If so, you could just make
a vdsm hook that adds ovirtmgmt to the ovs bridge after it is set up. (I could
give more directions into how to do it).

> 
> - Original Message -
> From: "Antoni Segura Puimedon" 
> To: "Phil Daws" 
> Cc: "Dan Kenigsberg" , users@ovirt.org
> Sent: Monday, 27 October, 2014 8:00:33 AM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> 
> 
> 
> - Original Message -
> > From: "Phil Daws" 
> > To: "Dan Kenigsberg" 
> > Cc: users@ovirt.org
> > Sent: Saturday, October 25, 2014 5:02:59 PM
> > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> > 
> > Hmmm, this is becoming difficult ..
> > 
> > I have added into the engine the custom hook and understand how that will
> > work.  The issue is how can a single NIC use two different bridges ?
> > Example with OVS would be that one requires:
> > 
> > em1 -+ ovirtmgmt (bridge) -> management IP (public)
> >  + ovs   (bridge) -> firewall IP (public)
> > |
> > + vlan 1
> > + vlan 2
> > 
> > this works fine when using OVS and KVM, without oVirt, so there must be a
> > way
> > to hook the two together without a Neutron appliance.
> > 
> > Any thoughts ? Thanks, Phil.
> 
> I haven't tried this, and it may not work, but what happens if you add the
> ovirtmgmt
> bridge as a port of the ovs bridge?
> > 
> > 
> > - Original Message -
> > From: "Dan Kenigsberg" 
> > To: "Phil Daws" 
> > Cc: users@ovirt.org
> > Sent: Wednesday, 22 October, 2014 3:54:46 PM
> > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> > 
> > On Wed, Oct 22, 2014 at 03:12:09PM +0100, Phil Daws wrote:
> > > Thanks Dan & Antoni:
> > > 
> > > I wonder then if I could replace the standard libvirt defined network
> > > with
> > > an OpenVSwitch one like I have on my dev system?  That is just straight
> > > KVM with OVS integrated.  Maybe a bit more overhead in administration but
> > > possibly less than having to spin up a Neutron Appliance.
> > 
> > Once you start to use the vdsm-hook-extnet, all that you need to do is
> > to replace the libvirt-side definition of the "external network". This
> > may well be an OpenVSwitch-based network e.g.
> > http://libvirt.org/formatnetwork.html#elementVlanTag
> > ___
> > 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: [ovirt-users] oVirt 3.5 & NAT

2014-10-27 Thread Antoni Segura Puimedon


- Original Message -
> From: "Phil Daws" 
> To: "Dan Kenigsberg" 
> Cc: users@ovirt.org
> Sent: Saturday, October 25, 2014 5:02:59 PM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> 
> Hmmm, this is becoming difficult ..
> 
> I have added into the engine the custom hook and understand how that will
> work.  The issue is how can a single NIC use two different bridges ?
> Example with OVS would be that one requires:
> 
> em1 -+ ovirtmgmt (bridge) -> management IP (public)
>  + ovs   (bridge) -> firewall IP (public)
> |
> + vlan 1
> + vlan 2
> 
> this works fine when using OVS and KVM, without oVirt, so there must be a way
> to hook the two together without a Neutron appliance.
> 
> Any thoughts ? Thanks, Phil.

I haven't tried this, and it may not work, but what happens if you add the 
ovirtmgmt
bridge as a port of the ovs bridge?
> 
> 
> - Original Message -
> From: "Dan Kenigsberg" 
> To: "Phil Daws" 
> Cc: users@ovirt.org
> Sent: Wednesday, 22 October, 2014 3:54:46 PM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> 
> On Wed, Oct 22, 2014 at 03:12:09PM +0100, Phil Daws wrote:
> > Thanks Dan & Antoni:
> > 
> > I wonder then if I could replace the standard libvirt defined network with
> > an OpenVSwitch one like I have on my dev system?  That is just straight
> > KVM with OVS integrated.  Maybe a bit more overhead in administration but
> > possibly less than having to spin up a Neutron Appliance.
> 
> Once you start to use the vdsm-hook-extnet, all that you need to do is
> to replace the libvirt-side definition of the "external network". This
> may well be an OpenVSwitch-based network e.g.
> http://libvirt.org/formatnetwork.html#elementVlanTag
> ___
> 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: [ovirt-users] vdsmd start fails during unified_network_persistence_upgrade (was: AllInOne Installation ovirt3.5 on CentOS 6.5 fails)

2014-10-22 Thread Antoni Segura Puimedon


- Original Message -
> From: "Yedidyah Bar David" 
> To: "Patrick Werner" 
> Cc: users@ovirt.org
> Sent: Wednesday, October 22, 2014 8:38:38 AM
> Subject: [ovirt-users] vdsmd start fails during 
> unified_network_persistence_upgrade (was: AllInOne Installation
> ovirt3.5 on CentOS 6.5 fails)
> 
> - Patrick Werner  wrote:
> > Hi Didi,
> > 
> > vdsm.log is empty and not owned by root:
> > -rw-r--r-- 1 vdsm kvm 0 Oct 21 13:44 /var/log/vdsm/vdsm.log
> 
> OK, false alarm.
> 
> Your host-deploy log ([1], from your previous report) has:
> 
> 2014-10-20 14:42:41 DEBUG otopi.plugins.otopi.services.rhel
> plugin.execute:861 execute-output: ('/sbin/service', 'vdsmd', 'start')
> stdout:
> Starting multipathd daemon: [  OK  ]
> Starting rpcbind: [  OK  ]
> Starting ntpd: [  OK  ]
> Starting wdmd: [  OK  ]
> Starting sanlock: [  OK  ]
> supervdsm start[  OK  ]
> Starting iscsid: [  OK  ]
> [  OK  ]
> vdsm: Running mkdirs
> vdsm: Running configure_coredump
> vdsm: Running configure_vdsm_logs
> vdsm: Running run_init_hooks
> vdsm: Running check_is_configured
> libvirt is already configured for vdsm
> vdsm: Running validate_configuration
> SUCCESS: ssl configured to true. No conflicts
> vdsm: Running prepare_transient_repository
> vdsm: Running syslog_available
> vdsm: Running nwfilter
> vdsm: Running dummybr
> vdsm: Running load_needed_modules
> vdsm: Running tune_system
> vdsm: Running test_space
> vdsm: Running test_lo
> vdsm: Running unified_network_persistence_upgrade
> vdsm: stopped during execute unified_network_persistence_upgrade task (task
> returned with error code 1).

Could you please do and report:

find /var/lib/vdsm/persistence

find /var/run/vdsm/netconf

ip l

virsh -r net

and maybe you can try, for good measure,

vdsm-tool restore-nets  # This will most likely show the exception that the 
initialization of the service hides.
> vdsm start[FAILED]
> 
> 2014-10-20 14:42:41 DEBUG otopi.plugins.otopi.services.rhel
> plugin.execute:866 execute-output: ('/sbin/service', 'vdsmd', 'start')
> stderr:
> initctl: Job is already running: libvirtd
> libvir: Network Filter Driver error : Network filter not found: no nwfilter
> with matching name 'vdsm-no-mac-spoofing'
> 
> 
> 
> [1] ovirt-20141020144241-ex1.gecko.hs-heilbronn.de-2f64814a.log
> 
> > 
> > In order to identify when this empty log is created i just reinstalled
> > ovirt 3.5 AllInOne on a fresh installed Centos 6.5 as root user (the ls -l
> > /var/log/vdsm/vdsm.log* output from above is from the fresh install)
> > the empty vdsm log is created after the installation step:
> > yum install -y ovirt-engine-setup-plugin-allinone
> > 
> > Then i did the engine-setup step (Complete settings/log at the end of this
> > mail). Again with the error:
> > [ ERROR ] The VDSM host was found in a failed state. Please check engine
> > and bootstrap installation logs.
> > [WARNING] Local storage domain not added because the VDSM host was not up.
> > Please add it manually.
> 
> What happens if you manually try to start the vdsmd service on the host (not
> vm)?
> If it still fails with the above error, try to fix that first. Not sure what
> might
> cause this - perhaps non-standard network configuration or something like
> that.
> You might search other logs for relevant errors from the time you do that.
> Changed the subject to attract vdsm people's attention...
> --
> Didi
> ___
> 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: [ovirt-users] ovirt presentation template -- google docs format?

2014-10-22 Thread Antoni Segura Puimedon


- Original Message -
> From: "Greg Sheremeta" 
> To: "Brian Proffitt" 
> Cc: "Dave Neary" , "users" 
> Sent: Tuesday, October 14, 2014 4:34:29 PM
> Subject: Re: [ovirt-users] ovirt presentation template -- google docs format?
> 
> Thanks. I added it to http://www.ovirt.org/Templates

Here you can find some of the svgs I made over time for presentations:

https://github.com/celebdor/devconf14/tree/oVirt_Openstack_integration/svg_clean
> 
> - Original Message -
> > From: "Brian Proffitt" 
> > To: "Greg Sheremeta" 
> > Cc: "Dave Neary" , "users" 
> > Sent: Tuesday, October 14, 2014 10:20:37 AM
> > Subject: Re: ovirt presentation template -- google docs format?
> > 
> > Here you go! (And for everyone else!)
> > 
> > BKP
> > 
> > - Original Message -
> > > From: "Greg Sheremeta" 
> > > To: "Dave Neary" , "Brian Proffitt"
> > > , "users" 
> > > Sent: Tuesday, October 14, 2014 4:06:49 PM
> > > Subject: ovirt presentation template -- google docs format?
> > > 
> > > Anyone have a Google Docs format of this? [1]
> > > 
> > > Alternatively, I can make one if someone can find me that logo. I can't
> > > find
> > > a
> > > high-res logo anywhere.
> > > 
> > > [1] http://www.ovirt.org/File:OVirt-Template.odp
> > > 
> > > Thanks,
> > > Greg
> > > 
> > > Greg Sheremeta
> > > Red Hat, Inc.
> > > Sr. Software Engineer, RHEV
> > > Cell: 919-807-1086
> > > gsher...@redhat.com
> > > 
> > 
> > --
> > Brian Proffitt
> > 
> > Community Liaison
> > oVirt
> > Open Source and Standards, Red Hat - http://community.redhat.com
> > Phone: +1 574 383 9BKP
> > IRC: bkp @ OFTC
> > 
> ___
> 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: [ovirt-users] oVirt 3.5 & NAT

2014-10-22 Thread Antoni Segura Puimedon


- Original Message -
> From: "Phil Daws" 
> To: users@ovirt.org
> Sent: Monday, October 20, 2014 9:02:01 PM
> Subject: [ovirt-users] oVirt 3.5 & NAT
> 
> Hello All!

Hi Phil
> 
> Am really enjoying experimenting with oVirt but have come across a question;
> how does one enable NAT for a VM ? 

There is no NATting for VMs supported in oVirt. You'd have to define a libvirt
network with NATting like the one libvirt ships in its default.xml and then use
the vdsm extnet hook to change on vNic creation to which network the vNic 
connects
to. That way it could use the 'default' network and you'd have natting.

> Would like my guests to be able to
> update their software by bridging the host public IP.  I could not see
> anything in the WUI to allow this ?
> 
> Thanks, Phil
> ___
> 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: [ovirt-users] How to add custom lines in to host interface?

2014-10-22 Thread Antoni Segura Puimedon


- Original Message -
> From: "Markus Stockhausen" 
> To: "Trey Dockendorf" , "Arman Khalatyan" 
> 
> Cc: "users" 
> Sent: Sunday, October 19, 2014 9:05:33 PM
> Subject: Re: [ovirt-users] How to add custom lines in to host interface?
> 
> > Von: users-boun...@ovirt.org [users-boun...@ovirt.org]" im Auftrag von
> > "Trey Dockendorf [treyd...@gmail.com]
> > Gesendet: Sonntag, 19. Oktober 2014 20:43
> > An: Arman Khalatyan
> > Cc: users
> > Betreff: Re: [ovirt-users] How to add custom lines in to host interface?
> > 
> > I'd be interested in this too.  I currently set CONNECTED_MODE
> > outside of ovirt using Puppet, and have no tried this with 3.5 as
> > yet to upgrade.  Having full 65K MTU is key on my IB fabric and
> >  using iSER benefits from maintaining that value.
> 
> IIRC vdsm controls all interfaces starting from 3.5 (unified persistence).

All the interfaces that were configured via the oVirt engine or vdsm (those will
have a '#generated by vdsm' kind of header. So writing to them is pointless
due to reboots.

> So a hook in /usr/libexec/vdsm/hooks/before_vdsm_start might be the
> best choice. An educated guess would be:

Yes, that's a good choice of hooking point. If you are configuring them with
oVirt, you could also make a after_network_setup hook that did as below.

> 
> #!/bin/sh
> echo connected > /sys/class/net/ib0/mode
> echo connected > /sys/class/net/ib1/mode
> 
> Markus
> 
> > - Trey
> > 
> > On Oct 19, 2014 10:11 AM, "Arman Khalatyan"  wrote:
> > 
> > 
> > Hi,
> > 
> > 
> > I need to add following line in the hosts ifcfg-ib0 interface:
> > 
> > ---
> > CONNECTED_MODE=yes
> > 
> > MTU=65520
> > 
> > IPV6INIT=no
> > 
> > ---
> > From the web Interface I can change only custom  MTU.
> > 
> > IB interface supports big MTUs only if it is in the "connected mode".
> > 
> > 
> > Are there way to set it during the deployment/upgrade process?
> > Thanks,
> > Arman.
> 
> 
> 
> 
> 
> 
> ___
> 
> Users mailing list
> 
> Users@ovirt.org
> 
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt and Snort

2014-09-29 Thread Antoni Segura Puimedon


- Original Message -
> From: "Pat Pierson" 
> To: users@ovirt.org
> Sent: Monday, September 29, 2014 3:07:53 PM
> Subject: [ovirt-users] oVirt and Snort
> 
> I am attempting to use Snort as an IDS on my network. Currently I have all
> traffic on my router uplink port mirrored to a port I have plugged into an
> unused port on an oVirt node. I have created a network that only has access
> to that port and assigned that network to my snort vm. I am able to see
> broadcast traffic (DHCP requests, DNS discoveries, ect) when I listen to
> that port but no direct IP to IP traffic. I believe it has something to do
> with macspoofing but I am not sure I have set that up correctly for this
> host. Has anyone seen documentation on properly setting up macspoofing or
> using snort on a virtual infrastructure like oVirt??

Did you install the macspoof hook in that machine and set it up for the vnic?

> 
> --
> Patrick Pierson
> 
> ___
> 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: [ovirt-users] which network guest driver for kernel 2.6.17

2014-09-19 Thread Antoni Segura Puimedon


- Original Message -
> From: "ml ml" 
> To: users@ovirt.org
> Sent: Thursday, September 18, 2014 10:56:51 PM
> Subject: [ovirt-users] which network guest driver for kernel 2.6.17
> 
> Hello List,
> 
> i would like to use kernel 2.6.17 for a guest.
> 
> Which network driver do i need for this?
> 
> I have only seen the the ovirt network driver stuff in recent kernel.

I'd use the rtl8139

> 
> Thanks,
> Mario
> ___
> 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


[ovirt-users] OVIRT-3.5-TEST-DAY-3 - hosted engine over iSCSI

2014-09-17 Thread Antoni Segura Puimedon
Hi list!

I got hold of an iSCSI lun and set out to test deploying the hosted-engine over
it (I've been successfully running hosted-engine over NFS since oVirt-3.4 and
have successfully upgraded it to 3.5 and jsonrpc communication).

Unfortunately, things didn't start well with a small issue when calling
hosted-engine --deploy
Due to the vdsm certs not being propertly generated:
https://bugzilla.redhat.com/1142696

After working around that doing:
vdsm-tool configure --force
I repeated the deploy command and answered every question. It created the VM
image, but ultimately failed to set up a password for VNC (for that is what
I chose to access the VM).
https://bugzilla.redhat.com/1142710
I attached the vdsm logs and will investigate more to try to give more info
to the hosted engine devs ;-)

Regards,

Toni

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


Re: [ovirt-users] [RFI] oVirt 3.6 Planning

2014-09-16 Thread Antoni Segura Puimedon


- Original Message -
> From: "Daniel Helgenberger" 
> To: "Itamar Heim" , "Livnat Peer" 
> Cc: users@ovirt.org
> Sent: Monday, September 15, 2014 5:17:20 PM
> Subject: Re: [ovirt-users] [RFI] oVirt 3.6 Planning
> 
> 
> On 15.09.2014 15:23, Itamar Heim wrote:
> > On 09/15/2014 04:10 PM, Daniel Helgenberger wrote:
> >> Hello Livnat,
> >> On 15.09.2014 14:46, Livnat Peer wrote:
> >>> On 09/15/2014 03:15 PM, Daniel Helgenberger wrote:
>  Hello,
>  +1 for the iso uploader,
>  +1 for hostusb in UI
>  +1 EL 7 (on the roadmap anyway?)
> 
>  With hostusb some more host-dev virtualization could be added. Top of my
>  list is:
>  - SR-IOV
>  - NPV
>  - VFIO
> 
>  These things could be handled on cluster level - hypervisors need to
>  have the same hardware configuration anyway.
> 
>  Also, I think its time to add official support for OpenVswitch?
> 
> >>> Are you looking for a specific functionality that is available via
> >>> OpenVswitch (=OVS)?
> >>> also we have the Neutron integration where we use OVS.
> >> I think its sufficient to say OVS is a 'real' modern switch while plain
> >> ol' linux bridge is not (so much any more). Of curse, maybe implementing
> >> other things like macvtap and / or SR-IOV achieves just the same thing
> >> (at least for me, as I then mange vlans/trunks and QoS, Spanning Tree
> >> ect. on my switches).
> >>
> >> I know you can point on OpenStack integration because you get those
> >> features for 'free' (see Ceph). But what about users like me who do not
> >> wish / can / should implement the whole OpenStack but rather want to run
> >> 'plain' oVirt?
> > that's why we added in 3.5 a standalone, pre-configured, neutron virtual
> > appliance so you won't need "all of openstack"?
> Witch is certainly nice to have. But this is not the point. IMHO storage
> and networking are core functions for a virtualization platform. And
> such a platform will need to reflect the the progress made in general
> and in particular by the hypervisor monitor (libvirt).
> I am no developer and can hardly estimate the coding effort and do not
> want you to redo already working things. But at least in case of Ceph
> there is the API from libvirt, this is true for all the other things I
> mentioned, in my naive view they are all variations of the hostusb hook.
> Certainly I can deploy OVS myself and manage it from CLI, witch is what
> I do now.

Could you share how you set it up, i.e., how you map networks to ovs
and everything that you configure? Depending on the size, making a
vdsm configurator for it would not be that difficult (and the fine
tunning could come with hooks).

> 
> But in the end, I would very much like to do this via one integrated
> GUI, this is why I deploy oVirt (witch I see as a open source
> counterpart to EXi. Esp.  the concept of one engine for management - but
> not critical for running my VMs.)
> Please allow me a 'heretic' question, will oVirt make itself obsoleted
> in the future because all of the core functionality is moved to an
> external provider? Is it better for my use case (small/medium business
> and not in the telco sector) to deploy OpenStack in the first place and
> not to use oVirt at all? ATM OpenStack seems to me like the literal
> sledgehammer to crack a nut.
> 
> Thanks,
> 
> 
> >
> >> I think this might not be a desirable way to add / modernize features as
> >> it creates a huge overhead (at least in my use case, medium business. I
> >> did this once for Glance 'just' to get a way to more easily handle
> >> import / export of image files, now I need to implement Neutron 'just'
> >> to get OVS?).
> >>
> >> Don't get me wrong - OpenStack integration is a wonderful thing witch
> >> leaves room for expansion - later on.
> >>
> >> Thanks!
> >>>
>  Thanks,
> 
>  On 12.09.2014 14:23, Itamar Heim wrote:
> > With oVirt 3.5 nearing GA, time to ask for "what do you want to see in
> > oVirt 3.6"?
> >
> > Thanks,
> >  Itamar
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> >
> 
> --
> Daniel Helgenberger
> m box bewegtbild GmbH
> 
> P: +49/30/2408781-22
> F: +49/30/2408781-10
> 
> ACKERSTR. 19
> D-10115 BERLIN
> 
> 
> www.m-box.de  www.monkeymen.tv
> 
> Geschäftsführer: Martin Retschitzegger / Michaela Göllner
> Handeslregister: Amtsgericht Charlottenburg / HRB 112767
> 
> ___
> 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: [ovirt-users] Multiple ips to a single nic

2014-09-16 Thread Antoni Segura Puimedon


- Original Message -
> From: "Shanil S" 
> To: users@ovirt.org, "Juan Hernandez" 
> Cc: aha...@redhat.com
> Sent: Tuesday, September 16, 2014 11:46:38 AM
> Subject: [ovirt-users] Multiple ips to a single nic
> 
> Hi All,
> 
> I would like to add multiple ips to a single nic using the ovirt api
> function. Is it possible to assign multiple ips to a single nic using the
> ovirt api ?

I made a draft (means written but not really tested) vdsm hook for doing
this. Look at the readme for usage and report any issue you encounter. With
your help we can iron out issues and merge it ;-)

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

> 
> 
> --
> Regards
> Shanil
> 
> ___
> 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: [ovirt-users] Testday: json rpc

2014-07-31 Thread Antoni Segura Puimedon


- Original Message -
> From: "Antoni Segura Puimedon" 
> To: de...@ovirt.org, "users" 
> Sent: Wednesday, 30 July, 2014 2:15:36 PM
> Subject: Testday: json rpc
> 
> Hi fellow oVirters,
> 
> On this test day I picked JSON RPC for testing:
> 
> My initial environment consisted of a hosted engine setup with three hosts.
> 
> Upgrading
> ===
> The first task, then, was to upgrade everything to 3.5.
> 
> My guide was http://www.ovirt.org/Hosted_Engine_Howto#Upgrade_Hosted_Engine
> 
> One issue that I encountered was that after setting the 3.5 pre-release yum
> repo on the engine VM and doing yum update, when doing
> engine-setup
> To make it handle the upgrade, that failed complaining about missing a
> package
> called patternfly1. I remembered that on the list Greg Sheremeta mentioned a
> copr repository for it, so I went ahead, installed it and repeated the
> engine-setup
> 
> This time it succeeded, however I feel like patternfly1 should probably be an
> ovirt-engine-3.5 dependency and it should be in the ovirt 3.5 repository.
> 
> I also noticed that after upgrading the hosts the amount of free system
> memory
> is much lower, while the VMs continue to run fine. I opened:
> https://bugzilla.redhat.com/1124451
> 
> Another thing that happened was that restarting ovirt-ha-agent and
> ovirt-ha-broker using systemd fails silently and it says that they were
> killed.
> I only got it to work again by doing:
> 
> /lib/systemd/systemd-ovirt-ha-broker restart
> /lib/systemd/systemd-ovirt-ha-agent restart
> 
> However, and obviously, doing it like that escapes from the advisable control
> of systemd. Another bad thing is that after doing all this we get that the
> current host (which has the engine running displays):
> 
> --== Host 2 status ==--
> 
> Status up-to-date  : False
> Hostname   : 10.34.63.180
> Host ID: 2
> Engine status  : unknown stale-data
> Score  : 2000
> Local maintenance  : False
> Host timestamp : 1406640293
> Extra metadata (valid at timestamp):
>  metadata_parse_version=1
>  metadata_feature_version=1
>  timestamp=1406640293 (Tue Jul 29 15:24:53 2014)
>  host-id=2
>  score=2000
>  maintenance=False
>  bridge=True
>  cpu-load=0.0856
>  engine-health={"health": "good", "vm": "up", "detail": "up"}
>  gateway=True
>  mem-free=3192
> 
> Why did the engine status go to unknown stale-data? (it also happened for the
> other two hosts in the setup.

After discussing with Jiři: the 'stale data thing' resulted in
https://bugzilla.redhat.com/1125244
> 
> Changing hosts to use JSON RPC
> ===
> 
> After talking with Piotr and trying it with the webadmin UI, I found out that
> there is no direct way to update a host's settings to use json rpc as its
> connectivity mechanism with the engine. This constitutes a usabiltiy bug
> which I filed:
> 
> https://bugzilla.redhat.com/1124442
> 
> It is presumable that users will want to move to the newer and better RPC
> mechanism and they should be able to do so by merely putting the host in
> maintenance and ticking some checkbox in the 'edit host' dialog.
> 
> I did the workaround of removing the host and adding it again and that
> worked,
> the host went up.
> 
> Network operations via JSON RPC
> 
> 
> After the host went up, I decided to send a setupNetworks command. The
> operation worked out fine, but unfortunately we have a very serious gap that
> makes it impossible for me to use jsonrpc for network operations/development.
> 
> **Logging**
> 
> When doing a network operation with xmlrpc we'd get the following in vdsm.log
> Thread-21::DEBUG::2014-07-30
> 13:38:11,414::BindingXMLRPC::1127::vds::(wrapper) client
> [10.34.61.242]::call setupNetworks with ({'10': {'nic': 'em2', 'vlan':
> '10', 'STP': 'no', 'bridged': 'true', 'mtu': '1500'}}, {},
> {'connectivityCheck': 'true', 'connectivityTimeout': 120}) {} flowID
> [686033d4]
> Thread-21::DEBUG::2014-07-30
> 13:38:32,689::BindingXMLRPC::1134::vds::(wrapper) return setupNetworks
> with {'status': {'message': 'Done

Re: [ovirt-users] Testday: json rpc

2014-07-30 Thread Antoni Segura Puimedon


- Original Message -
> From: "Francesco Romani" 
> To: "Antoni Segura Puimedon" 
> Cc: de...@ovirt.org, "users" 
> Sent: Wednesday, July 30, 2014 2:59:37 PM
> Subject: Re: [ovirt-users] Testday: json rpc
> 
> ----- Original Message -
> > From: "Antoni Segura Puimedon" 
> > To: de...@ovirt.org, "users" 
> > Sent: Wednesday, July 30, 2014 2:15:36 PM
> > Subject: [ovirt-users] Testday: json rpc
> [...]
> > **Logging**
> > 
> > When doing a network operation with xmlrpc we'd get the following in
> > vdsm.log
> > Thread-21::DEBUG::2014-07-30
> > 13:38:11,414::BindingXMLRPC::1127::vds::(wrapper) client
> > [10.34.61.242]::call setupNetworks with ({'10': {'nic': 'em2', 'vlan':
> > '10', 'STP': 'no', 'bridged': 'true', 'mtu': '1500'}}, {},
> > {'connectivityCheck': 'true', 'connectivityTimeout': 120}) {} flowID
> > [686033d4]
> > Thread-21::DEBUG::2014-07-30
> > 13:38:32,689::BindingXMLRPC::1134::vds::(wrapper) return setupNetworks
> > with {'status': {'message': 'Done', 'code': 0}}
> > 
> > As you can see, we get the bare minimum logging one could ask for, an entry
> > with the command called and the data it received and another entry with the
> > return result data.
> > 
> > Doing the same with jsonrpc (and ignoring the excessive IOProcess) if I
> > search
> > for "setupNetworks" the only thing I get is:
> > Thread-23057::DEBUG::2014-07-30
> > 13:32:44,126::__init__::462::jsonrpc.JsonRpcServer::(_serveRequest)
> > Looking for method 'Host_setupNetworks' in bridge
> > 
> > And if I search for the data received, like 'STP', there is nothing
> > whatsoever.
> > As I said, unless this is fixed and we get entries with the same amount of
> > data
> > as before, it can't be used in production nor in development.
> > 
> > https://bugzilla.redhat.com/1124813
> 
> 
> Can you share some VDSM logs? Attaching them to BZ would be super.

Good point, I'll do that now.

> 
> I'd like to check if that applies to virt flows as well - as I actually tend
> to believe.
> 
> Bests,
> 
> --
> Francesco Romani
> RedHat Engineering Virtualization R & D
> Phone: 8261328
> IRC: fromani
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Testday: json rpc

2014-07-30 Thread Antoni Segura Puimedon
Hi fellow oVirters,

On this test day I picked JSON RPC for testing:

My initial environment consisted of a hosted engine setup with three hosts.

Upgrading
===
The first task, then, was to upgrade everything to 3.5.

My guide was http://www.ovirt.org/Hosted_Engine_Howto#Upgrade_Hosted_Engine

One issue that I encountered was that after setting the 3.5 pre-release yum
repo on the engine VM and doing yum update, when doing
engine-setup
To make it handle the upgrade, that failed complaining about missing a package
called patternfly1. I remembered that on the list Greg Sheremeta mentioned a
copr repository for it, so I went ahead, installed it and repeated the
engine-setup

This time it succeeded, however I feel like patternfly1 should probably be an
ovirt-engine-3.5 dependency and it should be in the ovirt 3.5 repository.

I also noticed that after upgrading the hosts the amount of free system memory
is much lower, while the VMs continue to run fine. I opened:
https://bugzilla.redhat.com/1124451

Another thing that happened was that restarting ovirt-ha-agent and
ovirt-ha-broker using systemd fails silently and it says that they were killed.
I only got it to work again by doing:

/lib/systemd/systemd-ovirt-ha-broker restart
/lib/systemd/systemd-ovirt-ha-agent restart

However, and obviously, doing it like that escapes from the advisable control
of systemd. Another bad thing is that after doing all this we get that the
current host (which has the engine running displays):

--== Host 2 status ==--

Status up-to-date  : False
Hostname   : 10.34.63.180
Host ID: 2
Engine status  : unknown stale-data
Score  : 2000
Local maintenance  : False
Host timestamp : 1406640293
Extra metadata (valid at timestamp):
 metadata_parse_version=1
 metadata_feature_version=1
 timestamp=1406640293 (Tue Jul 29 15:24:53 2014)
 host-id=2
 score=2000
 maintenance=False
 bridge=True
 cpu-load=0.0856
 engine-health={"health": "good", "vm": "up", "detail": "up"}
 gateway=True
 mem-free=3192

Why did the engine status go to unknown stale-data? (it also happened for the
other two hosts in the setup.

Changing hosts to use JSON RPC
===

After talking with Piotr and trying it with the webadmin UI, I found out that
there is no direct way to update a host's settings to use json rpc as its
connectivity mechanism with the engine. This constitutes a usabiltiy bug
which I filed:

https://bugzilla.redhat.com/1124442

It is presumable that users will want to move to the newer and better RPC
mechanism and they should be able to do so by merely putting the host in
maintenance and ticking some checkbox in the 'edit host' dialog.

I did the workaround of removing the host and adding it again and that worked,
the host went up.

Network operations via JSON RPC


After the host went up, I decided to send a setupNetworks command. The
operation worked out fine, but unfortunately we have a very serious gap that
makes it impossible for me to use jsonrpc for network operations/development.

**Logging**

When doing a network operation with xmlrpc we'd get the following in vdsm.log
Thread-21::DEBUG::2014-07-30 
13:38:11,414::BindingXMLRPC::1127::vds::(wrapper) client [10.34.61.242]::call 
setupNetworks with ({'10': {'nic': 'em2', 'vlan': '10', 'STP': 'no', 'bridged': 
'true', 'mtu': '1500'}}, {}, {'connectivityCheck': 'true', 
'connectivityTimeout': 120}) {} flowID [686033d4]
Thread-21::DEBUG::2014-07-30 
13:38:32,689::BindingXMLRPC::1134::vds::(wrapper) return setupNetworks with 
{'status': {'message': 'Done', 'code': 0}}

As you can see, we get the bare minimum logging one could ask for, an entry
with the command called and the data it received and another entry with the
return result data.

Doing the same with jsonrpc (and ignoring the excessive IOProcess) if I search
for "setupNetworks" the only thing I get is:
Thread-23057::DEBUG::2014-07-30 
13:32:44,126::__init__::462::jsonrpc.JsonRpcServer::(_serveRequest) Looking for 
method 'Host_setupNetworks' in bridge

And if I search for the data received, like 'STP', there is nothing whatsoever.
As I said, unless this is fixed and we get entries with the same amount of data
as before, it can't be used in production nor in development.

https://bugzilla.redhat.com/1124813


TL;DR:
- lack of usability upgrading an environment to use jsonrpc
  https://bugzilla.redhat.com/1124442
- Failure on step 7 of upgrade steps:
  https://bugzilla.redhat.com/1124826
- JSON RPC logging excessive but insuficient for network call debugging
  https://bugzilla.redhat.com/1124813
___
Users mailing list
Users@ovirt.org
h

Re: [ovirt-users] Network Question

2014-07-30 Thread Antoni Segura Puimedon


- Original Message -
> From: "Punit Dambiwal" 
> To: "Antoni Segura Puimedon" 
> Cc: "Sahina Bose" , "Dan Kenigsberg" , 
> barum...@redhat.com, users@ovirt.org,
> "Itamar Heim" , "Michal Skrivanek" 
> , "Sven Kieske"
> , "Frantisek Kobzik" , 
> aha...@redhat.com
> Sent: Wednesday, July 30, 2014 12:11:30 PM
> Subject: Re: Network Question
> 
> Hi Antoni,
> 
> Please find the attached..for the network settings..

Shouldn't the bricks and all gluster be on the same subnet as storage?
Otherwise it is going to use the link scoped route of ovirtmgmt that is
on the same subnet as them.

> 
> 
> On Wed, Jul 30, 2014 at 5:42 PM, Antoni Segura Puimedon  > wrote:
> 
> >
> >
> > - Original Message -
> > > From: "Punit Dambiwal" 
> > > To: "Antoni Segura Puimedon" 
> > > Cc: "Sahina Bose" , "Dan Kenigsberg" <
> > dan...@redhat.com>, barum...@redhat.com, users@ovirt.org,
> > > "Itamar Heim" , "Michal Skrivanek" <
> > michal.skriva...@redhat.com>, "Sven Kieske"
> > > , "Frantisek Kobzik" ,
> > aha...@redhat.com
> > > Sent: Wednesday, July 30, 2014 11:35:28 AM
> > > Subject: Re: Network Question
> > >
> > > Hi Antoni,
> > >
> > > Please find the attached screen shots...
> >
> > From what I see in the screen shots,
> >
> > The ip rules and routes say that communication to the
> > 43.25.76.0/24 should go via bond0.10 which is for the ovirtmgmt device.
> > That's why it happens.
> >
> > How did you setup the two networks? Are they on the same subnet?
> >
> > >
> > > Thanks,
> > > Punit
> > >
> > >
> > > On Wed, Jul 30, 2014 at 5:19 PM, Antoni Segura Puimedon <
> > asegu...@redhat.com
> > > > wrote:
> > >
> > > >
> > > >
> > > > - Original Message -
> > > > > From: "Punit Dambiwal" 
> > > > > To: "Sahina Bose" 
> > > > > Cc: "Dan Kenigsberg" , barum...@redhat.com,
> > > > users@ovirt.org, "Itamar Heim" ,
> > > > > "Michal Skrivanek" , "Antoni Segura
> > > > Puimedon" , "Sven Kieske"
> > > > > , "Frantisek Kobzik" ,
> > > > aha...@redhat.com
> > > > > Sent: Wednesday, July 30, 2014 10:46:47 AM
> > > > > Subject: Re: Network Question
> > > > >
> > > > > Hi All,
> > > > >
> > > > > I am using the storage ip to mount the glusterfs to host...that
> > means the
> > > > > data communication should be run on this network but it's notit's
> > > > > running on the ovirtmgmt network...
> > > >
> > > > Could you please attach the ip addresses of the gluster nodes, and the
> > > > result of doing:
> > > >
> > > > (on the vdsm host)
> > > >
> > > > ip rule show
> > > > ip route show table (add here each of the tables that show up in the
> > > > previous
> > > > command)
> > > >
> > > > >
> > > > > [image: Inline image 1]
> > > > >
> > > > >
> > > > >
> > > > > On Wed, Jul 30, 2014 at 4:26 PM, Sahina Bose 
> > wrote:
> > > > >
> > > > > >
> > > > > > On 07/30/2014 01:21 PM, Dan Kenigsberg wrote:
> > > > > >
> > > > > >> On Wed, Jul 30, 2014 at 01:04:48PM +0800, Punit Dambiwal wrote:
> > > > > >>
> > > > > >>> Hi,
> > > > > >>>
> > > > > >>> I am facing one strange problem with Ovirt network...i have the
> > below
> > > > > >>> network in my ovirt cluster :-
> > > > > >>>
> > > > > >>> eth0+eth1=bond0
> > > > > >>>
> > > > > >>> bond0.10= ovirtmgmt (43.250.X.X)
> > > > > >>> bond0.37= VMnetwork
> > > > > >>>
> > > > > >>> eth2+eth3=bond1 (Storage) (10.10.10.X)
> > > > > >>>
> > > > > >>> Glusterfs running on 4 HV's with each have 2 bricks...
> > > > > >>>
> > > > > >>> But still the glusterfs data transfer from ovirtmgmt network
> > instead
> > > > of
> > > > > >>> storage network ?? Is there any more setting required to change
> > it to
> > > > > >>> ovirtmgmt to storage ??
> > > > > >>>
> > > > > >> The title "Storage" means nothing to oVirt per se. The user needs
> > to
> > > > make
> > > > > >> sure
> > > > > >> that her NFS or iSCSI storage server uses the specific network.
> > > > > >> But unfortunately - and Bala is welcome to correct me if I'm
> > wrong -
> > > > there
> > > > > >> is no means to set the IP address which gluster uses via oVirt.
> > > > > >>
> > > > > >> Can it be done "underneath" oVirt?
> > > > > >>
> > > > > >
> > > > > > For glusterd communication - that is gluster peer to gluster peer -
> > > > > > there's a workaround to achieve this..Please see
> > > > http://lists.ovirt.org/
> > > > > > pipermail/users/2014-February/021213.html
> > > > > >
> > > > > > For VM to gluster host, the host IP used to mount the volume is
> > the one
> > > > > > used for communication by oVirt.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Network Question

2014-07-30 Thread Antoni Segura Puimedon


- Original Message -
> From: "Punit Dambiwal" 
> To: "Antoni Segura Puimedon" 
> Cc: "Sahina Bose" , "Dan Kenigsberg" , 
> barum...@redhat.com, users@ovirt.org,
> "Itamar Heim" , "Michal Skrivanek" 
> , "Sven Kieske"
> , "Frantisek Kobzik" , 
> aha...@redhat.com
> Sent: Wednesday, July 30, 2014 11:35:28 AM
> Subject: Re: Network Question
> 
> Hi Antoni,
> 
> Please find the attached screen shots...

>From what I see in the screen shots,

The ip rules and routes say that communication to the 
43.25.76.0/24 should go via bond0.10 which is for the ovirtmgmt device.
That's why it happens.

How did you setup the two networks? Are they on the same subnet?

> 
> Thanks,
> Punit
> 
> 
> On Wed, Jul 30, 2014 at 5:19 PM, Antoni Segura Puimedon  > wrote:
> 
> >
> >
> > - Original Message -
> > > From: "Punit Dambiwal" 
> > > To: "Sahina Bose" 
> > > Cc: "Dan Kenigsberg" , barum...@redhat.com,
> > users@ovirt.org, "Itamar Heim" ,
> > > "Michal Skrivanek" , "Antoni Segura
> > Puimedon" , "Sven Kieske"
> > > , "Frantisek Kobzik" ,
> > aha...@redhat.com
> > > Sent: Wednesday, July 30, 2014 10:46:47 AM
> > > Subject: Re: Network Question
> > >
> > > Hi All,
> > >
> > > I am using the storage ip to mount the glusterfs to host...that means the
> > > data communication should be run on this network but it's notit's
> > > running on the ovirtmgmt network...
> >
> > Could you please attach the ip addresses of the gluster nodes, and the
> > result of doing:
> >
> > (on the vdsm host)
> >
> > ip rule show
> > ip route show table (add here each of the tables that show up in the
> > previous
> > command)
> >
> > >
> > > [image: Inline image 1]
> > >
> > >
> > >
> > > On Wed, Jul 30, 2014 at 4:26 PM, Sahina Bose  wrote:
> > >
> > > >
> > > > On 07/30/2014 01:21 PM, Dan Kenigsberg wrote:
> > > >
> > > >> On Wed, Jul 30, 2014 at 01:04:48PM +0800, Punit Dambiwal wrote:
> > > >>
> > > >>> Hi,
> > > >>>
> > > >>> I am facing one strange problem with Ovirt network...i have the below
> > > >>> network in my ovirt cluster :-
> > > >>>
> > > >>> eth0+eth1=bond0
> > > >>>
> > > >>> bond0.10= ovirtmgmt (43.250.X.X)
> > > >>> bond0.37= VMnetwork
> > > >>>
> > > >>> eth2+eth3=bond1 (Storage) (10.10.10.X)
> > > >>>
> > > >>> Glusterfs running on 4 HV's with each have 2 bricks...
> > > >>>
> > > >>> But still the glusterfs data transfer from ovirtmgmt network instead
> > of
> > > >>> storage network ?? Is there any more setting required to change it to
> > > >>> ovirtmgmt to storage ??
> > > >>>
> > > >> The title "Storage" means nothing to oVirt per se. The user needs to
> > make
> > > >> sure
> > > >> that her NFS or iSCSI storage server uses the specific network.
> > > >> But unfortunately - and Bala is welcome to correct me if I'm wrong -
> > there
> > > >> is no means to set the IP address which gluster uses via oVirt.
> > > >>
> > > >> Can it be done "underneath" oVirt?
> > > >>
> > > >
> > > > For glusterd communication - that is gluster peer to gluster peer -
> > > > there's a workaround to achieve this..Please see
> > http://lists.ovirt.org/
> > > > pipermail/users/2014-February/021213.html
> > > >
> > > > For VM to gluster host, the host IP used to mount the volume is the one
> > > > used for communication by oVirt.
> > > >
> > > >
> > > >
> > > >
> > >
> >
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Network Question

2014-07-30 Thread Antoni Segura Puimedon


- Original Message -
> From: "Punit Dambiwal" 
> To: "Sahina Bose" 
> Cc: "Dan Kenigsberg" , barum...@redhat.com, 
> users@ovirt.org, "Itamar Heim" ,
> "Michal Skrivanek" , "Antoni Segura Puimedon" 
> , "Sven Kieske"
> , "Frantisek Kobzik" , 
> aha...@redhat.com
> Sent: Wednesday, July 30, 2014 10:46:47 AM
> Subject: Re: Network Question
> 
> Hi All,
> 
> I am using the storage ip to mount the glusterfs to host...that means the
> data communication should be run on this network but it's notit's
> running on the ovirtmgmt network...

Could you please attach the ip addresses of the gluster nodes, and the
result of doing:

(on the vdsm host)

ip rule show
ip route show table (add here each of the tables that show up in the previous
command)

> 
> [image: Inline image 1]
> 
> 
> 
> On Wed, Jul 30, 2014 at 4:26 PM, Sahina Bose  wrote:
> 
> >
> > On 07/30/2014 01:21 PM, Dan Kenigsberg wrote:
> >
> >> On Wed, Jul 30, 2014 at 01:04:48PM +0800, Punit Dambiwal wrote:
> >>
> >>> Hi,
> >>>
> >>> I am facing one strange problem with Ovirt network...i have the below
> >>> network in my ovirt cluster :-
> >>>
> >>> eth0+eth1=bond0
> >>>
> >>> bond0.10= ovirtmgmt (43.250.X.X)
> >>> bond0.37= VMnetwork
> >>>
> >>> eth2+eth3=bond1 (Storage) (10.10.10.X)
> >>>
> >>> Glusterfs running on 4 HV's with each have 2 bricks...
> >>>
> >>> But still the glusterfs data transfer from ovirtmgmt network instead of
> >>> storage network ?? Is there any more setting required to change it to
> >>> ovirtmgmt to storage ??
> >>>
> >> The title "Storage" means nothing to oVirt per se. The user needs to make
> >> sure
> >> that her NFS or iSCSI storage server uses the specific network.
> >> But unfortunately - and Bala is welcome to correct me if I'm wrong - there
> >> is no means to set the IP address which gluster uses via oVirt.
> >>
> >> Can it be done "underneath" oVirt?
> >>
> >
> > For glusterd communication - that is gluster peer to gluster peer -
> > there's a workaround to achieve this..Please see http://lists.ovirt.org/
> > pipermail/users/2014-February/021213.html
> >
> > For VM to gluster host, the host IP used to mount the volume is the one
> > used for communication by oVirt.
> >
> >
> >
> >
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Guest VM Console Creation/Access using REST API and noVNC

2014-07-16 Thread Antoni Segura Puimedon


- Original Message -
> From: "Shanil S" 
> To: "Sven Kieske" 
> Cc: users@ovirt.org, dan...@redhat.com, asegu...@redhat.com
> Sent: Wednesday, July 16, 2014 11:30:32 AM
> Subject: Re: Guest VM Console Creation/Access using REST API and noVNC
> 
> Hi Sven,
> 
> Thanks for your reply..
> 
> There is no network errors found in the ovirt and we are able to access the
> console from the ovirt panel,the only problem is we are not abel to access
> from the other host via API….as we don't want to use the Ovirt panel for
> the end users…so we use our own portal and open the console with the help
> of API function call….so right now we can access the console from the ovirt
> panel but can not from our portal.
> 
> We will get the ticket details like host,port and password from the ticket
> api funcion call but didn't get the "path" value. Will it get it from the
> ticket details ? i couldn't find out any from the ticket details.
> 
> --
> Regards
> Shanil
> 
> 
> On Wed, Jul 16, 2014 at 12:34 PM, Sven Kieske  wrote:
> 
> > Okay, I can give you a short design overview
> > how you can make this work:
> >
> > a) client browser -> gets novnc from ovirt-engine
> > or any other host where you host it.
> > b) client browser(novnc) gets the ticket and path via rest api
> > c) client browser(novnc) -> connects to websocket-proxy
> > with the rest-api ticket and "path"
> > (destination host where the vm is hosted)
> >
> > please note, that websocket-proxy must be reachable from client browser
> >
> > d) websocket-proxy needs a connection to the cluster and host where
> > the vm runs, keep in mind you need to configure your display network
> > in ovirt accordingly.
> >
> > I guess you just have an error in your network setup.
> >
> > So you need to expose at least the websocket-proxy to the client browser
> > and this proxy must be able to reach the vm host.

Could it be that there is some iptables rule preventing the communication?

> > furthermore for passing the ticket you need a host example.com
> > which can connect to engine and can connect to the client browser, e.g.
> > the websocket proxy or any other machine you want to use for that.
> >
> > you could also expose the engine itself, but it depends on your client
> > browser if you want to do this (security)!
> >
> > HTH
> >
> >
> > --
> > Mit freundlichen Grüßen / Regards
> >
> > Sven Kieske
> >
> > Systemadministrator
> > Mittwald CM Service GmbH & Co. KG
> > Königsberger Straße 6
> > 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: [ovirt-users] name of virtual machine and hostname

2014-06-27 Thread Antoni Segura Puimedon


- Original Message -
> From: "nicola gentile" 
> To: Users@ovirt.org
> Sent: Friday, June 27, 2014 11:16:51 AM
> Subject: [ovirt-users] name of virtual machine and hostname
> 
> Good morning,
> I would like to ask you an information.
> After I have installed ovirt, I have created a pool of vm with name
> like centos-?? (from 1 to 20)
> and then ovirt generated 20 vm with name centos-1, centos-2, centos-3 etc.
> etc.
> The problem is when the vm starts the hostname is not the same of the
> vm name in ovirt but is the same name of the template.
> Is it possible to make sure that the name of vm and the hostname is
> identical?

I guess that the way to go about it would be to use the cloudinit integration.
I've not tried it myself, but:
http://www.ovirt.org/Features/Cloud-Init_Integration
states that setting the hostname was one of the planned features when the
integration was designed.

> 
> Best regard
> 
> Nicola Gentile
> ___
> 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: [ovirt-users] Ip spoofing

2014-06-27 Thread Antoni Segura Puimedon


- Original Message -
> From: "Punit Dambiwal" 
> To: "Antoni Segura Puimedon" , "Dan Kenigsberg" 
> 
> Cc: "Sven Kieske" , users@ovirt.org
> Sent: Friday, June 27, 2014 11:07:56 AM
> Subject: Re: [ovirt-users] Ip spoofing
> 
> Hi Dan,
> 
> Still the sameVM can spoof the ip address...attached is the VM domain
> xml file

Did you try to disable SELinux with "setenforce 0" to see if the problem is
one of secure contexts?

> 
> 
> On Thu, Jun 26, 2014 at 5:30 PM, Punit Dambiwal  wrote:
> 
> > Hi Sven,
> >
> > I already give the sudo user permission to VDSM user...
> >
> > Yes..after VDSM restart i can see this hook in host tabI will test it
> > again and udpate you guys if still not solve
> >
> >
> > On Thu, Jun 26, 2014 at 4:03 PM, Antoni Segura Puimedon <
> > asegu...@redhat.com> wrote:
> >
> >>
> >>
> >> - Original Message -
> >> > From: "Sven Kieske" 
> >> > To: users@ovirt.org
> >> > Sent: Thursday, June 26, 2014 9:12:31 AM
> >> > Subject: Re: [ovirt-users] Ip spoofing
> >> >
> >> > Well this is strange, and this should not be the reason
> >> > but can you attach a ".py" ending to the file names (maybe vdsm performs
> >> > some strange checks)?
> >>
> >> We do not ;-)
> >>
> >> > your permissions look good.
> >> > the only other thing I can think of are selinux
> >> > restrictions, can you check them with:
> >> > #this gives you the actual used selinux security level:
> >> > getenforce
> >>
> >> That could be it
> >>
> >> > :this gives you the selinux attributes for the folder:
> >> > ls -lZ /usr/libexec/vdsm/hooks/before_device_create
> >> >
> >> > I first thought it might be related to vdsms sudoers
> >> > rights but a plain python script should be executed
> >> > without modification to the sudoers config.
> >> >
> >> > HTH
> >> >
> >> > Am 26.06.2014 06:22, schrieb Punit Dambiwal:
> >> > > Hi Dan,
> >> > >
> >> > > The permission looks ok...
> >> > >
> >> > >
> >> > > [root@gfs1 ~]# su - vdsm -s
> >> > > /bin/bash
> >> > > -bash-4.1$ ls -l /usr/libexec/vdsm/hooks/before_device_create
> >> > > total 8
> >> > > -rwxr-xr-x. 1 root root 1702 Jun 10 05:25 50_macspoof
> >> > > -rwxr-xr-x. 1 root root 2490 Jun 23 17:47 50_noipspoof
> >> > > -bash-4.1$ exit
> >> > > logout
> >> > > [root@gfs1 ~]#
> >> > >
> >> > > But the strange thing is noipspoof hook not display in the host hooks
> >> > > windows
> >> >
> >> > --
> >> > Mit freundlichen Grüßen / Regards
> >> >
> >> > Sven Kieske
> >> >
> >> > Systemadministrator
> >> > Mittwald CM Service GmbH & Co. KG
> >> > Königsberger Straße 6
> >> > 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
> >> >
> >> ___
> >> 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: [ovirt-users] network issue with vm

2014-06-27 Thread Antoni Segura Puimedon


- Original Message -
> From: "Tiemen Ruiten" 
> To: users@ovirt.org
> Sent: Friday, June 27, 2014 10:43:03 AM
> Subject: Re: [ovirt-users] network issue with vm
> 
> On 06/26/14 17:20, Tiemen Ruiten wrote:
> > Hello,
> >
> > I set up an oVirt cluster and created my first VM. However I can not
> > seem to get any network connectivity going. The VM is set up to receive
> > an IP address via DHCP. I can see the DHCP request come in on the
> > DHCP-server, but subsequently, the offer is lost somewhere. Even when I
> > configure a fixed IP, I can not ping any host but the VM itself and the
> > IP in the same VLAN on the hypervisor. My network settings are in the
> > attachment (output of sudo vdsClient -s localhost getVdsCaps > caps.txt
> > on the hypervisor). Is there something I should configure on the switch
> > maybe (it's a Cisco 3560G)?

bonding mode 4 which is the most natural choice, requires configuration of the
switch ports for lacp.

> >
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> Anyone? I've tried setting the bond to a different mode (5,
> balance-tlb), but no luck.
> 
> --
> Tiemen Ruiten
> Systems Engineer
> R&D Media
> 
> ___
> 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: [ovirt-users] Ip spoofing

2014-06-26 Thread Antoni Segura Puimedon


- Original Message -
> From: "Sven Kieske" 
> To: users@ovirt.org
> Sent: Thursday, June 26, 2014 9:12:31 AM
> Subject: Re: [ovirt-users] Ip spoofing
> 
> Well this is strange, and this should not be the reason
> but can you attach a ".py" ending to the file names (maybe vdsm performs
> some strange checks)?

We do not ;-)

> your permissions look good.
> the only other thing I can think of are selinux
> restrictions, can you check them with:
> #this gives you the actual used selinux security level:
> getenforce

That could be it

> :this gives you the selinux attributes for the folder:
> ls -lZ /usr/libexec/vdsm/hooks/before_device_create
> 
> I first thought it might be related to vdsms sudoers
> rights but a plain python script should be executed
> without modification to the sudoers config.
> 
> HTH
> 
> Am 26.06.2014 06:22, schrieb Punit Dambiwal:
> > Hi Dan,
> > 
> > The permission looks ok...
> > 
> > 
> > [root@gfs1 ~]# su - vdsm -s
> > /bin/bash
> > -bash-4.1$ ls -l /usr/libexec/vdsm/hooks/before_device_create
> > total 8
> > -rwxr-xr-x. 1 root root 1702 Jun 10 05:25 50_macspoof
> > -rwxr-xr-x. 1 root root 2490 Jun 23 17:47 50_noipspoof
> > -bash-4.1$ exit
> > logout
> > [root@gfs1 ~]#
> > 
> > But the strange thing is noipspoof hook not display in the host hooks
> > windows
> 
> --
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 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
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Network traffic being mirrored

2014-06-13 Thread Antoni Segura Puimedon


- Original Message -
> From: "Jim Rippon" 
> To: Users@ovirt.org
> Sent: Friday, June 13, 2014 1:23:10 PM
> Subject: Re: [ovirt-users] Network traffic being mirrored
> 
> 
> 
> In the end I didn't trace the cause of this issue, but a reboot of the host
> appears to have stopped the odd behaviour. I'll keep an eye on it and
> feedback if I see a repeat, perhaps there is something I can do to provide
> some useful debugging information - open to suggestions?

Well, if it happens again I'd like the output of:

vdsClient -s 0 getVdsCapabilites

iptables -n -L

ip -o -d link show

> 
> Jim
> 
> On 2014-06-12 14:40, Jim Rippon wrote:
> 
> 
> 
> Hi guys,
> 
> I am seeing network traffic being sent to all my VMs on one of my oVirt
> hosts, but not the other two in that same datacentre. The VMs are running
> CentOS, and I've been monitoring the sessions with iptraf, and can see
> traffic from all other VMs on that network being received by all other VMs
> running on this host which have an interface on that same network.
> 
> Is this something anyone has seen, or could anyone suggest anything I should
> be looking at to further diagnose?
> 
> Many thanks,
> 
> Jim Rippon
> 
> ___
> Users mailing list Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] oVirt 3.5.0 release schedule updated

2014-05-29 Thread Antoni Segura Puimedon


- Original Message -
> From: "Sandro Bonazzola" 
> To: Users@ovirt.org, de...@ovirt.org
> Sent: Thursday, May 29, 2014 5:32:47 PM
> Subject: [ovirt-devel] oVirt 3.5.0 release schedule updated
> 
> Here is the updated schedule for oVirt 3.5.0.
> These are tentative planning dates and may change:
> 
> General availability:  2014-08-04 (Mon)
> oVirt 3.5 Second Test Day: 2014-07-22 (Tue)
> RC Build:  2014-07-16 (Wed)
> oVirt 3.5 First Test Day:  2014-07-01 (Tue)
> Branching - Beta release:  2014-06-26 (Thu)
> Feature freeze:2014-06-15 (Sun)
> Second Alpha release:  2014-06-05 (Thu)

Shouldn't the branching be at the feature freeze date and any change (bugfix)
after that be first sent to master and then backported? I think it would
really help stabilization and not to lower the speed of master for future
changes.

> 
> Release management page has been updated accordingly:
> http://www.ovirt.org/OVirt_3.5_release-management
> 
> oVirt Google Calendar has been updated accordingly:
> ICAL:
> https://www.google.com/calendar/ical/ppqtk46u9cglj7l987ruo2l0f8%40group.calendar.google.com/public/basic.ics
> XML:
> https://www.google.com/calendar/feeds/ppqtk46u9cglj7l987ruo2l0f8%40group.calendar.google.com/public/basic
> HTML:
> https://www.google.com/calendar/embed?src=ppqtk46u9cglj7l987ruo2l0f8%40group.calendar.google.com&ctz=UTC
> 
> 
> Thanks,
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
> ___
> Devel mailing list
> de...@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] oVirt 3.5.0 release schedule updated

2014-05-29 Thread Antoni Segura Puimedon


- Original Message -
> From: "Antoni Segura Puimedon" 
> To: "Sandro Bonazzola" 
> Cc: Users@ovirt.org, de...@ovirt.org
> Sent: Thursday, May 29, 2014 5:35:38 PM
> Subject: Re: [ovirt-users] [ovirt-devel] oVirt 3.5.0 release schedule updated
> 
> 
> 
> - Original Message -
> > From: "Sandro Bonazzola" 
> > To: Users@ovirt.org, de...@ovirt.org
> > Sent: Thursday, May 29, 2014 5:32:47 PM
> > Subject: [ovirt-devel] oVirt 3.5.0 release schedule updated
> > 
> > Here is the updated schedule for oVirt 3.5.0.
> > These are tentative planning dates and may change:
> > 
> > General availability:  2014-08-04 (Mon)
> > oVirt 3.5 Second Test Day: 2014-07-22 (Tue)
> > RC Build:  2014-07-16 (Wed)
> > oVirt 3.5 First Test Day:  2014-07-01 (Tue)
> > Branching - Beta release:  2014-06-26 (Thu)
> > Feature freeze:2014-06-15 (Sun)
> > Second Alpha release:  2014-06-05 (Thu)
> 
> Shouldn't the branching be at the feature freeze date and any change (bugfix)
> after that be first sent to master and then backported? I think it would
> really help stabilization and not to lower the speed of master for future
> changes.

Oh, and I forgot to write that what I propose would keep the beta release on the
26th.

> 
> > 
> > Release management page has been updated accordingly:
> > http://www.ovirt.org/OVirt_3.5_release-management
> > 
> > oVirt Google Calendar has been updated accordingly:
> > ICAL:
> > https://www.google.com/calendar/ical/ppqtk46u9cglj7l987ruo2l0f8%40group.calendar.google.com/public/basic.ics
> > XML:
> > https://www.google.com/calendar/feeds/ppqtk46u9cglj7l987ruo2l0f8%40group.calendar.google.com/public/basic
> > HTML:
> > https://www.google.com/calendar/embed?src=ppqtk46u9cglj7l987ruo2l0f8%40group.calendar.google.com&ctz=UTC
> > 
> > 
> > Thanks,
> > --
> > Sandro Bonazzola
> > Better technology. Faster innovation. Powered by community collaboration.
> > See how it works at redhat.com
> > ___
> > Devel mailing list
> > de...@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel
> > 
> ___
> 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: [ovirt-users] Video Acceleration

2014-05-13 Thread Antoni Segura Puimedon


- Original Message -
> From: "Maurice James" 
> To: "users" 
> Sent: Tuesday, May 13, 2014 7:40:01 PM
> Subject: [ovirt-users] Video Acceleration
> 
> 
> Does anyone know if 3D acceleration is available or will be available in
> ovirt?

It is not available but leveraging http://virgil3d.github.io/ it might be
at some point in the future.

> https://www.vmware.com/support/ws5/doc/ws_vidsound_d3d_enabling_vm.html
> 
> 
> ___
> 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: [ovirt-users] Failure during self-hosted deployment: exception configuring management bridge

2014-05-13 Thread Antoni Segura Puimedon


- Original Message -
> From: "David Sommerseth" 
> To: "Bob Doolittle" , "Dan Kenigsberg" 
> , asegu...@redhat.com
> Cc: "users" 
> Sent: Tuesday, May 13, 2014 10:59:47 AM
> Subject: Re: Failure during self-hosted deployment: exception configuring 
> management bridge
> 
> On 13/05/14 00:35, Bob Doolittle wrote:
> > Also - is there a bugID for this new issue?
> > 
> > The one I quoted is supposed to only affect non-existent device names.
> > Why is this affecting valid device names as well, and only in the VDSM
> > context?
> 
> Antonio may correct me here, but I believe it's caused by vdsm using
> libnl-1.x and py-ethtool using libnl3.  We've discovered an issue with
> this combination, where libnl-1.x is able to invalidate the netlink
> socket libnl3 gives py-ethtool; rendering py-ethtool useless.
> 
> This issue is somewhat tracked in this bz:
> 
> 
> This is actually quite a delicate issue, as I believe there are some
> fixes in vdsm, py-ethtool have some patches to improve the error
> handling (which should help vdsm too) and we're waiting for an official
> libnl3 update to tackle the socket handling better.
> 
> I have hopes that once the libnl3 fixes gets out, much of this will be
> solved.

In vdsm's ovirt-3.4 branch we have detection of ethtool's version and use the
same libnl version, as seen in:
http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob_plain;f=lib/vdsm/netlink.py;hb=7e306159d5f10f67197d499daa282d3d4c1bef73

if _ethtool_uses_libnl3():

This looks to me like there might be a python-ethtool 0.9.2 bug for devices
that do not get ipv6 autoconf addresses. I'll investigate.

> 
> 
> David S.
> 
> 
> > 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:  = '';  = 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" an

Re: [Users] how do you connect to a host's serial console

2014-04-07 Thread Antoni Segura Puimedon


- Original Message -
> From: "Michal Skrivanek" 
> To: "Jeremiah Jahn" 
> Cc: users@ovirt.org
> Sent: Monday, April 7, 2014 4:31:11 PM
> Subject: Re: [Users] how do you connect to a host's serial console
> 
> 
> On Apr 7, 2014, at 16:23 , Jeremiah Jahn 
> wrote:
> 
> > thx, So dumb question at this point. I'm in the process of moving from
> > virt-manager to ovirt.  virsh has an edit domain function, or I can
> > edit the xml by hand. I'm able to locate the xml on the host, but
> > obviously if I edit it by hand it will be replaced by vdsm. I'm having
> > a hell of a time trying to find the xml on the engine, so that I can
> > try modifying the xml to add a serial console.  Based on that code
> > that's all that's really going on with that patch. So I'd think I can
> > wing it by modifying the db or xml directly.  Just not sure where to
> > go to do so.  I'm guessing I could go into vm_device and replace
> > device='virtio-serial' with 'serial'  but that seems to easy. Any
> > pointers you've got on how the xml is stored or produced would be
> > great.
> 
> It's a bit more complicated than that….there's no XML stored in the backend.
> You'd be better off applying the patch over and compile yourself:)
> The supported way of how to amend the libvirt XML is via VDSM hooks. You need
> to intercept the created XML and add whatever is needed, see
> http://www.ovirt.org/VDSM-Hooks, some of the examples can be used as a base
> for what you're trying to do...

Yup, before_vm_start before_vm_migrate should allow you to do what you want.

> 
> Thanks,
> michal
> 
> > 
> > On Mon, Apr 7, 2014 at 9:00 AM, Michal Skrivanek
> >  wrote:
> >> 
> >> On Apr 7, 2014, at 15:57 , Jeremiah Jahn 
> >> wrote:
> >> 
> >>> So do you think this is a 3.5 thing or a 3.4.1 thing? It's exactly
> >>> what I need, just curious how long I'll have to wait. I know this is
> >>> every developers favorite question.
> >> 
> >> one needs to nag Vinzenz frequently enough:-D
> >> 
> >> but should be 3.4.1
> >> 
> >> Thanks,
> >> michal
> >> 
> >>> 
> >>> On Mon, Apr 7, 2014 at 5:58 AM, Michal Skrivanek
> >>>  wrote:
>  
>  On Apr 6, 2014, at 21:50 , Jeremiah Jahn 
>  wrote:
>  
> > I just can't seem to figure this out.  I've enabled 'VirtIO Console
> > Device' yet I can't seem to find anyplace that will let me get there.
> > If I go to virsh on the host and try ttyconsoe that doesn't  work
> > either.  thanks for any help.
>  
>  Does not work. Pending this[1] patch to get in.
>  
>  Thanks,
>  michal
>  
>  [1] http://gerrit.ovirt.org/#/c/25979/
>  
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
>  
> >> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Network custom properties

2014-04-07 Thread Antoni Segura Puimedon


- Original Message -
> From: "Dan Kenigsberg" 
> To: "Lior Vernia" , asegu...@redhat.com
> Cc: de...@ovirt.org, "Users@ovirt.org List" 
> Sent: Monday, April 7, 2014 12:21:03 AM
> Subject: Re: Network custom properties
> 
> 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').

IIRC I put:

{'storagenet':
{'bonding': 'bond0', 'vlan': '10', 'bootproto': 'dhcp',
 'custom': {'ethtool_opts': '--offload em2 rx on --offload em1 tx on'}}}

This is the networks dictionary, the bonding dictionary and the setupNetworks
dictionary I didn't even mention because they are not relevant to the feature.
> 
> Dan.
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] vdi

2014-03-24 Thread Antoni Segura Puimedon


- Original Message -
> From: "Maurice James" 
> To: "Antoni Segura Puimedon" 
> Sent: Saturday, March 22, 2014 12:15:31 AM
> Subject: RE: [Users] vdi
> 
> Not pxe boot the vm, but boot a thin client to make use of a vm running on
> oVirt. Is that possible?

I have never tried, but I guess making a minimal linux image booting the thin 
client
to the browser, which should be pointing to the user portal login page should be
good.

> 
> -----Original Message-
> From: Antoni Segura Puimedon [mailto:asegu...@redhat.com]
> Sent: Friday, March 21, 2014 2:14 AM
> To: Maurice James
> Cc: users@ovirt.org
> Subject: Re: [Users] vdi
> 
> 
> 
> - Original Message -
> > From: "Maurice James" 
> > To: users@ovirt.org
> > Sent: Friday, March 21, 2014 12:01:50 AM
> > Subject: [Users] vdi
> > 
> > 
> > 
> > Does anyone have instructions on how to pxe boot a an ovirt hosted vm?
> 
> As long as the VM's vNIC is on a VM network that has access to the pxe server
> it should just work (it does for me).
> 
> > 
> > ___
> > 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] vdi

2014-03-20 Thread Antoni Segura Puimedon


- Original Message -
> From: "Maurice James" 
> To: users@ovirt.org
> Sent: Friday, March 21, 2014 12:01:50 AM
> Subject: [Users] vdi
> 
> 
> 
> Does anyone have instructions on how to pxe boot a an ovirt hosted vm?

As long as the VM's vNIC is on a VM network that has access to the pxe
server it should just work (it does for me).

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


Re: [Users] oVirt 3.5 planning

2014-03-05 Thread Antoni Segura Puimedon


- Original Message -
> From: "Itamar Heim" 
> To: users@ovirt.org
> Sent: Monday, February 24, 2014 5:59:20 PM
> Subject: [Users] oVirt 3.5 planning
> 
> with oVirt 3.4 getting close to GA with many many great features, time
> to collect requests for 3.5...

I was wondering whether people would like vdsm hooks to be reported (which
they already are) to the engine and that the engine would take that information
(that should be a bit enriched). With the enriched information it would
automatically add the custom properties advertised by all the hooks of
its hosts without the need to go to the command line database to enable them

Optionally it would just populate a hooks tab with enable/disable checkboxes.

> ___
> 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] hosted engine setup (network)

2014-03-03 Thread Antoni Segura Puimedon


- Original Message -
> From: "René Koch" 
> To: users@ovirt.org
> Sent: Monday, March 3, 2014 12:48:43 PM
> Subject: [Users] hosted engine setup (network)
> 
> Hi,
> 
> During hosted engine setup I faced issues with network configuration on
> my CentOS 6.5 hosts:
> 
> My network setup was the following which doesn't work with hosted engine
> setup:
> - eth0.200 (VLAN tag 200) should become ovirtmgmt interface
> - GATEWAY is in /etc/sysconfig/network and not in ifcfg-eth0.200
> 
> The following errors occured:
> 014-02-25 15:42:31 INFO
> otopi.plugins.ovirt_hosted_engine_setup.network.bridge bridge._misc:189
> Configuring the management bridge
> 2014-02-25 15:42:31 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.network.bridge bridge._misc:198
> getVdsCaps for eth0: {'addr': '', 'cfg': {'DEVICE': 'eth0', 'PEERDNS':
> 'no', 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'none', 'HWADDR': '00:25:9
> 0:75:87:C2', 'ONBOOT': 'yes'}, 'ipv6addrs':
> ['fe80::225:90ff:fe75:87c2/64'], 'mtu': '1500', 'netmask': '', 'hwaddr':
> '00:25:90:75:87:c2', 'speed': 1000}
> 2014-02-25 15:42:31 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/network/bridge.py",
> line 231, in _misc
>  'gateway=%s' % caps['cfg']['GATEWAY'],
> KeyError: 'GATEWAY'
> 
> This can be solved by setting GATEWAY in ifcfg-eth* file instead of
> /etc/sysconfig/network

Currently we look only at ifcfg files for that sort of information. In the 
future, though, we'll be
checking things like dhcp leases for the device to know what is the bootproto.

> 
> 
> Next, VLAN tagged interfaces don't work:
> 2014-02-25 15:35:20 INFO
> otopi.plugins.ovirt_hosted_engine_setup.network.bridge bridge._misc:189
> Configuring the management bridge
> 2014-02-25 15:35:20 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/network/bridge.py",
> line 194, in _misc
>  ].s.getVdsCapabilities()['info']['nics'][nics]
> KeyError: 'eth0.200'
> 
> So I had to do the following:
> - Set switch port to untagged for this VLAN
> - Configure eth0 instead of eth0.200
> - Run hosted engine setup
> - Configure VLAN for ovirtmgmt in oVirt (which surprisingly worked for
> an active interface)
> - Configure VLAN tagging on hosts
> - Reconfigure switch ports
> - Sync networks in oVirt network setup tab
> 
> As this was a real pain to do I would love to see support for VLAN
> tagging in hosted engine setup :)
> 
> 
> Shall I open bug reports for these 2 issues or are they already known?

I'd say for the second one. /etc/sysconfig/network is losing relevance fast
and I think the new code that checks live device information is better than
parsing that file.

> 
> 
> --
> Best Regards
> 
> René Koch
> Senior Solution Architect
> 
> 
> LIS-Linuxland GmbH
> Brünner Straße 163, A-1210 Vienna
> 
> Phone:   +43 1 236 91 60
> Mobile:  +43 660 / 512 21 31
> E-Mail:  rk...@linuxland.at
> 
> 
> ___
> 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] [Engine-devel] oVirt February 2014 Updates

2014-03-03 Thread Antoni Segura Puimedon


- Original Message -
> From: "Itamar Heim" 
> To: users@ovirt.org
> Sent: Monday, March 3, 2014 3:25:07 PM
> Subject: [Engine-devel] oVirt February 2014 Updates
> 
> 1. Releases
> 
> - oVirt 3.3.3 was released early in the month:
>http://www.ovirt.org/OVirt_3.3.3_release_notes
> 
> - oVirt 3.3.4 about to release.
>http://www.ovirt.org/OVirt_3.3.4_release_notes
> 
> - oVirt 3.4.0 about to release!
> 
> 2. Events
> - Leonardo Vaz is organizing ovirt attendance at FISL15, the largest
>FOSS conference in LATAM which will happen from 7th to 10th of May in
>Porto Alegre, Brazil:
>http://softwarelivre.org/fisl15
> 
> - Allon Mureinik gave a presentation on DR with oVirt at devconf.cz
>http://www.slideshare.net/AllonMureinik/dev-conf-ovirt-dr

Jiři Moskovcak presented as well the oVirt scheduler (@Jiri, can you attach
slides?)

I presented "vdsm pluggable networking" showing how to write parts of a 
configurator
and network hooks.
https://blog.antoni.me/devconf14/
(Better look at it with Chromium, firefox has a bug with svg files)

> 
> - oVirt workshop in korea slides (korean)
>http://www.slideshare.net/rogan/20140208-ovirtkorea-01
>https://www.facebook.com/groups/ovirt.korea
> 
> - Rogan also presented oVirt integration with OpenStack in OpenStack
>day in Korea
>http://alturl.com/m3jnx
> 
> - Pat Pierson posted on basic network setup
>http://izen.ghostpeppersrus.com/setting-up-networks/
> 
> - Fosdem 2014 sessions (slides and videos) are at:
>http://www.ovirt.org/FOSDEM_2014
> 
> - and some at Infrastructure.Next Ghent the week after forsdem.
> 
> 3. oVirt Activity (software)
> 
> - oVirt Jenkins plugin by Dustin Kut Moy Cheung to control VM slaves
>managed by ovirt/RHEV
>https://github.com/thescouser89/ovirt-slaves-plugin
> 
> - Opaque oVirt/RHEV/Proxmox client and source code released
> https://play.google.com/store/apps/details?id=com.undatech.opaque
> 
> - great to see the NUMA push from HP:
>http://www.ovirt.org/Features/NUMA_and_Virtual_NUMA
>http://www.ovirt.org/Features/Detailed_NUMA_and_Virtual_NUMA
> 
> 4. oVirt Activity (blogs, preso's)
> 
> - oVirt's has been accepted as a mentoring project for the Google
>Summer of Code 2014.
> 
> - Oved Ourfali posted on "Importing Glance images as oVirt templates"
>http://alturl.com/h7xid
> 
> - v2v had seen many active discussions. here's a post by Jon Archer on
>how to Import regular kvm image to oVirt or RHEV
>http://jonarcher.info/2014/02/import-regular-kvm-image-ovirt-rhev/
> 
> - great reviews on amazon.com for "Getting Started with oVirt 3.3"
>http://alturl.com/5rk2p
> 
> - oVirt Deep Dive 3.3 slides (Chinese)
>http://www.slideshare.net/mobile/johnwoolee/ovirt-deep-dive#
> 
> - oVirt intro video (russian)
>http://alturl.com/it546
> 
> - how to install oVirt 3.3 on CentOS 6.5
>http://www.youtube.com/watch?v=5i5ilSKsmbo
> 
> 5. Related
> - NetApp GA'd their Virtual Storage Console for RHEV, which is
>implemented as an oVirt UI plugin (and then some)
>http://captainkvm.com/2014/02/vsc-for-rhev-is-ga-today/#more-660
> ___
> Engine-devel mailing list
> engine-de...@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.5 planning

2014-02-26 Thread Antoni Segura Puimedon


- Original Message -
> From: "Sven Kieske" 
> To: users@ovirt.org
> Sent: Wednesday, February 26, 2014 10:08:45 AM
> Subject: Re: [Users] oVirt 3.5 planning
> 
> +1 for that one too.
> 
> Am 26.02.2014 05:39, schrieb Alan Murrell:
> > This may be more of a 4.0 feature, but my vote goes for integration of
> > OpenvSwitch (or least an option to add it easily)

Does this mean making simpler the integration with Neutron that is currently
allowing to use OpenvSwitch or does this call for direct use of ovs?
> 
> 
> --
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 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
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Adding a VMNIC via the REST api returns no error, but the NIC isn't added

2014-02-09 Thread Antoni Segura Puimedon


- Original Message -
> From: "Satya Vempati" 
> To: users@ovirt.org
> Sent: Sunday, February 9, 2014 4:54:15 AM
> Subject: [Users] Adding a VMNIC via the REST api returns no error, but the 
> NIC isn't added
> 
> POST /api/vms/670fa876-a18d-436c-b999-1dc7cbbd5bcf/nics
> 
> 
> eth0
> 
> rhevm
> 
> virtio
> 
> 
> 
> rhevm
> 
> 
> 
> 
> 
> Return code is 200, but no VM Nic is added.

Could you please attach /var/log/vdsm/vdsm.log and
/var/log/vdsm/supervdsm.log for the target host machine?

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


Re: [Users] oVirt Node Interface Renaming Problem

2014-01-30 Thread Antoni Segura Puimedon


- Original Message -
> From: "David Li" 
> To: users@ovirt.org
> Sent: Thursday, January 30, 2014 7:43:09 PM
> Subject: [Users] oVirt Node Interface Renaming Problem
> 
> Hi,
> 
> I am using oVirt node 3.0.3.  It seems systemd renames all the interfaces
> from ethx to something else. Not sure why but this creates lots of problems
> for some old scripts.
> 
> For example:
> 
> [root@localhost ~]# dmesg | grep -i eth0
> [    2.441579] bnx2 :10:00.0 eth0: Broadcom NetXtreme II BCM5709
> 1000Base-SX (C0) PCI Express found at mem fa00, IRQ 30, node addr
> 5c:f3:fc:20:6e:58
> [   27.222803] systemd-udevd[822]: renamed network interface eth0 to
> enp16s0f0
> 
> 
> Is there anyway to prevent this?

There is on a normal Fedora on which you can disable the new udev naming
policy. In general I'd say that it is better to use the new consistent
names (the old way of naming had problems to parallelize).

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


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

2014-01-29 Thread Antoni Segura Puimedon


- Original Message -
> From: "Fabian Deutsch" 
> To: "Antoni Segura Puimedon" 
> Cc: "Dan Kenigsberg" , "Francisco Pérez" 
> , amul...@redhat.com, "VDSM Project
> Development" , users@ovirt.org
> Sent: Wednesday, January 29, 2014 10:59:43 AM
> Subject: Re: [vdsm] [Users] ovirtmgmt vanishes after reboot
> 
> Am Dienstag, den 28.01.2014, 17:42 -0500 schrieb Antoni Segura Puimedon:
> > 
> > We made some more tests with Francisco on #ovirt today and we saw that
> > for some unknown reason, when rebooting the machine the
> > ifcfg-
> > files disappear while the rule- and route- stay.
> > That
> > happens even when the both ifcfg, rule and route have the correct
> > entry
> > in /config/files and are bound to /config/etc/sysconfig/
> > 
> > After reboot it returns to eth0 having the connectivity as it was
> > defined
> > with the TUI.
> > 
> > For libvirt networks a bit of the same as for ifcfg files. Before
> > reboot
> > /etc/libvirt/qemu/networks is present in /config/files and findmnt
> > reports
> > that /etc/libvirt/qemu/networks is a bound mount
> > of /config/etc/libvirt/qemu/networks.
> > After reboot it is not the case anymore.
> > 
> > @Fabian: Do you think there is something on the reboot that restores
> > the
> > network conf to the TUI settings?
> 
> Hey Antoni,
> 
> I vaguely remember that we had a problem with Node removing some ifcfg-*
> files. But this should have been solved in the TestDay iso.
> 
> What ISO did you use to reproduce this problem?

We reproduced on Francisco's setup, I think it was oVirt node 3.0.1
> 
> - fabian
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-01-28 Thread Antoni Segura Puimedon


- Original Message -
> From: "Dan Kenigsberg" 
> To: "Francisco Pérez" 
> Cc: "Fabian Deutsch" , amul...@redhat.com, 
> asegu...@redhat.com, "VDSM Project Development"
> , users@ovirt.org
> Sent: Tuesday, January 28, 2014 10:47:17 PM
> Subject: Re: [vdsm] [Users] ovirtmgmt vanishes after reboot
> 
> 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-
> and /var/lib/vdsm/netconfback/ifcfg-, 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-
> created,
> and /var/lib/vdsm/netconfback/ifcfg- gone.

/var/lib/vdsm/netconfback/ifcfg- is not removed on oVirt Node
as /var/lib/vdsm/netconfback is sitting on a tmpfs so there was no
need to call it for the reboot case.

We made some more tests with Francisco on #ovirt today and we saw that
for some unknown reason, when rebooting the machine the ifcfg-
files disappear while the rule- and route- stay. That
happens even when the both ifcfg, rule and route have the correct entry
in /config/files and are bound to /config/etc/sysconfig/

After reboot it returns to eth0 having the connectivity as it was defined
with the TUI.

For libvirt networks a bit of the same as for ifcfg files. Before reboot
/etc/libvirt/qemu/networks is present in /config/files and findmnt reports
that /etc/libvirt/qemu/networks is a bound mount of 
/config/etc/libvirt/qemu/networks.
After reboot it is not the case anymore.

@Fabian: Do you think there is something on the reboot that restores the
network conf to the TUI settings?

> 
> 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] ***UNCHECKED*** Re: [vdsm] ovirtmgmt vanishes after reboot

2014-01-28 Thread Antoni Segura Puimedon


- Original Message -
> From: "Federico Alberto Sayd" 
> To: users@ovirt.org
> Sent: Tuesday, January 28, 2014 5:23:13 PM
> Subject: Re: [Users] ***UNCHECKED*** Re: [vdsm] ovirtmgmt vanishes after 
> reboot
> 
> On 28/01/14 11:27, 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 no no
> 
> [root@ovirth1 ~]# ls /etc/sysconfig/network-scripts/
> ifcfg-eth0 ifdown-eth ifdown-post ifdown-tunnel ifup-eth ifup-plip
> ifup-routes init.ipv6-global route-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-tunnel
> network-functions rule-LAN
> ifdown-bnep ifdown-isdn ifdown-sit ifup-bnep ifup-isdn ifup-ppp ifup-wireless
> network-functions-ipv6 rule-ovirtmgmt

Just to maek sure, /etc/vdsm/vdsm.conf does not modify net_persistence nor
net_configurator, does it?

If it does not, and you ticked "Save" on the setupNetworks dialogs, there is
some issue with the net persistence flow on the ovirt node and a bug should be
opened for it.

> 
> 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/
> 
> Regards
> 
> 
> 
> On Thu, Jan 23, 2014 at 4:32 PM, Dan Kenigsberg < dan...@redhat.com > wrote:
> 
> 
> 
> 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
> I had the same issue with 3.0.1-1.0.2.el6, I saw other posts about this
> problem ( http://lists.ovirt.org/pipermail/users/2013-September/016705.html
> ) and then I decided to discard ovirt-node and use a full blown distro
> (Centos 6.5)
> 
> 
> Regards
> 
> Federico
> 
> ___
> 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] Setup Networks: Unexpected exception

2014-01-28 Thread Antoni Segura Puimedon


- Original Message -
> From: "Antoni Segura Puimedon" 
> To: "Assaf Muller" 
> Cc: users@ovirt.org
> Sent: Tuesday, January 28, 2014 10:02:39 AM
> Subject: Re: [Users] Setup Networks: Unexpected exception
> 
> 
> 
> - Original Message -
> > From: "Assaf Muller" 
> > To: "Dan Kenigsberg" 
> > Cc: "Frank Wall" , "Antoni Segura Puimedon"
> > , users@ovirt.org, "Moti Asayag"
> > 
> > Sent: Tuesday, January 28, 2014 9:58:12 AM
> > Subject: Re: [Users] Setup Networks: Unexpected exception
> > 
> > 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/
> 
> > 
> > 
> > Assaf Muller, Cloud Networking Engineer
> > Red Hat
> > 
> > - Original Message -
> > From: "Moti Asayag" 
> > To: "Frank Wall" , "Antoni Segura Puimedon"
> > , "Assaf Muller" 
> > Cc: users@ovirt.org
> > Sent: Tuesday, January 28, 2014 10:41:46 AM
> > Subject: Re: [Users] Setup Networks: Unexpected exception
> > 
> > 
> > - Original Message -
> > > From: "Frank Wall" 
> > > To: users@ovirt.org
> > > Sent: Tuesday, January 28, 2014 1:31:41 AM
> > > Subject: [Users] Setup Networks: Unexpected exception
> > > 
> > > Hi,
> > > 
> > > still testing 3.4 and I'm unable to save a node's
> > > network configuration in webadmin:
> > > 
> > > Error while executing action Setup Networks: Unexpected exception
> > > 
> > > My configuration on the ovirt node:
> > > - manually added net2 bridge, attached to eth1
> > > 
> > > My configuration in ovirt-engine webadmin:
> > > - added new network net2
> > > - noticed that ovirt failed to find this network on node
> > > - tried to add net2 to node with "Setup Host Networks"
> > > 
> > > Error in engine.log [1].
> > > Error in vdsm.log [2].
> > > 
> > > I think it could be related to BZ 1054195:
> > > https://bugzilla.redhat.com/show_bug.cgi?id=1054195 ([NetworkLabels]
> > > Attaching two labeled networks to a cluster result in failure of the
> > > latter)
> > > 
> > 
> > It shouldn't be related to this bug since you haven't provided any label
> > to the network and neither configured a label on the host nic.
> > But it would be nice to use the 'network labels' feature to ease
> > network configuration on hosts.
> > 
> > > I'm not sure, because I only wanted to add *one* new network.
> > > Please note that this is a self-hosted engine setup. Just in
> > > case this makes a difference...
> > > 
> > > 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
> > > 
> > > 
> > > Thanks
> > > - Frank
> > > 
> > > [1]
> > > 2014-01-27 23:41:08,813 INFO
> > > [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
> > > (ajp--127.0.0.1-8702-10) [1
> > > 783e132] START, SetupNetworksVDSCommand(HostName = mgt03rn.example.com,
> > > HostId = a11f5383-b8f7-4bed-b1f3-3c7c46ecbe7a, for
> > > ce=false, checkConnectivity=true, conectivityTimeout=120,
> > > networks=[net2 {id=db98fa95-e922-4060-8d39-f9ac0cb2f16f,
> > > description=Jumphost Network, comment=null, subnet=null,
> > > gateway=null, type=null, vlanId=null, stp=false,
> > > dataCenterId=0002-0002-0002-0002-0002, mtu=0, vmNetwork=true,
> > > cl
> > > uster=NetworkCluster {id={clusterId=null, networkId=null},
> > > status=OPERATIONAL, display=false, required=true, migration=false}
> > > , providedBy=null, label=null, qosId=null}],
> > > bonds=[],
> > > interfaces=[bond001 {id=c5b50ccf-5b74-4737-b7cd-980c9c8acf51,
> > > vdsId=a11f5383-b8f7-4bed-b1f3-3c7c46ecbe7a, name=bond001,
> > > macAddress=2c:44:fd:82:f5:5f, networkName=null,
> > > bondOptions=mode=802.3ad, bootProtocol=STATIC_IP,
> > > address=10.0.0.103, 

Re: [Users] Setup Networks: Unexpected exception

2014-01-28 Thread Antoni Segura Puimedon


- Original Message -
> From: "Assaf Muller" 
> To: "Dan Kenigsberg" 
> Cc: "Frank Wall" , "Antoni Segura Puimedon" 
> , users@ovirt.org, "Moti Asayag"
> 
> Sent: Tuesday, January 28, 2014 9:58:12 AM
> Subject: Re: [Users] Setup Networks: Unexpected exception
> 
> 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.

> 
> 
> Assaf Muller, Cloud Networking Engineer
> Red Hat
> 
> - Original Message -
> From: "Moti Asayag" 
> To: "Frank Wall" , "Antoni Segura Puimedon"
> , "Assaf Muller" 
> Cc: users@ovirt.org
> Sent: Tuesday, January 28, 2014 10:41:46 AM
> Subject: Re: [Users] Setup Networks: Unexpected exception
> 
> 
> - Original Message -
> > From: "Frank Wall" 
> > To: users@ovirt.org
> > Sent: Tuesday, January 28, 2014 1:31:41 AM
> > Subject: [Users] Setup Networks: Unexpected exception
> > 
> > Hi,
> > 
> > still testing 3.4 and I'm unable to save a node's
> > network configuration in webadmin:
> > 
> > Error while executing action Setup Networks: Unexpected exception
> > 
> > My configuration on the ovirt node:
> > - manually added net2 bridge, attached to eth1
> > 
> > My configuration in ovirt-engine webadmin:
> > - added new network net2
> > - noticed that ovirt failed to find this network on node
> > - tried to add net2 to node with "Setup Host Networks"
> > 
> > Error in engine.log [1].
> > Error in vdsm.log [2].
> > 
> > I think it could be related to BZ 1054195:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1054195 ([NetworkLabels]
> > Attaching two labeled networks to a cluster result in failure of the
> > latter)
> > 
> 
> It shouldn't be related to this bug since you haven't provided any label
> to the network and neither configured a label on the host nic.
> But it would be nice to use the 'network labels' feature to ease
> network configuration on hosts.
> 
> > I'm not sure, because I only wanted to add *one* new network.
> > Please note that this is a self-hosted engine setup. Just in
> > case this makes a difference...
> > 
> > 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
> > 
> > 
> > Thanks
> > - Frank
> > 
> > [1]
> > 2014-01-27 23:41:08,813 INFO
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
> > (ajp--127.0.0.1-8702-10) [1
> > 783e132] START, SetupNetworksVDSCommand(HostName = mgt03rn.example.com,
> > HostId = a11f5383-b8f7-4bed-b1f3-3c7c46ecbe7a, for
> > ce=false, checkConnectivity=true, conectivityTimeout=120,
> > networks=[net2 {id=db98fa95-e922-4060-8d39-f9ac0cb2f16f,
> > description=Jumphost Network, comment=null, subnet=null,
> > gateway=null, type=null, vlanId=null, stp=false,
> > dataCenterId=0002-0002-0002-0002-0002, mtu=0, vmNetwork=true,
> > cl
> > uster=NetworkCluster {id={clusterId=null, networkId=null},
> > status=OPERATIONAL, display=false, required=true, migration=false}
> > , providedBy=null, label=null, qosId=null}],
> > bonds=[],
> > interfaces=[bond001 {id=c5b50ccf-5b74-4737-b7cd-980c9c8acf51,
> > vdsId=a11f5383-b8f7-4bed-b1f3-3c7c46ecbe7a, name=bond001,
> > macAddress=2c:44:fd:82:f5:5f, networkName=null,
> > bondOptions=mode=802.3ad, bootProtocol=STATIC_IP,
> > address=10.0.0.103, subnet=255.255.255.0, gateway=null, mtu=1500,
> > bridged=false, type=0, networkImplementationDetails=null},
> > eth3 {id=7aaf1ac1-944a-4fe6-9d22-7dc41c6e275c,
> > vdsId=a11f5383-b8f7-4bed-b1f3-3c7c46ecbe7a, name=eth3,
> > macAddress=2C:44:FD:82:F5:5F, networkName=null,
> > bondName=bond001, bootProtocol=NONE, address=, subnet=,
> > gateway=null, mtu=1500, bridged=false, speed=1000, type=0,
> > networkImplementationDetails=null},
> > eth4 {id=0c23834d-97ae-462a-9701-e89b3dc6a83a,
> > vdsId=a11f5383-b8f7-4bed-b1f3-3c7c46ecbe7a, name=eth4,
> > macAddress=D8:9D:67:22:B6:4C, networkName=null,
> >

Re: [Users] ovirtmgmt vanishes after reboot

2014-01-23 Thread Antoni Segura Puimedon


- Original Message -
> From: "Fabian Deutsch" 
> To: "Francisco Pérez" , "VDSM Project Development" 
> 
> Cc: users@ovirt.org
> Sent: Thursday, January 23, 2014 5:12:17 PM
> Subject: Re: [Users] ovirtmgmt vanishes after reboot
> 
> 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?

Well, we should check if after the reboot 
/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt
and /etc/sysconfig/network-scripts/ifcfg-emX (or whatever the name of the
interface ovirtmgmt sits on is) are present. If vdsmd is started and properly
listening and if that is the case. virsh -r net-list has
vdsm-ovirtmgmt

> 
> - fabian
> 
> 
> ___
> 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] Network issues - Bonding

2014-01-13 Thread Antoni Segura Puimedon


- Original Message -
> From: "Dan Ferris" 
> To: users@ovirt.org
> Sent: Monday, January 6, 2014 3:52:45 PM
> Subject: Re: [Users] Network issues - Bonding
> 
> It's FC 19 with all of the latest updates.
> 
> On 01/06/2014 05:56 AM, Sven Kieske wrote:
> > Hi,
> > 
> > just out of curiosity (I'm also looking
> > at implementing bonding on our ComputeNodes):
> > 
> > Which OS version are you running ?

I think I once ran into it and a restart of the
computer solved it, tried to reproduce again and
couldn't (so no bug was filed).

> > 
> > 
> ___
> 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] Isolatet virtual network

2013-12-19 Thread Antoni Segura Puimedon
Additionally 3.4 will have a new hook, vdsm-hook-extnet that uses custom
device properties to allow plugging any vnic to a non oVirt defined
libvirt network (this can be used to plug into open vSwitch, nicless
nets, NAT nets).

- Original Message -
> From: "Markus Stockhausen" 
> To: "Saša Friedrich" , users@ovirt.org
> Sent: Thursday, December 19, 2013 12:54:20 PM
> Subject: Re: [Users] Isolatet virtual network
> 
> > Von: users-boun...@ovirt.org [users-boun...@ovirt.org]" im Auftrag von
> > "Saša Friedrich [sasa.friedr...@bitlab.si]
> > Gesendet: Donnerstag, 19. Dezember 2013 12:34
> > An: users@ovirt.org
> > Betreff: [Users] Isolatet virtual network
> > 
> > Hi!
> > 
> > I can't find a way to create an isolated virtual network interface in
> > ovirt cluster?
> > 
> > Any help would be appreciated.
> 
> Do you think of a virtual network that connects VMs on one node?
> If yes you have to create dummy interfaces. Create a start script
> 
> modprobe dummy
> ip link add dummy_0 type dummy
> ip link add dummy_1 type dummy
> ip link add dummy_2 type dummy
> ip link add dummy_3 type dummy
> ip link add dummy_4 type dummy
> 
> VDSM should recognize those interfaces and you should be able
> to bind OVirt networks (e.g. MY_SECRET_LAN) to them. Finally
> add VM interfaces to that network.
> 
> Best regards.
> 
> Markus
> 
> ___
> 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] Freebsd 9/10 Ovirt Guest Agentd

2013-12-19 Thread Antoni Segura Puimedon


- Original Message -
> From: "Juergen Gotteswinter" 
> To: users@ovirt.org
> Sent: Thursday, December 19, 2013 12:13:09 PM
> Subject: [Users] Freebsd 9/10 Ovirt Guest Agentd
> 
> Hi Folks,
> 
> anyone knows if theres any (maybe hacky) solution to get the ip information
> of a freebsd9/10 vm displayed in the ovirt engine interface like it is with
> linux guests?

I think that you would have to patch ovirt guest agent to add freebsd support 
:-)
> 
> Cheers,
> 
> Juergen
> 
> ___
> 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] Agents for Windows

2013-12-19 Thread Antoni Segura Puimedon


- Original Message -
> From: "Lindsay Mathieson" 
> To: users@ovirt.org
> Sent: Thursday, December 19, 2013 12:07:50 PM
> Subject: Re: [Users] Agents for Windows
> 
> On Thu, 19 Dec 2013 11:33:43 AM Sander Grendelman wrote:
> > If you've got a red-hat subscription it's in the virtio-win package in
> > the supplementary channel.
> > It looks like there's no srpm available for that one.
> 
> 
> So its proprietary/closed src?

AFAIK there's the source, but there is no package, maybe
vinzenz can point you where it is so you can compile it.
> --
> Lindsay
> ___
> 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] SSH MAC corrupt (Re: Did you get ovirt working?)

2013-12-18 Thread Antoni Segura Puimedon


- Original Message -
> From: "Gabi C" 
> To: "Garry Tiedemann" , users@ovirt.org
> Sent: Wednesday, December 18, 2013 7:26:16 AM
> Subject: Re: [Users] SSH MAC corrupt (Re: Did you get ovirt working?)
> 
> Hello!
> I was just about to reply to the list! :-)
> I moved to oVirt Node - 3.0.3 - 1.1.fc19 on both nodes an updated the engine
> to 3.3.2-1.fc19 and it is working now.For the nodes I performed an clean
> install ( i.e. I had to reinitialize the array - ServeRaid controller) and
> the only bug I encounter was the one related to ssh-selinux, circumvented by
> setenforce 0.
> Of course, every time I reboot nodes I had to go to console and manually
> "setenforce 0"

Is there a bug for the oVirt Node for this?

> 
> 
> On Wed, Dec 18, 2013 at 5:37 AM, Garry Tiedemann <
> garrytiedem...@networkvideo.com.au > wrote:
> 
> 
> 
> Hi Gabi,
> 
> I saw your post on ovirt-users from last week.
> 
> I am having that problem too. Have you solved it already?
> 
> I would be glad to exchange information, perhaps we can help each other.
> 
> I hope to hear from you soon.
> 
> Kind regards,
> --
> 
> 
> 
> 
> Garry Tiedemann
> IT Manager
> 
> IT Division | The Network Group | 334 Queensberry St, North Melbourne ,
> Victoria , 3051, Australia
> Phone (03) 9329 0933 | Email garrytiedem...@networkvideo.com.au | Website
> www.thenetworkgroup.com.au
> 
> 
> The Network Group: One of BRW's 50 most innovative companies for 2013,
> and winner of the 2013 Rental Group/Business of the Year Award
> 
>   
> 
> 
> This email message and any accompanying attachments may contain information
> that is confidential and is subject to legal privilege. If you are not the
> intended recipient, do not read, use, disseminate, distribute or copy this
> message or attachments. If you have received this message in error, please
> notify the sender immediately and delete this message. Network Video Home
> Entertainment Experts accepts no liability for any damage caused by this
> email or any electronic transmission. Any views expressed in this message
> are those of the individual sender, except where the sender expressly, and
> with authority, states them to be the views of 'Network Video Home
> Entertainment Experts'.
> 
> 
> 
> ___
> 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] web documentation suggestion

2013-12-18 Thread Antoni Segura Puimedon


- Original Message -
> From: "Darrell Budic" 
> To: "users" 
> Sent: Wednesday, December 18, 2013 5:22:49 AM
> Subject: Re: [Users] web documentation suggestion
> 
> Should read “I was still running 3.2.3” there…
> 
> On Dec 17, 2013, at 10:21 PM, Darrell Budic 
> wrote:
> 
> > Would it be possible to start adding the Ovirt version a feature became
> > available in to the various Features pages?
> > 
> > This one as an example:
> > http://www.ovirt.org/Features/Non_plugin_console_invocation I was going to
> > test this and it took me a few moments to remember it was added in 3.3 and
> > I was still running 3.3 when the listed commands returned errors.

What I'd like would be that upon inclusion in a release, the page is moved to

http://www.ovirt.org/Releases/3.2.3/Features/Non_plugin_console_invocation and 
that
the old url would redirect to it.

> 
> ___
> 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] simple networking? [SOLVED] mostly

2013-12-16 Thread Antoni Segura Puimedon
- Original Message -
> From: "Moti Asayag" 
> To: "Antoni Segura Puimedon" 
> Cc: users@ovirt.org, "Juan Pablo Lorier" 
> Sent: Monday, December 16, 2013 8:43:24 PM
> Subject: Re: [Users] simple networking? [SOLVED] mostly
> 
> By looking at the output of 'getCapabilities' i noticed vdsm
> didn't report any value for 'lastClientIface': 'lastClientIface': ''
> 
> It seems like the first 'getCapabilities' which the engine relies
> on to report the nic for configuring the management network on top
> of is missing.
> 
> Toni, any idea in which case it might not be reported ?

Sure, this is fixed now (or at least the behavior was changed). The thing
is that this Caps reports the management_ip as 0.0.0.0, which leads me to
believe that this is probably an all in one setup. The code for getting
lastClientIface used to check for which device had assigned the management_ip,
which doesn't exist in this case.

If we were to use the current code, that tries to route a packet, it would
behave differently. However, it would still leave us out of luck as the device
that would be reported to the engine would be, if this is indeed
an allinone, the loopback device.
> 
> 
> Thread-20::DEBUG::2013-12-05 14:01:43,531::BindingXMLRPC::981::vds::(wrapper)
> return getCapabilities with {'status': {'message': 'Done', 'code': 0},
> 'info': {'HBAInventory': {'iSCSI': [{'InitiatorName':
> 'iqn.1994-05.com.redhat:1a6a2adc920'}], 'FC': []}, 'packages2': {'kernel':
> {'release': '358.23.2.el6.x86_64', 'buildtime': 1381955832.0, 'version':
> '2.6.32'}, 'glusterfs-rdma': {'release': '8.el6', 'buildtime': 1375787859L,
> 'version': '3.4.0'}, 'glusterfs-fuse': {'release': '8.el6', 'buildtime':
> 1375787859L, 'version': '3.4.0'}, 'spice-server': {'release': '6.el6',
> 'buildtime': 1385213397L, 'version': '0.12.4'}, 'vdsm': {'release':
> '11.el6', 'buildtime': 1384277438L, 'version': '4.13.0'}, 'qemu-kvm':
> {'release': '2.355.0.1.el6_4.9', 'buildtime': 1380718456L, 'version':
> '0.12.1.2'}, 'qemu-img': {'release': '2.355.0.1.el6_4.9', 'buildtime':
> 1380718456L, 'version': '0.12.1.2'}, 'libvirt': {'release': '29.el6',
> 'buildtime': 1385212305L, 'version': '0.10.2'}, 'glusterfs': {'release':
> '8.el6', 'buildtime': 1375787859L, 'version': '3.4.0'}, 'mom': {'release':
> '3.el6', 'buildtime': 1375215703L, 'version': '0.3.2'}, 'glusterfs-server':
> {'release': '8.el6', 'buildtime': 1375787859L, 'version': '3.4.0'}},
> 'cpuModel': 'Intel(R) Xeon(R) CPU   X5450  @ 3.00GHz', 'hooks': {},
> 'cpuSockets': '2', 'vmTypes': ['kvm'], 'supportedProtocols': ['2.2', '2.3'],
> 'networks': {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr': '192.168.128.82',
> 'cfg': {'DEFROUTE': 'yes', 'IPADDR': '192.168.128.82', 'GATEWAY':
> '192.168.128.49', 'DELAY': '0', 'NM_CONTROLLED': 'no', 'NETMASK':
> '255.255.255.0', 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'ovirtmgmt',
> 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'ipv6addrs':
> ['fe80::21e:c9ff:fe2b:7a5c/64'], 'gateway': '192.168.128.49', 'netmask':
> '255.255.255.0', 'stp': 'off', 'bridged': True, 'qosInbound': '',
> 'qosOutbound': '', 'mtu': '1500', 'ipv6gateway': '::', 'ports':
> ['bond0.128']}, 'iscsi131': {'iface': 'iscsi131', 'addr': '192.168.131.82',
> 'cfg': {'DEFROUTE': 'no', 'IPADDR': '192.168.131.82', 'DELAY': '0',
> 

Re: [Users] simple networking? [SOLVED] mostly

2013-12-16 Thread Antoni Segura Puimedon
Hi Juan Pablo,

Could you please share:

/var/log/vdsm/supervdsm.log

So that I can see why the installation fails? I'd also like to know
how you set up the pre-existent vlan on the host.

- Original Message -
> From: "Itamar Heim" 
> To: "Juan Pablo Lorier" , users@ovirt.org, "Dan 
> Kenigsberg" , "Antoni Segura
> Puimedon" 
> Sent: Monday, December 16, 2013 7:13:04 PM
> Subject: Re: [Users] simple networking? [SOLVED] mostly
> 
> On 12/16/2013 12:54 PM, Juan Pablo Lorier wrote:
> > Itamar,
> >
> > I have the same problem and already have mentioned that in previous
> > posts. In my case, I have vlan 128 tagged assigned for ovirtmgmt so I
> > set the host ip manually on top of a vlan interface and the, after ovirt
> > does install the node, it fails to finish as it can't manage properly to
> > create the bridge and pass the ip to the brand new bridge. The ovirtmgmt
> > interface I create in engine is a bond (and originally I configure just
> > a single interface with the ip to grant engine access), just in case
> > this changes the scenario.
> > Regards,
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> 
> dan/toni - thoughts?
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Can't add networks

2013-12-14 Thread Antoni Segura Puimedon


- Original Message -
> From: "Rob Abshear" 
> To: users@ovirt.org
> Sent: Saturday, December 14, 2013 1:52:17 AM
> Subject: [Users] Can't add networks
> 
> I have a brand spanking new installation.  Fresh controllers and nodes.
> I have imported some machines and have them up and running. However,
> when I try to add any more networks to the nodes, I get a failure.  The
> engine.log is giving the following failure:
> 
> 2013-12-13 19:48:03,280 INFO
> [org.ovirt.engine.core.bll.network.host.SetupNetworksCommand]
> (ajp--127.0.0.1-8702-3) Running command: SetupNetworksCommand internal:
> false. Entities affected :  ID: 185e8be6-5c9f-4ca2-a9b9-2dd49d6e6cfe
> Type: VDS
> 2013-12-13 19:48:03,282 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
> (ajp--127.0.0.1-8702-3) START, SetupNetworksVDSCommand(HostName =
> Out-001, HostId = 185e8be6-5c9f-4ca2-a9b9-2dd49d6e6cfe, force=false,
> checkConnectivity=true, conectivityTimeout=120,
>  networks=[Inside {id=b88e1266-d83f-4753-ac61-0c383f2ce607,
> description=Internal connections, comment=null, subnet=null,
> gateway=null, type=null, vlanId=null, stp=false,
> dataCenterId=5849b030-626e-47cb-ad90-3ce782d831b3, mtu=0,
> vmNetwork=true, cluster=NetworkCluster {id={clusterId=null,
> networkId=null}, status=OPERATIONAL, display=false, required=false,
> migration=false}, providedBy=null, label=null}],
>  bonds=[],
>  interfaces=[p2p1 {id=0f6b3543-7622-4d26-aab8-3524cab6b4db,
> vdsId=185e8be6-5c9f-4ca2-a9b9-2dd49d6e6cfe, name=p2p1,
> macAddress=00:13:3b:0e:08:93, networkName=Inside, bondName=null,
> bootProtocol=DHCP, address=, subnet=, gateway=null, mtu=0, bridged=true,
> speed=100, type=0, networkImplementationDetails=null},
>  em1 {id=57dae4a3-ba5a-430a-946e-5f087a33f761,
> vdsId=185e8be6-5c9f-4ca2-a9b9-2dd49d6e6cfe, name=em1,
> macAddress=00:19:b9:e3:63:e7, networkName=ovirtmgmt, bondName=null,
> bootProtocol=STATIC_IP, address=192.168.164.71, subnet=255.255.252.0,
> gateway=192.168.165.2, mtu=1500, bridged=true, speed=1000, type=2,
> networkImplementationDetails={inSync=true, managed=true}},
>  em2 {id=df35d1f8-1467-446a-8f93-e507f67379e7,
> vdsId=185e8be6-5c9f-4ca2-a9b9-2dd49d6e6cfe, name=em2,
> macAddress=00:19:b9:e3:63:e9, networkName=null, bondName=null,
> bootProtocol=DHCP, address=, subnet=, gateway=null, mtu=1500,
> bridged=false, speed=0, type=0, networkImplementationDetails=null},
>  p2p2 {id=4b747913-edc3-4f75-9c5b-a11f02f73536,
> vdsId=185e8be6-5c9f-4ca2-a9b9-2dd49d6e6cfe, name=p2p2,
> macAddress=00:13:3b:0e:08:94, networkName=null, bondName=null,
> bootProtocol=DHCP, address=, subnet=, gateway=null, mtu=1500,
> bridged=false, speed=1000, type=0, networkImplementationDetails=null}],
>  removedNetworks=[],
>  removedBonds=[]), log id: 93c1504
> 2013-12-13 19:48:03,296 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
> (ajp--127.0.0.1-8702-3) FINISH, SetupNetworksVDSCommand, log id: 93c1504
> 2013-12-13 19:50:14,731 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
> (ajp--127.0.0.1-8702-3) Failed in SetupNetworksVDS method
> 2013-12-13 19:50:14,732 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
> (ajp--127.0.0.1-8702-3) Error code ERR_FAILED_IFUP and error message
> VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS,
> error = Determining IP information for Inside... failed.
> 2013-12-13 19:50:14,735 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
> (ajp--127.0.0.1-8702-3)
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
> VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS,
> error = Determining IP information for Inside... failed.
> 2013-12-13 19:50:14,737 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
> (ajp--127.0.0.1-8702-3) Command SetupNetworksVDS execution failed.
> Exception: VDSErrorException: VDSGenericException: VDSErrorException:
> Failed to SetupNetworksVDS, error = Determining IP information for
> Inside... failed.
> 2013-12-13 19:50:14,740 ERROR
> [org.ovirt.engine.core.bll.network.host.SetupNetworksCommand]
> (ajp--127.0.0.1-8702-3) Command
> org.ovirt.engine.core.bll.network.host.SetupNetworksCommand throw Vdc
> Bll exception. With error message VdcBLLException:
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
> VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS,
> error = Determining IP information for Inside... failed. (Failed with
> error ERR_FAILED_IFUP and code 29)

This error code indicates that the ifup initscript failed. Since the bootproto
was set to DHCP, it could be related to that. Could you please provide the
logs:
- /var/log/vdsm/supervdsm.log
- /var/log/vdsm/vdsm.log

THat should give us more information.

> 
> Any help would be appreciated.
> 
> --
> 
> 
> *NADA Convention & Expo*:  January 24-27, 2014 - New Orleans, LA - Booth
> 5001
> <

Re: [Users] 3.3.2 tested agsinst Fedora 20?

2013-12-08 Thread Antoni Segura Puimedon


- Original Message -
> From: "Markus Stockhausen" 
> To: users@ovirt.org
> Sent: Sunday, December 8, 2013 8:49:42 AM
> Subject: [Users] 3.3.2 tested agsinst Fedora 20?
> 
> Hello,
> 
> On the 3.3.2 testing page I saw that several tests where made for Fedora 20
> nodes. The created bz notes suggest that they are based on the nightly
> builds.

We have been testing git master on Fedora20 and backported fixes. Also recently
we performed release branch tests on Fedora 20 (Douglas did).

> 
> Is Fedora 20 really a target for 3.3.2 or are the results only posted because
> we lack a 3.4 testing page?

Fedora20 is about to be released, so it will be a target.

> 
> Thanks
> 
> Markus
> 
> 
> ___
> 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] ovirtmgmt not installed

2013-12-04 Thread Antoni Segura Puimedon
I'm glad it solve the networking issue. 

Is there somebody who could help with the cluster joining issue? 

- Original Message -

> From: "Pascal Jakobi" 
> To: "Antoni Segura Puimedon" 
> Cc: "Assaf Muller" , "Pascal Jakobi" ,
> users@ovirt.org
> Sent: Wednesday, December 4, 2013 9:37:22 PM
> Subject: Re: [Users] ovirtmgmt not installed

> I have done this and it solves the issue.
> However, the next issue I found was that the host was not able to join a 3.3
> cluster (i.e. the "default" cluster).
> At this point, I went back to F18.

> 2013/12/4 Antoni Segura Puimedon < asegu...@redhat.com >

> > - Original Message -
> 
> > > From: "Assaf Muller" < amul...@redhat.com >
> 
> > > To: "Pascal Jakobi" < pjak...@yahoo.fr >
> 
> > > Cc: users@ovirt.org
> 
> > > Sent: Wednesday, December 4, 2013 9:09:18 AM
> 
> > > Subject: Re: [Users] ovirtmgmt not installed
> 
> > >
> 
> > > I personally have a F19 host working against 3.3 engine. Could you detail
> 
> > > what doesn't work, and possibly attach engine and VDSM logs when an
> 
> > > operation fails?
> 

> > It seems to be an instance of
> > https://bugzilla.redhat.com/show_bug.cgi?id=973179
> 
> > Anaconda created a wrongly named and wrongly configured ifcfg file.
> 
> > biosdevname said the device is em1 but the ifcfg file created by anaconda
> > is
> 
> > ifcfg-eno1 (and the content refers to that name).
> 

> > The best way to solve this is to create an ifcfg file from scratch like the
> > following:
> 

> > DEVICE=em1
> 
> > BOOTPROTO=dhcp
> 
> > ONBOOT=yes
> 
> > NM_CONTROLLED=no
> 
> > HWADDR=XX:XX:XX:XX:XX:XX # replace X with em1's HWADDR
> 

> > Then for extra safety, stop and mask Network Manager. And then deploy.
> 

> > >
> 
> > > Assaf Muller, Cloud Networking Engineer
> 
> > > Red Hat
> 
> > >
> 
> > > - Original Message -
> 
> > > From: "Pascal Jakobi" < pjak...@yahoo.fr >
> 
> > > To: users@ovirt.org
> 
> > > Sent: Wednesday, December 4, 2013 8:22:05 AM
> 
> > > Subject: Re: [Users] ovirtmgmt not installed
> 
> > >
> 
> > > At the end, I could not make an F19 Fedora host work against a 3.3
> > > engine.
> > > I
> 
> > > suggest someone from the eng team has a look at it. some stuff just does
> > > not
> 
> > > work there.
> 
> > >
> 
> > > Therefore, I downgraded the fedora host to F18. On the engine side, I got
> > > the
> 
> > > following error message :
> 
> > > Host lab2 is compatible with versions (3.0,3.1,3.2) and cannot join
> > > Cluster
> 
> > > Default which is set to version 3.3.
> 
> > > Don't know what is to be set
> 
> > >
> 
> > > Anyway, I created a 3.2 cluster and installed the host into it. Seems to
> > > work
> 
> > > (the host is up).
> 
> > >
> 
> > > Thanks again for support.
> 
> > >
> 
> > >
> 
> > > Pascal Jakobi
> 
> > > 116 rue de Stalingrad
> 
> > > 93100 Montreuil, France
> 
> > > Tel : + 33 6 87 47 58 19
> 
> > > @ : pjak...@yahoo.fr
> 
> > >
> 
> > >
> 
> > > Le Mardi 3 décembre 2013 14h04, Pascal Jakobi < pjak...@yahoo.fr > a
> > > écrit
> > > :
> 
> > > Will do within a couple of hours.
> 
> > > Many, many thanks
> 
> > > Pascal Jakobi
> 
> > > 116 rue de Stalingrad
> 
> > > 93100 Montreuil, France
> 
> > > Tel : + 33 6 87 47 58 19
> 
> > > @ : pjak...@yahoo.fr
> 
> > >
> 
> > >
> 
> > > Le Mardi 3 décembre 2013 13h43, Antoni Segura Puimedon <
> > > asegu...@redhat.com >
> 
> > > a écrit :
> 
> > > Hi Pacal,
> 
> > >
> 
> > > Would you mind joining #ovirt at irc.oftc.net and pinging apuimedo?
> 
> > > I have some questions that could be faster solved online.
> 
> > >
> 
> > > Best,
> 
> > >
> 
> > > Antoni
> 
> > >
> 
> > > - Original Message -
> 
> > > > From: "Pascal Jakobi" < pjak...@yahoo.fr >
> 
> > > > To: "Pascal Jakobi" < pascal.jak...@gmail.com >, "Moti Asayag" <
> 

Re: [Users] ovirtmgmt not installed

2013-12-04 Thread Antoni Segura Puimedon


- Original Message -
> From: "Assaf Muller" 
> To: "Pascal Jakobi" 
> Cc: users@ovirt.org
> Sent: Wednesday, December 4, 2013 9:09:18 AM
> Subject: Re: [Users] ovirtmgmt not installed
> 
> I personally have a F19 host working against 3.3 engine. Could you detail
> what doesn't work, and possibly attach engine and VDSM logs when an
> operation fails?

It seems to be an instance of https://bugzilla.redhat.com/show_bug.cgi?id=973179
Anaconda created a wrongly named and wrongly configured ifcfg file.
biosdevname said the device is em1 but the ifcfg file created by anaconda is
ifcfg-eno1 (and the content refers to that name).

The best way to solve this is to create an ifcfg file from scratch like the 
following:

DEVICE=em1
BOOTPROTO=dhcp
ONBOOT=yes
NM_CONTROLLED=no
HWADDR=XX:XX:XX:XX:XX:XX  # replace X with em1's HWADDR

Then for extra safety, stop and mask Network Manager. And then deploy.

> 
> Assaf Muller, Cloud Networking Engineer
> Red Hat
> 
> - Original Message -
> From: "Pascal Jakobi" 
> To: users@ovirt.org
> Sent: Wednesday, December 4, 2013 8:22:05 AM
> Subject: Re: [Users] ovirtmgmt not installed
> 
> At the end, I could not make an F19 Fedora host work against a 3.3 engine. I
> suggest someone from the eng team has a look at it. some stuff just does not
> work there.
> 
> Therefore, I downgraded the fedora host to F18. On the engine side, I got the
> following error message :
> Host lab2 is compatible with versions (3.0,3.1,3.2) and cannot join Cluster
> Default which is set to version 3.3.
> Don't know what is to be set
> 
> Anyway, I created a 3.2 cluster and installed the host into it. Seems to work
> (the host is up).
> 
> Thanks again for support.
> 
> 
> Pascal Jakobi
> 116 rue de Stalingrad
> 93100 Montreuil, France
> Tel : + 33 6 87 47 58 19
> @ : pjak...@yahoo.fr
> 
> 
> Le Mardi 3 décembre 2013 14h04, Pascal Jakobi  a écrit :
> Will do within a couple of hours.
> Many, many thanks
> Pascal Jakobi
> 116 rue de Stalingrad
> 93100 Montreuil, France
> Tel : + 33 6 87 47 58 19
> @ : pjak...@yahoo.fr
> 
> 
> Le Mardi 3 décembre 2013 13h43, Antoni Segura Puimedon 
> a écrit :
> Hi Pacal,
> 
> Would you mind joining #ovirt at irc.oftc.net and pinging apuimedo?
> I have some questions that could be faster solved online.
> 
> Best,
> 
> Antoni
> 
> - Original Message -
> > From: "Pascal Jakobi" < pjak...@yahoo.fr >
> > To: "Pascal Jakobi" < pascal.jak...@gmail.com >, "Moti Asayag" <
> > masa...@redhat.com >
> > Cc: users@ovirt.org
> > Sent: Tuesday, December 3, 2013 1:11:36 PM
> > Subject: Re: [Users] ovirtmgmt not installed
> > 
> > Still the same, even with networking working like a charm...
> > Any idea ?
> > 
> > [ root@lab2 vdsm]# vdsClient -s 0 getVdsCaps
> > HBAInventory = {'FC': [], 'iSCSI': [{'InitiatorName':
> > 'iqn.1994-05.com.redhat:a0bc8a5f9a5d'}]}
> > ISCSIInitiatorName = 'iqn.1994-05.com.redhat:a0bc8a5f9a5d'
> > bondings = {'bond0': {'addr': '',
> > 'cfg': {},
> > 'hwaddr': '96:9d:8f:27:e1:8f',
> > 'ipv6addrs': [],
> > 'mtu': '1500',
> > 'netmask': '',
> > 'slaves': []}}
> > bridges = {}
> > clusterLevels = ['3.0', '3.1', '3.2', '3.3']
> > cpuCores = '4'
> > cpuFlags =
> > 'fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,aperfmperf,eagerfpu,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,pdcm,pcid,dca,sse4_1,sse4_2,x2apic,popcnt,tsc_deadline_timer,aes,xsave,avx,lahf_lm,ida,arat,epb,xsaveopt,pln,pts,dtherm,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_coreduo,model_core2duo,model_Penryn,model_Westmere,model_n270,model_SandyBridge'
> > cpuModel = 'Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz'
> > cpuSockets = '1'
> > cpuSpeed = '3708.000'
> > cpuThreads = '8'
> > emulatedMachines = ['pc',
> > 'q35',
> > 'isapc',
> > 'pc-0.10',
> > 'pc-0.11',
> > 'pc-0.12',
> > 'pc-0.13',
> > 'pc-0.14',
> > 'pc-0.15',
> > 'pc-1.0',
> > 'pc-1.

Re: [Users] libteam network devices support in ovirt

2013-11-01 Thread Antoni Segura Puimedon


- Original Message -
> From: "Tomasz Torcz" 
> To: "Antoni Segura Puimedon" 
> Cc: users@ovirt.org
> Sent: Friday, November 1, 2013 11:09:01 AM
> Subject: Re: [Users] libteam network devices support in ovirt
> 
> On Wed, Oct 30, 2013 at 07:50:50PM -0400, Antoni Segura Puimedon wrote:
> > - Original Message -
> > > From: "Tomasz Torcz" 
> > > To: "Antoni Segura Puimedon" 
> > > Cc: users@ovirt.org
> > > Sent: Wednesday, October 30, 2013 5:19:04 PM
> > > Subject: Re: [Users] libteam network devices support in ovirt
> > > 
> > > On Wed, Oct 30, 2013 at 03:34:03PM +0100, Antoni Segura Puimedon wrote:
> > > > On Wed, 2013-10-30 at 11:24 +0100, Tomasz Torcz wrote:
> > > > > Hi,
> > > > > 
> > > > >   Little over a year ago Fedora introduced alternative bonding driver
> > > > > for network devices - libteam: https://fedorahosted.org/libteam/
> > > > >   Can we expect libteam support in ovirt at the same level as for
> > > > >   "bond"
> > > > > driver?  Currently, libteam bonded interfaces are not visible in
> > > > > "Setup Host Networks" dialog.
> > > > 
> > > > Hi Tomasz,
> > > > 
> > > > We are aware of libteam bonds and I personally look forward to them
> > > > very
> > > > much.
> > > > 
> > > > The ideal way to support them would be via one new network configurator
> > > > that
> > > > would implicitly make teamd bonds instead of usual bonds. After the
> > > > iproute2
> > > > configurator is finished (it is currently in progress but quite
> > > > functional)
> > > > it
> > > > should be quite easy to inherit from vdsm/netconf/iproute2.py and
> > > > modify
> > > > configureBond, removeBond and editBondings so that they make use of
> > > > teamd
> > > > bonds.
> > > 
> > >   What needs to be done to get ”minimal” support?  By minimal I
> > >   understand
> > > oVirt acknowledging that network interfaces are teamed.  Configuring
> > > teams
> > > from oVirt can come later.  Right now teamed interfaces are displayed
> > > as separate in net configuration dialog, and master team device is not
> > > displayed at all.  I could live with manually configure teams if only
> > > I can attach them to ovirt networks.
> > 
> > would that be a bridged or a bridgeless network? A vlanned or non-vlanned
> > network?
> 
>   I'm not entirely sure if you honestly asking or just trying to make me
> realize how many variables are involved in such support.  I will assume the
> former.

I was asking because if it were non-VM network it could have been easy to put
up a hack to do it.

> 
>   I have team0 interface of two physical NICs.  I'd like to have this team0
> interface attached to particular VM.  That would mean bridged network I
> suppose.

Hacking around attempts (not actually tried)
=

Well, I guess that what you could do is to configure the whole network manually
create the bridge and add team0 to it manually, then craft the ifcfg files for
them. Then create the libvirt xml definition for the network over the bridge.
After that maybe the engine will pick up the network as defined in the host and
let you start VMs with it.

Another thing that might (just might) work would be to use the engine to set up
a vm network overt a normal bond and then just use brctl to replace bond0 for
team0 on that bridge. This would save you from the libvirt network definition
(you should remove the bond from the bridge in ifcfg files as well).

However, in both options, you might have the issue of the engine detecting the
configuration as out of sync.

> There are no VLANs in my setup.
>   To be clear, I am able to tear down this setup and revert to old-school
>   bond.
> I'd prefer not to – it needs some downtime to reconfigure and validate.
> So now I'm against the question: what will require more work from me,
> reconfiguring network or making ovirt recognize basic team0.
> 
> 
> --
> Tomasz Torcz Morality must always be based on practicality.
> xmpp: zdzich...@chrome.pl-- Baron Vladimir Harkonnen
> 
> 

In the end, the best thing would be to request a feature for team support. It 
would
entail making netinfo able to report team devices as bonds and inheriting from 
some
configurator (it could be done entirely on vdsm side).
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] libteam network devices support in ovirt

2013-10-30 Thread Antoni Segura Puimedon


- Original Message -
> From: "Tomasz Torcz" 
> To: "Antoni Segura Puimedon" 
> Cc: users@ovirt.org
> Sent: Wednesday, October 30, 2013 5:19:04 PM
> Subject: Re: [Users] libteam network devices support in ovirt
> 
> On Wed, Oct 30, 2013 at 03:34:03PM +0100, Antoni Segura Puimedon wrote:
> > On Wed, 2013-10-30 at 11:24 +0100, Tomasz Torcz wrote:
> > > Hi,
> > > 
> > >   Little over a year ago Fedora introduced alternative bonding driver
> > > for network devices - libteam: https://fedorahosted.org/libteam/
> > >   Can we expect libteam support in ovirt at the same level as for "bond"
> > > driver?  Currently, libteam bonded interfaces are not visible in
> > > "Setup Host Networks" dialog.
> > 
> > Hi Tomasz,
> > 
> > We are aware of libteam bonds and I personally look forward to them very
> > much.
> > 
> > The ideal way to support them would be via one new network configurator
> > that
> > would implicitly make teamd bonds instead of usual bonds. After the
> > iproute2
> > configurator is finished (it is currently in progress but quite functional)
> > it
> > should be quite easy to inherit from vdsm/netconf/iproute2.py and modify
> > configureBond, removeBond and editBondings so that they make use of teamd
> > bonds.
> 
>   What needs to be done to get ”minimal” support?  By minimal I understand
> oVirt acknowledging that network interfaces are teamed.  Configuring teams
> from oVirt can come later.  Right now teamed interfaces are displayed
> as separate in net configuration dialog, and master team device is not
> displayed at all.  I could live with manually configure teams if only
> I can attach them to ovirt networks.

would that be a bridged or a bridgeless network? A vlanned or non-vlanned
network?

> 
> --
> Tomasz Torcz   ,,(...) today's high-end is tomorrow's embedded
> processor.''
> xmpp: zdzich...@chrome.pl  -- Mitchell Blank on LKML
> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] libteam network devices support in ovirt

2013-10-30 Thread Antoni Segura Puimedon
On Wed, 2013-10-30 at 11:24 +0100, Tomasz Torcz wrote:
> Hi,
> 
>   Little over a year ago Fedora introduced alternative bonding driver
> for network devices - libteam: https://fedorahosted.org/libteam/
>   Can we expect libteam support in ovirt at the same level as for "bond"
> driver?  Currently, libteam bonded interfaces are not visible in
> "Setup Host Networks" dialog.

Hi Tomasz,

We are aware of libteam bonds and I personally look forward to them very much.

The ideal way to support them would be via one new network configurator that
would implicitly make teamd bonds instead of usual bonds. After the iproute2
configurator is finished (it is currently in progress but quite functional) it
should be quite easy to inherit from vdsm/netconf/iproute2.py and modify
configureBond, removeBond and editBondings so that they make use of teamd bonds.




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


Re: [Users] vdsmd seg fault

2013-10-17 Thread Antoni Segura Puimedon
Wouldn't it be caught by abrtd if it were running with the python plugin?
(you might need to put size unlimited and key checking disabled).

- Original Message -
> From: "Dan Kenigsberg" 
> To: "Dan Ferris" 
> Cc: "" 
> Sent: Thursday, October 17, 2013 9:22:25 AM
> Subject: Re: [Users] vdsmd seg fault
> 
> On Wed, Oct 16, 2013 at 09:43:57AM -0600, Dan Ferris wrote:
> > 
> > 
> > On 10/16/2013 8:55 AM, Dan Kenigsberg wrote:
> > >On Wed, Oct 16, 2013 at 08:33:10AM -0600, Dan Ferris wrote:
> > >>
> > >>
> > >>On 10/16/2013 12:27 AM, Dan Kenigsberg wrote:
> > >>>On Tue, Oct 15, 2013 at 10:24:44AM -0600, Dan Ferris wrote:
> > I updated to the latest Fedora 19 on two test servers, and now vdsmd
> > will not start.
> > 
> > Systedctl says this:
> > 
> > dsmd.service - Virtual Desktop Server Manager
> > Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
> > Active: failed (Result: exit-code) since Mon 2013-10-14 12:31:30
> > EDT; 23h ago
> >    Process: 1788 ExecStart=/lib/systemd/systemd-vdsmd start
> > (code=exited, status=139)
> > 
> > Oct 14 12:31:30 rs0-ovirt0.rexdb.us python[1862]: DIGEST-MD5
> > ask_user_info()
> > Oct 14 12:31:30 rs0-ovirt0.rexdb.us python[1862]: DIGEST-MD5 client
> > step 2
> > Oct 14 12:31:30 rs0-ovirt0.rexdb.us python[1862]: DIGEST-MD5
> > ask_user_info()
> > Oct 14 12:31:30 rs0-ovirt0.rexdb.us python[1862]: DIGEST-MD5
> > make_client_response()
> > Oct 14 12:31:30 rs0-ovirt0.rexdb.us python[1862]: DIGEST-MD5 client
> > step 3
> > Oct 14 12:31:30 rs0-ovirt0.rexdb.us systemd-vdsmd[1788]:
> > /lib/systemd/systemd-vdsmd: line 185:  1862 Segmentation fault
> > "$VDSM_TOOL" nwfilter
> > Oct 14 12:31:30 rs0-ovirt0.rexdb.us systemd-vdsmd[1788]: vdsm:
> > Failed to define network filters on libvirt[FAILED]
> > Oct 14 12:31:30 rs0-ovirt0.rexdb.us systemd[1]: vdsmd.service:
> > control process exited, code=exited status=139
> > Oct 14 12:31:30 rs0-ovirt0.rexdb.us systemd[1]: Failed to start
> > Virtual Desktop Server Manager.
> > Oct 14 12:31:30 rs0-ovirt0.rexdb.us systemd[1]: Unit vdsmd.service
> > entered failed state.
> > 
> > Has anyone else experienced this?
> > >>>
> > >>>I haven't. Does the segfault introduce when you run
> > >>>
> > >>> gdb vdsm-tool nwfilter
> > >>>
> > >>>as root? Could you send the output of `bt full` if it does?
> > >>>
> > >>
> > >>gdb is complaining that vdsm-tool is a python script and not in elf
> > >>format.
> > >
> > >doh me. `gdb python`, followed by `run /usr/bin/vdsm-tool nwfilter` is
> > >what should be done.
> > >
> > >>
> > >>However, running vdsm-tool nwfilter runs and has a return code of 0.
> > >
> > >But when it's called via systemd, the segfault still reproduces?
> > >
> > >Dan.
> > >
> > 
> > Yeah, that's correct.  It segfaults when it runs from systemd.
> > 
> > I just ran it from gdb:
> > 
> > GNU gdb (GDB) Fedora 7.6.1-41.fc19
> > Copyright (C) 2013 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later
> > 
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> > and "show warranty" for details.
> > This GDB was configured as "x86_64-redhat-linux-gnu".
> > For bug reporting instructions, please see:
> > ...
> > Reading symbols from /usr/bin/python2.7...Reading symbols from
> > /usr/bin/python2.7...(no debugging symbols found)...done.
> > (no debugging symbols found)...done.
> > Missing separate debuginfos, use: debuginfo-install
> > python-2.7.5-8.fc19.x86_64
> > (gdb) run /usr/bin/vdsm-tool nwfilter
> > Starting program: /usr/bin/python /usr/bin/vdsm-tool nwfilter
> > [Thread debugging using libthread_db enabled]
> > Using host libthread_db library "/lib64/libthread_db.so.1".
> > [New Thread 0x7fffe4bb8700 (LWP 8808)]
> > [Thread 0x77fec740 (LWP 8804) exited]
> > [Inferior 1 (process 8804) exited normally]
> > (gdb) bt full
> > No stack.
> > 
> > Looks like it's happy.
> > 
> > Is there any other info you want about my system?  I'm even willing
> > to let somebody log in and poke around.
> 
> Unfortunately I do no know how to turn on core-dumping within systemd,
> maybe someone else could help.
> ___
> 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] Invitation to use Google Talk

2013-10-10 Thread Antoni Segura Puimedon


- Original Message -
> From: "Fabian Deutsch" 
> To: "Google Talk" 
> Cc: users@ovirt.org
> Sent: Thursday, October 10, 2013 7:14:32 PM
> Subject: Re: [Users] Invitation to use Google Talk
> 
> Am Donnerstag, den 10.10.2013, 04:34 -0700 schrieb Google Talk:
> > ---
> > 
> > You've been invited by Kalil de A. Carvalho to use Google Talk.
> > 
> > If you already have a Google account, login to Gmail and accept this chat
> > invitation:
> > http://mail.google.com/mail/invite/ANGjdJ-zLaKO2434T5nlnnAeFXYoWJG8eE08H9lB4ZcT6VlChLQ15RK1QvkTSEM-skIXiHJO8g85ysR5jIA0
> > 
> > To sign up for a Google account and get started with Google Talk, you can
> > visit:
> > http://mail.google.com/mail/invite/ANGjdJ81SFDrORI9xzDBc2x3FfUSB3jEmDMcExAlwEK-sVZksxyuwqAAUlcMNzj_AFU_PQCFfjDMGHUzhZPq?pc=en-rf---a
> > 
> > Learn more at:
> > http://www.google.com/intl/en/landing/accounts/
> 
> Why google talk?
> What about http://talky.io/ovirt or http://palava.tv/ovirt

Nice. Maybe we could use those for some meeting :-)
> 
> Greetings
> fabian
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Ovirt 3.3 - How to write a network plugin

2013-10-08 Thread Antoni Segura Puimedon


- Original Message -
> From: "Benoit ML" 
> To: users@ovirt.org
> Sent: Tuesday, October 8, 2013 1:59:49 PM
> Subject: Re: [Users] Ovirt 3.3 - How to write a network plugin
> 
> Hello,
> 
> Toni, that's the question !

:-)

 
> Good news :) I'will go into the source code.
> If you have a link to point me to the right direction, i take it ;)

Sure, you have to provide the same methods as the Ifcfg class in
vdsm/netconf/ifcfg.py

So basically taking netdev objects and using them to then call
open vSwitch to create them.

You can also look at the ongoing vdsm/netconf/iproute2.py for
another example.

There are some extra considerations to take care about, like persistence
and such (the patches are being finished now for a way to keep the
persistence equal across configurators, as long as they follow some
rules).

I'm usually in #vdsm at freenode should you want to contact me.

Best,

Toni
 
> Regards,
> 
> 
> 
> 
> 
> 
> 2013/10/8 Antoni Segura Puimedon < asegu...@redhat.com >
> 
> 
> 
> 
> - Original Message -
> > From: "Mike Kolesnik" < mkole...@redhat.com >
> > To: "Benoit ML" < ben4...@gmail.com >
> > Cc: users@ovirt.org
> > Sent: Tuesday, October 8, 2013 11:29:31 AM
> > Subject: Re: [Users] Ovirt 3.3 - How to write a network plugin
> > 
> > 
> > 
> > 
> > 
> > 
> > Hello,
> > Hi Benoit
> > 
> > 
> > 
> > 
> > I've seen ovirt can support plugin ... so is there any documentation about
> > writing a plugin ?
> > What do you mean "can support plugin"?
> > 
> > 
> > 
> > Can we write it in python ?
> > 
> > 
> > Well because, here, we don't want to install openstack/neutron for network
> > management ... It's too complicated and to heavy. I, your opinion wrong
> > design choice about openvswitch implementation.
> > Not sure what you mean here about openvswitch implementation, can you
> > please
> > clarify?
> > 
> > 
> > 
> > 
> > Thank you in advance.
> > 
> > Regards,
> > 
> > 
> > --
> > --
> > Benoit
> > 
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> 
> Hi Benoit,
> 
> If the question is: "can we write a network plugin so that networks are
> defined in open vSwitch instead of in traditional linux bonds, vlans and
> bridges"; the answer is yes. The language to do that is Python and the
> correct oVirt component to do it in is vdsm. Now we have an ifcfg
> configurator
> and a partial iproute2 configurator. The task would be to make an open
> vSwitch
> one.
> 
> Best regards,
> 
> Toni
> 
> 
> 
> --
> --
> Benoit
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Ovirt 3.3 - How to write a network plugin

2013-10-08 Thread Antoni Segura Puimedon

- Original Message -
> From: "Mike Kolesnik" 
> To: "Benoit ML" 
> Cc: users@ovirt.org
> Sent: Tuesday, October 8, 2013 11:29:31 AM
> Subject: Re: [Users] Ovirt 3.3 - How to write a network plugin
> 
> 
> 
> 
> 
> 
> Hello,
> Hi Benoit
> 
> 
> 
> 
> I've seen ovirt can support plugin ... so is there any documentation about
> writing a plugin ?
> What do you mean "can support plugin"?
> 
> 
> 
> Can we write it in python ?
> 
> 
> Well because, here, we don't want to install openstack/neutron for network
> management ... It's too complicated and to heavy. I, your opinion wrong
> design choice about openvswitch implementation.
> Not sure what you mean here about openvswitch implementation, can you please
> clarify?
> 
> 
> 
> 
> Thank you in advance.
> 
> Regards,
> 
> 
> --
> --
> Benoit
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 

Hi Benoit,

If the question is: "can we write a network plugin so that networks are 
defined in open vSwitch instead of in traditional linux bonds, vlans and
bridges"; the answer is yes. The language to do that is Python and the
correct oVirt component to do it in is vdsm. Now we have an ifcfg configurator
and a partial iproute2 configurator. The task would be to make an open vSwitch
one.

Best regards,

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


Re: [Users] How to add internal networks

2013-08-26 Thread Antoni Segura Puimedon
Hi Frank,

- Original Message -
> From: "Frank Wall" 
> To: users@ovirt.org
> Sent: Sunday, August 25, 2013 10:38:30 PM
> Subject: Re: [Users] How to add internal networks
> 
> Hi,
> 
> just installed oVirt 3.3 and noticed that the suggestion from this
> thread was included:
> 
> > --- /usr/lib64/python2.7/site-packages/vdsm/config.py.orig  2013-03-14
> > 11:32:54.0 +0100
> > +++ /usr/lib64/python2.7/site-packages/vdsm/config.py   2013-05-16
> > 16:34:27.722959670 +0200
> > @@ -38,7 +38,7 @@
> >  ('extra_mem_reserve', '65',
> >  'Memory reserved for non-vds-administered programs.'),
> > 
> > -('fake_nics', '',
> > +('fake_nics', 'dummy*',
> >  'Comma-separated list of fnmatch-patterns for dummy hosts
> > nics to '
> >  'be shown to vdsm.'),
> 
> The suggestion was to include a pattern which makes it possible to use
> dummy NICs in oVirt, but I think there is a typo:
> 
> --- /usr/lib64/python2.7/site-packages/vdsm/config.py.orig2013-08-22
> 18:02:57.0 +0200
> +++ /usr/lib64/python2.7/site-packages/vdsm/config.py 2013-08-25
> 20:02:54.123248727 +0200
> @@ -38,7 +38,7 @@
>   ('extra_mem_reserve', '65',
>   'Memory reserved for non-vds-administered programs.'),
> 
> -('fake_nics', 'dummy_*',
> +('fake_nics', 'dummy*',
>   'Comma-separated list of fnmatch-patterns for dummy hosts
> nics to '
>   'be shown to vdsm.'),
> 
> 
> As you can see, the new pattern includes dummy NICs, but expect the
> devices to be prefixes with "dummy_". Apparently the underscore does not
> work. The pattern should expect "dummy*" instead. I did the modification
> locally and dummy NICs are working again.

The new pattern is set as 'dummy_' so that the functional tests use
dummies with a different naming conventions that the default kernel pattern
of dummy*. Note that you can create dummies with any name you want with

ip link add drummy type dummy

So you could potentially create your own dummy_250, for example.

> 
> Any chance to get this fixed for 3.3 oder maybe 3.3.1?
> 
> 
> Thanks
> - Frank
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VDSM n/w issue

2013-08-12 Thread Antoni Segura Puimedon
Hi Anil,

as Livnat said, ;vdsmdummy; is required for operation of vdsm, concretely
for changing the link state of a vnic to disconnected. As for the bonds,
they are not created on systemd distros Fedora18+ but they are indeed created
on older distros for backwards compatibility reasons.

Best,

Toni

- Original Message -
> From: "Livnat Peer" 
> To: "Anil Dhingra" 
> Cc: users@ovirt.org, "Antoni Segura Puimedon" 
> Sent: Monday, August 12, 2013 8:25:40 AM
> Subject: Re: [Users] VDSM n/w issue
> 
> On 08/08/2013 08:37 AM, Anil Dhingra wrote:
> > Hi Guys
> >  
> > Just started working on ovirt a month age ,, but stuck on after
> > installing VDSM on centos 6.4
> > it creates ;vdsmdummy; & 4 bonding interfaces , didn't got any info for
> > them in google as I don't need them but not sure how to remove them &
> > why it get created if I am not using ovirt-node .
> >  
> > Thanks
> > Anil
> > 
> 
> Hi Anil,
> First of all welcome and I hope you'll enjoy working with oVirt.
> 
> vdsdummy is a bridge VDSM creates and uses for functionality like
> disconnected VNIC.
> If you start a VM and you want the VM to have a vNIC not connected to a
> specific network (bridge) VDSM starts the VM and connects the tap device
> to the vdsdummy bridge. This is a workaround to a functionality we are
> missing in libvirt (starting a VM with unconnected tap device).
> 
> About the 4 bonds, well that's a legacy code and I think we cleaned this
> code in the last version 3.3 - but I'm not sure (Adding Toni to
> confirm/disconfirm)
> 
> Livnat
> 
> > 
> > ___
> > 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] Bonding - VMs Network performance problem

2013-07-30 Thread Antoni Segura Puimedon
Hi Ricardo,

Thanks a lot for the extra and very relevant info. Could you please create a
bug in bugzilla so we can better track it?

Best,

Toni

- Original Message -
> From: "Ricardo Esteves" gmail.com>
> To: Users@ovirt.org
> Sent: Tuesday, July 30, 2013 5:58:44 PM
> Subject: Re: [Users] Bonding - VMs Network performance problem
> 
> Hi,
> 
> I also noticed this on /var/log/messages while the problem was happening (i
> was downloading a file in the VM from the web):
> 
> Jul 30 16:55:55 blade5 kernel: bond0.1: received packets cannot be forwarded
> while LRO is enabled
> Jul 30 16:55:56 blade5 kernel: bond0.1: received packets cannot be forwarded
> while LRO is enabled
> Jul 30 16:55:56 blade5 kernel: bond0.1: received packets cannot be forwarded
> while LRO is enabled
> Jul 30 16:55:56 blade5 kernel: bond0.1: received packets cannot be forwarded
> while LRO is enabled
> Jul 30 16:55:56 blade5 kernel: bond0.1: received packets cannot be forwarded
> while LRO is enabled
> Jul 30 16:55:56 blade5 kernel: bond0.1: received packets cannot be forwarded
> while LRO is enabled
> Jul 30 16:55:57 blade5 kernel: bond0.1: received packets cannot be forwarded
> while LRO is enabled
> Jul 30 16:55:57 blade5 kernel: bond0.1: received packets cannot be forwarded
> while LRO is enabled
> Jul 30 16:55:57 blade5 kernel: bond0.1: received packets cannot be forwarded
> while LRO is enabled
> Jul 30 16:55:57 blade5 kernel: bond0.1: received packets cannot be forwarded
> while LRO is enabled
> 
> Best regards,
> Ricardo Esteves.
> 
> -Original Message-
> From : Ricardo Esteves < maverick...@gmail.com >
> To : Users@ovirt.org
> Cc : Itamar Heim < ih...@redhat.com >, Mike Kolesnik < mkole...@redhat.com >
> Subject : Re: [Users] Bonding - VMs Network performance problem
> Date : Tue, 30 Jul 2013 15:10:24 +0100
> 
> Good afternoon,
> 
> In attachment the result of vdsClient -s 0 getVdsCaps during problem and
> after problem resolved.
> 
> Best regards,
> Ricardo Esteves.
> 
> -Original Message-
> From : Mike Kolesnik < mkole...@redhat.com >
> To : Ricardo Esteves < maverick...@gmail.com >
> Cc : Users@ovirt.org , Itamar Heim < ih...@redhat.com >
> Subject : Re: [Users] Bonding - VMs Network performance problem
> Date : Tue, 16 Jul 2013 10:01:31 -0400 (EDT)
> 
> - Original Message - > On 07/16/2013 04:09 PM, Ricardo Esteves wrote:
> > > Hi, > > > > Not really. > > > > I can resolve temporally, unconfiguring
> the bond and then configure it > > again. > > > > But when i reboot the
> server the problem comes back. > > can you compare the network configuration
> before and after you change it > the setup network? Perhaps you can send
> pastebin of a 'vdsClient 0 getVdsCaps' (or 'vdsClient -s 0 getVdsCaps' if
> the first doesn't work)
> from the host when the bond is slow, and one after you break and create it
> again?
> 
> if you don't have vdsClient command you can 'yum install vdsm-cli' and it
> should be available. > > > > > > > -Original Message- > > *From*:
> Itamar Heim < ih...@redhat.com > > <
> mailto:itamar%20heim%20%3cih...@redhat.com %3e>> > > *To*: Ricardo Esteves <
> maverick...@gmail.com > > <
> mailto:ricardo%20esteves%20%3cmaverick...@gmail.com %3e>> > > *Subject*: Re:
> [Users] Bonding - VMs Network performance problem > > *Date*: Tue, 16 Jul
> 2013 15:38:10 +0300 > > > > On 07/01/2013 03:12 PM, Ricardo Esteves wrote: >
> >> Hi, > >> > >> Yes, i'm still experiencing this problem, in fact just
> happened a few > >> minutes ago. :) > >> > >> All MTUs are 1500. > > > > was
> this resolved? > > > >> > >> -Original Message- > >> *From*: Livnat
> Peer < lp...@redhat.com < mailto:lp...@redhat.com > > >> <
> mailto:livnat%20peer%20%3clp...@redhat.com %3e>> > >> *To*: Ricardo Esteves
> < maverick...@gmail.com > >> < mailto:maverick...@gmail.com > > >> <
> mailto:ricardo%20esteves%20%3cmaverick...@gmail.com %3e>> > >> *Subject*:
> Re: [Users] Bonding - VMs Network performance problem > >> *Date*: Sun, 23
> Jun 2013 11:33:58 +0300 > >> > >> Hi Ricardo, > >> Are you still
> experiencing the problem described below? > >> Are you configuring MTU (to
> something other than default or 1500) for > >> one of the networks on the
> bond? > >> > >> Thanks, Livnat > >> > >> On 06/18/2013 05:36 PM, Ricardo
> Esteves wrote: > >>> Good afternoon, > >>> > >>> Yes, the "Save network
> configuration" is checked, configurations are > >>> persistent across boots.
> > >>> > >>> The problem is not the persistence of the configurations, the
> problem is > >>> that after a reboot the network performance on the VMs is
> very bad, and > >>> to fix it i need to remove the bonding and add it again.
> > >>> > >>> In attachment, the screenshots of my network configuration. >
> >>> > >>> Best regards, > >>> Ricardo Esteves. > >>> > >>> -Original
> Message- > >>> *From*: Mike Kolesnik < mkole...@redhat.com <
> mailto:mkole...@redhat.com > > >>> < mailto:mkole...@redhat.com > > >>> <
> mailto:mike%20kole

Re: [Users] [Engine-devel] [Feedback required][host-deploy] Fedora-19 misses tar at minimal setup

2013-07-30 Thread Antoni Segura Puimedon
I would advocate for  option 2.

- Original Message -
> From: "Michal Skrivanek" 
> To: "Alon Bar-Lev" 
> Cc: "Juan Hernandez" , "engine-devel" 
> , "arch" , "users"
> 
> Sent: Tuesday, July 30, 2013 3:25:24 PM
> Subject: Re: [Engine-devel] [Users] [Feedback required][host-deploy] 
> Fedora-19misses tar at minimal setup
> 
> 
> On Jul 30, 2013, at 15:12 , Alon Bar-Lev  wrote:
> 
> > Hello All,
> > 
> > Starting the discussion again...
> > 
> > I would like to receive feedback regarding how we should cope with a state
> > presented to use by Fedora.
> > 
> > Fedora-19 minimal setup does not install tar utility which is required to
> > deploy files during the host-deploy process (Hosts->Add Host).
> > 
> > I guess because of 2.8M in size (including translations) -- a standard
> > commonly used utility was removed.
> 
> How about filing bug on that? This is such a basic utility I can't imagine
> anyone removing it.
> 
> > 
> > There are three alternatives :
> > 
> > 1. Instruct users who are using minimal installations to manually install
> > tar utility just like they configure repository, dns, etc..
> > 
> > Benefit: simplicity.
> > Benefit: use standard tools.
> > Benefit: lower payload to transmit.
> > Drawback: require tar at destination machine.
> > 
> > 2. Do not use tar but self extracting python script, a patch is ready[1].
> > 
> > Benefit: ability to deploy environment in which tar is missing.
> > Drawback: non standard tool at destination machine.
> > Drawback: complexity within our code.
> > 
> > 3. Do not use tar but cpio, a patch is ready[2].
> > 
> > Benefit: simplicity.
> > Benefit: use standard tools.
> > Benefit: lower payload to transmit.
> > Benefit: ability to use Fedora-19 minimal.
> > Drawback: cpio is even less common than tar, even if it exists in Fedora-19
> > it can be removed without anyone notice.
> > Drawback: most other distributions will not have cpio in their minimal
> > installation.
> > 
> > [[[
> > There was 4rd alternative, using python tar module to deploy tar.
> > However, there is a bug in that module when processing last block if empty.
> > This is edge condition but happened to at least one of the users and I
> > could
> > reproduce it.
> > ]]]
> > 
> > What option do you prefer?
> > 
> > Regards,
> > Alon Bar-Lev
> > 
> > [1] http://gerrit.ovirt.org/#/c/17295/
> > [2] http://gerrit.ovirt.org/#/c/17396/
> > ___
> > Engine-devel mailing list
> > engine-de...@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> 
> ___
> Arch mailing list
> a...@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/arch
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.2 - high multicast packet loss

2013-03-21 Thread Antoni Segura Puimedon
Michael Tsirkin (Thanks!) proposes to try the following:

try disabling multicast snooping in the bridge

Could you give it a shot?

- Original Message -
> From: "Winfried de Heiden" 
> To: users@ovirt.org
> Sent: Thursday, March 21, 2013 10:14:04 AM
> Subject: Re: [Users] ovirt 3.2 - high multicast packet loss
> 
> So far no reactie about the multicast packet loss..
> 
> I bumbed into this bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=880035
> 
> This looks the same as the problems I am suffering using oVirt 3.2:
> heavy multicast packet loss after some time.
> 
> This the bug affect oVirt 3.2 ovirt-node (2.6.1-20120228.fc18)?
> Can anyone reproduce the problem (omping between 3 virtual nodes)?
> 
> Winfried
> 
> 
> Op 18-03-13 16:58, Winfried de Heiden schreef:
> > Same for Debian 6 (x86_64); 47% packet loss:
> >
> > ssmping -c 500 192.168.1.234
> >
> > --- 192.168.1.234 statistics ---
> > 500 packets transmitted, time 51 ms
> > unicast:
> >500 packets received, 0% packet loss
> >rtt min/avg/max/std-dev = 0.352/0.675/0.863/0.072 ms
> > multicast:
> >265 packets received, 47% packet loss since first mc packet (seq
> >1)
> > recvd
> >rtt min/avg/max/std-dev = 0.414/0.703/0.885/0.086 ms
> >
> >
> > Winfried
> >
> > Hi all,
> >>
> >> Playing around with Red Hat Clustering, it turns out I have a
> >> hughe
> >> multicast packet loss: (Centos 6.4 - x86_64  with all updates)
> >>
> >> omping 192.168.1.211 192.168.1.212 -c500 (node1)
> >> omping 192.168.1.212 192.168.1.211 -c500(node2)
> >>
> >> will give almost 50% loss!
> >>
> >> 192.168.1.211 :   unicast, xmt/rcv/%loss = 500/500/0%,
> >> min/avg/max/std-dev = 0.330/0.610/0.789/0.064
> >> 192.168.1.211 : multicast, xmt/rcv/%loss = 500/268/46%,
> >> min/avg/max/std-dev = 0.416/0.635/0.921/0.066
> >>
> >> 192.168.1.212 :   unicast, xmt/rcv/%loss = 500/500/0%,
> >> min/avg/max/std-dev = 0.388/0.653/0.863/0.069
> >> 192.168.1.212 : multicast, xmt/rcv/%loss = 500/263/47%,
> >> min/avg/max/std-dev = 0.396/0.670/1.080/0.074
> >>
> >> OK, I am using simple hardware, but this hardware is virtually
> >> doing
> >> nothing...
> >>
> >> As mentioned on
> >> https://access.redhat.com/knowledge/sites/default/files/attachments/rhel_cluster_vm_multicast.pdf,
> >> I set the txqueelen to 500, same result?
> >>
> >> I 'm still guessing whether this is an oVirt, virtio or Red
> >> Hat/Centos issue? Problems only happend after some time; that is
> >> 200
> >> mo-pings shows everything is fine.
> >>
> >> Anyone?
> >>
> >> Winfried
> >>
> >>
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host does not comply with the cluster networks, the following networks are missing on host

2013-03-20 Thread Antoni Segura Puimedon
Could you paste here the output of running:

vdsClient -s 0 getVdsCaps on the host?

- Original Message -
> From: w...@ieiot.cn
> To: users@ovirt.org
> Sent: Tuesday, March 19, 2013 7:12:34 AM
> Subject: [Users] Host does not comply with the cluster  networks, the 
> following networks are missing on host
> 
> hi,
> 
> first of all thanks, yours read my mail and help me.
> 
> i have a problem. while i actived host node, engine warned me:
> "Host does not comply with the cluster  networks, the following
> networks are missing on host: 'vlan12,vlan14'."
> but cluster ->logical network, vlan12 & vlan 14 is green. where is my
> error?
> 
> my vlans from switch.and engine.log is:
> 2013-03-19 14:05:22,823 ERROR
> [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand]
> (pool-3-thread-48) [2333e737] Host is set to Non-Operational, it is
> missing the following networks: vlan12,vlan14.
> 
> please help me.
> 
> by soversion.
> ___
> 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] openvswitch intergration status

2013-03-15 Thread Antoni Segura Puimedon
I'm on it.

The status is that I'm now refactoring the networking part of vdsm to
enable us to use different configuration tools for setting interfaces.
This will allow to have a open vSwitch back end for configuring the
bridges.

For 3.3 we will have the refactoring done.
http://www.ovirt.org/Feature/NetworkReloaded

I don't think we'll have open vSwitch hitting at the same point,
as I'm targeting first to have ifcfg and iproute2 based configuration,
but once the API of the refactoring is more stable, maybe somebody
can try to do it on parallel. Frankly though, I think it will have to
be for the following point release.

Best,

Toni
- Original Message -
> From: "Jiri Belka" 
> To: users@ovirt.org
> Sent: Friday, March 15, 2013 2:12:14 PM
> Subject: [Users] openvswitch intergration status
> 
> Hi,
> 
> is there a plan to integrate openvswitch, if so what's status?
> 
> Basic bridging sucks, and now everything is virtual, no? :)
> 
> Maybe some benefits:
> 
> * decreases cost for special (legacy) enterprise switches
> * virtualization buzzword included
> * one can simulate switch in ovirt
>   (that was my start to investigate, i wanted to have a trunk port
>   pointing to virtualized FW and couple of vlans with guests, not
>   possible right now in ovirt, each vlan = one iface)
> * there's backward compatibility
>   - see http://packages.debian.org/sid/openvswitch-brcompat
> 
> Let's be hype :D
> 
> jbelka
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to use vdsClient

2013-03-14 Thread Antoni Segura Puimedon
so having vdsm.conf with ssl=true

and doing:

vdsClient -s 0 getVdsCaps

hangs? On the host were the vdsm service is running?

- Original Message -
> From: "bigclouds" 
> To: "Antoni Segura Puimedon" 
> Cc: users@ovirt.org
> Sent: Thursday, March 14, 2013 1:22:21 PM
> Subject: Re:Re: [Users] how to use vdsClient
> 
> 
> no difference.
> vdsm.conf : ssl=true
> 
> 
> 
> 
> 
> 
> 
> 
> At 2013-03-14 18:49:25,"Antoni Segura Puimedon" 
>  wrote:
> >It might be ssl. If you have ssl enabled:
> >
> >vdsClient -s 0 
> >
> >Otherwise:
> >
> >vdsClient 0 
> >
> >- Original Message -
> >> From: "bigclouds" 
> >> To: users@ovirt.org
> >> Sent: Thursday, March 14, 2013 11:26:24 AM
> >> Subject: [Users] how to use vdsClient
> >> 
> >> 
> >> 
> >> 
> >> hi,all
> >> it is waiting all the time.
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> [root@localhost ~]# mcvdaClient 0 list table
> >> ^CTraceback (most recent call last):
> >> File "/usr/share/mcvda/mcvdaClient.py", line 2380, in 
> >> code, message = commands[command][0](commandArgs)
> >> File "/usr/share/mcvda/mcvdaClient.py", line 274, in do_list
> >> response = self.s.getAllVmStats()
> >> 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 1237, in request
> >> errcode, errmsg, headers = h.getrepl y()
> >> File "/usr/lib64/python2.6/httplib.py", line 1064, in getreply
> >> response = self._conn.getresponse()
> >> File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
> >> response.begin()
> >> File "/usr/lib64/python2.6/httplib.py", line 391, in begin
> >> version, status, reason = self._read_status()
> >> File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status
> >> line = self.fp.readline()
> >> File "/usr/lib64/python2.6/socket.py", line 433, in readline
> >> data = recv(1)
> >> KeyboardInterrupt
> >> 
> >> 
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >> 
> >___
> >Users mailing list
> >Users@ovirt.org
> >http://lists.ovirt.org/mailman/listinfo/users
> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to use vdsClient

2013-03-14 Thread Antoni Segura Puimedon
It might be ssl. If you have ssl enabled:

vdsClient -s 0 

Otherwise:

vdsClient 0 

- Original Message -
> From: "bigclouds" 
> To: users@ovirt.org
> Sent: Thursday, March 14, 2013 11:26:24 AM
> Subject: [Users] how to use vdsClient
> 
> 
> 
> 
> hi,all
> it is waiting all the time.
> 
> 
> 
> 
> 
> 
> [root@localhost ~]# mcvdaClient 0 list table
> ^CTraceback (most recent call last):
> File "/usr/share/mcvda/mcvdaClient.py", line 2380, in 
> code, message = commands[command][0](commandArgs)
> File "/usr/share/mcvda/mcvdaClient.py", line 274, in do_list
> response = self.s.getAllVmStats()
> 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 1237, in request
> errcode, errmsg, headers = h.getrepl y()
> File "/usr/lib64/python2.6/httplib.py", line 1064, in getreply
> response = self._conn.getresponse()
> File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
> response.begin()
> File "/usr/lib64/python2.6/httplib.py", line 391, in begin
> version, status, reason = self._read_status()
> File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status
> line = self.fp.readline()
> File "/usr/lib64/python2.6/socket.py", line 433, in readline
> data = recv(1)
> KeyboardInterrupt
> 
> 
> ___
> 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] Host installation problems. Brigde

2013-03-13 Thread Antoni Segura Puimedon
Great to hear it!

- Original Message -
> From: "Christer Olsen" 
> To: "Alon Bar-Lev" 
> Cc: "oVirt Mailing List" 
> Sent: Wednesday, March 13, 2013 9:57:04 AM
> Subject: Re: [Users] Host installation problems. Brigde
> 
> 
> 
> 
> 
> 
> 
> I have solved it :)
> 
> 
> The problem was due to eth0 static IP not beeing set and
> misconfigured /etc/hosts
> 
> 
> I have it up and running and all is good :D
> 
> Kind regards
> Christer
> 
> 
> 
> 
> 
> 
> 
> 
> On Tue, Mar 12, 2013 at 6:19 PM, Christer Olsen <
> christer.r.ol...@gmail.com > wrote:
> 
> 
> 
> 
> 
> Ok. one last go at it.
> 
> 
> But I do not have the possibility to access it at the moment after
> testing the changes, as it kicked me out (even remote locally only
> gets host unreachable) so it will have to wait until I can go to the
> location at hand.
> 
> I will send you the specified cfg's and logs as soon as possible.
> 
> Thanks.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Tue, Mar 12, 2013 at 6:07 PM, Alon Bar-Lev < alo...@redhat.com >
> wrote:
> 
> 
> Please attach:
> 1. /etc/sysconfig/network-scripts/ifcfg-*
> 2. /tmp/vdsm-bootstrap-*.log
> 3. On engine: rpm -q ovirt-engine
> 4. On engine: rpm -q vdsm-bootstrap
> 
> Thanks.
> 
> 
> - Original Message -
> > From: "Christer Olsen" < christer.r.ol...@gmail.com >
> 
> 
> > To: "Alex Leonhardt" < alex.t...@gmail.com >
> > Cc: "oVirt Mailing List" < users@ovirt.org >
> > Sent: Tuesday, March 12, 2013 7:05:35 PM
> > Subject: Re: [Users] Host installation problems. Brigde
> > 
> > 
> > 
> > 
> > I've tried dhcp, static and so forth.
> > 
> > I've tried with two nics (eth0 and eth1)
> > 
> > 
> > I'm now done trying to find a solution. This is not worth the time
> > I'm afraid. (been trying for 8 days)
> > 
> > 
> > Please see this topic as ended. I will find other solutions.
> > 
> > 
> > Thank you for your time.
> > 
> > 
> > 
> > 
> > Kind regards
> > Christer
> > 
> > 
> > 
> > 
> > On Tue, Mar 12, 2013 at 4:30 PM, Alex Leonhardt <
> > alex.t...@gmail.com
> > > wrote:
> > 
> > 
> > 
> > 
> > did you try to just setting the ovirtmgmt interface to DHCP ?
> > 
> > 
> > alex
> > 
> > 
> > 
> > 
> > 
> > 
> > On 12 March 2013 15:28, Alex Leonhardt < alex.t...@gmail.com >
> > wrote:
> > 
> > 
> > 
> > 
> > in the log:
> > 
> > 
> > Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 1037 makeBridge Failed
> > to
> > add ovirtmgmt bridge out=Specified netmask or gateway but not ip
> > 
> > 
> > check you have
> > 
> > DEVICE=
> > IPADDR=
> > NETMAKS=
> > TYPE=
> > 
> > as a minimum in ifcfg-ovirtmgmt
> > 
> > 
> > 
> > and that ifcfg-eth0 has
> > 
> > 
> > BRIDGE=ovirtmgmt
> > 
> > 
> > 
> > 
> > Alex
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On 12 March 2013 15:25, Antoni Segura Puimedon <
> > asegu...@redhat.com
> > > wrote:
> > 
> > 
> > Could you attach the /etc/sysconfig/network-scripts/ifcfg-*
> > files?
> > 
> > 
> > 
> > - Original Message -
> > > From: "Christer Olsen" < christer.r.ol...@gmail.com >
> > > To: users@ovirt.org
> > > Sent: Tuesday, March 12, 2013 4:14:05 PM
> > > Subject: Re: [Users] Host installation problems. Brigde
> > > 
> > > 
> > > 
> > > It seems i sent the log file to only one person.
> > > Here is the complete log file.
> > > http://pastebin.com/5VYg4DFs
> > > 
> > > 
> > > 
> > > On Tue, Mar 12, 2013 at 4:13 PM, Christer Olsen <
> > > christer.r.ol...@gmail.com > wrote:
> > > 
> > > 
> > > 
> > > 
> > > Does anyone have a clue what i might need to do ?
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > On Tue, Mar 12, 2013 at 4:12 PM, Christer Olsen <
> > > christer.r.ol...@gmail.com > wrote:
> > > 
> > > 
> > > 
> > > Does anyone have a clue what i might ne

Re: [Users] Host installation problems. Brigde

2013-03-12 Thread Antoni Segura Puimedon
Could you attach the /etc/sysconfig/network-scripts/ifcfg-*
files?

- Original Message -
> From: "Christer Olsen" 
> To: users@ovirt.org
> Sent: Tuesday, March 12, 2013 4:14:05 PM
> Subject: Re: [Users] Host installation problems. Brigde
> 
> 
> 
> It seems i sent the log file to only one person.
> Here is the complete log file.
> http://pastebin.com/5VYg4DFs
> 
> 
> 
> On Tue, Mar 12, 2013 at 4:13 PM, Christer Olsen <
> christer.r.ol...@gmail.com > wrote:
> 
> 
> 
> 
> Does anyone have a clue what i might need to do ?
> 
> 
> 
> 
> 
> 
> 
> 
> On Tue, Mar 12, 2013 at 4:12 PM, Christer Olsen <
> christer.r.ol...@gmail.com > wrote:
> 
> 
> 
> Does anyone have a clue what i might need to do ?
> 
> 
> 
> 
> 
> 
> 
> 
> On Mon, Mar 11, 2013 at 4:55 PM, Christer Olsen <
> christer.r.ol...@gmail.com > wrote:
> 
> 
> 
> Here is the complete log file.
> 
> http://pastebin.com/5VYg4DFs
> 
> 
> 
> 
> 
> 
> On Mon, Mar 11, 2013 at 10:31 AM, Antoni Segura Puimedon <
> asegu...@redhat.com > wrote:
> 
> 
> 
> 
> 
> - Original Message -
> > From: "Dan Kenigsberg" < dan...@redhat.com >
> > To: "Christer Olsen" < christer.r.ol...@gmail.com >
> > Cc: users@ovirt.org
> > Sent: Monday, March 11, 2013 10:18:13 AM
> > Subject: Re: [Users] Host installation problems. Brigde
> > 
> > On Sun, Mar 10, 2013 at 07:30:15PM +0100, Christer Olsen wrote:
> > > I'm having issues with installing host in oVirt.
> > > 
> > > 
> > > Manager reports:
> > > Failed to install Host localhost. Step: SetNetworking; Details:
> > > addNetwork
> > > error trying to add management bridge.
> > 
> > Which version of ovirt are you using? ovirt-3.2 should be using
> > ovirt-host-deploy, which has differently-looking logs, and
> > hopefully
> > less bugs.
> 
> According to the repo he listed, ovirt-3.1, as seen in:
> 
> http://dev.centos.org/centos/6/ovirt/x86_64/RPMS/
> 
> 
> 
> > 
> > > 
> > > 
> > > *** LOG ***
> > > 
> > > Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 517 getAddress Entry.
> > > url=
> > > http://10.1.1.30:22020/Components/vds/
> > > Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 539 getAddress
> > > return.
> > > address=10.1.1.30 port=22020
> > > Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 957 makeBridge begin.
> > > Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 424 _getMGTIface:
> > > read host
> > > name: 10.1.1.30
> > > Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 431 _getMGTIface:
> > > using host
> > > name 10.1.1.30 strIP= 10.1.1.30
> > > Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 437 _getMGTIface
> > > IP=10.1.1.30
> > > strIface=eth0
> > > Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 997 makeBridge found
> > > the
> > > following bridge paramaters: ['NAME=', 'BOOTPROTO=dhcp', $
> > > Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 135
> > > ['/usr/share/vdsm/addNetwork', 'ovirtmgmt', '', '', 'eth0',
> > > 'NAME=',
> > > 'BOOTPROT$
> > > Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 143 Specified netmask
> > > or
> > > gateway but not ip
> > > 
> > > Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 144
> > > WARNING:root:options
> > > IPADDR is deprecated. Use ipaddr instead
> > > WARNING:root:options NETMASK is deprecated. Use netmask instead
> > > WARNING:root:options BOOTPROTO is deprecated. Use bootproto
> > > instead
> > > WARNING:root:options ONBOOT is deprecated. Use onboot instead
> > > Traceback (most recent call last):
> > > File "/usr/share/vdsm/configNetwork.py", line 1458, in 
> > > main()
> > > File "/usr/share/vdsm/configNetwork.py", line 1427, in main
> > > addNetwork(bridge, **kwargs)
> > > File "/usr/share/vdsm/configNetwork.py", line 890, in addNetwork
> > > bridged=bridged, **options)
> > > File "/usr/share/vdsm/configNetwork.py", line 823, in
> > > _addNetworkValidation
> > > "Specified netmask or gateway but not ip")
> > > ConfigNetworkError: (22, 'Specified netmask or gateway but not
> > > ip')
> > > 
> > > Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 1037 makeBridge
> > > Failed to ad

Re: [Users] Host installation problems. Brigde

2013-03-11 Thread Antoni Segura Puimedon


- Original Message -
> From: "Dan Kenigsberg" 
> To: "Christer Olsen" 
> Cc: users@ovirt.org
> Sent: Monday, March 11, 2013 10:18:13 AM
> Subject: Re: [Users] Host installation problems. Brigde
> 
> On Sun, Mar 10, 2013 at 07:30:15PM +0100, Christer Olsen wrote:
> > I'm having issues with installing host in oVirt.
> > 
> > 
> > Manager reports:
> > Failed to install Host localhost. Step: SetNetworking; Details:
> > addNetwork
> > error trying to add management bridge.
> 
> Which version of ovirt are you using? ovirt-3.2 should be using
> ovirt-host-deploy, which has differently-looking logs, and hopefully
> less bugs.

According to the repo he listed, ovirt-3.1, as seen in:

http://dev.centos.org/centos/6/ovirt/x86_64/RPMS/

> 
> > 
> > 
> > *** LOG ***
> > 
> > Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 517 getAddress Entry.
> > url=
> > http://10.1.1.30:22020/Components/vds/
> > Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 539 getAddress
> > return.
> > address=10.1.1.30 port=22020
> > Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 957 makeBridge begin.
> > Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 424 _getMGTIface:
> > read host
> > name: 10.1.1.30
> > Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 431 _getMGTIface:
> > using host
> > name 10.1.1.30 strIP= 10.1.1.30
> > Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 437 _getMGTIface
> > IP=10.1.1.30
> > strIface=eth0
> > Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 997 makeBridge found
> > the
> > following bridge paramaters: ['NAME=', 'BOOTPROTO=dhcp', $
> > Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 135
> > ['/usr/share/vdsm/addNetwork', 'ovirtmgmt', '', '', 'eth0',
> > 'NAME=',
> > 'BOOTPROT$
> > Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 143 Specified netmask
> > or
> > gateway but not ip
> > 
> > Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 144
> > WARNING:root:options
> > IPADDR is deprecated. Use ipaddr instead
> > WARNING:root:options NETMASK is deprecated. Use netmask instead
> > WARNING:root:options BOOTPROTO is deprecated. Use bootproto instead
> > WARNING:root:options ONBOOT is deprecated. Use onboot instead
> > Traceback (most recent call last):
> >   File "/usr/share/vdsm/configNetwork.py", line 1458, in 
> > main()
> >   File "/usr/share/vdsm/configNetwork.py", line 1427, in main
> > addNetwork(bridge, **kwargs)
> >   File "/usr/share/vdsm/configNetwork.py", line 890, in addNetwork
> > bridged=bridged, **options)
> >   File "/usr/share/vdsm/configNetwork.py", line 823, in
> > _addNetworkValidation
> > "Specified netmask or gateway but not ip")
> > ConfigNetworkError: (22, 'Specified netmask or gateway but not ip')
> > 
> > Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 1037 makeBridge
> > Failed to add
> > ovirtmgmt bridge out=Specified netmask or gateway bu$
> > 
> > err=WARNING:root:options IPADDR is deprecated. Use ipaddr instead
> > WARNING:root:options NETMASK is deprecated. Use netmask instead
> > WARNING:root:options BOOTPROTO is deprecated. Use bootproto instead
> > WARNING:root:options ONBOOT is deprecated. Use onboot instead
> > Traceback (most recent call last):
> >   File "/usr/share/vdsm/configNetwork.py", line 1458, in 
> > main()
> >   File "/usr/share/vdsm/configNetwork.py", line 1427, in main
> > addNetwork(bridge, **kwargs)
> >   File "/usr/share/vdsm/configNetwork.py", line 890, in addNetwork
> > bridged=bridged, **options)
> >   File "/usr/share/vdsm/configNetwork.py", line 823, in
> > _addNetworkValidation
> > "Specified netmask or gateway but not ip")
> > ConfigNetworkError: (22, 'Specified netmask or gateway but not ip')
> > 
> > ret=22
> > Sun, 10 Mar 2013 19:19:30 ERRORdeployUtil 1052 makeBridge
> > errored:
> >  out=Specified netmask or gateway but not ip
> > 
> > err=WARNING:root:options IPADDR is deprecated. Use ipaddr instead
> > WARNING:root:options NETMASK is deprecated. Use netmask instead
> > WARNING:root:options BOOTPROTO is deprecated. Use bootproto instead
> > WARNING:root:options ONBOOT is deprecated. Use onboot instead
> > Traceback (most recent call last):
> >   File "/usr/share/vdsm/configNetwork.py", line 1458, in 
> > main()
> >   File "/usr/share/vdsm/configNetwork.py", line 1427, in main
> > addNetwork(bridge, **kwargs)
> >   File "/usr/share/vdsm/configNetwork.py", line 890, in addNetwork
> > bridged=bridged, **options)
> >   File "/usr/share/vdsm/configNetwork.py", line 823, in
> > _addNetworkValidation
> > "Specified netmask or gateway but not ip")
> > ConfigNetworkError: (22, 'Specified netmask or gateway but not ip')
> > 
> > ret=22
> > Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 1055 makeBridge
> > return.
> > Sun, 10 Mar 2013 19:19:30 ERRORvds_bootstrap 729 addNetwork
> > error
> > trying to add management bridge
> > Sun, 10 Mar 2013 19:19:30 DEBUGvds_bootstrap 278  > component='SetNetworking' status='FAIL' message='addNetwork error
> > t$
> > Sun, 10 Mar 2013 19:19:30 ERRORvds_bootstrap 1023 setNetwor

Re: [Users] add vnet for VM,what is bridgeless of device type

2013-03-07 Thread Antoni Segura Puimedon
Bridgeless networks are typically for non-VM networks such as storage.

- Original Message -
> From: "bigclouds" 
> To: users@ovirt.org
> Sent: Thursday, March 7, 2013 11:54:29 AM
> Subject: [Users] add vnet for VM,what is bridgeless of device type
> 
> 
> 
> add vnet for VM,what is bridgeless of device type?
> 
> 
> 
> 
> thanks.
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.2 networking setup problems

2013-03-07 Thread Antoni Segura Puimedon


- Original Message -
> From: "Yuriy Demchenko" 
> To: "Antoni Segura Puimedon" 
> Cc: "oVirt Mailing List" 
> Sent: Thursday, March 7, 2013 7:54:52 AM
> Subject: Re: [Users] ovirt 3.2 networking setup problems
> 
> Thanks! that helped

Great! Btw, there is a patch about to hit git master that will remove
the current limitation.


> 
> i've managed to add another bond via 'echo "+bondN" >
> /sys/class/net/bonding_masters'
> 
> output from commands you asked:
> > # vdsClient -s 0 getVdsCaps
> > HBAInventory = {'iSCSI': [{'InitiatorName':
> > 'iqn.1994-05.com.redhat:7681c664f86a'}], 'FC': [{'wwpn':
> > '200190b11cac1b09', 'wwnn': '200090b11cac1b09', 'model': 'LPe1205-M
> > -
> > Emulex LPe1205-M 8Gb 2-port PCIe Fibre Channel Adapter'}, {'wwpn':
> > '200290b11cac1b09', 'wwnn': '200090b11cac1b09', 'model': 'LPe1205-M
> > -
> > Emulex LPe1205-M 8Gb 2-port PCIe Fibre Channel Adapter'}]}
> > ISCSIInitiatorName = iqn.1994-05.com.redhat:7681c664f86a
> > bondings = {'bond4': {'addr': '', 'cfg': {'DEVICE': 'bond4',
> > 'NM_CONTROLLED': 'no', 'ONBOOT': 'yes', 'BONDING_OPTS': 'mode=6'},
> > 'mtu': '1500', 'netmask': '', 'slaves': ['p3p1', 'p3p3'], 'hwaddr':
> > '90:b1:1c:ac:1b:05'}, 'bond0': {'addr': '', 'cfg': {'BRIDGE':
> > 'ovirtmgmt', 'NM_CONTROLLED': 'no', 'STP': 'no', 'BONDING_OPTS':
> > 'mode=6', 'DEVICE': 'bond0', 'ONBOOT': 'yes'}, 'mtu': '1500',
> > 'netmask': '', 'slaves': ['em1', 'em2'], 'hwaddr':
> > '90:b1:1c:ac:1b:01'}}
> > bridges = {'ovirtmgmt': {'addr': '192.168.10.130', 'cfg':
> > {'IPADDR': '192.168.10.130', 'ONBOOT': 'yes', 'DELAY': '0',
> > 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO':
> > 'none', 'STP': 'no', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge',
> > 'GATEWAY': '192.168.10.1'}, 'mtu': '1500', 'netmask':
> > '255.255.255.0',
> > 'stp': 'off', 'ports': ['bond0']}}
> > clusterLevels = ['3.0', '3.1', '3.2']
> > cpuCores = 16
> > cpuFlags =
> > fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,sse4_2,x2apic,popcnt,aes,xsave,avx,lahf_lm,ida,arat,xsaveopt,pln,pts,dts,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_Penryn,model_Westmere,model_SandyBridge
> > cpuModel = Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
> > cpuSockets = 2
> > cpuSpeed = 2599.849
> > cpuThreads = 32
> > emulatedMachines = ['rhel6.3.0', 'pc', 'rhel6.2.0',
> > 'rhel6.1.0',
> > 'rhel6.0.0', 'rhel5.5.0', 'rhel5.4.4', 'rhel5.4.0']
> > guestOverhead = 65
> > hooks = {}
> > kvmEnabled = true
> > lastClient = 192.168.10.147
> > lastClientIface = ovirtmgmt
> > management_ip =
> > memSize = 32062
> > netConfigDirty = False
> > networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr':
> > '192.168.10.130', 'cfg': {'IPADDR': '192.168.10.130', 'ONBOOT':
> > 'yes',
> > 'DELAY': '0', 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0',
> > 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'ovirtmgmt', 'TYPE':
> > 'Bridge', 'GATEWAY': '192.168.10.1'}, 'mtu': '1500', 'netmas

Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Antoni Segura Puimedon


- Original Message -
> From: "Alex Leonhardt" 
> To: "Antoni Segura Puimedon" 
> Cc: "oVirt Mailing List" 
> Sent: Wednesday, March 6, 2013 5:38:16 PM
> Subject: Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node
> 
> 
> 
> Ah, yes, sorry - just did that - it said "Done" - but I cant see it
> in ovirt-engine still :(

As I said earlier, unfortunately I don't know all the actions that make
the engine refresh the network info from the hosts. IMHO it wouldn't be
a bad idea to add something periodic or even a force refresh option in
the context menu. However, I'm not an oVirt Engine guy, so I don't know
all the intricacies that would play into that.

If you want you can ping me on #ovirt and we can evaluate the particular
situation to see if there is some workaround.
> 
> Alex
> 
> 
> 
> 
> On 6 March 2013 16:34, Antoni Segura Puimedon < asegu...@redhat.com >
> wrote:
> 
> 
> 
> 
> 
> - Original Message -
> > From: "Alex Leonhardt" < alex.t...@gmail.com >
> > To: "Antoni Segura Puimedon" < asegu...@redhat.com >
> > Cc: "oVirt Mailing List" < users@ovirt.org >
> 
> > Sent: Wednesday, March 6, 2013 5:16:36 PM
> > Subject: Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node
> > 
> > 
> > 
> > I've setup the same bond config on my test machine, and this is
> > what
> > I get :
> > 
> > 
> > # vdsClient -s 0 addNetwork bridge=br2 bridged=true bond=bond0.113
> > nics=eth0,eth1
> > 'bond0.113' is not a valid bonding device name
> 
> It should be:
> 
> vdsClient -s 0 addNetwork bridge=br2 bridged=true bond=bond0 vlan=113
> nics=eth0,eth1
> 
> 
> 
> > 
> > 
> > 
> > Alex
> > 
> > 
> > 
> > 
> > 
> > On 6 March 2013 13:05, Alex Leonhardt < alex.t...@gmail.com >
> > wrote:
> > 
> > 
> > 
> > 
> > 
> > Thanks Antoni,
> > 
> > I'll try the above when it's a bit quieter (evening). Also, good to
> > know that if you put the host in maint that it will pick the
> > changes
> > up :) ...
> > 
> > 
> > IMO - the engine should poll the HVs at least once an hour / day to
> > check if any hardware relevant to it has changed ... :)
> > 
> > 
> > 
> > Thanks again, I'll update with the result(s) later today.
> > 
> > Alex
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On 6 March 2013 13:02, Antoni Segura Puimedon < asegu...@redhat.com
> > >
> > wrote:
> > 
> > 
> > Forgot to cc users list.
> > 
> > 
> > 
> > - Forwarded Message -
> > > From: "Antoni Segura Puimedon" < asegu...@redhat.com >
> > > To: "Alex Leonhardt" < alex.t...@gmail.com >
> > > Sent: Wednesday, March 6, 2013 2:00:54 PM
> > > Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
> > > 
> > > 
> > > 
> > > - Original Message -
> > > > From: "Alex Leonhardt" < alex.t...@gmail.com >
> > > > To: "Antoni Segura Puimedon" < asegu...@redhat.com >
> > > > Cc: "oVirt Mailing List" < users@ovirt.org >
> > > > Sent: Wednesday, March 6, 2013 1:52:36 PM
> > > > Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
> > > > 
> > > > 
> > > > 
> > > > Hmmm, nothing is coming up in the logs when i try and add it -
> > > > I
> > > > think ovirt-engine is not aware that the HV got a new interface
> > > > added.
> > > > 
> > > > Would restarting vdsm help ? If so, would that take down my VMs
> > > > ?
> > > 
> > > I guess you could migrate the VMs to another host and try that.
> > > However,
> > > if doing that is not an option (no other hosts, for example), I
> > > guess
> > > there
> > > would be a workaround from host-side.
> > > 
> > > It would be something like the following (on host):
> > > 
> > > vdsClient -s 0 addNetwork bridge=br2 bond=bond0 vlan=113
> > > bridged=true
> > > nics=nic0,nic1
> > > 
> > > substitute nic0 and nic1 for the actual nics that are on the
> > > host.
> > > 
> > > This will effectively do the setup you want on the host. As far
> > > as
> > > making the
> > > engine realize it.

Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Antoni Segura Puimedon


- Original Message -
> From: "Alex Leonhardt" 
> To: "Antoni Segura Puimedon" 
> Cc: "oVirt Mailing List" 
> Sent: Wednesday, March 6, 2013 5:16:36 PM
> Subject: Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node
> 
> 
> 
> I've setup the same bond config on my test machine, and this is what
> I get :
> 
> 
> # vdsClient -s 0 addNetwork bridge=br2 bridged=true bond=bond0.113
> nics=eth0,eth1
> 'bond0.113' is not a valid bonding device name

It should be:

vdsClient -s 0 addNetwork bridge=br2 bridged=true bond=bond0 vlan=113 
nics=eth0,eth1

> 
> 
> 
> Alex
> 
> 
> 
> 
> 
> On 6 March 2013 13:05, Alex Leonhardt < alex.t...@gmail.com > wrote:
> 
> 
> 
> 
> 
> Thanks Antoni,
> 
> I'll try the above when it's a bit quieter (evening). Also, good to
> know that if you put the host in maint that it will pick the changes
> up :) ...
> 
> 
> IMO - the engine should poll the HVs at least once an hour / day to
> check if any hardware relevant to it has changed ... :)
> 
> 
> 
> Thanks again, I'll update with the result(s) later today.
> 
> Alex
> 
> 
> 
> 
> 
> 
> 
> On 6 March 2013 13:02, Antoni Segura Puimedon < asegu...@redhat.com >
> wrote:
> 
> 
> Forgot to cc users list.
> 
> 
> 
> - Forwarded Message -
> > From: "Antoni Segura Puimedon" < asegu...@redhat.com >
> > To: "Alex Leonhardt" < alex.t...@gmail.com >
> > Sent: Wednesday, March 6, 2013 2:00:54 PM
> > Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
> > 
> > 
> > 
> > - Original Message -
> > > From: "Alex Leonhardt" < alex.t...@gmail.com >
> > > To: "Antoni Segura Puimedon" < asegu...@redhat.com >
> > > Cc: "oVirt Mailing List" < users@ovirt.org >
> > > Sent: Wednesday, March 6, 2013 1:52:36 PM
> > > Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
> > > 
> > > 
> > > 
> > > Hmmm, nothing is coming up in the logs when i try and add it - I
> > > think ovirt-engine is not aware that the HV got a new interface
> > > added.
> > > 
> > > Would restarting vdsm help ? If so, would that take down my VMs ?
> > 
> > I guess you could migrate the VMs to another host and try that.
> > However,
> > if doing that is not an option (no other hosts, for example), I
> > guess
> > there
> > would be a workaround from host-side.
> > 
> > It would be something like the following (on host):
> > 
> > vdsClient -s 0 addNetwork bridge=br2 bond=bond0 vlan=113
> > bridged=true
> > nics=nic0,nic1
> > 
> > substitute nic0 and nic1 for the actual nics that are on the host.
> > 
> > This will effectively do the setup you want on the host. As far as
> > making the
> > engine realize it... I'm not aware of all the actions that trigger
> > an
> > update. I know
> > that going to maintenance and back does it, but in this case I
> > guess
> > it is not an option.
> > 
> > > 
> > > Alex
> > > 
> > > 
> > > 
> > > 
> > > On 6 March 2013 12:23, Antoni Segura Puimedon <
> > > asegu...@redhat.com
> > > > 
> > > wrote:
> > > 
> > > 
> > > 
> > > 
> > > 
> > > - Original Message -
> > > > From: "Alex Leonhardt" < alex.t...@gmail.com >
> > > > To: "oVirt Mailing List" < users@ovirt.org >
> > > > Sent: Wednesday, March 6, 2013 12:42:06 PM
> > > > Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
> > > > 
> > > > 
> > > > 
> > > > Sorry, the picture should actually say br2 :) ... have had to
> > > > edit
> > > > it
> > > > to protect the real name(s) ...
> > > > 
> > > > Alex
> > > > 
> > > > 
> > > > 
> > > > 
> > > > On 6 March 2013 11:39, Alex Leonhardt < alex.t...@gmail.com >
> > > > wrote:
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > All,
> > > > 
> > > > I've added manually a bond. to a Hyper-Visor, then
> > > > added
> > > > a
> > > > bridge and slaved bond. to it.

[Users] Fwd: Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Antoni Segura Puimedon
Forgot to cc users list.

- Forwarded Message -
> From: "Antoni Segura Puimedon" 
> To: "Alex Leonhardt" 
> Sent: Wednesday, March 6, 2013 2:00:54 PM
> Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
> 
> 
> 
> - Original Message -
> > From: "Alex Leonhardt" 
> > To: "Antoni Segura Puimedon" 
> > Cc: "oVirt Mailing List" 
> > Sent: Wednesday, March 6, 2013 1:52:36 PM
> > Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
> > 
> > 
> > 
> > Hmmm, nothing is coming up in the logs when i try and add it - I
> > think ovirt-engine is not aware that the HV got a new interface
> > added.
> > 
> > Would restarting vdsm help ? If so, would that take down my VMs ?
> 
> I guess you could migrate the VMs to another host and try that.
> However,
> if doing that is not an option (no other hosts, for example), I guess
> there
> would be a workaround from host-side.
> 
> It would be something like the following (on host):
> 
> vdsClient -s 0 addNetwork bridge=br2 bond=bond0 vlan=113 bridged=true
> nics=nic0,nic1
> 
> substitute nic0 and nic1 for the actual nics that are on the host.
> 
> This will effectively do the setup you want on the host. As far as
> making the
> engine realize it... I'm not aware of all the actions that trigger an
> update. I know
> that going to maintenance and back does it, but in this case I guess
> it is not an option.
> 
> > 
> > Alex
> > 
> > 
> > 
> > 
> > On 6 March 2013 12:23, Antoni Segura Puimedon < asegu...@redhat.com
> > >
> > wrote:
> > 
> > 
> > 
> > 
> > 
> > - Original Message -
> > > From: "Alex Leonhardt" < alex.t...@gmail.com >
> > > To: "oVirt Mailing List" < users@ovirt.org >
> > > Sent: Wednesday, March 6, 2013 12:42:06 PM
> > > Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
> > > 
> > > 
> > > 
> > > Sorry, the picture should actually say br2 :) ... have had to
> > > edit
> > > it
> > > to protect the real name(s) ...
> > > 
> > > Alex
> > > 
> > > 
> > > 
> > > 
> > > On 6 March 2013 11:39, Alex Leonhardt < alex.t...@gmail.com >
> > > wrote:
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > All,
> > > 
> > > I've added manually a bond. to a Hyper-Visor, then added
> > > a
> > > bridge and slaved bond. to it.
> > > 
> > > I've upped the interfaces (no IPs), however ovirt-engine still
> > > wont
> > > allow me to add the new bridged interface. I did this yesterday,
> > > so
> > > I thought, maybe it's just a cache issue, however, it doesnt seem
> > > to
> > > update the HVs network config periodically ?
> > 
> > What does the engine say when you try to add it? The message could
> > give
> > us a good hint.
> > 
> > 
> > 
> > > 
> > > What can I do to get this sorted ?? I dont want to have to
> > > restart
> > > the networking as VMs are running and needed.
> > > 
> > > FWIW, the setup looks like this -
> > > 
> > > 
> > > eth0
> > > | - bond0.111 --- br1
> > > | - bond0.112 --- ovirtmgmt
> > > 
> > > 
> > > eth1
> > > 
> > > 
> > > 
> > > 
> > > 
> > > the change was :
> > > 
> > > eth0
> > > | - bond0.111 --- br1
> > > | - bond0.112 --- ovirtmgmt
> > > | - bond0.113 --- br2
> > > eth1
> > > 
> > > 
> > > I then added "br2" to the ovirt-engine config, however, I'm not
> > > able
> > > to assign it to bond in the network config (web admin interface)
> > > for
> > > the hyper visor / host.
> > > 
> > > 
> > > 
> > > Also see screenshot attached.
> > > 
> > > 
> > > Thanks
> > > Alex
> > > 
> > > 
> > > 
> > > 
> > > --
> > > 
> > > 
> > > 
> > > | RHCE | Senior Systems Engineer | www.vcore.co |
> > > | www.vsearchcloud.com |
> > > 
> > > 
> > > 
> > > --
> > > 
> > > 
> > > 
> > > | RHCE | Senior Systems Engineer | www.vcore.co |
> > > | www.vsearchcloud.com |
> > > 
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> > 
> > 
> > --
> > 
> > 
> > 
> > | RHCE | Senior Systems Engineer | www.vcore.co |
> > | www.vsearchcloud.com |
> > 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.2 networking setup problems

2013-03-06 Thread Antoni Segura Puimedon
Could you ssh to the host and do:

cat /sys/class/net/bonding_masters

There is a limitation on ovirt-3.2 that only the default bridges
can be used. If you don't have enough of them, you can always
create the needed bridge doing

echo "+bondN" > /sys/class/net/bonding_masters
where N is the bridge you want to create.

It would also be helpful to see the contents of doing

vdsClient -s 0 getVdsCaps

Best,

Toni

- Original Message -
> From: "Yuriy Demchenko" 
> To: "users" 
> Sent: Wednesday, March 6, 2013 12:17:28 PM
> Subject: Re: [Users] ovirt 3.2 networking setup problems
> 
> Hi,
> 
> I'm still cant solve this issue - "There are no available Bonds"
> 
> I've done clean install of ovirt-3.2 (from dreyou repo), added
> freshly-kickstarted host. In my kickstart I set up 2 interfaces
> em1/em2
> as slaves to bond0 (mode=6), which is slave to bridge "ovirtmgmt"
> (just
> so i dont need to click more buttons in webadmin setting up bond for
> mgmt network).
> After that, on page "setup host networks" I can see correct scheme
> for
> ovirtmgmt network and 4 other unused NICs.
> I want to set up another 2 bonds from that unused NICs, but here's
> the
> problem strikes: when trying to bond 2 NICs together i have to chose
> bond name - and there's only 1 choise - "bond4", I pick that and
> trying
> to bond the rest 2 NICs - I get error message "There are no available
> Bonds".
> And nothing in engine.log or vdsm.log
> 
> Why is that and how to solve it?
> 
> 
> Yuriy Demchenko
> 
> On 02/26/2013 12:37 PM, Yuriy Demchenko wrote:
> > 2.
> > when i'm trying to team NIC's in bonds, i've got choice from only 3
> > bonds: "bond0", "bond1", "bond4" - why is that list is fixed?
> > If I've allready defined bond0+bond1 prior adding host to ovirt
> > (via
> > kickstart), even if they aren't used - choice list in ovirt host
> > networks is short to "bond4" and trying to bond more interfaces
> > ends
> > up with "there no bonds available"
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Antoni Segura Puimedon


- Original Message -
> From: "Alex Leonhardt" 
> To: "oVirt Mailing List" 
> Sent: Wednesday, March 6, 2013 12:42:06 PM
> Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
> 
> 
> 
> Sorry, the picture should actually say br2 :) ... have had to edit it
> to protect the real name(s) ...
> 
> Alex
> 
> 
> 
> 
> On 6 March 2013 11:39, Alex Leonhardt < alex.t...@gmail.com > wrote:
> 
> 
> 
> 
> 
> 
> 
> 
> All,
> 
> I've added manually a bond. to a Hyper-Visor, then added a
> bridge and slaved bond. to it.
> 
> I've upped the interfaces (no IPs), however ovirt-engine still wont
> allow me to add the new bridged interface. I did this yesterday, so
> I thought, maybe it's just a cache issue, however, it doesnt seem to
> update the HVs network config periodically ?

What does the engine say when you try to add it? The message could give
us a good hint.

> 
> What can I do to get this sorted ?? I dont want to have to restart
> the networking as VMs are running and needed.
> 
> FWIW, the setup looks like this -
> 
> 
> eth0
> | - bond0.111 --- br1
> | - bond0.112 --- ovirtmgmt
> 
> 
> eth1
> 
> 
> 
> 
> 
> the change was :
> 
> eth0
> | - bond0.111 --- br1
> | - bond0.112 --- ovirtmgmt
> | - bond0.113 --- br2
> eth1
> 
> 
> I then added "br2" to the ovirt-engine config, however, I'm not able
> to assign it to bond in the network config (web admin interface) for
> the hyper visor / host.
> 
> 
> 
> Also see screenshot attached.
> 
> 
> Thanks
> Alex
> 
> 
> 
> 
> --
> 
> 
> 
> | RHCE | Senior Systems Engineer | www.vcore.co |
> | www.vsearchcloud.com |
> 
> 
> 
> --
> 
> 
> 
> | RHCE | Senior Systems Engineer | www.vcore.co |
> | www.vsearchcloud.com |
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to debug vdsm and node codes

2013-02-28 Thread Antoni Segura Puimedon
I normally use http://winpdb.org/about/ to attach to the vdsm
process. You can do it over the network even ;-)

- Original Message -
> From: "Yaniv Bronheim" 
> To: "bigclouds" 
> Cc: users@ovirt.org
> Sent: Thursday, February 28, 2013 5:48:52 PM
> Subject: Re: [Users] how to debug vdsm and node codes
> 
> Its not easy :) I hope it would
> Vdsm its a multiprocess program. It runs simultaneously tasks and
> monitors them. You can use GDB to debug the main process and watch
> threads step (if you want more information about that i can help)
> Otherwise I prefer the oldschool print debuging.. it always works
> great with VDSM. you just need to add comment where you want to see
> the values or check if the program went there. All you need to do is
> to edit the specific installed files (located at /usr/share/vdsm)
> restart the service and wait for your print in the log..
> 
> Good luck
> 
> 
> - Original Message -
> From: "bigclouds" 
> To: users@ovirt.org
> Sent: Thursday, February 28, 2013 5:26:14 PM
> Subject: [Users] how to debug vdsm and node codes
> 
> 
> 
> a debug environment in which to debug vdsm and node code line by line
> 
> 
> thanks.
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how you all read vdsm code?

2013-02-28 Thread Antoni Segura Puimedon
I personally just use:

vim with the following plugins:

pathogen
|-fugitive
|-minibufexplorer
|-syntastic
|-nerdcommenter

Best,

Toni

- Original Message -
> From: "bigclouds" 
> To: users@ovirt.org
> Sent: Thursday, February 28, 2013 12:38:42 PM
> Subject: [Users] how you all read vdsm code?
> 
> 
> 
> hi:
> vdsm is not a project, i import code into eclipse,but its dependency
> is error(not parsed automaticly).
> developers hot you all write the codes?
> which IDE is suitable?
> thanks
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] vlan interface failed : Bridged network Internet is attached to multiple interfaces: on Host node1.

2013-02-22 Thread Antoni Segura Puimedon
Great to hear that!

- Original Message -
> From: "Kevin Maziere Aubry" 
> To: "Antoni Segura Puimedon" 
> Cc: "users" 
> Sent: Thursday, February 21, 2013 5:30:08 PM
> Subject: Re: [Users] vlan interface failed : Bridged network Internet is 
> attached to multiple interfaces: 
> on Host node1.
> 
> 
> Hi
> 
> 
> (it works)
> 
> 
> I've installed a fresh f18 netinstall.
> I've install all these rpm from
> https://admin.fedoraproject.org/updates/FEDORA-2013-1590/initscripts-9.42.2-1.fc18,systemd-197-1.fc18.2
> :
> 
> -rw-r--r--. 1 root root 123K 20 févr. 17:08
> debugmode-9.42.2-1.fc18.x86_64.rpm
> -rw-r--r--. 1 root root 919K 20 févr. 17:08
> initscripts-9.42.2-1.fc18.x86_64.rpm
> -rw-r--r--. 1 root root 192K 20 févr. 17:08
> initscripts-debuginfo-9.42.2-1.fc18.x86_64.rpm
> -rw-r--r--. 1 root root 37K 28 janv. 20:06
> libgudev1-197-1.fc18.2.x86_64.rpm
> -rw-r--r--. 1 root root 49K 28 janv. 20:06
> libgudev1-devel-197-1.fc18.2.x86_64.rpm
> -rw-r--r--. 1 root root 2,2M 28 janv. 20:06
> systemd-197-1.fc18.2.x86_64.rpm
> -rw-r--r--. 1 root root 27K 28 janv. 20:05
> systemd-analyze-197-1.fc18.2.x86_64.rpm
> -rw-r--r--. 1 root root 7,0M 28 janv. 20:05
> systemd-debuginfo-197-1.fc18.2.x86_64.rpm
> -rw-r--r--. 1 root root 131K 28 janv. 20:05
> systemd-devel-197-1.fc18.2.x86_64.rpm
> -rw-r--r--. 1 root root 128K 28 janv. 20:06
> systemd-libs-197-1.fc18.2.x86_64.rpm
> -rw-r--r--. 1 root root 33K 28 janv. 20:06
> systemd-python-197-1.fc18.2.x86_64.rpm
> -rw-r--r--. 1 root root 25K 28 janv. 20:05
> systemd-sysv-197-1.fc18.2.x86_64.rpm
> 
> 
> When installing vdsm from the manager, the node loose the network.
> In fact NetworkManager to no add the gateway, so I add it to
> /etc/sysconfig/network, and do a reinstall
> 
> 
> The node reboot and come back as non operationnal.
> In fact the ovirtmgmt was not attached to p1p1, so I attached it, and
> no issue.
> The node is up
> Then I attached my Vlan interface, and IT WORKS as requested !!
> 
> 
> Nice work guys, I have only set a gateway and installed required rpm,
> leave NetworkManager started, and no issue regarding network for the
> moment.
> 
> 
> Kevin
> 
> 
> 
> 2013/2/21 Antoni Segura Puimedon < asegu...@redhat.com >
> 
> 
> They pushed a change to initscripts and systemd that should fix the
> issue:
> 
> https://admin.fedoraproject.org/updates/FEDORA-2013-1590/initscripts-9.42.2-1.fc18,systemd-197-1.fc18.2
> 
> 
> - Original Message -
> > From: "Jeff Bailey" < bai...@cs.kent.edu >
> > To: users@ovirt.org
> 
> 
> > Sent: Wednesday, February 20, 2013 11:26:33 AM
> > Subject: Re: [Users] vlan interface failed : Bridged network
> > Internet is attached to multiple interfaces: 
> > on Host node1.
> > 
> > 
> > On 2/20/2013 4:56 AM, Antoni Segura Puimedon wrote:
> > > There's a systemd hackfest this week on occasion of the
> > > developers
> > > conference in Brno. I'll try to see what can be done about this.
> > > 
> > > @Kevin. Did you try the 60-net.rules that Lukas Nykryn proposed?
> > > ACTION=="add", SUBSYSTEM=="net", ATTRS{type}=="1",
> > > PROGRAM="/lib/udev/rename_device", RESULT=="?*", NAME="$result"
> > 
> > I had tried this and it didn't help. It seems that the vlan
> > interface
> > has type 1 (/sys/class/net/em1_1.538/type contains 1) and the
> > rename
> > still happens.
> > 
> > > Best,
> > > 
> > > Toni
> > > 
> > > - Original Message -
> > >> From: "Jeff Bailey" < bai...@cs.kent.edu >
> > >> To: users@ovirt.org
> > >> Sent: Wednesday, February 20, 2013 3:38:28 AM
> > >> Subject: Re: [Users] vlan interface failed : Bridged network
> > >> Internet is attached to multiple interfaces: 
> > >> on Host node1.
> > >> 
> > >> On 2/19/2013 8:04 PM, Jeff Bailey wrote:
> > >>> On 2/19/2013 5:34 PM, Dan Kenigsberg wrote:
> > >>>> On Tue, Feb 19, 2013 at 11:12:42PM +0100, Kevin Maziere Aubry
> > >>>> wrote:
> > >>>>> Hi
> > >>>>> 
> > >>>>> I've just found a workaround ... rm
> > >>>>> /usr/lib/udev/rules.d/60-net.rules and
> > >>>>> reboot
> > >>>>> Then I can add vlan to physical interface.
> > >>>>> 
> > >>>>> 
> > >>>>&

Re: [Users] vlan interface failed : Bridged network Internet is attached to multiple interfaces: on Host node1.

2013-02-21 Thread Antoni Segura Puimedon
They pushed a change to initscripts and systemd that should fix the issue:

https://admin.fedoraproject.org/updates/FEDORA-2013-1590/initscripts-9.42.2-1.fc18,systemd-197-1.fc18.2

- Original Message -
> From: "Jeff Bailey" 
> To: users@ovirt.org
> Sent: Wednesday, February 20, 2013 11:26:33 AM
> Subject: Re: [Users] vlan interface failed : Bridged network Internet is 
> attached to multiple interfaces: 
> on Host node1.
> 
> 
> On 2/20/2013 4:56 AM, Antoni Segura Puimedon wrote:
> > There's a systemd hackfest this week on occasion of the developers
> > conference in Brno. I'll try to see what can be done about this.
> >
> > @Kevin. Did you try the 60-net.rules that Lukas Nykryn proposed?
> > ACTION=="add", SUBSYSTEM=="net", ATTRS{type}=="1",
> > PROGRAM="/lib/udev/rename_device", RESULT=="?*", NAME="$result"
> 
> I had tried this and it didn't help.  It seems that the vlan
> interface
> has type 1 (/sys/class/net/em1_1.538/type contains 1) and the rename
> still happens.
> 
> > Best,
> >
> > Toni
> >
> > - Original Message -
> >> From: "Jeff Bailey" 
> >> To: users@ovirt.org
> >> Sent: Wednesday, February 20, 2013 3:38:28 AM
> >> Subject: Re: [Users] vlan interface failed : Bridged network
> >> Internet is attached to multiple interfaces: 
> >> on Host node1.
> >>
> >> On 2/19/2013 8:04 PM, Jeff Bailey wrote:
> >>> On 2/19/2013 5:34 PM, Dan Kenigsberg wrote:
> >>>> On Tue, Feb 19, 2013 at 11:12:42PM +0100, Kevin Maziere Aubry
> >>>> wrote:
> >>>>> Hi
> >>>>>
> >>>>> I've just found a workaround ... rm
> >>>>> /usr/lib/udev/rules.d/60-net.rules and
> >>>>> reboot
> >>>>> Then I can add vlan to physical interface.
> >>>>>
> >>>>>
> >>>>>
> >>>>> 2013/2/19 Kevin Maziere Aubry 
> >>>>>
> >>>>>> Hi
> >>>>>>
> >>>>>> Today on IRC we worked on this issue and I will try to
> >>>>>> summarized the
> >>>>>> results of our troubleshooting :
> >>>>>>
> >>>>>> Current stable systemd rpm has a bug with device mapper which
> >>>>>> cause
> >>>>>> all
> >>>>>> device created on a fibrechannel to have wrong access right.
> >>>>>> So the workaround is to replace systemd with the one on the
> >>>>>> testing
> >>>>>> repo.
> >>>>>>
> >>>>>> But the testing release as also a bug with udev which rename
> >>>>>> network
> >>>>>> interface so that each new network interface is named
> >>>>>> renameX@interface.
> >>>>>>
> >>>>>> We test some udev workaround unsucessfully. (
> >>>>>> https://bugzilla.redhat.com/show_bug.cgi?id=907365 )
> >>>>>> Now I think a patch on systemd testing rpm should fix the
> >>>>>> issue,
> >>>>>> waiting
> >>>>>> for it
> >>>>>>
> >>>>>> Reference:
> >>>>>>
> >>>>>> https://bugzilla.redhat.com/show_bug.cgi?id=912323
> >>>> Last word that I've heard about this bug ^^^ ("Bug 912323 -
> >>>> Adding
> >>>> a
> >>>> VLAN Device does not Work ") is that Muli can no longer
> >>>> reproduce
> >>>> it on
> >>>> his host.
> >>>>
> >>>> If this does reproduce on your system, would you provide more
> >>>> data
> >>>> as
> >>>> requested on
> >>>> https://bugzilla.redhat.com/show_bug.cgi?id=912323#c2
> >>>> ?
> >>>> Note that I've just called the systemd cavalry to our
> >>>> assistance.
> >>> I thought I had a simple (if inconvenient) work around but it
> >>> looks
> >>> like something (either the deploy or syncing the management
> >>> network)
> >>> puts the HWADDR line back in ifcfg-em1_1.  I'm going to do some
> >>> more
> >>> testing...  Yep, it's the network sync that adds HWADDR back
> >>> which
> >>> then 

Re: [Users] vlan interface failed : Bridged network Internet is attached to multiple interfaces: on Host node1.

2013-02-20 Thread Antoni Segura Puimedon
There's a systemd hackfest this week on occasion of the developers
conference in Brno. I'll try to see what can be done about this.

@Kevin. Did you try the 60-net.rules that Lukas Nykryn proposed?
ACTION=="add", SUBSYSTEM=="net", ATTRS{type}=="1", 
PROGRAM="/lib/udev/rename_device", RESULT=="?*", NAME="$result"

Best,

Toni

- Original Message -
> From: "Jeff Bailey" 
> To: users@ovirt.org
> Sent: Wednesday, February 20, 2013 3:38:28 AM
> Subject: Re: [Users] vlan interface failed : Bridged network Internet is 
> attached to multiple interfaces: 
> on Host node1.
> 
> On 2/19/2013 8:04 PM, Jeff Bailey wrote:
> > On 2/19/2013 5:34 PM, Dan Kenigsberg wrote:
> >> On Tue, Feb 19, 2013 at 11:12:42PM +0100, Kevin Maziere Aubry
> >> wrote:
> >>> Hi
> >>>
> >>> I've just found a workaround ... rm
> >>> /usr/lib/udev/rules.d/60-net.rules and
> >>> reboot
> >>> Then I can add vlan to physical interface.
> >>>
> >>>
> >>>
> >>> 2013/2/19 Kevin Maziere Aubry 
> >>>
>  Hi
> 
>  Today on IRC we worked on this issue and I will try to
>  summarized the
>  results of our troubleshooting :
> 
>  Current stable systemd rpm has a bug with device mapper which
>  cause
>  all
>  device created on a fibrechannel to have wrong access right.
>  So the workaround is to replace systemd with the one on the
>  testing
>  repo.
> 
>  But the testing release as also a bug with udev which rename
>  network
>  interface so that each new network interface is named
>  renameX@interface.
> 
>  We test some udev workaround unsucessfully. (
>  https://bugzilla.redhat.com/show_bug.cgi?id=907365 )
>  Now I think a patch on systemd testing rpm should fix the issue,
>  waiting
>  for it
> 
>  Reference:
> 
>  https://bugzilla.redhat.com/show_bug.cgi?id=912323
> >> Last word that I've heard about this bug ^^^ ("Bug 912323 - Adding
> >> a
> >> VLAN Device does not Work ") is that Muli can no longer reproduce
> >> it on
> >> his host.
> >>
> >> If this does reproduce on your system, would you provide more data
> >> as
> >> requested on https://bugzilla.redhat.com/show_bug.cgi?id=912323#c2
> >> ?
> >> Note that I've just called the systemd cavalry to our assistance.
> >
> > I thought I had a simple (if inconvenient) work around but it looks
> > like something (either the deploy or syncing the management
> > network)
> > puts the HWADDR line back in ifcfg-em1_1.  I'm going to do some
> > more
> > testing...  Yep, it's the network sync that adds HWADDR back which
> > then triggers udev to rename em1_1.538 to em1_1 which doesn't work
> > and
> > I end up with "rename??@em1_1".  I can live without the sync I
> > suppose.  I'll try leaving the manual config of the management
> > network
> > alone and then config the other networks and see what happens.
> >
> 
> Well, that didn't work.  I can't seem to find any combination that
> plays
> nicely together.  Looks like Kevin's solution of ripping out udev's
> ability to rename interfaces may be the only quick fix.  It does get
> us
> the ability to change ownership of LVs back which is more important.
>  So
> far, I've seen no ill effects and everything (networking and storage)
> seems to be working as it should.
> 
> >> Dan.
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] vlan interface failed : Bridged network Internet is attached to multiple interfaces: on Host node1.

2013-02-19 Thread Antoni Segura Puimedon
Hi Kevin,

I have a very recently installed 3.2 and I have several vlanned
networks configured on a 3.2 host. Probably there is some difference
between our configurations. I think it maybe could be useful to try
to solve it over IRC at #ovirt at OFTC.

Best,

Toni

- Original Message -
> From: "Kevin Maziere Aubry" 
> To: "users" 
> Sent: Tuesday, February 19, 2013 11:26:24 AM
> Subject: [Users] vlan interface failed : Bridged network Internet is attached 
> to multiple interfaces:  on
> Host node1.
> 
> 
> 
> Hi there
> 
> 
> Few weeks ago I report on the 3.2beta a problem to set a new Vlan
> tagged interface.
> I've sent logs to Antoni.
> Now on the stable release, fresh install, I try to add a vlan tagged
> interface, and I have exactly the same error.
> I don't understand how such a problem in a stable release is possible
> ? Does anyone success to had a vlan ? I can't use ovirtmgmt network
> to go to Internet, so that i can't use 3.2 release.
> 
> 
> I can send log again if needed, just ask :)
> 
> 
> Kevin
> 
> 
> 
> 
> 
> --
> 
> Kevin Mazière
> Responsable Infrastructure
> Alter Way – Hosting
> 1 rue Royal - 227 Bureaux de la Colline
> 92213 Saint-Cloud Cedex
> Tél : +33 (0)1 41 16 38 41
> Mob : +33 (0)7 62 55 57 05
> http://www.alterway.fr
> ___
> 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] Access libvirt/virsh on oVirt node

2013-02-07 Thread Antoni Segura Puimedon
Replied inline.

- Original Message -
> From: "Frank Wall" 
> To: users@ovirt.org
> Sent: Thursday, February 7, 2013 3:25:41 PM
> Subject: [Users] Access libvirt/virsh on oVirt node
> 
> Hi,
> 
> how can I access libvirt/virsh on oVirt node? What are the
> credentials
> for accessing libvirt/virsh on the command line of a oVirt node?

You can always set your own credentials for libvirt (without touching those
of vdsm/oVirt):

saslpasswd2 -a libvirt foo

where foo is the new username.
> 
> virsh # list
> Please enter your authentication name:
> Please enter your password:
> error: Failed to reconnect to the hypervisor
> error: no valid connection
> error: authentication failed: Failed to step SASL negotiation: -1
> (SASL(-1): generic failure: All-whitespace username.)
> 
> 
> It would make debugging things much easier...
> 
> 
> Thanks
> - Frank
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Error while executing action Setup Networks

2013-02-06 Thread Antoni Segura Puimedon
Hi,

I can see that you set a PREFIX, but I can't see any IPADDR in the ifcfg-eth0, 
nor
in the setupNetworks command. Which IPADDR do you intend to set?


- Original Message -
> From: "Stephen Sallee (Jake)" 
> To: users@ovirt.org
> Sent: Wednesday, February 6, 2013 6:50:14 PM
> Subject: [Users] Error while executing action Setup Networks
> 
> I'm trying to add the ovirtmgmt role to my network connection on my
> all-in-one box but when I do I get this error:
> 
> Error while executing action Setup Networks: Illegal or Incomplete IP
> Address
> 
> The IP is correct as I am accessing the portal from a different
> computer, also when I look at the ifcfg-eth0 file:
> 
> DEVICE=eth0
> ONBOOT=yes
> HWADDR=[REDACTED]
> BRIDGE=ovirtmgmt
> NM_CONTROLLED=yes
> DOMAIN=UMHB.edu
> IPV6INIT=no
> LAST_CONNECT=1360136903
> DNS2=[REDACTED]
> DNS1=[REDACTED]
> DEFROUTE=yes
> IPV4_FAILURE_FATAL=yes
> PREFIX=24
> UUID=[REDACTED] ... it just feels right, i know its probably useless
> to a hacker but I fell better, okay?
> 
> I have tried NM_CONTROLLED=yes and NM_CONTROLLED=no , with no
> difference.
> 
> Here is the snippet from the engine log:
> 
> [root@otto ~]# tail -f /var/log/ovirt-engine/engine.log
> 2013-02-06 11:20:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-43) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:20:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-43) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:25:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-98) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:25:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-98) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:30:00,000 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-60) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:30:00,000 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-60) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:35:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-11) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:35:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-11) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:40:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-65) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:40:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-65) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:40:46,131 INFO
>  [org.ovirt.engine.core.bll.SetupNetworksCommand]
> (ajp--127.0.0.1-8702-2) [6cf1af54] Running command:
> SetupNetworksCommand internal: false. Entities affected :  ID:
> 8a682fca-7032-11e2-8be0-cb1656457e1f Type: VDS
> 2013-02-06 11:40:46,133 INFO
>  [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
> (ajp--127.0.0.1-8702-2) [6cf1af54] START,
> SetupNetworksVDSCommand(HostName = local_host, HostId =
> 8a682fca-7032-11e2-8be0-cb1656457e1f, force=false,
> checkConnectivity=true, conectivityTimeout=120,
> networks=[ovirtmgmt {id=6990dee0-6a13-4b74-811b-5accbae04194,
> description=Management Network, subnet=null, gateway=null,
> type=null, vlan_id=null, stp=false,
> storage_pool_id=501286c6-46d0-4f6f-a73c-e09e21778b1c, mtu=0,
> vmNetwork=true, cluster=network_cluster {id={clusterId=null,
> networkId=null}, status=Operational, is_display=false,
> required=true}}],
> bonds=[],
> interfaces=[eth0 {id=c2ceb17b-0ae1-4409-bfab-c84be5c8030b,
> vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth0,
> macAddress=[REDACTED], networkName=ovirtmgmt, bondName=null,
> bootProtocol=None, address=, subnet=, gateway=null, mtu=0,
> bridged=true, speed=1000, type=2,
> networkImplementationDetails=null},
> eth5 {id=3ee9e4b7-8ab5-458d-abe9-66a5914611bb,
> vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth5,
> macAddress=[REDACTED], networkName=null, bondName=null,
> bootProtocol=Dhcp, address=, subnet=, gateway=null,
> mtu=1500, bridged=false, speed=0, type=0,
> networkImplementationDetails=null},
> eth2 {id=1d9cb8eb-2cf8-43f3-98c8-a6f675424bdf,
> vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth2,
> macAddress=[REDACTED], networkName=null, bondName=null,
> bootProtocol=Dhcp, address=, subnet=, gateway=null,
> mtu=1500, bridged=false, speed=0, type=0,
> networkImplementationDetails=null},
> eth1 {id=66c9f391-c9f8-4052-b115-4b65759a7ff9,
> vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth1,
> macAddress=[REDACTED], networkN

Re: [Users] Problem with libvirt

2013-02-01 Thread Antoni Segura Puimedon
Hola,

Could you make some pastebins with the contents of the files
/etc/sysconfig/network-scripts/ifcfg* ?

Also, virsh -r net-list and the log generated on the process
of losing the connection when creating a guest.

Best,

Toni

- Original Message -
> From: "Juan Jose" 
> To: "Moti Asayag" 
> Cc: users@ovirt.org
> Sent: Friday, February 1, 2013 10:57:08 AM
> Subject: Re: [Users] Problem with libvirt
> 
> 
> Hello Monti and Dafna,
> 
> 
> The host have connectivity with the engine until I try to install a
> VM and in the middle of the process host loses the connectivity. I
> can see that it is a connection problem. How can I check if the host
> address is the same as I used to add it to my data-center?, I made
> an IP address change in the host but I delete it from engine and
> after change its address I re-added.
> 
> 
> On the other hand, I would like to know if my network configuration
> is correct because when I execute the "ipconfig" command in host
> console I can see the interfaces bond0 to bond4, em1 interface,
> localhost and ovirtmgmt with the host IP. Is it that correct?
> 
> 
> Many thanks in avanced,
> 
> 
> Juanjo.
> 
> 
> On Thu, Jan 31, 2013 at 3:04 PM, Moti Asayag < masa...@redhat.com >
> wrote:
> 
> 
> 
> On 01/31/2013 03:37 PM, Juan Jose wrote:
> > Hello Moti,
> > 
> > The execution of this command in the host is:
> 
> This indicates VDSM is up and running correctly, but the ovirt-engine
> can't reach it.
> 
> Can you check the connectivity from the ovirt-engine to the host (use
> the same address as used to add it to data-center) ?
> 
> Maybe there are iptables issues preventing establishing connection
> from
> the engine to the host.
> 
> 
> 
> 
> > 
> > [root@ovirt-host ~]# vdsClient -s 0 getVdsCaps
> > HBAInventory = {'iSCSI': [{'InitiatorName':
> > 'iqn.1994-05.com.redhat:69e9aaf7e4c'}], 'FC': []}
> > ISCSIInitiatorName = iqn.1994-05.com.redhat:69e9aaf7e4c
> > bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500',
> > 'netmask':
> > '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond0': {'addr':
> > '',
> > 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr':
> > '00:00:00:00:00:00'}, 'bond1': {'addr': '', 'cfg': {}, 'mtu':
> > '1500',
> > 'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'},
> > 'bond2':
> > {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [],
> > 'hwaddr': '00:00:00:00:00:00'}, 'bond3': {'addr': '', 'cfg': {},
> > 'mtu':
> > '1500', 'netmask': '', 'slaves': [], 'hwaddr':
> > '00:00:00:00:00:00'}}
> > clusterLevels = ['3.0', '3.1']
> > cpuCores = 4
> > cpuFlags =
> > fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,pdcm,sse4_1,lahf_lm,dtherm,tpr_shadow,vnmi,flexpriority,model_coreduo,model_Conroe
> > cpuModel = Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
> > cpuSockets = 1
> > cpuSpeed = 1999.000
> > emulatedMachines = ['pc-0.15', 'pc-1.0', 'pc', 'pc-0.14',
> > 'pc-0.13',
> > 'pc-0.12', 'pc-0.11', 'pc-0.10', 'isapc', 'pc-0.15', 'pc-1.0',
> > 'pc',
> > 'pc-0.14', 'pc-0.13', 'pc-0.12', 'pc-0.11', 'pc-0.10', 'isapc']
> > guestOverhead = 65
> > hooks = {}
> > kvmEnabled = true
> > lastClient = xxx.xxx.xxx.91
> > lastClientIface = ovirtmgmt
> > management_ip =
> > memSize = 7701
> > netConfigDirty = False
> > networks = {'ovirtmgmt': {'addr': '158.109.202.67', 'cfg':
> > {'DELAY':
> > '0', 'IPV6INIT': 'no', 'UUID':
> > '3cbac056-822a-43e9-a4ec-df5324becd79',
> > 'DEFROUTE': 'yes', 'DNS1': 'xxx.xxx.xxx.1', 'IPADDR':
> > 'xxx.xxx.xxx.67',
> > 'ONBOOT': 'yes', 'IPV4_FAILURE_FATAL': 'no', 'BROADCAST':
> > 'xxx.xxx.xxx.255', 'NM_CONTROLLED': 'no', 'NETMASK':
> > 'xxx.xxx.xxx.0',
> > 'BOOTPROTO': 'none', 'DNS2': 'xxx.xxx.xxx.9', 'DEVICE':
> > 'ovirtmgmt',
> > 'TYPE': 'Bridge', 'GATEWAY': 'xxx.xxx.xxx.1', 'NETWORK':
> > 'xxx.xxx.xxx.0'}, 'mtu': '1500', 'netmask': '255.255.254.0', 'stp':
> > 'off', 'bridged': True, 'gateway': 'xxx.xxx.xxx.1', 'ports':
> > ['em1']}}
> > nics = {'em1': {'hwaddr': '00:19:99:35:cc:54', 'netmask': '',
> > 'speed':
> > 1000, 'addr': '', 'mtu': '1500'}}
> > operatingSystem = {'release': '1', 'version': '17', 'name':
> > 'Fedora'}
> > packages2 = {'kernel': {'release': '1.fc17.x86_64', 'buildtime':
> > 1350912755.0, 'version': '3.6.3'}, 'spice-server': {'release':
> > '5.fc17',
> > 'buildtime': '1336983054', 'version': '0.10.1'}, 'vdsm':
> > {'release':
> > '10.fc17', 'buildtime': '1349383616', 'version': '4.10.0'},
> > 'qemu-kvm':
> > {'release': '2.fc17', 'buildtime': '1349642820', 'version':
> > '1.0.1'},
> > 'libvirt': {'release': '2.fc17', 'buildtime': '1355687905',
> > 'version':
> > '0.9.11.8'}, 'qemu-img': {'release': '2.fc17', 'buildtime':
> > '1349642820', 'version': '1.0.1'}}
> > reservedMem = 321
> > software_revision = 10
> > software_version = 4.10
> > supportedProtocols = ['2.2', '2.3']

Re: [Users] [vdsm] setupNetworks failure - Host non-operational

2013-01-22 Thread Antoni Segura Puimedon
Which version of vdsm is it running? Once I know I'll try to see why
does this happen.

- Original Message -
> From: "Deepak C Shetty" 
> To: "Alex Leonhardt" 
> Cc: users@ovirt.org, "VDSM Project Development" 
> 
> Sent: Tuesday, January 22, 2013 2:31:38 PM
> Subject: Re: [vdsm] [Users] setupNetworks failure - Host non-operational
> 
> On 01/22/2013 06:37 PM, Alex Leonhardt wrote:
> > I'm not sure whether it's the same, but in the past (with v3.1)
> > when
> > configuring the hosts network, it changed it automatically from
> > static
> > -> dhcp, everytime i change network settings i have to ensure to
> > re-tick the static address assignment and tick the box to save the
> > settings (scrolling down) ... hope it helps ..
> If you mean click on the "save network setting" checkbox while
> configuring host network from engine, I am doing that.
> I think what is happenign here is libvirt is failing to set autostart
> on
> the ovirtmgmt network, IIUC
> 
> ___
> vdsm-devel mailing list
> vdsm-de...@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] net device initialization order

2013-01-08 Thread Antoni Segura Puimedon
Which OS is the guest running? Cause I reported a bug where the systemd
based initialization systems, due to a bug/design of biosdevname get their
order eth0-n randomized on each boot.

- Original Message -
> From: "Jonathan Horne" 
> To: "Jonathan Horne" , "users" 
> Sent: Monday, January 7, 2013 10:37:42 PM
> Subject: Re: [Users] net device initialization order
> 
> 
> 
> 
> 
> actually what i am finding is, its not consistent what order it adds
> nic1 and nic2 to the guest when its created. sometimes nic1 is eth0,
> sometimes nic2 is eth0.
> 
> 
> 
> 
> From: Jonathan Horne < jho...@skopos.us >
> Date: Monday, January 7, 2013 3:02 PM
> To: users < users@ovirt.org >
> Subject: [Users] net device initialization order
> 
> 
> 
> 
> 
> 
> 
> i just did my first 3.2 install, i have a single manager and a single
> node.
> 
> 
> i have also just created my first VM, and it has 2 network
> interfaces.
> 
> 
> nic1 0aa9 – ovirtmgmt network
> nic2 0aa7 – iscsi network
> 
> 
> in the configuration dialog, nic2/0aa7 was the first one that was
> actually added, and that was the one i wanted in the ovirtmgmt
> network (and subsequently i will have to reverse my network cards,
> and i will have to see nic2 as my mgmt/eth0 and nic1 as my iscsi in
> the web page), but it looks like the guests are initializing their
> pci devices in backwards order.
> 
> 
> is this something i can set somewhere, or is this a bug?
> 
> 
> 
> 
> 
> This is a PRIVATE message. If you are not the intended recipient,
> please delete without copying and kindly advise us by e-mail of the
> mistake in delivery. NOTE: Regardless of content, this e-mail shall
> not operate to bind SKOPOS to any order or other contract unless
> pursuant to explicit written agreement or government initiative
> expressly permitting the use of e-mail for such purpose.
> 
> This is a PRIVATE message. If you are not the intended recipient,
> please delete without copying and kindly advise us by e-mail of the
> mistake in delivery. NOTE: Regardless of content, this e-mail shall
> not operate to bind SKOPOS to any order or other contract unless
> pursuant to explicit written agreement or government initiative
> expressly permitting the use of e-mail for such purpose.
> ___
> 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] web gui and bonded nic changes

2012-12-13 Thread Antoni Segura Puimedon
Hi Jim,

Could you provide me with the vdsm logs so I can get a better picture
of what happened?

Best,

Toni

- Original Message -
> From: "Jim Kinney" 
> To: users@ovirt.org
> Sent: Thursday, December 13, 2012 1:26:43 PM
> Subject: [Users] web gui and bonded nic changes
> 
> 
> I hit a snag last night. I needed to remove a nic from a host bond in
> ovirtmanage to create a new bridge line for user access to VMs. The
> process hung the box and I had to go put hands on the physical
> console (more reason to get the ipmi network setup!). The error
> message was "can't add eth3 to bond. already bonded" (or close). It
> seems the only way to remove a nic from a bond is to unload the
> bonding module. Apparently the ovirt process doesn't call a modprobe
> -r bonding during a network reset on the managed hosts. stop
> network, unload bonding, start network worked fine from the console.
> 
> --
> --
> James P. Kinney III
> 
> Every time you stop a school, you will have to build a jail. What you
> gain at one end you lose at the other. It's like feeding a dog on
> his own tail. It won't fatten the dog.
> - Speech 11/23/1900 Mark Twain
> 
> http://electjimkinney.org
> http://heretothereideas.blogspot.com/
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] New website live! Feedback welcome

2012-11-30 Thread Antoni Segura Puimedon
This is really awesome! Just yesterday I was looking at gluster's page and
thinking to myself that we could use some changes... But this easily surpasses
my expectations. Congratulations on a very well done work!

- Original Message -
> From: "Laszlo Hornyak" 
> To: "users" 
> Cc: annou...@ovirt.org
> Sent: Friday, November 30, 2012 1:32:40 PM
> Subject: Re: [Users] New website live! Feedback welcome
> 
> Uber-cool! :)
> 
> - Original Message -
> > From: "Dave Neary" 
> > To: annou...@ovirt.org, "users" 
> > Sent: Friday, November 30, 2012 1:18:59 PM
> > Subject: [Users] New website live! Feedback welcome
> > 
> > Hi everyone,
> > 
> > The new oVirt website is now live!
> > 
> >http://www.ovirt.org
> > 
> > We have made some changes to the infrastructure (the website is now
> > running on MediaWiki: http://www.mediawiki.org on Red Hat's
> > Platform
> > as
> > a Service offering OpenShift: https://openshift.redhat.com) and
> > also
> > to
> > the look and feel. There is a new theme, designed and laid out by
> > Garrett Lesage, some new content to discover, and best of all,
> > since
> > the
> > entire website is now a wiki, it will be much easier to maintain
> > over
> > time.
> > 
> > We have been careful to ensure that all of the old website links
> > redirect to appropriate pages on the new site. If you find any dead
> > links, or redirects which do not make sense, please let us know!
> > And
> > as
> > the site has had limited exposure up to this point, we are happy to
> > hear
> > your feedback on things you like, and things we can improve.
> > 
> > Thank you all for your support, assistance and understanding
> > throughout
> > this process!
> > 
> > Regards,
> > Dave.
> > 
> > --
> > Dave Neary - Community Action and Impact
> > Open Source and Standards, Red Hat - http://community.redhat.com
> > Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


  1   2   >