Re: [Users] oVirt 3.4 - MTU Override not honoured by virtual NICs

2014-03-02 Thread Mike Kolesnik
- Original Message -
 
  This sounds like a reasonable behaviour since there is a clear separation
  between the host networking configuration to the vms networking
  configuration.
  What you're attempting to achieve is guest-os level network configuration
  which
  isn't controlled by the ovirt-engine.
 If I understand this correctly the the VMs NIC is mapped to a Virtual
 Nic in the Host with a similar MAC, created when the VM starts.
 
 # VM internal NIC
 eth1  Link encap:Ethernet  HWaddr 00:1A:4A:2F:D2:A8
inet addr:192.168.43.15  Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::21a:4aff:fe2f:d2a8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:468 (468.0 b)  TX bytes:578 (578.0 b)
 
 # Host Virtual Nic
 vnet26Link encap:Ethernet  HWaddr FE:1A:4A:2F:D2:A8
inet6 addr: fe80::fc1a:4aff:fe2f:d2a8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:648 (648.0 b)  TX bytes:468 (468.0 b)

Tap should definitely have the same MTU as the bridge it's started on.

 
 
 As you can see the MTU differs between the two. If setting the MTU of
 vnet26 to match the VM;s internal nic (and the host physical NIC for
 that matter), everything is back to normal.
 
 I'm quite sure that nic (vnet26) must match what is set on the host
 physical NIC, I cant see how it would work otherwise.

You are correct, can you please open a bug for it?
Also please specify libvirt/vdsm/kernel versions that you're using (maybe it 
was already fixed in updated version?)

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


Re: [Users] networking: basic vlan help

2014-01-26 Thread Mike Kolesnik
- Original Message -
 On 01/23/2014 08:34 PM, Juan Pablo Lorier wrote:
  Hi Itamar,
 
  I don't know if I get your post right, but to me, it seems that if so
  many users hit the same rock, it should mean that this should be
  documented somewhere visible and in my opinion, push on getting bug
  1049476 https://bugzilla.redhat.com/show_bug.cgi?id=1049476 solved asap.
  Regards,
 
 1. yes, too many issues on this one, hinting we should provide better
 text explaining this in the UI.
 
 2. the bug you referenced[1]
 Bug 1049476 - [RFE] Mix untagged and tagged Logical Networks on the same NIC
 
 is actually supported, as long as the untagged logical network is not a
 VM network (so VMs associated with it would not be able to see/create
 other logical networks traffic).
 
 3. considering how prevalent this is, maybe we should allow doing this,
 even for VM networks, with a big red warning, rather than block it,
 which seems to be failing everyone.

Besides that it's technically not possible in the way we currently use the 
Linux Bridge [1],
I'm not sure what's to gain from representing a single flat network with 
multiple representations.

Seems to me like there may be a couple different points here:
* ovirtmgmt is VM network by default - should be configurable on setup and/or 
DC creation.
  If it's such a prevalent issue, we should consider a default of non VM 
network (users can create a flat network and use it quite easily anyway, if 
they want).
* if people want to represent different L3 networks on the same L2 network, it 
is worthwhile to design a proper solution

Either way, I wouldn't push for allowing multiple bridged networks on the same 
physical interface (or bond).

[1] and also not allowed in OpenStack Neutron IIUC.

 
 cc-ing some more folks for their thoughts.
 
 
 [1] in the future, please use number-name formatso not everyone would
 have to open it to understand
 
 ___
 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 Modify Network with Hosted Engine

2014-01-19 Thread Mike Kolesnik
- Original Message -

 Hi,

 Now that I finally stepped through and have a working hosted engine setup
 (after opening numerous BZs)..

 How do I modify network configuration (eg. assign new VLANs to hosts), when I
 attempt to modify a network it gives the error:

Which network are you talking about? 

And hjow are you trying to modify it? 

 Error while executing action Setup Networks: Network is currently being used

 Is there a recommended way to set up these extra networks, or must all of
 these be not managed by the engine?

 Thanks,
 Andrew

 ___
 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 Modify Network with Hosted Engine

2014-01-19 Thread Mike Kolesnik
- Original Message -

 My mistake, it seems I'm able to modify other networks but trying to modify
 ovirtmgmt or having an unsync'd ovirtmgmt will prevent any changes.

Well the VDSM complains because the ovirtmgmt is used by oVirt engine itself 
and it doesn't want to change it under the engine's feet. 

 I manually modified ovirtmgmt in the ifcfg file and just restarted the engine
 service instead.

Yes that would probably work fine, but for hosted engine it seems to me like a 
nuisance to have to do this manually and would expect VDSM to better handle it. 
Perhaps it's worth opening a bug to VDSM with the log that you have from the 
host? 

 On Mon, Jan 20, 2014 at 12:09 AM, Andrew Lau  and...@andrewklau.com  wrote:

  On Sun, Jan 19, 2014 at 11:51 PM, Mike Kolesnik  mkole...@redhat.com 
  wrote:
 

Hi,
   
  
 

Now that I finally stepped through and have a working hosted engine
setup
(after opening numerous BZs)..
   
  
 

How do I modify network configuration (eg. assign new VLANs to hosts),
when
I
attempt to modify a network it gives the error:
   
  
 

   Which network are you talking about?
  
 

   And hjow are you trying to modify it?
  
 

  eg. I want to add another VLAN or modify the MTU on ovirtmgmt
 

  When I try to modify it through the engine I get that error.
 

Error while executing action Setup Networks: Network is currently being
used
   
  
 

Is there a recommended way to set up these extra networks, or must all
of
these be not managed by the engine?
   
  
 

Thanks,
   
  
 
Andrew
   
  
 

___
   
  
 
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-09 Thread Mike Kolesnik
- Original Message -

 ok. I reinstalled everything. My F19 host has only an em1 ethernet I/F. I am
 on 3.3.
 However, setting up the host fails in its last stage (setting up mgmt
 network).

Can you please attach updated output of 'vdsClient -s 0 getVdsCaps' on this 
host? 

 2013/12/8 Mike Kolesnik  mkole...@redhat.com 

  Hi Pascal,
 

  VDSM for 3.3 is only working on F19 so since you downgraded the host you
  won't get it.
 
  Try to upgrade the host back to F19 and use the workaround suggested by
  Toni
  (create the ifcfg file for your NIC).
 

  Or am I missing something in your setup?
 

  P.S. I also have a working F19 host with latest VDSM
 

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


Re: [Users] ovirtmgmt not installed

2013-12-07 Thread Mike Kolesnik
Hi Pascal, 

VDSM for 3.3 is only working on F19 so since you downgraded the host you won't 
get it. 
Try to upgrade the host back to F19 and use the workaround suggested by Toni 
(create the ifcfg file for your NIC). 

Or am I missing something in your setup? 

P.S. I also have a working F19 host with latest VDSM 

Regards, 
Mike 

- Original Message -

 [root@lab2 ~]# vdsClient -s localhost getVdsCaps | grep cluster
 clusterLevels = ['3.0', '3.1', '3.2']
 [root@lab2 ~]# cd /etc/yum.repos.d/
 [root@lab2 yum.repos.d]# ls
 fedora.repo fedora-updates.repo fedora-updates-testing.repo
 fedora-virt-preview.repo ovirt.repo
 [root@lab2 yum.repos.d]# cat ovirt.repo
 [ovirt-stable]
 name=Stable builds of the oVirt project
 baseurl= http://ovirt.org/releases/stable/rpm/Fedora/$releasever/
 enabled=1
 skip_if_unavailable=1
 gpgcheck=0

 [ovirt-updates-testing]
 name=Stable builds of the oVirt project
 baseurl= http://ovirt.org/releases/updates-testing/rpm/Fedora/$releasever/
 enabled=0
 skip_if_unavailable=1
 gpgcheck=0

 [ovirt-beta]
 name=Beta builds of the oVirt project
 baseurl= http://ovirt.org/releases/beta/rpm/Fedora/$releasever/
 enabled=0
 skip_if_unavailable=1
 gpgcheck=0

 [ovirt-nightly]
 name=Nightly builds of the oVirt project
 baseurl= http://ovirt.org/releases/nightly/rpm/Fedora/$releasever/
 enabled=0
 skip_if_unavailable=1
 gpgcheck=0

 [ovirt-alpha]
 name=Alpha builds of the oVirt project
 baseurl= http://ovirt.org/releases/alpha/rpm/Fedora/$releasever/
 enabled=0
 skip_if_unavailable=1
 gpgcheck=0
 [root@lab2 yum.repos.d]#

 ___
 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-11-30 Thread Mike Kolesnik
- Original Message -

 Hi there

Hi Pascal, 

 I installed a console on F19, then a F19 host (time 11:09 today).
 Everything works fine, apart from the installation of the mgmt network at the
 end.
 Can someone tell me what's going wrong ?

Can you please send the output of vdsCaps from the host (vdsClient -s 0 
getVdsCaps)? 

 Thxs in advance
 Pascal
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] RFE/Bug? Cloud-Init in oVirt 3.3.1 / IPv6 Support

2013-11-28 Thread Mike Kolesnik
- Original Message -
 Hi,

Hi Sven,

 
 currently, you can not set
 a static network via Cloud-Init.
 
 How to reproduce:
 Select a shutdown vm, click run once.
 Click Initial Run, select Cloud-Init
 
 Now select Network and add new
 Name your interface, e.g. eth0
 Do not configure DHCP, instead,
 fill in IP Address, Netmask, Gateway, etc.
 
 I would suppose that this would pass the following options
 into the meta-data:
 
 iface eth0 inet static
 
 but if you mount the meta-data cd-rom into any vm and read
 the meta-data.json it says:
 
 iface eth0 inet none
 
 the rest of the information seems to be correct, though.
 
 You can see this from 2 point of views:
 
 1. If I do not select DHCP and I configure IP Address etc. I want
 a static configuration, therefore static should be in the meta-data.
 If I would have wanted none, I wouldn't bother configuring the
 interface, would I? - Bug
 
 2. There is no button for static in the GUI, therefore the option
 get's not passed, none may be the default option.
 In this case, it would be cool to have a checkbox for static.
 -- RFE

Did you see the static IP/Netmask/Gateway parameters passed?

 
 I didn't test this from the API yet, but I hope there is an option
 to set the networking to static from there?
 
 What do you think? Bug or RFE? Can this be fixed in 3.3.1.1 maybe (fix
 should be small, without looking into the code)?
 
 I can't always do full upgrades (3.3.2 would be next).
 
 
 My second topic would be IPv6 Support:
 
 It simply does not exist in Cloud-Init to pass this option to the
 guest, I read this old thread:
 
 http://lists.ovirt.org/pipermail/engine-devel/2013-June/004893.html
 
 My Question: Are there any plans to improve this?
 
 I will work around it maybe through custom parsing and file injecting
 the IPv6 data through Cloud-Init, but would prefer to pass this
 information simply to Cloud-Init.
 
 --
 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] oVirt vdsm network problem

2013-11-28 Thread Mike Kolesnik

- Original Message -
 Dne 28.11.2013 10:12, Mike Kolesnik napsal(a):
  - Original Message -
  Hello,
  Hi Jakub,
 
  I found strange problem in vdsm 4.13.0 with oVirt 3.3.1. After 30 hours
  from update (ovirt - 3.3.1, vdsm - 4.13) my one vlan network does not
  work. There is nothing in log, I can see network trafic from not working
  vlan on node in tcpdump, but it not come to VM.
  Did it stop working all of the sudden or did you change something?
 
  After vdsm restart on node it works like expected.
  Seems like VDSM restored configuration to last known config on that host,
  maybe there's something in vdsm.log to indicate what went wrong.
 
  I take a look in to oVirt - Host - Network Interface and all nodes has
  bond interface changed from Mode 4 Dynamic link agregation to Custom:
  mode=4 and Custom mode is filled by mode=4 Mabe it is the same, but
  who change that?
  This is a know behavior but it's still mode 4 it's just the way it displays
  it.
 
  I can have one node in this status if someone will want more info or logs.
 
 It works in the evening and when I came to work this morning it was not
 working. The last think I changed was Operating system from Other to
 Windows 2008 R2 x64 and Timezone to GMT on that VM.
 

Does the VM have IP details defined?
If this situation occurs, can you try to ping from inside the VM and see (with 
tcpdump) 
it the traffic flows on the bridge, and if it gets from the bridge to the 
actual interface (or bond)?

Also, there might be something interesting from the vdsm log about network 
changes?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt vdsm network problem

2013-11-28 Thread Mike Kolesnik
- Original Message -
 Dne 28.11.2013 13:11, Mike Kolesnik napsal(a):
  - Original Message -
  Dne 28.11.2013 10:12, Mike Kolesnik napsal(a):
  - Original Message -
  Hello,
  Hi Jakub,
 
  I found strange problem in vdsm 4.13.0 with oVirt 3.3.1. After 30 hours
  from update (ovirt - 3.3.1, vdsm - 4.13) my one vlan network does not
  work. There is nothing in log, I can see network trafic from not working
  vlan on node in tcpdump, but it not come to VM.
  Did it stop working all of the sudden or did you change something?
 
  After vdsm restart on node it works like expected.
  Seems like VDSM restored configuration to last known config on that host,
  maybe there's something in vdsm.log to indicate what went wrong.
 
  I take a look in to oVirt - Host - Network Interface and all nodes has
  bond interface changed from Mode 4 Dynamic link agregation to Custom:
  mode=4 and Custom mode is filled by mode=4 Mabe it is the same, but
  who change that?
  This is a know behavior but it's still mode 4 it's just the way it
  displays
  it.

The default bond modes changed from previous versions to be with miimon=100
so if you add that to your bond definition (or just select mode 4 again) then
you should see the default mode 4 selected in the list.

 
  I can have one node in this status if someone will want more info or
  logs.
  It works in the evening and when I came to work this morning it was not
  working. The last think I changed was Operating system from Other to
  Windows 2008 R2 x64 and Timezone to GMT on that VM.
 
  Does the VM have IP details defined?
  If this situation occurs, can you try to ping from inside the VM and see
  (with tcpdump)
  it the traffic flows on the bridge, and if it gets from the bridge to the
  actual interface (or bond)?
 
  Also, there might be something interesting from the vdsm log about network
  changes?
 Hi,
 
 we found problem. It was in network infrastructure. So nothink with
 oVirt. I am sorry ;-)
 

Great, I'm happy you found the problem, don't be sorry :)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] simple networking?

2013-11-27 Thread Mike Kolesnik
- Original Message -
 I am trying to set up a testing network using o-virt, but the networking is
 refusing to cooperate.  I am testing for possible use in two different
 production setups.
 
 My previous experience has been with VMWare.  I have always set up a single
 bridged network on each host.  All my hosts, VMs, and non-VM computers were
 peers on the LAN.  They could all talk to each other, and things worked very
 well.  There was a firewall/gateway that provided access to the Internet, and
 hosts, VMs, and could all communicate with the Internet as needed.
 
 o-virt seems to be compartmentalizing things beyond all reason.
 Is there any way to set up simple networking, so ALL computers can see each
 other?
 Is there anywhere that describes the philosophy behind the networking setup?
 What reason is there that networks are so divided?

Yes there is lack of documentation in this area, it's a shame but given it's an
open source project with an open wiki, everyone is invited to contribute and
improve this.

I'll see if I can get a page started..

 
 After banging my head against the wall trying to configure just one host, I
 am very frustrated.  I have spent several HOURS Googling for a coherent
 explanation of how/why networking is supposed to work, but only fine obscure
 references like letting non-VMs see VM traffic would be a huge security
 violation.  I have no concept of what king of an installation the o-virt
 designers have in mind, but it is obviously worlds different from what I am
 trying to do.
 
 The best I can tell, o-virt networking works like this (at least when you
 have only one NIC):
 there must be an ovirtmgt network, which cannot be combined with any other
 network.
   the ovirtmgt network cannot talk to VMs (unless that VM is running the
 engine)
   the ovirtmgt network can only talk to hosts, not to other non-VM
   computers
 a VM network can talk only to VMs
   cannot talk to hosts
   cannot talk to non-VMs
 hosts cannot talk to my LAN
 hosts cannot talk to VMs
 VMs cannot talk to my LAN
 All of the above are enforced by a boatload of firewall rules that o-virt
 puts into every host and VM under its jurisdiction.

Not sure what you mean by all these restrictions, from what I know the 
firewall
rules that are set on each host are to allow host to talk to engine
(ssh, vdsm, VM consoles traffic, etc) no more no less..

Usually the default behavior of firewall is to block almost all communication so
when you add a host and check the Configure firewall box it modifies it so 
that
your host can function properly.

oVirt has no sense of firewall otherwise. For all it cares you can turn it off
completely, or configure it by yourself (manually or via 
puppet/chef/foreman/etc)
and not use the capability of the system to configure it for you.

You can also change it so that it uses the rules you want by modifying
IPTablesConfig via engine-config tool.

 
 All of the above is inferred from things I Googled, because I can't find
 anywhere that explains what or how things are supposed to work--only things
 telling people WHAT THEY CANT DO.  All I see on the mailing lists is people
 getting their hands slapped because they are trying to do SIMPLE SETUPS that
 should work, but don't (due to either design restrictions or software bugs).

What slaps did you see?
What simple setups don't work?

 
 My use case A:
   * My (2 or 3) hosts have only one physical NIC.
   * My VMs exist to provide services to non-VM computers.
  *  The VMs do not run X-windows, but they provide GUI programs to
 non-VMs via ssh -X connections.
   * MY VMs need access to storage that is shared with hosts and non-VMs on
 the LAN.

Your VMs will be sitting on the ovirtmgmt network, or on a VLAN?

If you want to use VLANs for the VM traffic, you can configure the management
network to be non-VM thus allowing you to put VLANs on the same NIC this
network is occupying (just make sure to sync it first, because changes aren't
applied automatically to the hosts, yet).

In my small setup, the VMs are not on VLAN and can talk to all other machines
on the LAN via SSH and I didn't configure anything special on host level..

 
 Is there some way to TURN OFF network control in o-virt?  My systems are
 small and static.  I can hand-configure the networking a whole lot easier
 than I can deal with o-virt (as I have used it so far). Mostly I would need
 to be able to turn off the firewall rules on both hosts and VMs.
 
 banging head against wall,

Try not to break the wall (or your head) ;)

 Ted
 
 ___
 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] Failed to configure management network on the host

2013-11-13 Thread Mike Kolesnik

- Original Message -
 Please attach vdsm.log and supervdsm.log after you get the Failed to
 configure management network on the host error.

Also a relevant segment from the engine.log file from the failure might be 
helpful.

 
 - Original Message -
 From: Rob Abshear rabsh...@citytwist.net
 To: users@ovirt.org
 Sent: Wednesday, November 13, 2013 6:12:57 PM
 Subject: [Users] Failed to configure management network on the host
 
 I am running oVirt Engine Version:
 3.4.0-0.2.master.20131107144332.git214186b.fc18.  I am having an issue
 adding new hosts.  I do a fresh install of fc18 on the host and then try
 to add it into my cluster.  The controller installs all packages and it
 looks like it's all good, but at the end I get the message Failed to
 configure management network on the host and the host goes into non

Did you alter the ovirtmgmt network that is in the data center where you're 
adding the hosts?

 operational state.  I can remove the host and add it into a second oVirt
 environment that I am running.  This other environment is runningoVirt
 Engine Version: 3.2.3-1.fc18.  Once I add it into that other
 environment, I can then remove it and successfully add it into my 3.4
 environment.
 
 --
 
 
 *NADA Convention  Expo*:  January 24-27, 2014 - New Orleans, LA - Booth
 5001
 http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Virtualized hypervisor?

2013-10-31 Thread Mike Kolesnik
Hi Peter, 

I recently wrote a blog post about it: 
http://javadump.wordpress.com/2013/09/12/howto-nested-kvm-based-virtual-setup-with-ovirt/
 

You can also use the all in one plugin, as Itamar suggested but still you would 
need nested KVM enabled if you run this in a VM. 

Regards, 
Mike 

- Original Message -


Hi All, 

my name is Peter van der Meulen from the Netherlands. I'm (self paced) studying 
the RHEV guides and course material to take the RHEV certifiation exam. 
Installing the RHEV manager is not a problem, the hypervisor is, however, 
another story. I don't have a seperate physical machine for the hypervisor. I 
was told that it is possible to install the RHEV hypervisor in a virtual 
machine using Ovirt kernel modules. Could someone point me towards 
documentation on this issue and what kernel modules to install? Thanks in 
advance! 

Best regards, 
Peter 





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


Re: [Users] Not enough MAC addresses left in MAC Address Pool

2013-10-27 Thread Mike Kolesnik
- Original Message -

 While building a virtual machine we ran into an error Not enough MAC
 addresses left in MAC Address Pool. In the engine log I see this message.

 2013-10-26 14:47:16,590 WARN
 [org.ovirt.engine.core.bll.network.vm.AddVmInterfaceCommand] (ajp--127.0.0.
 1-8702-12) [6fc05fa4] CanDoAction of action AddVmInterface failed.
 Reasons:VAR__TYPE__INTERFACE,VAR__ACTI
 ON__ADD,MAC_POOL_NOT_ENOUGH_MAC_ADDRESSES
 2013-10-26 14:47:16,591 ERROR
 [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp--127.0
 .0.1-8702-12) Operation Failed: [Not enough MAC addresses left in MAC Address
 Pool.]

 This led me to look at the engine config where I see these
 MacPoolRanges: 00:1A:4A:97:5E:00-00:1A:4A:97:5E:FF version: general
 MaxMacsCountInPool: 10 version: general

 The MacPoolRange would seem to be the limiting factor here, cutting us off at
 256 MAC addresses, which happens to be the number of virtual machine we
 currently have. I assume that updating the MacPoolRange and restarting the
 engine would resolve this issue. Has anybody experienced this issue? Why
 would the pool size have 256 and the Max entry be set to 10, that seems
 like a large difference.

Hi Thomas, 

The MacPoolRanges is preset to what range was reserved initially when oVirt was 
being developed. 
Of course, in a LAN this doesn't make much difference as the possibility of MAC 
hijack from a hardware vendor is extremely low. 
The 3 first bytes in a MAC specify the vendor ID, and the 3 last bytes the 
card address (explained in http://en.wikipedia.org/wiki/MAC_address ), so I'm 
not sure why this was limited to 256 addresses but you can of course change the 
limit. 
I'm guessing it was set not to interfere with addresses used by libvirt that 
you may have running in the LAN which use the same vendor ID. 

Also please notice you can have multiple ranges separated by comma 
e.g. MacPoolRanges: 
00:1A:4A:97:5E:00-00:1A:4A:97:5E:FF,00:1A:4A:97:5F:00-00:1A:4A:97:5F:FF 

Now the other value, MaxMacsCountInPool simply limits the MAC pool size so if 
you have a pool that is too big the engine won't start. 
So for example if you have pools 
00:1A:4A:97:5E:00-00:1A:4A:97:5E:FF,00:1A:4A:97:5F:00-00:1A:4A:97:5F:FF it's OK 
since there are 256 + 256 = 512  10 MACs 
But, if you have pools 
00:1A:4A:00:00:00-00:1A:4A:00:FF:FF,00:1A:4A:01:00:00-00:1A:4A:01:FF:FF it will 
fail since there are 65536 + 65536 = 131072  10 MACs 

Hope this helps, 
Mike 
___
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 Mike Kolesnik
- Original Message -

 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


Re: [Users] internal networks in Ovirt

2013-10-06 Thread Mike Kolesnik
Lior gave a very detailed explanation, I added inline some comments on how
you can use the Neutron integration to achieve some of the things.

Regards,
Mike

- Original Message -
 Hello,
 
 I'll start with your second question because it's simpler to answer: the
 only way to configure multiple networks on one physical host interface
 in oVirt is if all networks are VLAN-tagged, except for at most one
 network which would then have to be marked as non-VM (AKA bridgeless).
 In cases like yours ovirtmgmt is usually configured to be non-VM (you
 can edit it from the networks main tab, for example), and then add other
 bridged networks to be used within the VMs and VLAN-tag them.
 
 As for your first question, I'll do my best to answer it, and hopefully
 others will correct me if I get anything wrong.
 
 Bridged networks are the default in oVirt. When you create a new logical
 network within the oVirt webadmin console, mark it as a VM network and
 attach it to a host (and presumably later to a VM) - a bridge is created
 on the host with the logical network's name.
 
 By internal networks, do you mean networks that are common to a host and
 to the VMs running on that host? If so, then this doesn't yet exist in
 oVirt, although the feature has been brought up and will probably be
 added sometime in the future (can't guarantee when though). I can think
 of a workaround, but it would require you to pin VMs to specific hosts,
 which is usually not something you'd wanna do when managing a virtual
 DC. Also, you might just connect to one VM from another on the same host
 (with a network that isn't defined as internal) and the traffic should
 be internal.

This can be achieved by using the Neutron integration, with the
Linux Bridge/OVS plugin set to local network type. This way every
external network you'll create will be host only.
I believe that starting from Havana you need to update the default
security group to allow all ingress traffic, in order for the VMs to be
able to communicate with each other.

 
 If I'm not mistaken, NATing is not currently handled for you by oVirt;
 you would have to set it up manually on your network's default gateway
 or on your physical router.

This can also be achieved with the Neutron integration (but don't use
local networks) using routers that you configure directly on Neutron
(this integration is not supported from oVirt yet, but it should work).
For this to work, you need to make ovirtmgmt a non-VM network, as Lior
explained.

 
 Other than that, if there's anything more specific you'd like to
 achieve, we'd be happy to help.
 
 Yours, Lior.
 
 On 06/10/13 16:45, subscription sites wrote:
  Hi,
  
  
  I just installed ovirt 3.3 and got everything up and running with an
  ovirt node.
  However, I can't figure out how the networking works in ovirt.
  
  First of all, I'm looking for a feature like you have in virtualbox:
  configure bridged networks, internal networks and natted networks, how
  do you do each of these in ovirt?
  
  Also, I have only one physical nic and ovirtmgmt default network is
  already assigned to this nic.
  How can I attach other bridged networks to this same physical nic?
  
  
  Thanks for any help you can provide!
  
  
  
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt Node Hypervisor 2.6.1 on oVirt 3.3 fails

2013-10-02 Thread Mike Kolesnik
- Original Message -

 Hi Mike,

Hi Udaya, 

 I have attached the screenshots of the log - /var/log/ovirt-engine/engine.log

Perhaps better to put it in a pastebin, or send a link to the entire 
installation log from the node? 

 Please let me know if you findings.

I'm not sure what's causing the problem, is it consistently happening? 
Perhaps you can try another version of node? 

 Thank You.

 Regards,
 Udaya Kiran

  Hi Mike,
 

 Hi Udaya,

  Can I add oVirt Node Hypervisor 2.6.1 (f18) to the oVirt3.3 Engine setup on
  f19..? Do I need to setup a new oVirt Node Hypervisor for oVirt3.3?
 

  I got an error - Host .xxx.xxx installation failed. Unexpected
  connection
  termination - after approving the host in the oVirt Web Administration
  portal.
 

 Can you please attach the relevant logs from the engine/node for this error?

  Please suggest.
 

  Thank You.
 

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


Re: [Users] iptables settings/scripts ovirt 3.3

2013-10-02 Thread Mike Kolesnik

- Original Message -
 Hi,

Hi Sven,

 
 no, this is _no_ all in one installation, as was clearly stated in my
 first messsage.
 I do not try to run VMs on the management node.
 
 Maybe I should rearrange my question:
 
 What is the recommended way of adding additional iptables rules on the
 management node? We need to make sure our additional rules do not get
 overwritten by ovirt.

You stated initially that:
The issue we are running into is, that some ovirt component
keeps resetting the iptables firewall configuration

How do you know it's oVirt's fault?

From what I know, the only this in oVirt that touches the firewall rules
on the management node is the installation script which you run initially.

 
 Can you just append rules to /etc/sysconfig/iptables
 or does this file get overwritten under any circumstances from this
 vdsm bootstrap script or any other ovirt related component?

The bootstrap is happening on a host that you add to the system,
it doesn't touch the firewall on the management node at all.


Regards,
Mike

 
 Thanks
 
 Sven
 
 
 
 
 On 02/10/13 09:14, Yedidyah Bar David wrote:
  Hi,
  
  - Original Message -
  From: Sven Kieske s.kie...@mittwald.de
  To: oVirt Users ML users@ovirt.org
  Sent: Wednesday, October 2, 2013 9:58:43 AM
  Subject: Re: [Users] iptables settings/scripts ovirt 3.3
 
  Hi,
 
  thanks for your answer on list, Russ.
  But I still don't know which mechanism(s?) do(es)
  change firewall settings on the oVirt Management Node?
  
  Do you have on the management node also VDSM? The allinone plugin?
  Is that intended? You need it if you want to run VMs on it. VDSM
  manages networking on nodes (hypervisors), which includes the management
  node if you have chosen so during setup.
  
  Regards,
  
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] oVirt Node Hypervisor 2.6.1 on oVirt 3.3 fails

2013-10-01 Thread Mike Kolesnik
- Original Message -

 Hi Mike,

Hi Udaya, 

 Can I add oVirt Node Hypervisor 2.6.1 (f18) to the oVirt3.3 Engine setup on
 f19..? Do I need to setup a new oVirt Node Hypervisor for oVirt3.3?

 I got an error - Host .xxx.xxx installation failed. Unexpected connection
 termination - after approving the host in the oVirt Web Administration
 portal.

Can you please attach the relevant logs from the engine/node for this error? 

 Please suggest.

 Thank You.

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


Re: [Users] oVirt 3.3 and Neutron

2013-09-29 Thread Mike Kolesnik
- Original Message -
 Hi ricardo,
 snip
 
 On 09/28/2013 02:47 PM, riccardo.brune...@dnshosting.it wrote:
  
  Dear all.
  Please, does anybody have some suggestions? I'm getting stuck with this
  issue.

Hi Ricardo,

Since this feature has been targeted as tech preview, such issues are 
unfortunately
happening as the current integration didn't count for L3 services yet.

  
  Thank you very much
  Riccardo
  
  On 2013-09-27 14:09, Riccardo Brunetti wrote:
  Dear oVirt users.
  I'm trying to setup oVirt 3.3 using an OpenStack Neutron existing
  service as network provider.
  It works pretty well: I can use the networks defined in Neutron, import
  them and when I launch VM instances from oVirt they get an internal-IP
  address from Neutron.
  A can also associate a floating IP to the Neutron port and get inbound
  connectivity for the virtual machine.
  The problem is that if I shutdown the VM (both from inside the VM itself
  and from the oVirt WEB GUI) the association port/internal-IP/floating-IP
  is lost and when the VM is booted again It will get a different
  internal-IP on a different port and I have to manually re-associate the
  floating-IP.
 
 
 It seems like we are currently creating a port on VM start and deleting
 the port on VM stop, which causes the behavior you described.

Yes this is the initial design of the feature. Since it didn't account for
L3 services, there is this side effect.

 
  Is there a way to keep the IP addresses when the VM is simply shutted
  down and not deleted? This is the behavior when using OpenStack: if I
  poweroff the VM, the IPs are kept for the future.
 
 
 There should be a way, would you mind reporting a bug on that?

In addition, do you mind trying to use static IPs inside the VMs and not DHCP
that is provided by neutron, and see if this would help?

 
  Moreover: can you confirm that in oVirt 3.3 there is still no support
  for the Neutron security rules?
 
 
 Unfortunately we did not get to handle that yet, but we are looking at
 that as part of extending the integration.
 
  Thank you very much
  Best Regards
  Riccardo
 
  ___
  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] Join us in a deep dive into the oVirt-Neutron integration

2013-07-28 Thread Mike Kolesnik
BEGIN:VCALENDAR
PRODID:Zimbra-Calendar-Provider
VERSION:2.0
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Asia/Jerusalem
BEGIN:STANDARD
DTSTART:16010101T02
TZOFFSETTO:+0200
TZOFFSETFROM:+0300
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=1SU
TZNAME:IST
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T02
TZOFFSETTO:+0300
TZOFFSETFROM:+0200
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=-1FR
TZNAME:IDT
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:5c4f436c-de9b-4420-823f-b122d5d0e354
SUMMARY:Join us in a deep dive into the oVirt-Neutron integration
ATTENDEE;CN=users;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE:mailt
 o:users@ovirt.org
ATTENDEE;CN=engine-devel;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRU
 E:mailto:engine-de...@ovirt.org
ORGANIZER;CN=Mike Kolesnik:mailto:mkole...@redhat.com
DTSTART;TZID=Asia/Jerusalem:20130731T16
DTEND;TZID=Asia/Jerusalem:20130731T17
STATUS:CONFIRMED
CLASS:PUBLIC
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
TRANSP:OPAQUE
LAST-MODIFIED:20130728T144239Z
DTSTAMP:20130728T144239Z
SEQUENCE:0
DESCRIPTION:The following is a new meeting request:\n\nSubject: Join us in a
  deep dive into the oVirt-Neutron integration \nOrganizer: Mike Kolesnik 
 mkole...@redhat.com \n\nTime: Wednesday\, July 31\, 2013\, 4:00:00 PM - 5:0
 0:00 PM GMT +02:00 Jerusalem\n \nInvitees: users@ovirt.org\; engine-devel@ov
 irt.org \n\n\n*~*~*~*~*~*~*~*~*~*\n\nHi everyone\, \n\nAs you may know\, In 
 oVirt 3.3 we're releasing an integration of OpenStack Networking service \n(
 a.k.a. Neutron) as another way to define  use VM networks\, besides the goo
 d old Linux \nBridge support in VDSM. \n\nYou're all invited to join us in a
  deep dive into this integration\, highlighting the way it works\, \nthe val
 ue it brings and how it can be further extended. \n\nThe session will take p
 lace on Wednesday\, Jul 31 \, 2013 from 4:00 PM to 5:00 PM GMT +02:00 (Jerus
 alem) \n\nThe session will be done via Elluminate: \nhttps://sas.elluminate.
 com/m.jnlp?sid=819password=M.DF0344C0EEC820394D37F89D9BE68C \n\nThere will 
 also be a teleconferencing bridge available via Intercall: \nBridge id: 9725
 06565679 \nPhone numbers: http://www.ovirt.org/Intercall \n\nRegards\, \nMik
 e  Livnat \n
X-ALT-DESC;FMTTYPE=text/html:htmlbody id='htmlmode'h3The following is 
 a new meeting request:/h3\n\np\ntable border='0'\ntrth align=leftS
 ubject:/thtdJoin us in a deep dive into the oVirt-Neutron integration /
 td/tr\ntrth align=leftOrganizer:/thtdMike Kolesnik lt\;mkolesn
 i...@redhat.comgt\; /td/tr\n/table\np\ntable border='0'\ntrth ali
 gn=leftTime:/thtdWednesday\, July 31\, 2013\, 4:00:00 PM - 5:00:00 PM G
 MT +02:00 Jerusalem\n /td/tr/table\np\ntable border='0'\ntrth a
 lign=leftInvitees:/thtdusers@ovirt.org\; engine-de...@ovirt.org /td/
 tr\n/table\ndiv*~*~*~*~*~*~*~*~*~*/divbrdiv style=font-family: ti
 mes new roman\, new york\, times\, serif\; font-size: 12pt\; color: #00
 divdivHi everyone\,/divdivbr/divdivAs you may know\, In oVirt
  3.3 we're releasing an integration of OpenStack Networking service/divdi
 v(a.k.a. Neutron) as another way to define amp\; use VM networks\, besides
  the good old Linux/divdivBridge support in VDSM./divdivbr/divd
 ivYou're all invited to join us in a deep dive into this integration\, high
 lighting the way it works\,/divdivthe value it brings and how it can be 
 further extended./divdivbr/divdivThe session will take place on We
 dnesday\, span class=Object id=OBJ_PREFIX_DWT856_com_zimbra_dateJul 31
 /span\, 2013 from 4:00 PM to 5:00 PM GMT +02:00 (Jerusalem)/divdivbr
 /divdivThe session will be done via Elluminate:/divdiva href=https
 ://sas.elluminate.com/m.jnlp?sid=819amp\;password=M.DF0344C0EEC820394D37F89
 D9BE68C data-mce-href=https://sas.elluminate.com/m.jnlp?sid=819amp\;passw
 ord=M.DF0344C0EEC820394D37F89D9BE68Chttps://sas.elluminate.com/m.jnlp?sid=
 819amp\;password=M.DF0344C0EEC820394D37F89D9BE68C/abr data-mce-bogus=1
 /divdivbr/divdivThere will also be a teleconferencing bridge avai
 lable via Intercall:/divdivBridge id: 972506565679/divdivPhone numbe
 rs: http://www.ovirt.org/Intercall/divdivbr/divspan name=x/span
 Regards\,brMike amp\; Livnatspan name=x/span/div/div/body/h
 tml
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;RELATED=START:-PT5M
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt LACP/port aggregation fails to initialize on node boot

2013-07-21 Thread Mike Kolesnik

- Original Message -
 I'm experimenting with LACP/port aggregation on my public network
 interface in my oVirt test setup. My goal is to bind two 1G ports
 together.  Our network operations team configured two 1G switch ports
 appropriately, and I set up the bond between eth0 and eth1 on the node
 using the engine.  I can't configure the IP of the interface statically
 because then I don't get the option to set a gateway, which I need for
 our public network.  Using DHCP worked before enabling LACP (which
 acquires the gateway from the DHCP record).  After enabling LACP, when
 the node boots, it doesn't get an address. The node gets hostname
 localhost.  I have to login to the admin, hit F2, ifdown PublicNet
 ifup PublicNet, but then it works!  There's obviously some minor delay
 issue during node initialization, but there should be some way to tell
 it to wait a bit longer?

Hi Jason,

Can you please send a pastebin of 'vdsClient 0 getVdsCaps' (or 'vdsClient -s 0 
getVdsCaps') on the host with the bond?

 
 Jason.
 
 --
 Jason Keltz
 Manager of Development
 Department of Electrical Engineering and Computer Science
 York University, Toronto, Canada
 Tel: 416-736-2100 x. 33570
 Fax: 416-736-5872
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] p2v Import error

2013-07-17 Thread Mike Kolesnik
- Original Message -
 Em 16/07/2013 11:46, Omer Frenkel escreveu:
 
  - Original Message -
  From: Carlo Turco carlo.tu...@inpe.br
  To: users@ovirt.org
  Sent: Tuesday, July 16, 2013 4:41:25 PM
  Subject: Re: [Users] p2v Import error
 
  There is no other VM with the same name. I even tried to change the name
  in
  the OVF file, but when I try to restore it, the same error again.
 
 
 
  Em 16/07/2013 10:37, Richard W.M. Jones escreveu:
  Please reply on the list.
 
  Rich.
 
  looks like something is wrong with the NICs section in the OVF,
  one (or more) of the NICs names or networks names causes this error.
  you can try playing with it (make sure names are in english and correct,
  remove the NICs section completely..)
  or if you like to post the OVF so we could take a look.
 
 
 
 I´m already trying to play with it, but I´ll post the OVF here for some
 help to.
 
 http://pastebin.com/bvYSGvHK
 
 Cheers
 

Please try this OFV:
http://pastebin.com/mCbnXdHD

I removed the vNIC, but you can add it manually after the import (and if you 
need it, set the MAC to: 00:02:2A:EA:2A:E8)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Promiscuous mode in ovirt 3.2

2013-07-17 Thread Mike Kolesnik
- Original Message -

 Hello Mr. Slomianko,

 Thanks for reply. But it's not working.

 Now i am elaborating my data center to you please suggest me needful.

 At my hypervisor i have installed following package:

 vdsm-hook-nestedvt
 vdsm-hook-promisc
 vdsm-hook-macspoof

 Now following my Virtual Machine infrastructure.

 First vm: IP Address:- 192.168.0.254/24
 Second VM: 192.168.0.25/24
 Third VM which is inside of Second VM: 192.168.0.125

 Now i am able to send the packets from First VM to Second VM

 2. Also there is successful communication between Second VM to Third Vm and
 Third Vm to Second VM

 But now here I am not able to send the packets from Third Vm to First Vm

Hi, 

Please try to install the vdsm-hook-macspoof on the second VM and see if that 
helps 

 Now please solve it.

 On Wed, Jul 17, 2013 at 1:35 PM, Noam Slomianko  nslom...@redhat.com 
 wrote:

  If by nested VM you mean a VM within a VM you should download the mac
  spoofing hook on the host yum install vdsm-hook-macspoof.noarch
 

  Now unrelated to that issue, If you seek to create communication channel
  between the host and a VM you should assign the host an IP on the bridge
  and
  send the data from the VM to that IP. It is unrelated to promiscuous mode.
 

  - Original Message -
 
  From: Vishvendra Singh Chauhan  singh.e...@gmail.com 
 
  To: users@ovirt.org
 
  Sent: Tuesday, July 16, 2013 9:25:23 AM
 
  Subject: [Users] Promiscuous mode in ovirt 3.2
 

  Hello Members,
 

  Please help me to solve out the promiscuos mode problem.
 

  In ovirt 3.2 I am not able to send the traffic from nested vm to physical
  machine.
 

  please suggest me what can i do in this matter.
 

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


Re: [Users] Bonding - VMs Network performance problem

2013-07-16 Thread Mike Kolesnik
- 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%20kolesnik%20%3cmkole...@redhat.com%3e
  *To*: Ricardo Esteves maverick...@gmail.com
  mailto:maverick...@gmail.com   mailto:maverick...@gmail.com
  mailto:ricardo%20esteves%20%3cmaverick...@gmail.com%3e
  *Cc*:Users@ovirt.org  mailto:Users@ovirt.org   mailto:Users@ovirt.org
  mailto:Users@ovirt.org
  *Subject*: Re: [Users] Bonding - VMs Network performance problem
  *Date*: Sun, 26 May 2013 04:57:43 -0400 (EDT)
 
 
 
  
 
 
  Hi,
 
  I've got ovirt installed on 2 HP BL460c G6 blades, and my VMs have
  very poor network performance (around 7,01K/s).
 
  On the servers itselfs there is no problem, i can download a file
  with wget at around 99 M/s.
 
  Then i go to ovirt network configuration remove the bonding and then
  make the bonding again and the problem gets fixed (i have to do this
  everytime i reboot my blades).
 
  Have you tried to check the Save network configuration check box, or
  clicking the button from the host's NICs  sub-tab?
 
  This should persist the configuration that you set on the host across
  reboots..
 
 
  SERVER' s Software:
  CentOS 6.4 (64 bits) - 2.6.32-358.6.2.el6.x86_64
  Ovirt EL6 official rpms.
 
  Anyone experienced this kind of problems?
 
  Best regards,
  Ricardo Esteves.
 
 
 
  ___
  Users mailing list
 Users@ovirt.org  mailto:Users@ovirt.org   mailto:Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 
 
  ___
  Users mailing list
 Users@ovirt.org  mailto:Users@ovirt.org   mailto:Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 
  ___
  Users mailing list
 Users@ovirt.org  mailto: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] Issue with oVirt 3.3

2013-06-21 Thread Mike Kolesnik

- Original Message -
 On 06/20/2013 04:54 PM, Romil Gupta wrote:
  Hi All,
 
  I am currently using RC build of oVirt3.3 and I am facing some issues :
 
  1. Not able to access the VM console.
 
 frantisek - can you please take a look - iirc, there was another patch
 which changed the location.
 
 
  2. Not able to attach ovirtNode.
 
 Romil - more details on this one please, logs, etc.
 
  3. Not able to see the discover tab under providers tab
 
 which provider are you trying to use?
 oved/mike - can you please take a look?

This functionality will be available in the coming week on Sun/Mon as we will 
merge
the Openstack Network provider code upstream and it would be possible to use 
this
provider type.

 
 
  I have attached a snapshot for the reference. Please help me out
  regrading the same.
  --
  *Regards,*
  *Romil
  *
 
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Openstack Quantum , Cinder and Glance integration with oVirt.

2013-06-04 Thread Mike Kolesnik
, as it didn't even get to the driver (it says it
   failed
   to schedule the cinder command).
  
 

   Oved
  
 
It would be great if you answer the above questions.
  
 
   
  
 
Thanks,
  
 
Romil
  
 
   
  
 
   
  
 
On Sun, May 19, 2013 at 10:44 AM, Oved Ourfalli  ov...@redhat.com 
wrote:
  
 
   
  
 
   
  
 
Hi Romil.
  
 
   
  
 
Sorry for the late response.
  
 
In order to use the cinder driver you need to set the following
configuration
  
 
items in /etc/cinder/cinder.conf
  
 
   
  
 
volume_driver=cinder.volume.ovirt.OVirtDriver
  
 
ovirt_engine_url= http://10.35.1.202:8080/api 
  
 
ovirt_engine_username=user@domain
  
 
ovirt_engine_password=password
  
 
ovirt_engine_storagedomain=nfs-data1
  
 
   
  
 
What did you fail on? Can you attach the cinder log for us to see?
  
 
   
  
 
Also cc-ing Federico, who worked with me on the driver.
  
 
   
  
 
Thank you,
  
 
Oved
  
 
   
  
 
   
  
 
   
  
 
- Original Message -
  
 
 From: Romil Gupta  romilgupt...@gmail.com 
  
 
 To: Oved Ourfalli  ov...@redhat.com 
  
 
 Cc: users  users@ovirt.org 
  
 
 Sent: Wednesday, May 15, 2013 5:41:42 PM
  
 
 Subject: Re: [Users] Openstack Quantum , Cinder and Glance
 integration
 with
  
 
 oVirt.
  
 

  
 
 Hi Oved ,
  
 

  
 
 I have gone through the code , it would be great if you let me know
 what
  
 
 are
  
 
 the flags we need to set in the cinder.conf to load the oVirt-cinder
  
 
 driver.
  
 

  
 
 Is this the correct flag volume_driver=cinder.volume.drivers.ovirt.
  
 
 OVirtDriver ?
  
 

  
 
 If yes , still I am not able to load it. I have also change the
 following
  
 
 flags based on my setup:
  
 

  
 
 volume_opts = [
  
 
 cfg . StrOpt ( 'ovirt_engine_url' ,
  
 
 default = ' http://localhost:8700/api ' ,
  
 
 help = '' ),
  
 
 cfg . StrOpt ( 'ovirt_engine_username' ,
  
 
 default = 'admin@internal' ,
  
 
 help = '' ),
  
 
 cfg . StrOpt ( 'ovirt_engine_password' ,
  
 
 default = 'letmein!' ,
  
 
 help = '' ),
  
 
 cfg . StrOpt ( 'ovirt_engine_storagedomain' ,
  
 
 default = 'OpenStackDomain' ,
  
 
 help = '' ),
  
 
 cfg . StrOpt ( 'ovirt_engine_sparse' ,
  
 
 default = True ,
  
 
 help = '' ),
  
 

  
 
 Help me out regarding the same.
  
 

  
 

  
 

  
 

  
 
 On Thu, May 9, 2013 at 7:23 PM, Romil Gupta  romilgupt...@gmail.com
 
  
 
 wrote:
  
 

  
 

  
 

  
 
 Thanks for sharing the code and yes I had missed the mail from you
 earlier.
  
 
 I am just going through the code and would let you know if I need
 some
 help
  
 
 from you.
  
 

  
 

  
 

  
 

  
 
 On Thu, May 9, 2013 at 7:19 PM, Oved Ourfalli  ov...@redhat.com 
 wrote:
  
 

  
 

  
 

  
 

  
 

  
 
 - Original Message -
  
 
  From: Romil Gupta  romilgupt...@gmail.com 
  
 
  To: Oved Ourfalli  ov...@redhat.com 
  
 
  Cc: users  users@ovirt.org 
  
 
  Sent: Thursday, May 9, 2013 4:31:23 PM
  
 
  Subject: Re: [Users] Openstack Quantum , Cinder and Glance
  integration
  
 
  with
  
 
  oVirt.
  
 
 
  
 
  Thanks Itamar, Yes , the intent is to consume oVirt from the
  Openstack
  
 
  side.
  
 
 
  
 
  Oved: thanks, I would be great if you could share the code.
  
 
 
  
 
 Code was shared earlier on the thread before you got a chance to send
 your
  
 
 response, but in case you missed it, the code is in:
  
 
 https://github.com/oourfali/openstack-ovirt-driver
  
 

  
 
 Also, Itamar added an important note about that:
  
 
 
  
 
 Romil - the POC above expects the glance image to pre-exist as a
  
 
 template (by same name). I think your glance driver for ovirt to
  
 
 directly show the ovirt template from ovirt is a better approach.
  
 
 
  
 

  
 
 Let me know if you need more details,
  
 
 Oved
  
 
 
  
 
  On Thu, May 9, 2013 at 6:09 PM, Oved Ourfalli  ov...@redhat.com 
  wrote:
  
 
 
  
 
 
  
 
 
  
 
 
  
 
 
  
 
  - Original Message -
  
 
   From: Itamar Heim  ih...@redhat.com 
  
 
   To: Romil Gupta  romilgupt...@gmail.com , Oved Ourfalli 
  
 
   oourf...@redhat.com 
  
 
   Cc: Mike Kolesnik  mkole...@redhat.com , users 
   users@ovirt.org
  
 
   
  
 
   Sent: Thursday, May 9, 2013 3:22:45 PM
  
 
   Subject: Re: [Users] Openstack Quantum , Cinder and Glance
   integration
  
 
   with
  
 
   oVirt.
  
 
  
  
 
   On 05/09/2013 09:34 AM, Romil Gupta wrote:
  
 
Thanks Mike , I have already gone through the links you
suggested
  
 
above

Re: [Users] Bonding - VMs Network performance problem

2013-05-26 Thread Mike Kolesnik
- Original Message -

 Hi,

 I've got ovirt installed on 2 HP BL460c G6 blades, and my VMs have very poor
 network performance (around 7,01K/s).

 On the servers itselfs there is no problem, i can download a file with wget
 at around 99 M/s.

 Then i go to ovirt network configuration remove the bonding and then make the
 bonding again and the problem gets fixed (i have to do this everytime i
 reboot my blades).
Have you tried to check the Save network configuration check box, or clicking 
the button from the host's NICs sub-tab? 
This should persist the configuration that you set on the host across reboots.. 

 SERVER' s Software:
 CentOS 6.4 (64 bits) - 2.6.32-358.6.2.el6.x86_64
 Ovirt EL6 official rpms.

 Anyone experienced this kind of problems?

 Best regards,
 Ricardo Esteves.

 ___
 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] Query regarding Quantum integration with oVirt

2013-03-14 Thread Mike Kolesnik
- Original Message -

 Hi,
Hi Romil, 

 May I know Is there any support for Quantum in RHEVM-3.1 if not ,
 which oVirt version should I use so that I can use quantum feature ?
This feature is planned to be available in oVirt 3.3, the feature page is: 
http://www.ovirt.org/Features/Quantum_Integration 

 I have seen a demo of oVirt with quantum on youtube may i know which
 version you used ?
This demo was done on a POC branch, you can access it at: 
http://gerrit.ovirt.org/#/q/status:open+project:ovirt-engine+branch:master+topic:POC_NetworkProvider,n,z
 
http://gerrit.ovirt.org/#/q/status:open+project:vdsm,n,z 

The VDSM hook is needed on the host to connect the vNIC to the quantum bridge. 

Make sure Quantum is running in noauth mode. 

Also, currently (due to a libvirt bug) we had to do a hack in the quantum l2 
agent to disconnect the tap device from the bridge, prior to connecting it to 
the bridge that the agent created. 

For this you can check out the documentation in: 
http://www.ovirt.org/Network_Provider#Hack_in_Quantum_linux_bridge_agent 

 Thanks ,
 Romil
Hope this helps, 
Mike 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host installation problems. Brigde

2013-03-11 Thread Mike Kolesnik
- Original Message -

 I'm having issues with installing host in oVirt.

Hi Christer, 

It seems that the log is cut off by $ signs, 
can you please send full log (preferrably in a paste site such as pastebin)? 

 Manager reports: Failed to install Host localhost. Step:
 SetNetworking; Details: addNetwork error trying to add management
 bridge.

 *** 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 module
 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
 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 module
 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 ERROR deployUtil 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 module
 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 DEBUG deployUtil 1055 makeBridge return.
 Sun, 10 Mar 2013 19:19:30 ERROR vds_bootstrap 729 addNetwork error
 trying to add management bridge
 Sun, 10 Mar 2013 19:19:30 DEBUG vds_bootstrap 278 BSTRAP
 component='SetNetworking' status='FAIL' message='addNetwork error t$
 Sun, 10 Mar 2013 19:19:30 ERROR vds_bootstrap 1023 setNetworking test
 failed
 Sun, 10 Mar 2013 19:19:30 DEBUG vds_bootstrap 1140 BSTRAP
 component='RHEV_INSTALL' status='FAIL'/
 Sun, 10 Mar 2013 19:19:30 DEBUG vds_bootstrap 1142  End VDS
 Validation 

 *** END LOG ***

 I have tried googling myself to an answer, and i have tried finding
 it out myself but with no luck.

 (the host is the same one as the engine is running on)

 Please, any help would be appreciated.

 Kind regards
 ___
 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 do Networks and Vlan-tagging work in oVirt ?

2013-02-14 Thread Mike Kolesnik
- Original Message -
 On Tue, Feb 12, 2013 at 10:27 PM, Moti Asayag  wrote:
 
 
  You should follow the next steps:
 
  1. Create a new logical network from the networks main tab: define
  its
  data-center and set its vlan-id to 50 (the VM network checkbox
  should be
  checked)
  2. Click on the created network in the networks main tab ---
  Select the
  'Clusters' sub-tab and --- click on 'Assign/Unassign Network' and
  attach the network to the cluster (which contains the hosts that
  are
  expected to run the VMs).
  3. Click on 'hosts' sub-tab of the network main tab for the same
  network. You should be able to see the cluster's hosts. Select a
  host
  and click on 'Setup Networks'.
  4. In the 'setup networks' dialog you would see the host's
  interfaces on
  the left side and the logical networks definition on the right.
  Drag the network on top of an interface, or first drag a nic on top
  of
  another to create a bond and then drag the network to that bond.
  A command will be sent from the engine to the vdsm on the host to
  configure the desired network configuration.
  5. In order to persist the network configuration on the host you
  can
  check the 'save network configuration' from 4.
 
 Hello,
 I followed these steps to create a bonded VM network (no vlan
 tagging)
 with 3.2 beta.
 Only differences
 - assignement of network to cluster (step 2) can also be completed
 while in step 1)
 
 - step 3 : to see the host and setup networks for it you have to
 select the unattached check box
 
 I don't understand if and how I can put lan parameters if I don't use
 vlan tagging
 I don't see any option for that, when I edit the network itself or
 go through the setup host networks

Hi,

Can you please explain what do you mean by lan parameters that you're trying 
to set?

 
 For example the VMs that will attach to this new network that I
 called
 client will have ip of the form
 10.10.10.x/24 with gw 10.10.10.1
 
 and eventually I would like to give an ip address to the created bond
 itself. Can I?

You can specify IP  Netmask statically on the interface that you attach the 
network to on the host.
During the setup networks command you can see a pencil button on the network 
which is on an interface (bond or NIC), click it and then you can see the boot 
protocol options.

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


Re: [Users] How do Networks and Vlan-tagging work in oVirt ?

2013-02-14 Thread Mike Kolesnik
- Original Message -

 Thanks indeed, I'm with Nicolas, also working on a nice setup with
 this information!

 Here is some more logging:

Thanks for the log. 

Unfortunately I can't tell much from it, can you please send a log of the setup 
networks command from VDSM log, where it is possible to see the parameters that 
have been sent to the command? 

 The error came after I added WAN_02_02 with no IP.

 2013-02-13 10:55:00,455 INFO
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (QuartzScheduler_Worker-9) [41071339] No string for
 VDS_ACTIVATE_ASYNC type. Use default Log
 2013-02-13 10:55:00,456 INFO
 [org.ovirt.engine.core.bll.AutoRecoveryManager]
 (QuartzScheduler_Worker-9) [41071339] Autorecovering 0 storage
 domains
 2013-02-13 10:59:05,376 INFO
 [org.ovirt.engine.core.bll.LoginAdminUserCommand]
 (ajp--127.0.0.1-8702-10) Running command: LoginAdminUserCommand
 internal: false.
 2013-02-13 10:59:06,266 ERROR
 [org.ovirt.engine.core.utils.ServletUtils] (ajp--127.0.0.1-8702-5)
 Can't read file /usr/share/ovirt-engine/docs/DocumentationPath.csv
 for request /docs/DocumentationPath.csv, will send a 404 error
 response.
 2013-02-13 10:59:43,948 INFO
 [org.ovirt.engine.core.bll.network.host.SetupNetworksCommand]
 (ajp--127.0.0.1-8702-19) [683f2e62] Running command:
 SetupNetworksCommand internal: false. Entities affected : ID:
 033febb8-4f52-4253-bb6d-a8807816affd Type: VDS
 2013-02-13 10:59:43,951 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
 (ajp--127.0.0.1-8702-19) [683f2e62] START,
 SetupNetworksVDSCommand(HostName = KVM-02, HostId =
 033febb8-4f52-4253-bb6d-a8807816affd, force=false,
 checkConnectivity=true, conectivityTimeout=120,
 networks=[WAN_02_02 {id=6f38699a-3dea-4a96-987e-035e4041afdf,
 description=null, subnet=null, gateway=null, type=null, vlanId=null,
 stp=false, dataCenterId=56272dcf-0a66-489d-9a1e-4a1965207b64, mtu=0,
 vmNetwork=false, cluster=NetworkCluster {id={clusterId=null,
 networkId=null}, status=OPERATIONAL, display=false,
 required=true}}],
 bonds=[],
 interfaces=[eth3 {id=3b31007b-a0f5-472b-8906-9170ea00be96,
 vdsId=033febb8-4f52-4253-bb6d-a8807816affd, name=eth3,
 macAddress=00:1c:c4:d8:cb:34, networkName=officevms, bondName=null,
 bootProtocol=STATIC_IP, address=172.16.20.0, subnet=255.255.255.0,
 gateway=null, mtu=1500, bridged=true, speed=1000, type=0,
 networkImplementationDetails={inSync=true, managed=true}},
 eth1 {id=4760e6c8-73d0-41c3-9a39-1ebc48e08879,
 vdsId=033febb8-4f52-4253-bb6d-a8807816affd, name=eth1,
 macAddress=00:1f:29:5a:5a:b5, networkName=vmstorage, bondName=null,
 bootProtocol=STATIC_IP, address=172.16.12.20, subnet=255.255.255.0,
 gateway=null, mtu=1500, bridged=true, speed=1000, type=0,
 networkImplementationDetails={inSync=true, managed=true}},
 eth2 {id=713f2687-6d84-4010-9076-fbfc67cf6831,
 vdsId=033febb8-4f52-4253-bb6d-a8807816affd, name=eth2,
 macAddress=00:1c:c4:d8:cb:36, networkName=WAN_02_02, bondName=null,
 bootProtocol=NONE, address=, subnet=, gateway=null, mtu=0,
 bridged=false, speed=1000, type=0,
 networkImplementationDetails=null},
 eth0 {id=1d3c9fef-8f9f-4f32-96c0-11c39f6c2e89,
 vdsId=033febb8-4f52-4253-bb6d-a8807816affd, name=eth0,
 macAddress=00:1f:29:5a:5a:b4, networkName=ovirtmgmt, bondName=null,
 bootProtocol=STATIC_IP, address=172.16.8.20, subnet=255.255.255.0,
 gateway=172.16.8.254, mtu=1500, bridged=true, speed=1000, type=2,
 networkImplementationDetails={inSync=true, managed=true}}],
 removedNetworks=[],
 removedBonds=[]), log id: 1ff9ba0e
 2013-02-13 10:59:43,960 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
 (ajp--127.0.0.1-8702-19) [683f2e62] FINISH, SetupNetworksVDSCommand,
 log id: 1ff9ba0e
 2013-02-13 10:59:44,975 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
 (ajp--127.0.0.1-8702-19) [683f2e62]
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
 VDSGenericException: VDSNetworkException: Specified netmask or
 gateway but not ip
 2013-02-13 10:59:44,976 ERROR
 [org.ovirt.engine.core.vdsbroker.VDSCommandBase]
 (ajp--127.0.0.1-8702-19) [683f2e62] Command SetupNetworksVDS
 execution failed. Exception: VDSNetworkException:
 VDSGenericException: VDSNetworkException: Specified netmask or
 gateway but not ip
 2013-02-13 10:59:44,977 ERROR
 [org.ovirt.engine.core.bll.network.host.SetupNetworksCommand]
 (ajp--127.0.0.1-8702-19) [683f2e62] Command
 org.ovirt.engine.core.bll.network.host.SetupNetworksCommand throw
 Vdc Bll exception. With error message VdcBLLException:
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
 VDSGenericException: VDSNetworkException: Specified netmask or
 gateway but not ip
 2013-02-13 11:00:00,002 INFO
 [org.ovirt.engine.core.bll.AutoRecoveryManager]
 (QuartzScheduler_Worker-3) [33d15439] Autorecovering 1 hosts
 2013-02-13 11:00:00,002 INFO
 [org.ovirt.engine.core.bll.AutoRecoveryManager]
 (QuartzScheduler_Worker-3) [33d15439] Autorecovering hosts id:
 

Re: [Users] How do Networks and Vlan-tagging work in oVirt ?

2013-02-12 Thread Mike Kolesnik
- Original Message -
 On 02/13/2013 12:40 AM, Matt . wrote:
  Hi guys,
  
  Thanks, this clears it more why we have VM and display options and
  how
  it's used on the nics.
  
  What hapens with me on a 3.2 installation when I want to attach a
  network without IP (VM option or not) to a Nic I get the noticed
  error
  like I told before:
  
  Error while executing action Setup Networks: Illegal or Incomplete
  IP
  Address
  
  
  Here is the error from the log:
 
 Could you attach the rest parameters of this command ? (grep for all
 the
 lines from the log that include the string: 7289062c)

Even better if you could attach all the parameters printed as part of 
SetupNetworksVDSCommand logging.
It seems that part is missing which makes it hard to identify what is the 
problem.

 
  
  eth2 {id=713f2687-6d84-4010-9076-fbfc67cf6831,
  vdsId=033febb8-4f52-4253-bb6d-a8807816affd, name=eth2,
  macAddress=00:1c:c4:d8:cb:36, networkName=LAN_TEST, bondName=null,
  bootProtocol=NONE, address=, subnet=, gateway=null, mtu=0,
  bridged=false, speed=1000, type=0,
  networkImplementationDetails=null}],
  removedNetworks=[],
  removedBonds=[]), log id: 7a99dbd1
  2013-02-12 23:31:08,783 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
  (ajp--127.0.0.1-8702-10) [7289062c] FINISH,
  SetupNetworksVDSCommand, log
  id: 7a99dbd1
  2013-02-12 23:31:09,796 ERROR
  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
  (ajp--127.0.0.1-8702-10) [7289062c]
  org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
  VDSGenericException: VDSNetworkException: Specified netmask or
  gateway
  but not ip
  2013-02-12 23:31:09,797 ERROR
  [org.ovirt.engine.core.vdsbroker.VDSCommandBase]
  (ajp--127.0.0.1-8702-10) [7289062c] Command SetupNetworksVDS
  execution
  failed. Exception: VDSNetworkException: VDSGenericException:
  VDSNetworkException: Specified netmask or gateway but not ip
  2013-02-12 23:31:09,798 ERROR
  [org.ovirt.engine.core.bll.network.host.SetupNetworksCommand]
  (ajp--127.0.0.1-8702-10) [7289062c] Command
  org.ovirt.engine.core.bll.network.host.SetupNetworksCommand throw
  Vdc
  Bll exception. With error message VdcBLLException:
  org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
  VDSGenericException: VDSNetworkException: Specified netmask or
  gateway
  but not ip
  
  
  Why does this happen on None Bootproto or DHCP ?
  
  
  2013/2/12 Moti Asayag masa...@redhat.com
  mailto:masa...@redhat.com
  
  On 02/11/2013 12:37 PM, Matt . wrote:
   I'm struggeling setting up my network in oVirt at the moment
   as I
  would
   like to seperate specific VM's from other devices/clients in
   my
  network.
  
  
  You should define the 'logical networks' which describe the
  networks of
  your setup.
  See the response to Nicolas on this thread of the steps to
  achieve it.
  If wish to create a network dedicated to storage which
  shouldn't allow
  VMs to use it, it should be defined as non-vm network.
  Once the network is assigned to a cluster, you can add new
  network
  interface to your VMs which defines to which bridges (vm
  networks) they
  are connected: hence, segregating the VMs is done by the
  vlan-id of the
  bridge the VMs are connected to.
  
  
   I have decent setup switching network using Vlans, this is
   also
  the fact
   for ovirt and the storage nodes where teh ports are seperated
   between
   storage and management.
  
   Because I want to manage which client can acces which VM I
   need Vlan
   tagging. The question is where are we going to do this, on
   the VM
  itself
   or on the network I attach the VM's Nic to.
  
   Because of the lacking documentation at this point it's not
   clear,
  so I
   would like to figure out and maybe change the wiki there.
  
   I also cannot understand why I can set an IP to a network and
   only the
   subnet where I also can set DHCP which puts also the gateway.
  
  
  The default gateway can be provided for the management network
  only. You
  can define its IP address either as static by providing its
  known IP
  address or letting it determine the address from the DHCP
  server.
  You cannot select 'None' as boot-protocol for the management
  network
  since then the engine will not be able to communicate with the
  host.
  
  However you can select 'none' boot-protocol to any other
  networks if
  wishes.
  
   I'm not able to set None or DHCP and can only add a network
   with
  IP, but
   what IP and why ? Or just a 192.16.x.0 with a 255.255.255.0
   subnet ?
  
   I hope someone can clear this a little bit more out.
  
  
  
  
   Thanks!
  
  
   

Re: [Users] MAC in use when importing/cloning a VM

2013-02-06 Thread Mike Kolesnik
- Original Message -
 2013/2/6 Shahar Havivi shah...@redhat.com:
  On 06.02.13 08:36, Nicolas Ecarnot wrote:
  Le 05/02/2013 21:47, Itamar Heim a écrit :
  you should be able to import as 'new' which will re-create all
  uuid's/mac/etc.
  otherwise, just edit the ovf.
  cc-ing moti to consider something better going forward
 
  Thank you to Shahar for your advice about the MAC address check.
  I tried that, restarted the engine, but i failed the same.
  That should work..., if not its a bug
 
  I also tried Itamar's advice but here is what's happening:
  - In the import windows, I select the VM, the system finds out the
  destination cluster and storage.
  - I then chekc the option Clone All VMs : the suffix option
  appears, pre-filled with _Copy.
  - I already used it and it was working fine. This time, when
  validating with OK, the Suffix field gets colored into yellow
  and I can not validate.
  - I tried to change its content to something else but it has no
  effect.
  - Of course, I already spent some times grepping the logs file
  searching for the MAC, but did not find anything obvious.
  - When the yellow border appears, nothing special is showing in
  the logs.
 
  So here, oVirt is trying to tell me something, but what?
  This is probably UI validation that failed to present the text.
  Try to rename the xxx_Copy to xxx_Copy2 or any other name that is
  not in use.
 
  --
  Nicolas Ecarnot
  ___
  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
 
 Hi,
 I'm getting also this error about duplicate MAC. I quoted error
 because I searched for this MAC on all my VMs and did not find
 another
 MAC being the same. What I've seen is that if the original MAC ends
 with :01, the new one (clone) has a MAC that ends with :02.
 I then start this new cloned VM and it works fine - after changing
 the
 MAC value on the network config files on the VM's SO.

How did you search for the MAC?
Perhaps there's some bug hidden here that the MAC is listed in the DB but you 
can't see it.

In such a case you can try to query the DB directly with this SQL:
select * from vm_interface where mac_addr = 'YOUR_MAC';

Of course you need to put your MAC, and then see if it returns anything.

In respect to the situation, I have started a thread on engine-de...@ovirt.org 
for the devs to decide how to handle this situation in a more graceful way: 
http://lists.ovirt.org/pipermail/engine-devel/2013-February/003665.html

 
 Alex
 ___
 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 multiple interfaces with different networks

2013-02-06 Thread Mike Kolesnik
- Original Message -

 Hi

 Ovirt: 3.2

 I agree, I removed it on a DC that has no host and the option on the
 network tree is removed.
 But when I add host to the DC again, and edit their network
 interface, the ovirtgmgt is seen with the vm icon.
This sounds like a result of the network not being in sync. 
Currently, the host is installed with a VM management network automatically 
(there is work to change that) 
If the network is defined as non VM on the data center level, you will still 
see it as a VM network in the setup networks command on the host. 

 And the ovirtmgmt is configured has static, and I can't change that.
This is because it's unsynchronized. 

 Also the ovirtmgmt network is mark unsynchronized, I don't know
 what it mean and how to fix it
 http://www.ovirt.org/SetupNetworks_SyncNetworks#How_to_Sync_Network.3F
You need to select the synchronize this network checkbox in the edit dialog 
which you see the boot protocol on, it's at the bottom of the dialog. 

 Also I can't add a network to the host, I have no error message, but
 in events I can see
 Bridged network Internet is attached to multiple interfaces:
 UNKNOWN on Host node2.

 Host node1's following network(s) are not synchronized with their
 Logical Network configuration: ovirtmgmt.

 So I think that unsync network cause all my trouble.
Indeed, except the possible bug in the error that states UNKNOWN, once you 
will synchronize the network this all will not be happening. 

 Kevin

 2013/2/4 Mike Kolesnik  mkole...@redhat.com 

   Hi
  
 
  Hi Kevin,
 

   I've tested to uncheck the box vm network on ovirt 3.2 and
   there
   is
   an error message saying that the interface must be remove on all
   hosts (hypervisor) that are using it.
  
 
   The VM network is separate from the admin network, so I sound
   like
   a
   bug :(
  
 
  It isn't a bug, it is a check that is being made to make sure
  nothing
  will break if you change a network's property (VM or not, the
  VLAN
  ID, the MTU).
 
  If you have a host that already has this network set-up on it, then
  it will become unsynchronized with the logical definition of the
  network, meaning that it might fail to run your VMs.
 

  This is why it states that in order to change any of these
  properties, you need to remove the network from the host.
 

  If you want to change these properties on a management network,
  then
  the data center that has this network mustn't have any hosts when
  you change the properties.
 

  Regards,
 
  Mike
 

   Kevin
  
 

   2013/1/23 Mike Kolesnik  mkole...@redhat.com 
  
 

 Hi

   
  
 

 I have exactly the same issue.

   
  
 
 This mean that a 1Gb (at least) interface must be dedicated
 to
 the
 ovirtmgmt interface, which is not a good idea.

   
  
 

Can you please try marking the ovirtmgmt network as non-vm
network,
syncing it with the hosts, and then try to add VLAN networks on
the
same bond (or interface)?
   
  
 

You should probably do this with latest versions of oVirt/VDSM.
   
  
 

 Kevin

   
  
 

 2012/12/26 Jonathan Horne  jho...@skopos.us 

   
  
 

  2012-12-26 16:48:56,416 ERROR
  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
  (ajp--0.0.0.0-8009-8) [2d2d6184] Failed in SetupNetworksVDS
  method
 

   
  
 
  2012-12-26 16:48:56,417 ERROR
  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
  (ajp--0.0.0.0-8009-8) [2d2d6184] Error code ERR_BAD_BONDING
  and
  error message VDSGenericException: VDSErrorException:
  Failed
  to
  SetupNetworksVDS, error = bonding 'bond2' is already member
  of
  network 'ovirtmgmt'
 

   
  
 
  2012-12-26 16:48:56,418 ERROR
  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
  (ajp--0.0.0.0-8009-8) [2d2d6184]
  org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
  VDSGenericException: VDSErrorException: Failed to
  SetupNetworksVDS,
  error = bonding 'bond2' is already member of network
  'ovirtmgmt'
 

   
  
 
  2012-12-26 16:48:56,418 ERROR
  [org.ovirt.engine.core.vdsbroker.VDSCommandBase]
  (ajp--0.0.0.0-8009-8) [2d2d6184] Command SetupNetworksVDS
  execution
  failed. Exception: RuntimeException:
  org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
  VDSGenericException: VDSErrorException: Failed to
  SetupNetworksVDS,
  error = bonding 'bond2' is already member of network
  'ovirtmgmt'
 

   
  
 

  so im guessing… i can't have my vlan3204 or vlan3202 share
  an
  interface with ovirtmgmt?
 

   
  
 

  [root@d0lppc021 ~]# rpm -qa|grep ovirt
 

   
  
 
  ovirt-engine-webadmin-portal-3.1.0-3.19.el6.noarch
 

   
  
 
  ovirt-engine-cli-3.1.0.7-1.el6.noarch
 

   
  
 
  ovirt-image-uploader-3.1.0-16.el6.noarch

Re: [Users] adding multiple interfaces with different networks

2013-02-04 Thread Mike Kolesnik
- Original Message -

 Hi
Hi Kevin, 

 I've tested to uncheck the box vm network on ovirt 3.2 and there is
 an error message saying that the interface must be remove on all
 hosts (hypervisor) that are using it.
 The VM network is separate from the admin network, so I sound like a
 bug :(
It isn't a bug, it is a check that is being made to make sure nothing will 
break if you change a network's property (VM or not, the VLAN ID, the MTU). 
If you have a host that already has this network set-up on it, then it will 
become unsynchronized with the logical definition of the network, meaning that 
it might fail to run your VMs. 

This is why it states that in order to change any of these properties, you need 
to remove the network from the host. 

If you want to change these properties on a management network, then the data 
center that has this network mustn't have any hosts when you change the 
properties. 

Regards, 
Mike 

 Kevin

 2013/1/23 Mike Kolesnik  mkole...@redhat.com 

   Hi
  
 

   I have exactly the same issue.
  
 
   This mean that a 1Gb (at least) interface must be dedicated to
   the
   ovirtmgmt interface, which is not a good idea.
  
 

  Can you please try marking the ovirtmgmt network as non-vm
  network,
  syncing it with the hosts, and then try to add VLAN networks on the
  same bond (or interface)?
 

  You should probably do this with latest versions of oVirt/VDSM.
 

   Kevin
  
 

   2012/12/26 Jonathan Horne  jho...@skopos.us 
  
 

2012-12-26 16:48:56,416 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(ajp--0.0.0.0-8009-8) [2d2d6184] Failed in SetupNetworksVDS
method
   
  
 
2012-12-26 16:48:56,417 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(ajp--0.0.0.0-8009-8) [2d2d6184] Error code ERR_BAD_BONDING and
error message VDSGenericException: VDSErrorException: Failed to
SetupNetworksVDS, error = bonding 'bond2' is already member of
network 'ovirtmgmt'
   
  
 
2012-12-26 16:48:56,418 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(ajp--0.0.0.0-8009-8) [2d2d6184]
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
VDSGenericException: VDSErrorException: Failed to
SetupNetworksVDS,
error = bonding 'bond2' is already member of network
'ovirtmgmt'
   
  
 
2012-12-26 16:48:56,418 ERROR
[org.ovirt.engine.core.vdsbroker.VDSCommandBase]
(ajp--0.0.0.0-8009-8) [2d2d6184] Command SetupNetworksVDS
execution
failed. Exception: RuntimeException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
VDSGenericException: VDSErrorException: Failed to
SetupNetworksVDS,
error = bonding 'bond2' is already member of network
'ovirtmgmt'
   
  
 

so im guessing… i can't have my vlan3204 or vlan3202 share an
interface with ovirtmgmt?
   
  
 

[root@d0lppc021 ~]# rpm -qa|grep ovirt
   
  
 
ovirt-engine-webadmin-portal-3.1.0-3.19.el6.noarch
   
  
 
ovirt-engine-cli-3.1.0.7-1.el6.noarch
   
  
 
ovirt-image-uploader-3.1.0-16.el6.noarch
   
  
 
ovirt-engine-backend-3.1.0-3.19.el6.noarch
   
  
 
ovirt-engine-tools-common-3.1.0-3.19.el6.noarch
   
  
 
ovirt-iso-uploader-3.1.0-16.el6.noarch
   
  
 
ovirt-engine-genericapi-3.1.0-3.19.el6.noarch
   
  
 
ovirt-engine-config-3.1.0-3.19.el6.noarch
   
  
 
ovirt-log-collector-3.1.0-16.el6.noarch
   
  
 
ovirt-engine-restapi-3.1.0-3.19.el6.noarch
   
  
 
ovirt-engine-userportal-3.1.0-3.19.el6.noarch
   
  
 
ovirt-engine-notification-service-3.1.0-3.19.el6.noarch
   
  
 
ovirt-engine-dbscripts-3.1.0-3.19.el6.noarch
   
  
 
ovirt-engine-3.1.0-3.19.el6.noarch
   
  
 
ovirt-engine-jbossas711-1-0.x86_64
   
  
 
ovirt-engine-setup-3.1.0-3.19.el6.noarch
   
  
 
ovirt-engine-sdk-3.1.0.5-1.el6.noarch
   
  
 

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
   
  
 

   --
  
 

   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
  
 

 --

 Kevin Mazière
 Responsable

Re: [Users] adding multiple interfaces with different networks

2013-01-22 Thread Mike Kolesnik
- Original Message -

 Hi

 I have exactly the same issue.
 This mean that a 1Gb (at least) interface must be dedicated to the
 ovirtmgmt interface, which is not a good idea.

Can you please try marking the ovirtmgmt network as non-vm network, syncing 
it with the hosts, and then try to add VLAN networks on the same bond (or 
interface)? 

You should probably do this with latest versions of oVirt/VDSM. 

 Kevin

 2012/12/26 Jonathan Horne  jho...@skopos.us 

  2012-12-26 16:48:56,416 ERROR
  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
  (ajp--0.0.0.0-8009-8) [2d2d6184] Failed in SetupNetworksVDS method
 
  2012-12-26 16:48:56,417 ERROR
  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
  (ajp--0.0.0.0-8009-8) [2d2d6184] Error code ERR_BAD_BONDING and
  error message VDSGenericException: VDSErrorException: Failed to
  SetupNetworksVDS, error = bonding 'bond2' is already member of
  network 'ovirtmgmt'
 
  2012-12-26 16:48:56,418 ERROR
  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
  (ajp--0.0.0.0-8009-8) [2d2d6184]
  org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
  VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS,
  error = bonding 'bond2' is already member of network 'ovirtmgmt'
 
  2012-12-26 16:48:56,418 ERROR
  [org.ovirt.engine.core.vdsbroker.VDSCommandBase]
  (ajp--0.0.0.0-8009-8) [2d2d6184] Command SetupNetworksVDS execution
  failed. Exception: RuntimeException:
  org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
  VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS,
  error = bonding 'bond2' is already member of network 'ovirtmgmt'
 

  so im guessing… i can't have my vlan3204 or vlan3202 share an
  interface with ovirtmgmt?
 

  [root@d0lppc021 ~]# rpm -qa|grep ovirt
 
  ovirt-engine-webadmin-portal-3.1.0-3.19.el6.noarch
 
  ovirt-engine-cli-3.1.0.7-1.el6.noarch
 
  ovirt-image-uploader-3.1.0-16.el6.noarch
 
  ovirt-engine-backend-3.1.0-3.19.el6.noarch
 
  ovirt-engine-tools-common-3.1.0-3.19.el6.noarch
 
  ovirt-iso-uploader-3.1.0-16.el6.noarch
 
  ovirt-engine-genericapi-3.1.0-3.19.el6.noarch
 
  ovirt-engine-config-3.1.0-3.19.el6.noarch
 
  ovirt-log-collector-3.1.0-16.el6.noarch
 
  ovirt-engine-restapi-3.1.0-3.19.el6.noarch
 
  ovirt-engine-userportal-3.1.0-3.19.el6.noarch
 
  ovirt-engine-notification-service-3.1.0-3.19.el6.noarch
 
  ovirt-engine-dbscripts-3.1.0-3.19.el6.noarch
 
  ovirt-engine-3.1.0-3.19.el6.noarch
 
  ovirt-engine-jbossas711-1-0.x86_64
 
  ovirt-engine-setup-3.1.0-3.19.el6.noarch
 
  ovirt-engine-sdk-3.1.0.5-1.el6.noarch
 

  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
 

 --

 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] Adding additional network(s)

2013-01-22 Thread Mike Kolesnik
- Original Message -
 Hi

Hi Tom

 
 I am setting up another DC, that is managed by my sole management
 node, and this DC will have a requirement that the VM's will need an
 additional storage NIC. This NIC is for NFS/CIFS traffic and is
 independent of the oVirt VM's disks.
 
 I have cabled the additional physical NIC in the HV's as this network
 is non routed storage, and I where to go from here. Whats the next
 step needed to add the NIC to the DC and then i presume adding the
 NIC
 to the VM's is straight forward.

You should add another network fior this to the DC  attach it to the 
cluster(s) where the VMs needing it are defined.
At this point you should be able to create virtual NICs in the VMs that use 
this network.
Then you should set it up on the hosts that have this NIC.

If not all hosts in the cluster have this connection then you should attach the 
network as not required.

Regard,
Mike

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


Re: [Users] Can I move local_cluster in all-in-one setup?

2013-01-13 Thread Mike Kolesnik
- Original Message -

 On Thu, Jan 10, 2013 at 5:10 PM, René Koch (ovido) wrote:

  If not, please do a resync.
 
 It seems it is not in sync, if I understand correctly the two
 arrows symbol in:
 https://docs.google.com/file/d/0BwoPbcrMv8mvUFFVaVl1TTlVVVE/edit

 My network page is instead this
 https://docs.google.com/file/d/0BwoPbcrMv8mveERiMUlKY094TVk/edit

 The problem is that I'm not able to make it synced, tried both with
 and without selecting the verify checkbox at the bottom
Hi Gianluca, 

Can you please send engine + vdsm logs from when you tried to check the Sync 
checkbox and run the Setup networks command on this host? 

It is out of sync because the engine network is sitting directly on top of the 
interface instead of the VLAN, but it should be fixed when the Setup network 
command is done .. 

Regards, 
Mike 

 it seems a dog trying to bite its tail (at least we say this way in
 Italy with similar situations... ;-)

 ___
 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] unsuccessful at creating bonded interface

2012-11-20 Thread Mike Kolesnik
 So far I have been unable to successfully create a bonded interface
 on ovirt node 2.5.5-0.1.fc17, either mode 1 or mode 4 (and I will
 have need of both going forward).

 When I try it, the config fails, but if I log in I see the bonded
 interface. Restarting gives the error cannot change config there are
 still slaves attached. Rebooting, eliminates the config and what I
 had originally come back (but at least the node is pingable again).

 Can someone point me in the right direction here of how to get this
 feature working?

Hi Jonathan, 
Can you please send the relevant logs of engine  VDSM that include the error 
that you get when you try to create the bond? 

 Thanks!
 jonathan

 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


Re: [Users] cannot add new logical network to host

2012-11-18 Thread Mike Kolesnik
On Thu, Nov 15, 2012 at 9:46 AM, Alan Johnson  a...@datdec.com  wrote: 

  On Thu, Nov 15, 2012 at 5:34 AM, Roy Golan  rgo...@redhat.com 
  wrote:
 

   logic/flow aside, still the error is on engine side - validating
   the
   VdsNetworkInterface entity which seems to be missing an
   interfaces
   field or method thus throwing this runtime error.
  
 
   I wonder if GWT serialized something unexpected here.
  
 
   Alan - can you try invoking setup networks and see if any other
   action is terminated the same way?
  
 
  Yes, no matter what I do on Setup Host Networks, I get the same
  error
  when I click OK. Even if I make not changes at all, I get the same
  when I click OK. I have to Cancel to get out of that screen.
 
 I have just run though the same process on a different engine
 controlling a single node. Not changing anything on the Setup Host
 Networks screen, it closes successfully when I click OK. Trying to
 add the sandbox network to em1 gives the error Error while
 executing action Setup Networks: Internal oVirt Engine Error. This
 shows up in engine.log: SNIP

 [A side note: is it wise to keep DEBUG on VDSM logs? If not, is there
 an easy way to shut it off? That is an awful lot of traffic and
 might explain why my nodes ran so slow when I was booting off of USB
 sticks.]
Since you're running off of a USB stick, which is probably limited in write 
bandwidth (USB interface + flash performance). 
It would probably be wise to turn it to a higher level, and only turn to DEBUG 
when you encounter a problem and can reproduce it (the downside is that you of 
course will not log error that you can't reproduce). 

The upside is that you'll save your stick's life (since flash chips have a 
limited number of writes per cell) and it will work faster (less blocking on 
log IO until the log is written). 

You can change the log levels in /etc/vdsm/logger.conf 

I would also suggest to turn down libvirt's log level for the same reasons. 
It seems to me (not sure about this one) that you can do that by adding this 
line to vdsm.conf: 
libvirt_log_filters = 2 :libvirt 2:remote 

 So, all that seems to be consistent with Igor's comments and I'll
 have to do some fancy dancing to get this setup once I get past the
 other bug. It would be nice if the GUI relayed the error  Setup
 attached more than one network to nic em1, some of which aren't
 vlans  from VDSM to the user, or some clearer translation, but it
 sounds like that is on the way based on Moti's comments about the
 nightly's, so I'll let it drop.
This bug was fixed, please see 
https://bugzilla.redhat.com/show_bug.cgi?id=851134 

In oVirt 3.2 (your DC has to be 3.2 as well) you can change the management 
network to be VLANd or non-VM network, and use the Sync Network feature (part 
of the setup networks process) to apply the change on the host. Then you'll be 
able to add a VLAN'd VM network on the same NIC. 

(Remember that if the management network is VLAN'd on the host then it has to 
be handled somehow so that the engine can communicate with it otherwise you'll 
lose connectivity to the host) 

 This engine and node were built last week and the process went much
 more smoothly than this first engine having problems. For the
 problematic engine, which I setup a couple of months ago, the
 CentOS6 packages had bunch of broken symlinks to jars that were on
 the system, but not where the symlinks expected them to be. That
 appears to have been fixed as of least week when I setup this second
 engine. To fix it on the first, I manually created symlinks where
 the broken ones were pointed rather than messing with any symlinks
 created by the packages.

 I wonder now if the packages on the bad engine (which are up to date)
 would have created different symlinks where I did and mine are
 blocking them from being created. I can rebuild the engine server if
 needed, but I would appreciate if some one can confirm that this
 error is consistent with a wrong version of a jar or some similar
 potential issue. Of course, I would also appreciate if there is a
 simpler solution. =)
 ___
 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] does engine require connectivity to ovirtmgmt interface

2012-11-18 Thread Mike Kolesnik
 Hi all,

 Is connectivity between engine and the ovirtmgmt interface required?

Hi Cristian, 

L3 connectivity is required between the engine and the host. The interface 
where the 'ovirtmgmt' network is set is the one that should be able to have 
this connectivity to the engine. 

 I have currently a strange setup where the engine is in another
 network then the host. Connectivity is from engine to host only (and
 a few ssh tunnels).

 Like this I can't see any disks (but I can create new ones) and also
 I can't see any hosts from the networks tab.

Please elaborate on this.. 

You can create a disk and it succeeds but you dont see it in the disks tab? 
Can you see a host that is in the same network as the engine or is it missing 
from the networks tab also (I guess you mean Hosts sub-tab on the networks main 
tab)? 

 Everything else seems to work: create/start VM, start spice agent,
 etc.

 There is nothing in the logs to alert me of any errors.

 Best regards,
 Cristian Falcas

 ___
 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] Making bonds in oVirt

2012-10-23 Thread Mike Kolesnik
- Original Message -
 Hi All,

Hi Joop

 
 I'm slowly progressing with our test environment and currently I'm
 testing my 10Ge nics and switches and hit a snag.
 I watched the webcast about setting up a non-vm network which
 included
 creating a bond using the webinterface. I can't get it to work
 correctly.
 I have two problems
 - my ovirtmgmt network always returns to DHCP in Hosts/Network
 Interfaces/Setup Host Networks
 - bonding p3p1 and p3p2 into bond0 with mode 4 and assigning an ip
 address doesn't work either.

It might be a good idea to try and isolate the two problems:

1. Even without bonding the BOOTPROTO won't stick? Do you see any errors?

2. If you have 3 nics (or more) try to bond the 2 that aren't connected to the 
management network and just see if that works.

 The bond is created but no ip address assigned and I end up with
 errors
 in dmesg.
 On ST01 I just dropped the bond and restarted the node so I have a
 clean
 dmesg.
 On ST02 I repeated the bonding but no luck
 Host is now Non Responding because of missing network so put it into
 maintenance.
 In Setup Host Networks I create a bond between p3p1 and p3p2, bond
 name
 bond0 and mode 4, edit ovirtmgmt to set it to static instead of DHCP,
 ip
 address is correct.
 Assign my storage network to the bond, edit its properties and set
 its
 ip to Static 172.29.0.1 mask 255.255.255.0. The mouse over popups
 show
 the correct ip addresses for both storage and ovirtmgmt, check Save
 and
 Verify, press OK, no ip address on the bond :-((
 ST02 dmesg:
 [43523.670576] bonding: unable to update mode of bond3 because it has
 slaves.
 [43523.734204] bonding: bond3: Setting MII monitoring interval to
 150.
 [43523.736633] 8021q: adding VLAN 0 to HW filter on device bond3
 [43534.234245] bond3: no IPv6 routers present
 
 Nothing in engine.log but maybe if logging is set higher, but how??
 
 [root@st02 ~]# rpm -aq | grep vdsm
 vdsm-4.10.0-7.fc17.x86_64
 vdsm-cli-4.10.0-7.fc17.noarch
 vdsm-xmlrpc-4.10.0-7.fc17.noarch
 vdsm-python-4.10.0-7.fc17.x86_64
 vdsm-gluster-4.10.0-7.fc17.noarch
 vdsm-rest-4.10.0-7.fc17.noarch
 
 
 
 Nothing on ST01 when I try to create a bond but I do get an error in
 the
 mgmt web interface:
 Error while executing action Setup Networks: Internal oVirt Engine
 Error
 and this in engine.log
 2012-10-22 22:41:40,175 INFO
 [org.ovirt.engine.core.bll.SetupNetworksCommand]
 (ajp--0.0.0.0-8009-8)
 [27ee141a] Running command: SetupNetworksCommand internal: false.
 Entities affected :  ID: b84be568-f101-11e1-9f16-78e7d1f4ada5 Type:
 VDS
 2012-10-22 22:41:40,177 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
 (ajp--0.0.0.0-8009-8) [27ee141a] START, SetupNetworksVDSCommand(vdsId
 =
 b84be568-f101-11e1-9f16-78e7d1f4ada5), log id: 518d832b
 2012-10-22 22:41:40,177 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
 (ajp--0.0.0.0-8009-8) [27ee141a] FINISH, SetupNetworksVDSCommand, log
 id: 518d832b
 2012-10-22 22:41:40,185 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
 (ajp--0.0.0.0-8009-8) [27ee141a]
 java.util.concurrent.ExecutionException:
 java.lang.reflect.InvocationTargetException
 2012-10-22 22:41:40,186 ERROR
 [org.ovirt.engine.core.vdsbroker.VDSCommandBase]
 (ajp--0.0.0.0-8009-8)
 [27ee141a] Command PollVDS execution failed. Exception:
 RuntimeException: java.util.concurrent.ExecutionException:
 java.lang.reflect.InvocationTargetException
 2012-10-22 22:41:40,687 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
 (ajp--0.0.0.0-8009-8) [27ee141a]
 java.util.concurrent.ExecutionException:
 java.lang.reflect.InvocationTargetException
 2012-10-22 22:41:40,688 ERROR
 [org.ovirt.engine.core.vdsbroker.VDSCommandBase]
 (ajp--0.0.0.0-8009-8)
 [27ee141a] Command SetupNetworksVDS execution failed. Exception:
 RuntimeException: java.util.concurrent.ExecutionException:
 java.lang.reflect.InvocationTargetException
 2012-10-22 22:41:40,693 INFO
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (ajp--0.0.0.0-8009-8) [27ee141a] No string for UNASSIGNED type. Use
 default Log
 
 ovirt-engine-3.1.0-2.fc17.noarch
 ovirt-engine-backend-3.1.0-2.fc17.noarch
 ovirt-engine-cli-3.1.0.6-1.fc17.noarch
 ovirt-engine-config-3.1.0-2.fc17.noarch
 ovirt-engine-dbscripts-3.1.0-2.fc17.noarch
 ovirt-engine-genericapi-3.1.0-2.fc17.noarch
 ovirt-engine-notification-service-3.1.0-2.fc17.noarch
 ovirt-engine-restapi-3.1.0-2.fc17.noarch
 ovirt-engine-sdk-3.1.0.4-1.fc17.noarch
 ovirt-engine-setup-3.1.0-2.fc17.noarch
 ovirt-engine-tools-common-3.1.0-2.fc17.noarch
 ovirt-engine-userportal-3.1.0-2.fc17.noarch
 ovirt-engine-webadmin-portal-3.1.0-2.fc17.noarch
 ovirt-guest-agent-1.0.5-1.fc17.x86_64
 ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch
 ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch
 ovirt-log-collector-3.1.0-0.git10d719.fc17.noarch
 ovirt-node-2.5.5-0.fc17.noarch
 ovirt-node-iso-2.5.5-0.1.fc17.noarch
 ovirt-release-fedora-4-2.noarch
 
 

Re: [Users] Set mic order on vm

2012-10-23 Thread Mike Kolesnik
- Original Message -
 In our setup I need to have eth0 set to a certain MAC address. When I
 add the three nics to a new vm, nic1 is not eth0. (ovirt starts with
 nic1 as the first suggested name of the nic)
 
 Any ideas?

It is the guest OS that is responsible for assigning the names of the 
interfaces.
In Linux specifically it's udev that does it, so you might want to try writing 
a udev rule for that.

Perhaps try following this guide (if it's Fedora 15+):
https://alteeve.ca/w/Changing_Ethernet_Device_Names_in_EL7_and_Fedora_15%2B

Or this guide (if it's RHEL6 or older Fedora):
https://alteeve.ca/w/Changing_the_ethX_to_Ethernet_Device_Mapping_in_EL6_and_Fedora_12_to_14

 
 Thanks!
 
 -Bret

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


Re: [Users] Making bonds in oVirt

2012-10-23 Thread Mike Kolesnik
- Original Message -
  - Original Message -
  Hi All,
 
  Hi Joop
 
 
  I'm slowly progressing with our test environment and currently I'm
  testing my 10Ge nics and switches and hit a snag.
  I watched the webcast about setting up a non-vm network which
  included
  creating a bond using the webinterface. I can't get it to work
  correctly.
  I have two problems
  - my ovirtmgmt network always returns to DHCP in Hosts/Network
  Interfaces/Setup Host Networks
  - bonding p3p1 and p3p2 into bond0 with mode 4 and assigning an ip
  address doesn't work either.
 
  It might be a good idea to try and isolate the two problems:
 
  1. Even without bonding the BOOTPROTO won't stick? Do you see any
  errors?
 No, the following is the relevant part of vdsm.log:

snip

 [ifcfg-em1]
 DEVICE=em1
 ONBOOT=yes
 BOOTPROTO=none
 HWADDR=d8:d3:85:8f:11:dc
 BRIDGE=ovirtmgmt
 NM_CONTROLLED=no
 
 [ifcfg-ovirtmgmt]
 DEVICE=ovirtmgmt
 TYPE=Bridge
 ONBOOT=yes
 IPADDR=192.168.216.151
 NETMASK=255.255.255.0
 GATEWAY=192.168.216.254
 DELAY=0
 NM_CONTROLLED=no
 

So seems like the BOOTPROTO data in this case is what you wanted, a static 
config.
And when you do the same over an existing bond then it doesn't save the data?

 
 
 
 
 
  2. If you have 3 nics (or more) try to bond the 2 that aren't
  connected to
  the management network and just see if that works.
 
 Already doing that.
 
 These are the configs before bonding.
 
 [ifcfg-p3p1]
 DEVICE=p3p1
 ONBOOT=yes
 BOOTPROTO=none
 HWADDR=00:1b:21:bb:41:21
 
 [ifcfg-p3p2]
 DEVICE=p3p2
 ONBOOT=yes
 BOOTPROTO=none
 HWADDR=00:1b:21:bb:41:20
 
 There is currently no ifcfg-bond0 but it will appear when I goto the
 webinterface and configure a bond between p3p1 and p3p2.
 Doing that right now ..

snip

 
 [ifcfg-bond4]
 DEVICE=bond4
 ONBOOT=yes
 BOOTPROTO=none
 BONDING_OPTS=mode=4
 NM_CONTROLLED=no
 
 output from dmesg:
 [ 3868.457852] bonding: bond4: Adding slave p3p1.
 [ 3868.479455] 8021q: adding VLAN 0 to HW filter on device p3p1
 [ 3868.479842] bonding: bond4: enslaving p3p1 as an active interface
 with
 an up link.
 [ 3868.573557] bonding: bond4: Adding slave p3p2.
 [ 3868.594368] 8021q: adding VLAN 0 to HW filter on device p3p2
 [ 3868.594790] bonding: bond4: enslaving p3p2 as an active interface
 with
 an up link.
 [ 3868.655028] bonding: unable to update mode of bond4 because it has
 slaves.
 [ 3868.658528] 8021q: adding VLAN 0 to HW filter on device bond4
 [ 3869.994124] ixgbe :20:00.0: p3p1: detected SFP+: 0
 [ 3870.055458] ixgbe :20:00.1: p3p2: detected SFP+: 0
 [ 3871.955610] ixgbe :20:00.0: p3p1: NIC Link is Up 10 Gbps, Flow
 Control: RX/TX
 [ 3872.170130] ixgbe :20:00.1: p3p2: NIC Link is Up 10 Gbps, Flow
 Control: RX/TX
 [ 3879.167139] bond4: no IPv6 routers present
 
 Notice the error about bonding and slaves that error is also in
 vdsm.log,
 atleast I suspect that vdsm.log/ifup is complaining about not able to
 change the bond mode.

Yes this does look problematic, although overall bond was created fine and the 
config file does have the mode you set..

 
 I ran yum update both on mgmt and storage, current package versions:
 mgmt:
 [root@mgmt01 ~]# rpm -aq | grep ovirt | sort
 ovirt-engine-3.1.0-2.fc17.noarch
 ovirt-engine-backend-3.1.0-2.fc17.noarch
 ovirt-engine-cli-3.2.0.5-1.fc17.noarch
 ovirt-engine-config-3.1.0-2.fc17.noarch
 ovirt-engine-dbscripts-3.1.0-2.fc17.noarch
 ovirt-engine-genericapi-3.1.0-2.fc17.noarch
 ovirt-engine-notification-service-3.1.0-2.fc17.noarch
 ovirt-engine-restapi-3.1.0-2.fc17.noarch
 ovirt-engine-sdk-3.2.0.2-1.fc17.noarch
 ovirt-engine-setup-3.1.0-2.fc17.noarch
 ovirt-engine-tools-common-3.1.0-2.fc17.noarch
 ovirt-engine-userportal-3.1.0-2.fc17.noarch
 ovirt-engine-webadmin-portal-3.1.0-2.fc17.noarch
 ovirt-guest-agent-1.0.5-1.fc17.x86_64
 ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch
 ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch
 ovirt-log-collector-3.1.0-0.git10d719.fc17.noarch
 ovirt-node-2.5.5-0.fc17.noarch
 ovirt-node-iso-2.5.5-0.1.fc17.noarch
 ovirt-release-fedora-4-2.noarch
 
 storage:
 [root@st01 ~]# rpm -aq | grep vdsm | sort
 vdsm-4.10.0-10.fc17.x86_64
 vdsm-cli-4.10.0-10.fc17.noarch
 vdsm-gluster-4.10.0-10.fc17.noarch
 vdsm-python-4.10.0-10.fc17.x86_64
 vdsm-rest-4.10.0-10.fc17.noarch
 vdsm-xmlrpc-4.10.0-10.fc17.noarch
 
 
 
 Joop
 
 
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Virtual disk locked and I can't start/alter the VM

2012-08-07 Thread Mike Kolesnik
- Original Message -
 On Aug 7, 2012, at 7:40 PM, Itamar Heim ih...@redhat.com wrote:
 
  you can edit it directly in the db to remove the lock from the
  vm_dynamic table.
 
 Any pointers on this?

If this is the only locked disk, please try to run this query on the DB:
update images
set imagestatus = 1
where imagestatus = 2;

And see if it helped.

 
 
  before that:
  any errors in the engine logs?
 
 Not that I can see.

If you can please attach engine.log  vdsm.log from the time of when this 
happened, that could help us try to identify what went wrong.

 
  any tasks still running?
 
 What do you mean by this? The VM guest is listed as Down.

What Itamar means is asynchronous tasks running on the host.
You can see them in the Tasks sub-tab on the web-admin, or if you run on your 
host:
vdsClient -s 0 getAllTasksInfo

 
  restarting the engine solves this?
 
 No change.
 
 Thanks,
 Ian

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


Re: [Users] oVirt 3.1 - HP BL460c G6 - virtualization hardware is unavailable

2012-07-14 Thread Mike Kolesnik
- Original Message -
 Hi,
 
 I've installed ovirt-node-iso-2.4.0-1.1.fc17.iso today in one of my
 BL460c G6 and after the boot
 I get the message Virtualization hardware is unavailable, and I can't
 login,
 it seems the keyboard doesn't respond on ilo remote console.
 
 Anyone had this kind of problem?

Hi Ricardo,

Did you turn it on in BIOS?
On Intel it's called VT-X.

 
 In attachment the print screen of the login prompt.
 
 Best regards,
 Ricardo Esteves.
 
 ___
 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] Setting up logical storage networks

2012-06-24 Thread Mike Kolesnik
 
 If I keep my ovirtmgmt interface on a 100Mbps subnet, and my VM
 Networks on 1Gbps network, there's anything special I have to do in
 routing or anything to prevent traffic of the VMs from following the
 default route defined in ovirtmgmt?
 
 I'm also experiencing an issue with bonds that may be related.  I
 create the bond and set to Mode 5, yet the ifcfg-bond0 seems to
 reflect Mode 4.
 
 DEVICE=bond0
 ONBOOT=yes
 BOOTPROTO=none
 BONDING_OPTS='mode=802.3ad miimon=150'
 NM_CONTROLLED=no
 MTU=9000
 
 
 Here's what looks relevant in the vdsm.log
 
 
 Thread-55232::DEBUG::2012-06-22
 16:56:56,242::BindingXMLRPC::872::vds::(wrapper) client
 [128.194.76.185]::call setupNetworks with ({'stor0': {'bonding':
 'bond0', 'bridged': 'false', 'mtu': '9000'}}, {'bond0': {'nics':
 ['eth3', 'eth2'], 'BONDING_OPTS': 'mode=5'}}, {'connectivityCheck':
 'true', 'connectivityTimeout': '6'}) {} flowID [39d484a3]
 Thread-55233::DEBUG::2012-06-22
 16:56:56,242::BindingXMLRPC::872::vds::(wrapper) client
 [128.194.76.185]::call ping with () {} flowID [39d484a3]
 Thread-55233::DEBUG::2012-06-22
 16:56:56,244::BindingXMLRPC::879::vds::(wrapper) return ping with
 {'status': {'message': 'Done', 'code': 0}}
 MainProcess|Thread-55232::DEBUG::2012-06-22
 16:56:56,270::configNetwork::1061::setupNetworks::(setupNetworks)
 Setting up network according to configuration: networks:{'stor0':
 {'bonding': 'bond0', 'bridged': 'false', 'mtu': '9000'}},
 bondings:{'bond0': {'nics': ['eth3', 'eth2'], 'BONDING_OPTS':
 'mode=5'}}, options:{'connectivityCheck': 'true',
 'connectivityTimeout': '6'}
 MainProcess|Thread-55232::DEBUG::2012-06-22
 16:56:56,270::configNetwork::1065::root::(setupNetworks) Validating
 configuration
 Thread-55234::DEBUG::2012-06-22
 16:56:56,294::BindingXMLRPC::872::vds::(wrapper) client
 [128.194.76.185]::call ping with () {} flowID [39d484a3]
 Thread-55234::DEBUG::2012-06-22
 16:56:56,295::BindingXMLRPC::879::vds::(wrapper) return ping with
 {'status': {'message': 'Done', 'code': 0}}
 MainProcess|Thread-55232::DEBUG::2012-06-22
 16:56:56,297::configNetwork::1070::setupNetworks::(setupNetworks)
 Applying...
 MainProcess|Thread-55232::DEBUG::2012-06-22
 16:56:56,297::configNetwork::1099::setupNetworks::(setupNetworks)
 Adding network 'stor0'
 MainProcess|Thread-55232::DEBUG::2012-06-22
 16:56:56,322::configNetwork::582::root::(addNetwork) validating
 bridge...
 MainProcess|Thread-55232::INFO::2012-06-22
 16:56:56,323::configNetwork::591::root::(addNetwork) Adding network
 stor0 with vlan=None, bonding=bond0, nics=['eth3', 'eth2'],
 bondingOptions=None, mtu=9000, bridged=False, options={}
 
 
 Looking at the code I may see where things are going wrong.  Looks
 like network['bonding']['BONDING_OPTS'] is being passed when the code
 is looking for network['bonding']['options'].

Yes indeed, this bug was fixed and should be available in next release
of oVirt.

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


Re: [Users] Setting up logical storage networks

2012-06-21 Thread Mike Kolesnik
SNIP

 No, it looks like a bug that should be taken care of.
 You can see from this log line that these options are not passed:
 MainProcess|Thread-41320::INFO::2012-06-20
 10:26:32,457::configNetwork::596::root::(addNetwork) Adding network
 private1 with vlan=None, bonding=None, nics=['eth5'],
 bondingOptions=None, mtu=9000, bridged=False, options={'STP': 'no'}
 
 I tried this today but didn't reproduce for me, but as I can't look
 at it in more detail ATM, but I'll try see whats going on tomorrow.

OK so apparently it works if you're using a VM network, but if your
network is not for VMs then it's indeed a bug. I have filed the bug
for VDSM:
https://bugzilla.redhat.com/show_bug.cgi?id=834205

As I mentioned, you can set these options manually on the ifcfg files
until the bug is fixed.

SNIP

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


Re: [Users] Setting up logical storage networks

2012-06-20 Thread Mike Kolesnik
Hi,

Please see reply in-line.

 In ovirt-engine-3.1 I'm attempting to setup the base logical networks
 and have run into 2 major issues.

Are you using cluster version 3.0 or 3.1?

 
 The first is I'm only seeing a Gateway field for the management
 interface.  When I went to create a network for VMs (on seperate
 subnet) I did not see a place to specify gateway (see img
 ovirt_network_missing_gateway.png).  Right now my management port is
 on a 100mbps network and the bridged devices live on a 1Gbps network
 (net140 in cluster).  Is there a reason the gateway would be missing?
 I've attached ovirt_networks.png that shows all the interfaces on my
 host.

Unfortunately, oVirt supports setting only the default gateway of the Host
(This is the field you saw in the management network).

We could theoretically use initscripts' static routing files, but that is left 
for
future development.

 
 The second issue I'm having is creating a storage network.  I created
 2 logical networks , private0 and private1.  I left the VM Network
 unchecked on both as my assumption was that dicates if they can be
 added to VMs.  Since these are only for hosts to connect to the iSCSI
 I didn't think that was necessary.  When I set the IP information
 (private_network0.png) and select Ok the save goes through but when I
 edit the interface again the information is gone and the file
 ifcfg-eth4 does not have IP information.  This is what I looks like
 
 DEVICE=eth4
 ONBOOT=yes
 BOOTPROTO=none
 HWADDR=00:1b:21:1d:33:f0
 NM_CONTROLLED=no
 MTU=9000

I didn't quite understand what you did here..
What I think you meant is:
1. You edited the network on a NIC, and provided static boot protocol 
   with the parameters (ip, netmask).
2. After that when you clicked OK then the configuration was sent to 
   the Host, and in the Network Interfaces tab for the Host you could 
   see the IP in the Address column. On the host the ifcfg script for
   this network had these fields set.
--- Assuming that no restart of Host or VDSM on Host was done ---
3. You edited the network again, didn't change anything, and clicked OK.
4. This time, the boot protocol info was gone from display  ifcfg file 
   on the Host.

Is this correct?

Also do you by any chance have the log files of ovirt (engine.log)/vdsm
(vdsm.log) with the flow that you did?

 
 I also attached image cluster_logical_networks.png that shows the all
 the logical networks on this cluster.  So far my plan is to have a
 single public interface for VM traffic, then two for storage traffic,
 each going to a different switch.  This setup is just an initial test
 but I'd hope to have it in production once I get some of these kinks
 worked out.
 
 Please let me know what information would be useful to debug this
 further.
 
 Thanks
 - Trey

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


Re: [Users] Setting up logical storage networks

2012-06-20 Thread Mike Kolesnik
 Thanks for the response, see responses inline.

You're welcome, responses inline.


 On Wed, Jun 20, 2012 at 2:54 AM, Mike Kolesnik mkole...@redhat.com
 wrote:
  Hi,
 
  Please see reply in-line.
 
  In ovirt-engine-3.1 I'm attempting to setup the base logical
  networks
  and have run into 2 major issues.
 
  Are you using cluster version 3.0 or 3.1?
 

 I have been using 3.1 as it's the default.  Is the different just the
 API updates?  All I could really find related to 3.0 vs 3.1
 pertaining
 to networking was this document
 http://www.ovirt.org/wiki/Features/Design/Network/SetupNetworks


As Itamar replied, there are a few more network features in 3.1 other than
this one.

For a Host which is in a 3.1 cluster there should be a Setup Networks
button which indeed enables the functionality described in that wiki.
This is a new feature for 3.1  up which allows to do several network
changes in an atomic manner, with an improved UI experience.

However, from the logs it looks like you're using the old commands to edit
the networks on the Host, so if you have this button (you should) then you
can try using it.

SNIP

 
  Unfortunately, oVirt supports setting only the default gateway of
  the Host
  (This is the field you saw in the management network).
 
  We could theoretically use initscripts' static routing files, but
  that is left for
  future development.
 

 So for now, is it then easier to just run all public interfaces
 through the same subnet/gateway?  The main reason to run management
 via 100Mbps and everything else 1Gbps was that our campus is out of
 IPs so we're attempting to conserve on the usage of gigabit IPs.

Yes, currently the only gateway you can specify is the default one which
is set on the management network.

SNIP


 I'll try to clarify the steps I took a little better, sorry if it was
 unclear before.

 1. Create logical network in Cluster that was NOT a VM Network (my
 assumption of how to setup a storage network)
 2. Edit NIC on host, set boot protocol to static and provide
 IP/Netmask, and select the logical network created in #1, check Save
 network configuration
 3. After clicking OK the corresponding ifcfg file on the node was
 modified, but the values for IP/Netmask were missing.  Also the
 values
 did not appear in the network interface list, and were not shown when
 going to that same interface and selecting Add/Edit again

 That process did not involve a reboot of the host.

 So in the host interface eth5 I set the following via web interface

 Network: private1
 Boot Protocol: Static
 IP: 10.20.1.241
 Subnet Mask: 255.0.0.0
 Check: Save network configuration

 After the save the node's ifcfg-eth5 is touched (based on modified
 date in ls -la) but this is all it contains
 DEVICE=eth5
 ONBOOT=yes
 BOOTPROTO=none
 HWADDR=00:1b:21:1d:33:f1
 NM_CONTROLLED=no
 MTU=9000


 As far as I can tell the only setting from ovirt-engine that made it
 to that file was the MTU setting defined when creating the logical
 network for the cluster.

 Is my process somehow wrong or am I missing a step?  I've done this
 with the node being in both Up status and Maintenance, same
 results.

No, it looks like a bug that should be taken care of.
You can see from this log line that these options are not passed:
MainProcess|Thread-41320::INFO::2012-06-20 
10:26:32,457::configNetwork::596::root::(addNetwork) Adding network private1 
with vlan=None, bonding=None, nics=['eth5'], bondingOptions=None, mtu=9000, 
bridged=False, options={'STP': 'no'}

I tried this today but didn't reproduce for me, but as I can't look 
at it in more detail ATM, but I'll try see whats going on tomorrow.

In the meanwhile, you might want to try a newer VDSM RPM from:
http://koji.fedoraproject.org/koji/packageinfo?packageID=12944


 As a test I manually updated the IP/Netmask of ifcfg-eth4 and it
 shows
 up in the web interface with the correct information however any
 changes via the web interface will remove the IPADDR and NETMASK
 lines.


Yes, if you do changes manually then they will be discovered and
visible through the admin/REST clients. If you edit the network then
these changes get lost, but if not they will stay there.
However, for these basic options it's not necessary to do it like
this and they should work through the admin interface.

SNIP

 Attached logs from the host and engine.  Host - node_vdsm.txt and
 Engine - engine.txt.

 The only issues I see are two deprecation notices from vdsm.

 Thanks
 - Trey


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


Re: [Users] Setting up logical storage networks

2012-06-20 Thread Mike Kolesnik
 Don't edit the ifcfg-eth4 / ifcfg-eth5 file instead edit
 ifcfg-logicnetworkname. Set that to static with a gateway. And that
 won't get over written. However be warned Linux doesn't like having
 two default gateway's. You might want to review
 http://www.centos.org/docs/2/rhl-rg-en-7.2/ch-networkscripts.html
 and use static routers.

If he were using a VM network then that is possible since (currently) VM 
network is implemented using a bridge device, which would be named 
ifcfg-logicnetworkname, however if the network is not a VM network then there 
is no bridge and the device file to edit is the ifcfg-nic* file. Either way, if 
he would later edit that network definition through oVirt then these values 
will be overwritten. 

 Thanks
 Robert

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


Re: [Users] How to peek inside the XML-RPC

2012-02-21 Thread Mike Kolesnik
 Hi,
  Asking this on both the ovirt and vdsm mailing lists.
 
 What is the right way to get a debug output or dump of the XML-RPC
 that is being sent between ovirt and vdsm, either from the ovirt side
 and/or from the vdsm side ?
 
 Is there any way of dumping the xml-rpc being sent between ovirt-vdsm

You can try sniffing it using wireshark or a similar tool.
This will probably give you the most accurate result including all headers that 
are sent.
OE will not debug print the XML itself, only the parameters it's about send to 
VDSM.

 
 Any pointers appreciated.
 
 thanx,
 deepak
 
 ___
 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