You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Abhinandan Prateek <Ab...@citrix.com> on 2014/01/14 13:49:57 UTC

building devcloud

Hi,
  I am trying to build the devcloud on my Mac laptop. I am getting errors when run "boxer.sh –b all” on this line:

+ vagrant basebox define devcloudbase ubuntu-12.04.1-server-i386

I looked at the wiki here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+DevCloud

Looks like this is outdated. Is anyone able to build the devcloud using the scripts in git (Wei?). If yes then I can spend some time troubleshooting my setup.
If possible also update on versions of various utilities used like ruby, dvm etc.

Also, is there a link to download the latest devcloud from jenkins ?

-abhi





Re: building devcloud

Posted by Abhinandan Prateek <Ab...@citrix.com>.
On 14/01/14 9:12 pm, "sebgoa" <ru...@gmail.com> wrote:

>
>On Jan 14, 2014, at 2:01 PM, Rohit Yadav <bh...@apache.org> wrote:
>
>> Hi Abhi,
>> 
>> The code to automate devcloud building never had worked for me which
>> is why the last one I had published by created by hand [1]. At the
>> time last year there was some issue with Ubuntu, so Debian instead was
>> used. I can help create new version of DevCloud based on the same [1].
>> I guess before building devcloud using vagrant you need to build a
>> basebox based on the distro (ubuntu in this case) and then use that to
>> create xenbox (looking at the code), checkout boxer.sh as well.
>> 
>> I hope if we can use packer [2] which is a newer/better/faster way to
>> build appliances, I think if you have a running VM one should be able
>> to deploy on it using puppet configs in the dir (assuming the puppet
>> stuff is fixed and works). Earlier I had created a skeletal automation
>> infra based on (masterless) puppet and fabric which sets up a server
>> for some config and does not assume if that is a VM or baremetal but
>> that you've root/admin level access, I think this could be useful for
>> anyone who wants to setup infra in this way [3].
>> 
>> [1] http://bhaisaab.org/logs/devcloud
>> [2] http://www.packer.io
>> [3] https://github.com/baagi/devops
>
>it's somewhat related: I have been working on 'simstack':
>https://github.com/runseb/simstack
>
>I am trying to run cloudstack with the simulator in a single box.
>I am using it also to learn chef/puppet/salt Šand provide recipes to
>install cloudstack in all three confg mgt system.
>
>kinda works..

I was able to provision cloudstack on a cents box using simstack. Once the
VM was running I had to ssh into it to run the bootstrap_centos.sh.
The management server came up gracefully.

-abhi
>


Re: building devcloud

Posted by sebgoa <ru...@gmail.com>.
On Jan 14, 2014, at 2:01 PM, Rohit Yadav <bh...@apache.org> wrote:

> Hi Abhi,
> 
> The code to automate devcloud building never had worked for me which
> is why the last one I had published by created by hand [1]. At the
> time last year there was some issue with Ubuntu, so Debian instead was
> used. I can help create new version of DevCloud based on the same [1].
> I guess before building devcloud using vagrant you need to build a
> basebox based on the distro (ubuntu in this case) and then use that to
> create xenbox (looking at the code), checkout boxer.sh as well.
> 
> I hope if we can use packer [2] which is a newer/better/faster way to
> build appliances, I think if you have a running VM one should be able
> to deploy on it using puppet configs in the dir (assuming the puppet
> stuff is fixed and works). Earlier I had created a skeletal automation
> infra based on (masterless) puppet and fabric which sets up a server
> for some config and does not assume if that is a VM or baremetal but
> that you've root/admin level access, I think this could be useful for
> anyone who wants to setup infra in this way [3].
> 
> [1] http://bhaisaab.org/logs/devcloud
> [2] http://www.packer.io
> [3] https://github.com/baagi/devops

it's somewhat related: I have been working on 'simstack':
https://github.com/runseb/simstack

I am trying to run cloudstack with the simulator in a single box.
I am using it also to learn chef/puppet/salt …and provide recipes to install cloudstack in all three confg mgt system.

kinda works..

-sebastien

> 
> Regards.
> 
> On Tue, Jan 14, 2014 at 6:19 PM, Abhinandan Prateek
> <Ab...@citrix.com> wrote:
>> Hi,
>>  I am trying to build the devcloud on my Mac laptop. I am getting errors when run "boxer.sh –b all” on this line:
>> 
>> + vagrant basebox define devcloudbase ubuntu-12.04.1-server-i386
>> 
>> I looked at the wiki here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+DevCloud
>> 
>> Looks like this is outdated. Is anyone able to build the devcloud using the scripts in git (Wei?). If yes then I can spend some time troubleshooting my setup.
>> If possible also update on versions of various utilities used like ruby, dvm etc.
>> 
>> Also, is there a link to download the latest devcloud from jenkins ?
>> 
>> -abhi
>> 
>> 
>> 
>> 


Re: building devcloud

Posted by Abhinandan Prateek <Ab...@citrix.com>.

On 14/01/14 6:31 pm, "Rohit Yadav" <bh...@apache.org> wrote:

>Hi Abhi,
>
>The code to automate devcloud building never had worked for me which
>is why the last one I had published by created by hand [1]. At the
>time last year there was some issue with Ubuntu, so Debian instead was
>used. I can help create new version of DevCloud based on the same [1].
>I guess before building devcloud using vagrant you need to build a
>basebox based on the distro (ubuntu in this case) and then use that to
>create xenbox (looking at the code), checkout boxer.sh as well.
>
>I hope if we can use packer [2] which is a newer/better/faster way to
>build appliances, I think if you have a running VM one should be able
>to deploy on it using puppet configs in the dir (assuming the puppet
>stuff is fixed and works). Earlier I had created a skeletal automation
>infra based on (masterless) puppet and fabric which sets up a server
>for some config and does not assume if that is a VM or baremetal but
>that you've root/admin level access, I think this could be useful for
>anyone who wants to setup infra in this way [3].
>
>[1] http://bhaisaab.org/logs/devcloud
>[2] http://www.packer.io
>[3] https://github.com/baagi/devops
>
>Regards.

Thanks Rohit, I just played with simstack as it was easy to build and run.
Next I am planning to play with the script for devcloud. I have gone thru
the elaborate documentation that you have put up.
Will keep you posted.

-abhi

>


Re: building devcloud

Posted by Rohit Yadav <bh...@apache.org>.
Hi Abhi,

The code to automate devcloud building never had worked for me which
is why the last one I had published by created by hand [1]. At the
time last year there was some issue with Ubuntu, so Debian instead was
used. I can help create new version of DevCloud based on the same [1].
I guess before building devcloud using vagrant you need to build a
basebox based on the distro (ubuntu in this case) and then use that to
create xenbox (looking at the code), checkout boxer.sh as well.

I hope if we can use packer [2] which is a newer/better/faster way to
build appliances, I think if you have a running VM one should be able
to deploy on it using puppet configs in the dir (assuming the puppet
stuff is fixed and works). Earlier I had created a skeletal automation
infra based on (masterless) puppet and fabric which sets up a server
for some config and does not assume if that is a VM or baremetal but
that you've root/admin level access, I think this could be useful for
anyone who wants to setup infra in this way [3].

[1] http://bhaisaab.org/logs/devcloud
[2] http://www.packer.io
[3] https://github.com/baagi/devops

Regards.

On Tue, Jan 14, 2014 at 6:19 PM, Abhinandan Prateek
<Ab...@citrix.com> wrote:
> Hi,
>   I am trying to build the devcloud on my Mac laptop. I am getting errors when run "boxer.sh –b all” on this line:
>
> + vagrant basebox define devcloudbase ubuntu-12.04.1-server-i386
>
> I looked at the wiki here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+DevCloud
>
> Looks like this is outdated. Is anyone able to build the devcloud using the scripts in git (Wei?). If yes then I can spend some time troubleshooting my setup.
> If possible also update on versions of various utilities used like ruby, dvm etc.
>
> Also, is there a link to download the latest devcloud from jenkins ?
>
> -abhi
>
>
>
>