Re: VPC for KVM (was VM router spawning multiple public nics)

2012-09-04 Thread Marcus Sorensen
Yang; >> Vijayendra Bhamidipati >> Subject: Re: VPC for KVM (was VM router spawning multiple public nics) >> >> Ok, I've gotten to most of the list and things seem to be working. >> Nics plug, Gateway IPs add, networks create, SNATs working, ACLs >> working. Th

RE: VPC for KVM (was VM router spawning multiple public nics)

2012-08-31 Thread Edison Su
wrote: > > > > > >> -Original Message- > >> From: Marcus Sorensen [mailto:shadow...@gmail.com] > >> Sent: Thursday, August 30, 2012 10:21 PM > >> To: Edison Su > >> Cc: cloudstack-dev@incubator.apache.org; Anthony Xu; Kelven Yang; >

Re: VPC for KVM (was VM router spawning multiple public nics)

2012-08-31 Thread Marcus Sorensen
gt; need to get nic infor from libvirt, and plug in vif if needed. For >> these commands, need to be implemented in libvirtcomputingresource. >> While if it needs to access/program router, then add put that code in >> virtualroutingresource. >> >> >> >> Doe

RE: VPC for KVM (was VM router spawning multiple public nics)

2012-08-31 Thread Edison Su
t needs to access/program router, then add put that code in > virtualroutingresource. > >> > >> Does it make sense? > >> > >>> -Original Message- > >>> From: Marcus Sorensen [mailto:shadow...@gmail.com] > >>> Sent: Thursday,

RE: VPC for KVM (was VM router spawning multiple public nics)

2012-08-31 Thread Edison Su
> Subject: Re: VPC for KVM (was VM router spawning multiple public nics) > > I'm running into several little problems, like the vpc_guestnw.sh > having an invalid logger_it function (changed to logger -t cloud), and > apache being setup to listen on a non-existent 10.1.1.1:80 and

Re: VPC for KVM (was VM router spawning multiple public nics)

2012-08-31 Thread Marcus Sorensen
eds to >>> access/program router, then add put that code in virtualroutingresource. >>> >>> Does it make sense? >>> >>>> -Original Message- >>>> From: Marcus Sorensen [mailto:shadow...@gmail.com] >>>> Sent: Thursday, Augus

Re: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Marcus Sorensen
Thursday, August 30, 2012 10:47 AM >>> To: Edison Su >>> Cc: cloudstack-dev@incubator.apache.org; Anthony Xu; Kelven Yang; >>> Vijayendra Bhamidipati >>> Subject: Re: VPC for KVM (was VM router spawning multiple public nics) >>> >>> Ok, I think I g

Re: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Marcus Sorensen
y Xu; Kelven Yang; >> Vijayendra Bhamidipati >> Subject: Re: VPC for KVM (was VM router spawning multiple public nics) >> >> Ok, I think I get it. For example when I'm looking at IpAssocCommand >> it calls _virtRouterResource.assignPublicIpAddress to actually run th

RE: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Edison Su
ilto:shadow...@gmail.com] > Sent: Thursday, August 30, 2012 10:47 AM > To: Edison Su > Cc: cloudstack-dev@incubator.apache.org; Anthony Xu; Kelven Yang; > Vijayendra Bhamidipati > Subject: Re: VPC for KVM (was VM router spawning multiple public nics) > > Ok, I think I get it.

Re: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Marcus Sorensen
tor.apache.org; Anthony Xu; Kelven Yang; >> Vijayendra Bhamidipati >> Subject: Re: VPC for KVM (was VM router spawning multiple public nics) >> >> Just want to clarify: >> >> "We can add implementation of >> SetupGuestNetworkCommand/SetNetworkACLC

Re: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Marcus Sorensen
>>> Cc: cloudstack-dev@incubator.apache.org; Anthony Xu; Kelven Yang; >>> Vijayendra Bhamidipati >>> Subject: VPC for KVM (was VM router spawning multiple public nics) >>> >>> I notice there's also an 'IpAssocVpcCommand', I'm assuming

RE: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Edison Su
nal Message- > From: Marcus Sorensen [mailto:shadow...@gmail.com] > Sent: Thursday, August 30, 2012 10:32 AM > To: Edison Su > Cc: cloudstack-dev@incubator.apache.org; Anthony Xu; Kelven Yang; > Vijayendra Bhamidipati > Subject: Re: VPC for KVM (was VM router spawning multiple

Re: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Marcus Sorensen
-- >> From: Marcus Sorensen [mailto:shadow...@gmail.com] >> Sent: Thursday, August 30, 2012 8:45 AM >> To: Edison Su >> Cc: cloudstack-dev@incubator.apache.org; Anthony Xu; Kelven Yang; >> Vijayendra Bhamidipati >> Subject: VPC for KVM (was VM router spawning multiple publi

RE: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Edison Su
dow...@gmail.com] > >> Sent: Wednesday, August 29, 2012 4:34 PM > >> To: cloudstack-dev@incubator.apache.org > >> Cc: Edison Su; Anthony Xu; Kelven Yang; Vijayendra Bhamidipati > >> Subject: Re: VM router spawning multiple public nics > >> > >> Great,

VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Marcus Sorensen
nd/SetSourceNatCommand/Site2SiteVpnCfgCommand > in VirtualRoutingResource. > > >> -Original Message- >> From: Marcus Sorensen [mailto:shadow...@gmail.com] >> Sent: Wednesday, August 29, 2012 4:34 PM >> To: cloudstack-dev@incubator.apache.org >> Cc: E

RE: VM router spawning multiple public nics

2012-08-29 Thread Edison Su
che.org > Cc: Edison Su; Anthony Xu; Kelven Yang; Vijayendra Bhamidipati > Subject: Re: VM router spawning multiple public nics > > Great, thanks. I've already got a working implementation of > adding/removing nics from regular instances that I've been playing > with, so I

Re: VM router spawning multiple public nics

2012-08-29 Thread Marcus Sorensen
could point me in the >>> right direction and be available to answer questions. >>> >>> On Wed, Aug 29, 2012 at 10:39 AM, Edison Su >>> wrote: >>> > Yah, KVM doesn't support VPC yet. Will you help to add VPC support on >>> KVM?:) Just implement

Re: VM router spawning multiple public nics

2012-08-29 Thread Alena Prokharchyk
ge- >> From: Marcus Sorensen [mailto:shadow...@gmail.com] >> Sent: Wednesday, August 29, 2012 10:16 AM >> To: cloudstack-dev@incubator.apache.org >> Subject: Re: VM router spawning multiple public nics >> >> I'd be willing to give it a shot if someone coul

RE: VM router spawning multiple public nics

2012-08-29 Thread Edison Su
: cloudstack-dev@incubator.apache.org > Subject: Re: VM router spawning multiple public nics > > I'd be willing to give it a shot if someone could point me in the > right direction and be available to answer questions. > > On Wed, Aug 29, 2012 at 10:39 AM, Edison Su > w

Re: VM router spawning multiple public nics

2012-08-29 Thread Marcus Sorensen
related commands... > >> -Original Message- >> From: Marcus Sorensen [mailto:shadow...@gmail.com] >> Sent: Wednesday, August 29, 2012 6:49 AM >> To: cloudstack-dev@incubator.apache.org >> Subject: Re: VM router spawning multiple public nics >> >&g

RE: VM router spawning multiple public nics

2012-08-29 Thread Edison Su
ubator.apache.org > Subject: Re: VM router spawning multiple public nics > > I can confirm that the patch has fixed my particular issue. > > This is likely unrelated and I think it doesn't even use the same > code, but I began to play with the VPC stuff a bit and noticed that I &g

Re: VM router spawning multiple public nics

2012-08-29 Thread Marcus Sorensen
:shadow...@gmail.com] >> Sent: Tuesday, August 28, 2012 2:00 PM >> To: cloudstack-dev@incubator.apache.org >> Subject: Re: VM router spawning multiple public nics >> >> I thought about this solution myself, but below this portion of code >> it looks like it us

RE: VM router spawning multiple public nics

2012-08-28 Thread Edison Su
> -Original Message- > From: Marcus Sorensen [mailto:shadow...@gmail.com] > Sent: Tuesday, August 28, 2012 2:00 PM > To: cloudstack-dev@incubator.apache.org > Subject: Re: VM router spawning multiple public nics > > I thought about this solution myself, but below

Re: VM router spawning multiple public nics

2012-08-28 Thread Marcus Sorensen
Tuesday, August 28, 2012 1:40 PM >> To: cloudstack-dev@incubator.apache.org >> Subject: Re: VM router spawning multiple public nics >> >> Yes, that looks like it would work for me, however that's not >> something that would ever make it into master, right? Essentially &g

RE: VM router spawning multiple public nics

2012-08-28 Thread Edison Su
> -Original Message- > From: Marcus Sorensen [mailto:shadow...@gmail.com] > Sent: Tuesday, August 28, 2012 1:40 PM > To: cloudstack-dev@incubator.apache.org > Subject: Re: VM router spawning multiple public nics > > Yes, that looks like it would work for m

Re: VM router spawning multiple public nics

2012-08-28 Thread Marcus Sorensen
012 12:23 PM >> To: cloudstack-dev@incubator.apache.org >> Subject: Re: VM router spawning multiple public nics >> >> Thanks for pointing me in the right direction. I've reviewed this code >> in a bit more detail, and it seems like it's accomplishing the &g

RE: VM router spawning multiple public nics

2012-08-28 Thread Edison Su
> -Original Message- > From: Marcus Sorensen [mailto:shadow...@gmail.com] > Sent: Tuesday, August 28, 2012 12:23 PM > To: cloudstack-dev@incubator.apache.org > Subject: Re: VM router spawning multiple public nics > > Thanks for pointing me in the right direction. I&

Re: VM router spawning multiple public nics

2012-08-28 Thread Marcus Sorensen
vlanAllocatedToVM.put(Vlan.UNTAGGED, nicPos); > } > > > > On Mon, Aug 27, 2012 at 6:42 PM, Edison Su wrote: >> Possible bug in in kvm code: >> LibvirtComputingResource->execute(IpAssocCommand cmd)-> VifHotPlug, which is >> only place adding

Re: VM router spawning multiple public nics

2012-08-27 Thread Marcus Sorensen
o router vm. > Turn on agent log, then take a look what happened. > >> -Original Message- >> From: Marcus Sorensen [mailto:shadow...@gmail.com] >> Sent: Monday, August 27, 2012 5:10 PM >> To: cloudstack-dev@incubator.apache.org >> Subject: VM router spawning

RE: VM router spawning multiple public nics

2012-08-27 Thread Edison Su
t; Sent: Monday, August 27, 2012 5:10 PM > To: cloudstack-dev@incubator.apache.org > Subject: VM router spawning multiple public nics > > I've got two zones running the same build of cloudstack (a recent copy > of master). One of them creates routers that turn into ugly > multi-

VM router spawning multiple public nics

2012-08-27 Thread Marcus Sorensen
I've got two zones running the same build of cloudstack (a recent copy of master). One of them creates routers that turn into ugly multi-headed beasts, and by that I mean that any time I create a port forwarding or iptables rule for that router I get a new public NIC with an identical IP address, I