You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Marcus Sorensen <sh...@gmail.com> on 2013/02/06 17:22:25 UTC
Re: devcloud-kvm
FYI, devcloud-kvm now works on Mac. It requires VMware fusion though,
since it allows paravirtualization inside the VM (nested). I added it
to the documentation, and am having someone test the instructions just
to make sure others can import the VM without issue.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm
On Fri, Jan 11, 2013 at 1:08 PM, Rohit Yadav <ro...@citrix.com> wrote:
> 431, there was bug on ApiServer that I fixed yesterday, make sure you work on the latest code if you're on master.
> Regards.
> ________________________________________
> From: Marcus Sorensen [shadowsor@gmail.com]
> Sent: Friday, January 11, 2013 8:37 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: Re: devcloud-kvm
>
> When I manually configure the advanced zone in my kvm devcloud the Vlan
> isolation works fine. It just creates a new bridge for each Vlan, and any
> VM started goes on the applicable bridge. Since its all on the same server
> they can communicate just fine without any real tagged Vlan infrastructure
> beyond the host.
>
> The 431 seemed to be an auth issue, I'll play with it further today. It may
> have had to do with needing to tweak devcloud.sql as well. When I added a
> second physical network though it seemed to fail in parsing the config, so
> I know I have that syntax wrong, that's why I fell back to using the
> advanced sandbox config.
> On Jan 11, 2013 7:28 AM, "Prasanna Santhanam" <ts...@apache.org> wrote:
>
>> On Thu, Jan 10, 2013 at 01:53:30PM -0500, Marcus Sorensen wrote:
>> > Guys,
>> > I'm writing up basic instructions on how to run a devcloud-kvm virtual
>> > machine, for KVM development. The setup is complete, but I've run into a
>> > few things as far as configuration that I'd like some help on.
>> >
>> > 1) running services. In the past I've just built rpms and installed them
>> in
>> > the devcloud-kvm. Not only does this not work on master right now, but it
>> > takes an extra 60 seconds. With devcloud we run "mvn -P
>> developer,systemvm
>> > clean install && mvn -pl :cloud-client-ui jetty:run", I'm assuming I'll
>> > have to start the agent as well... or I guess my question is how that's
>> > handled when a normal zone creation expects the agent to be installed on
>> > the KVM host.
>> >
>> > 2) how to go about configuration. I'd like to have a marvin config that
>> > does two physical networks and an advanced zone, but I wasn't able to get
>> > anything but a 431 error when trying anything custom with a marvin cfg
>> file
>> > (both in the standard devcloud and here). I played with the sandbox
>> example
>> > at
>> >
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Testing+with+Pythonas
>> > well as trying to create my own cfg file, and both resulted in 431 when
>> > connecting to the management server for configuration.
>>
>> Marcus, This is exciting! I didn't find details yet in the wiki on how
>> you are doing the VLAN isolation. I was looking to do something
>> similar for devcloud using ovs-vsctl. But I guess you're doing
>> something different in devcloud-kvm?
>>
>> As for the marvin failure - could you share the json configuration
>> that you made? The two physical network setup isn't really present in
>> the sandbox, so first guess is it might have gone wrong.
>>
>> --
>> Prasanna.,
>>
Re: devcloud-kvm
Posted by Marcus Sorensen <sh...@gmail.com>.
It may require some tweaking if you're using fusion for other things.
I need to iron out the best network layout, for now I just set it up
as a dual NAT because that's how the devcloud-kvm image for linux is
configured. If you're using something that likes having vmnet1 a
host-only, and dhcp on for both vmnet1 and vmnet8, it may cause you
problems. The packaged INSTALL-HOWTO.txt will walk you through that
though.
Ideally we can come up with something that requires only minimal
tweaks that other VMs you may use can live with, but that devcloud-kvm
can work with in both Mac/fusion and Linux/KVM.
On Wed, Feb 6, 2013 at 1:37 PM, Joe Brockmeier <jz...@zonker.net> wrote:
> On Wed, Feb 6, 2013, at 10:22 AM, Marcus Sorensen wrote:
>> FYI, devcloud-kvm now works on Mac. It requires VMware fusion though,
>> since it allows paravirtualization inside the VM (nested). I added it
>> to the documentation, and am having someone test the instructions just
>> to make sure others can import the VM without issue.
>>
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm
>
> Fantastic, thanks!
>
> I'm using Fusion, so I'll also give this a test when I get home.
>
> Best,
>
> jzb
> --
> Joe Brockmeier
> jzb@zonker.net
> Twitter: @jzb
> http://www.dissociatedpress.net/
Re: devcloud-kvm
Posted by Joe Brockmeier <jz...@zonker.net>.
On Wed, Feb 6, 2013, at 10:22 AM, Marcus Sorensen wrote:
> FYI, devcloud-kvm now works on Mac. It requires VMware fusion though,
> since it allows paravirtualization inside the VM (nested). I added it
> to the documentation, and am having someone test the instructions just
> to make sure others can import the VM without issue.
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm
Fantastic, thanks!
I'm using Fusion, so I'll also give this a test when I get home.
Best,
jzb
--
Joe Brockmeier
jzb@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/
Re: devcloud-kvm
Posted by Rohit Yadav <bh...@apache.org>.
On Wed, Feb 6, 2013 at 10:07 PM, Rohit Yadav <bh...@apache.org> wrote:
> On Wed, Feb 6, 2013 at 9:52 PM, Marcus Sorensen <sh...@gmail.com> wrote:
>> FYI, devcloud-kvm now works on Mac. It requires VMware fusion though,
>> since it allows paravirtualization inside the VM (nested). I added it
>> to the documentation, and am having someone test the instructions just
>> to make sure others can import the VM without issue.
>>
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm
>
> w00t! Awesome Marcus! I'm gonna try this, but can you share/upload
> your image (so folks may skip the step of building it themselves)
> maybe on p.a.o/~nick?
Oops, just got the image from wiki;
http://marcus.mlsorensen.com/cloudstack-extras/devcloud-kvm-fusion.tar.gz
Thanks!
>
> Regards.
>
>>
>> On Fri, Jan 11, 2013 at 1:08 PM, Rohit Yadav <ro...@citrix.com> wrote:
>>> 431, there was bug on ApiServer that I fixed yesterday, make sure you work on the latest code if you're on master.
>>> Regards.
>>> ________________________________________
>>> From: Marcus Sorensen [shadowsor@gmail.com]
>>> Sent: Friday, January 11, 2013 8:37 PM
>>> To: cloudstack-dev@incubator.apache.org
>>> Subject: Re: devcloud-kvm
>>>
>>> When I manually configure the advanced zone in my kvm devcloud the Vlan
>>> isolation works fine. It just creates a new bridge for each Vlan, and any
>>> VM started goes on the applicable bridge. Since its all on the same server
>>> they can communicate just fine without any real tagged Vlan infrastructure
>>> beyond the host.
>>>
>>> The 431 seemed to be an auth issue, I'll play with it further today. It may
>>> have had to do with needing to tweak devcloud.sql as well. When I added a
>>> second physical network though it seemed to fail in parsing the config, so
>>> I know I have that syntax wrong, that's why I fell back to using the
>>> advanced sandbox config.
>>> On Jan 11, 2013 7:28 AM, "Prasanna Santhanam" <ts...@apache.org> wrote:
>>>
>>>> On Thu, Jan 10, 2013 at 01:53:30PM -0500, Marcus Sorensen wrote:
>>>> > Guys,
>>>> > I'm writing up basic instructions on how to run a devcloud-kvm virtual
>>>> > machine, for KVM development. The setup is complete, but I've run into a
>>>> > few things as far as configuration that I'd like some help on.
>>>> >
>>>> > 1) running services. In the past I've just built rpms and installed them
>>>> in
>>>> > the devcloud-kvm. Not only does this not work on master right now, but it
>>>> > takes an extra 60 seconds. With devcloud we run "mvn -P
>>>> developer,systemvm
>>>> > clean install && mvn -pl :cloud-client-ui jetty:run", I'm assuming I'll
>>>> > have to start the agent as well... or I guess my question is how that's
>>>> > handled when a normal zone creation expects the agent to be installed on
>>>> > the KVM host.
>>>> >
>>>> > 2) how to go about configuration. I'd like to have a marvin config that
>>>> > does two physical networks and an advanced zone, but I wasn't able to get
>>>> > anything but a 431 error when trying anything custom with a marvin cfg
>>>> file
>>>> > (both in the standard devcloud and here). I played with the sandbox
>>>> example
>>>> > at
>>>> >
>>>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Testing+with+Pythonas
>>>> > well as trying to create my own cfg file, and both resulted in 431 when
>>>> > connecting to the management server for configuration.
>>>>
>>>> Marcus, This is exciting! I didn't find details yet in the wiki on how
>>>> you are doing the VLAN isolation. I was looking to do something
>>>> similar for devcloud using ovs-vsctl. But I guess you're doing
>>>> something different in devcloud-kvm?
>>>>
>>>> As for the marvin failure - could you share the json configuration
>>>> that you made? The two physical network setup isn't really present in
>>>> the sandbox, so first guess is it might have gone wrong.
>>>>
>>>> --
>>>> Prasanna.,
>>>>
Re: devcloud-kvm
Posted by Rohit Yadav <bh...@apache.org>.
On Wed, Feb 6, 2013 at 9:52 PM, Marcus Sorensen <sh...@gmail.com> wrote:
> FYI, devcloud-kvm now works on Mac. It requires VMware fusion though,
> since it allows paravirtualization inside the VM (nested). I added it
> to the documentation, and am having someone test the instructions just
> to make sure others can import the VM without issue.
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm
w00t! Awesome Marcus! I'm gonna try this, but can you share/upload
your image (so folks may skip the step of building it themselves)
maybe on p.a.o/~nick?
Regards.
>
> On Fri, Jan 11, 2013 at 1:08 PM, Rohit Yadav <ro...@citrix.com> wrote:
>> 431, there was bug on ApiServer that I fixed yesterday, make sure you work on the latest code if you're on master.
>> Regards.
>> ________________________________________
>> From: Marcus Sorensen [shadowsor@gmail.com]
>> Sent: Friday, January 11, 2013 8:37 PM
>> To: cloudstack-dev@incubator.apache.org
>> Subject: Re: devcloud-kvm
>>
>> When I manually configure the advanced zone in my kvm devcloud the Vlan
>> isolation works fine. It just creates a new bridge for each Vlan, and any
>> VM started goes on the applicable bridge. Since its all on the same server
>> they can communicate just fine without any real tagged Vlan infrastructure
>> beyond the host.
>>
>> The 431 seemed to be an auth issue, I'll play with it further today. It may
>> have had to do with needing to tweak devcloud.sql as well. When I added a
>> second physical network though it seemed to fail in parsing the config, so
>> I know I have that syntax wrong, that's why I fell back to using the
>> advanced sandbox config.
>> On Jan 11, 2013 7:28 AM, "Prasanna Santhanam" <ts...@apache.org> wrote:
>>
>>> On Thu, Jan 10, 2013 at 01:53:30PM -0500, Marcus Sorensen wrote:
>>> > Guys,
>>> > I'm writing up basic instructions on how to run a devcloud-kvm virtual
>>> > machine, for KVM development. The setup is complete, but I've run into a
>>> > few things as far as configuration that I'd like some help on.
>>> >
>>> > 1) running services. In the past I've just built rpms and installed them
>>> in
>>> > the devcloud-kvm. Not only does this not work on master right now, but it
>>> > takes an extra 60 seconds. With devcloud we run "mvn -P
>>> developer,systemvm
>>> > clean install && mvn -pl :cloud-client-ui jetty:run", I'm assuming I'll
>>> > have to start the agent as well... or I guess my question is how that's
>>> > handled when a normal zone creation expects the agent to be installed on
>>> > the KVM host.
>>> >
>>> > 2) how to go about configuration. I'd like to have a marvin config that
>>> > does two physical networks and an advanced zone, but I wasn't able to get
>>> > anything but a 431 error when trying anything custom with a marvin cfg
>>> file
>>> > (both in the standard devcloud and here). I played with the sandbox
>>> example
>>> > at
>>> >
>>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Testing+with+Pythonas
>>> > well as trying to create my own cfg file, and both resulted in 431 when
>>> > connecting to the management server for configuration.
>>>
>>> Marcus, This is exciting! I didn't find details yet in the wiki on how
>>> you are doing the VLAN isolation. I was looking to do something
>>> similar for devcloud using ovs-vsctl. But I guess you're doing
>>> something different in devcloud-kvm?
>>>
>>> As for the marvin failure - could you share the json configuration
>>> that you made? The two physical network setup isn't really present in
>>> the sandbox, so first guess is it might have gone wrong.
>>>
>>> --
>>> Prasanna.,
>>>