[Users] Fwd: Adding a bond.vlantag to ovirt-node
Alex Leonhardt
alex.tuxx at gmail.com
Thu Mar 7 09:42:12 UTC 2013
Here's the bug report :
https://bugzilla.redhat.com/show_bug.cgi?id=918942
Thanks for your help yesterday, Antoni!
FWIW, if I add the interface manually (like the others) and put the host
into maint mode then back active, it picks up the new vlan tagged interface
just fine.
Thanks!
Alex
On 6 March 2013 16:47, Antoni Segura Puimedon <asegurap at redhat.com> wrote:
>
>
> ----- Original Message -----
> > From: "Alex Leonhardt" <alex.tuxx at gmail.com>
> > To: "Antoni Segura Puimedon" <asegurap at redhat.com>
> > Cc: "oVirt Mailing List" <users at ovirt.org>
> > Sent: Wednesday, March 6, 2013 5:38:16 PM
> > Subject: Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node
> >
> >
> >
> > Ah, yes, sorry - just did that - it said "Done" - but I cant see it
> > in ovirt-engine still :(
>
> As I said earlier, unfortunately I don't know all the actions that make
> the engine refresh the network info from the hosts. IMHO it wouldn't be
> a bad idea to add something periodic or even a force refresh option in
> the context menu. However, I'm not an oVirt Engine guy, so I don't know
> all the intricacies that would play into that.
>
> If you want you can ping me on #ovirt and we can evaluate the particular
> situation to see if there is some workaround.
> >
> > Alex
> >
> >
> >
> >
> > On 6 March 2013 16:34, Antoni Segura Puimedon < asegurap at redhat.com >
> > wrote:
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > > From: "Alex Leonhardt" < alex.tuxx at gmail.com >
> > > To: "Antoni Segura Puimedon" < asegurap at redhat.com >
> > > Cc: "oVirt Mailing List" < users at ovirt.org >
> >
> > > Sent: Wednesday, March 6, 2013 5:16:36 PM
> > > Subject: Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node
> > >
> > >
> > >
> > > I've setup the same bond config on my test machine, and this is
> > > what
> > > I get :
> > >
> > >
> > > # vdsClient -s 0 addNetwork bridge=br2 bridged=true bond=bond0.113
> > > nics=eth0,eth1
> > > 'bond0.113' is not a valid bonding device name
> >
> > It should be:
> >
> > vdsClient -s 0 addNetwork bridge=br2 bridged=true bond=bond0 vlan=113
> > nics=eth0,eth1
> >
> >
> >
> > >
> > >
> > >
> > > Alex
> > >
> > >
> > >
> > >
> > >
> > > On 6 March 2013 13:05, Alex Leonhardt < alex.tuxx at gmail.com >
> > > wrote:
> > >
> > >
> > >
> > >
> > >
> > > Thanks Antoni,
> > >
> > > I'll try the above when it's a bit quieter (evening). Also, good to
> > > know that if you put the host in maint that it will pick the
> > > changes
> > > up :) ...
> > >
> > >
> > > IMO - the engine should poll the HVs at least once an hour / day to
> > > check if any hardware relevant to it has changed ... :)
> > >
> > >
> > >
> > > Thanks again, I'll update with the result(s) later today.
> > >
> > > Alex
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 6 March 2013 13:02, Antoni Segura Puimedon < asegurap at redhat.com
> > > >
> > > wrote:
> > >
> > >
> > > Forgot to cc users list.
> > >
> > >
> > >
> > > ----- Forwarded Message -----
> > > > From: "Antoni Segura Puimedon" < asegurap at redhat.com >
> > > > To: "Alex Leonhardt" < alex.tuxx at gmail.com >
> > > > Sent: Wednesday, March 6, 2013 2:00:54 PM
> > > > Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > > From: "Alex Leonhardt" < alex.tuxx at gmail.com >
> > > > > To: "Antoni Segura Puimedon" < asegurap at redhat.com >
> > > > > Cc: "oVirt Mailing List" < users at ovirt.org >
> > > > > Sent: Wednesday, March 6, 2013 1:52:36 PM
> > > > > Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
> > > > >
> > > > >
> > > > >
> > > > > Hmmm, nothing is coming up in the logs when i try and add it -
> > > > > I
> > > > > think ovirt-engine is not aware that the HV got a new interface
> > > > > added.
> > > > >
> > > > > Would restarting vdsm help ? If so, would that take down my VMs
> > > > > ?
> > > >
> > > > I guess you could migrate the VMs to another host and try that.
> > > > However,
> > > > if doing that is not an option (no other hosts, for example), I
> > > > guess
> > > > there
> > > > would be a workaround from host-side.
> > > >
> > > > It would be something like the following (on host):
> > > >
> > > > vdsClient -s 0 addNetwork bridge=br2 bond=bond0 vlan=113
> > > > bridged=true
> > > > nics=nic0,nic1
> > > >
> > > > substitute nic0 and nic1 for the actual nics that are on the
> > > > host.
> > > >
> > > > This will effectively do the setup you want on the host. As far
> > > > as
> > > > making the
> > > > engine realize it... I'm not aware of all the actions that
> > > > trigger
> > > > an
> > > > update. I know
> > > > that going to maintenance and back does it, but in this case I
> > > > guess
> > > > it is not an option.
> > > >
> > > > >
> > > > > Alex
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 6 March 2013 12:23, Antoni Segura Puimedon <
> > > > > asegurap at redhat.com
> > > > > >
> > > > > wrote:
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > > From: "Alex Leonhardt" < alex.tuxx at gmail.com >
> > > > > > To: "oVirt Mailing List" < users at ovirt.org >
> > > > > > Sent: Wednesday, March 6, 2013 12:42:06 PM
> > > > > > Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
> > > > > >
> > > > > >
> > > > > >
> > > > > > Sorry, the picture should actually say br2 :) ... have had to
> > > > > > edit
> > > > > > it
> > > > > > to protect the real name(s) ...
> > > > > >
> > > > > > Alex
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 6 March 2013 11:39, Alex Leonhardt < alex.tuxx at gmail.com >
> > > > > > wrote:
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > All,
> > > > > >
> > > > > > I've added manually a bond.<vlantag> to a Hyper-Visor, then
> > > > > > added
> > > > > > a
> > > > > > bridge and slaved bond.<vlantag> to it.
> > > > > >
> > > > > > I've upped the interfaces (no IPs), however ovirt-engine
> > > > > > still
> > > > > > wont
> > > > > > allow me to add the new bridged interface. I did this
> > > > > > yesterday,
> > > > > > so
> > > > > > I thought, maybe it's just a cache issue, however, it doesnt
> > > > > > seem
> > > > > > to
> > > > > > update the HVs network config periodically ?
> > > > >
> > > > > What does the engine say when you try to add it? The message
> > > > > could
> > > > > give
> > > > > us a good hint.
> > > > >
> > > > >
> > > > >
> > > > > >
> > > > > > What can I do to get this sorted ?? I dont want to have to
> > > > > > restart
> > > > > > the networking as VMs are running and needed.
> > > > > >
> > > > > > FWIW, the setup looks like this -
> > > > > >
> > > > > >
> > > > > > eth0
> > > > > > | ----- bond0.111 --- br1
> > > > > > | ----- bond0.112 --- ovirtmgmt
> > > > > >
> > > > > >
> > > > > > eth1
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > the change was :
> > > > > >
> > > > > > eth0
> > > > > > | ----- bond0.111 --- br1
> > > > > > | ----- bond0.112 --- ovirtmgmt
> > > > > > | ----- bond0.113 --- br2
> > > > > > eth1
> > > > > >
> > > > > >
> > > > > > I then added "br2" to the ovirt-engine config, however, I'm
> > > > > > not
> > > > > > able
> > > > > > to assign it to bond in the network config (web admin
> > > > > > interface)
> > > > > > for
> > > > > > the hyper visor / host.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Also see screenshot attached.
> > > > > >
> > > > > >
> > > > > > Thanks
> > > > > > Alex
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > >
> > > > > >
> > > > > > | RHCE | Senior Systems Engineer | www.vcore.co |
> > > > > > | www.vsearchcloud.com |
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > >
> > > > > >
> > > > > > | RHCE | Senior Systems Engineer | www.vcore.co |
> > > > > > | www.vsearchcloud.com |
> > > > > >
> > > > > > _______________________________________________
> > > > > > Users mailing list
> > > > > > Users at ovirt.org
> > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > >
> > > > > _______________________________________________
> > > > > Users mailing list
> > > > > Users at ovirt.org
> > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > >
> > > > >
> > > > > | RHCE | Senior Systems Engineer | www.vcore.co |
> > > > > | www.vsearchcloud.com |
> > > > >
> > > >
> > > _______________________________________________
> > > Users mailing list
> > > Users at ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > >
> > >
> > >
> > > --
> > >
> > >
> > >
> > > | RHCE | Senior Systems Engineer | www.vcore.co |
> > > | www.vsearchcloud.com |
> > >
> > >
> > >
> > > --
> > >
> > >
> > > | RHCE | Senior Systems Engineer | www.vcore.co |
> > > | www.vsearchcloud.com |
> > >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> >
> >
> > --
> >
> >
> > | RHCE | Senior Systems Engineer | www.vcore.co |
> > | www.vsearchcloud.com |
> >
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
--
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130307/7fc5199c/attachment-0001.html>
More information about the Users
mailing list