Devcloud 2 - veewee/Vagrant projects

2014-01-28 Thread chris snow
I would like to build the devcloud2 image [1] from scratch using veewee (or packer) and turn it into a vagrant box. There seems to be several versions of Vagrant files and veewee definitions in the code base, making it difficult to know which one to start from, or whether they are still valid. Ma

devcloud veewee install broken?

2014-01-28 Thread chris snow
Hi Devs, I've managed to figure out how to perform the veewee build for devcloud at [1] However, during the performing the 'build' command, ubuntu is looking for some user input (screenshot uploaded to pastepic [2]) Shall I raise this as an issue in JIRA? With a bit of time, I may be able to fi

Re: devcloud veewee install broken?

2014-01-28 Thread chris snow
.. sorry it's Debian not Ubuntu - time to call it a night :) On Wed, Jan 29, 2014 at 12:45 AM, chris snow wrote: > Hi Devs, > > I've managed to figure out how to perform the veewee build for devcloud at [1] > > However, during the performing the 'build' command

Re: Devcloud 2 - veewee/Vagrant projects

2014-01-29 Thread chris snow
we need to revamp this. > > veewee development and maintenance is going to stop. So we need to prep a > packer version > > So yes we should create a packer definition for devcloud3 :) and be able to > post-process it to vagrant. > > > >> Regards. >> >> O

Re: devcloud veewee install broken?

2014-01-29 Thread chris snow
agrant scripts. Patch welcome. > > Regards. > > On Wed, Jan 29, 2014 at 6:15 AM, chris snow wrote: >> Hi Devs, >> >> I've managed to figure out how to perform the veewee build for devcloud at >> [1] >> >> However, during the performing th

Re: Devcloud 2 - veewee/Vagrant projects

2014-01-29 Thread chris snow
nowch/cloudstack/commit/3c3b72dcc1a018635060753937963189690cf94e [2] https://github.com/snowch/cloudstack/tree/master/tools/appliance/packer On Wed, Jan 29, 2014 at 10:44 PM, Sebastien Goasguen wrote: > > On Jan 29, 2014, at 1:57 PM, chris snow wrote: > >> I have started thinking about s

Re: Devcloud 2 - veewee/Vagrant projects

2014-01-29 Thread chris snow
any thanks, Chris On Wed, Jan 29, 2014 at 11:55 PM, chris snow wrote: > Thanks for the info Sebastien. > > I have made a bit more progress with: > > - fixing up the existing debian 7 veewee build [1] > - converting the fixed debian 7 veewee build to packer [2] > > I'll

Re: Devcloud 2 - veewee/Vagrant projects

2014-01-31 Thread chris snow
, 2014 at 4:14 AM, Sebastien Goasguen wrote: >> >> On Jan 29, 2014, at 1:57 PM, chris snow wrote: >> >>> I have started thinking about some options: >>> >>> 1) use packer to convert the devcloud2 veewee definition as a starting >>> point >>

Re: Devcloud 2 - veewee/Vagrant projects

2014-02-01 Thread chris snow
Thanks for the feedback Sebastien, it's much appreciated. I'll investigate in more detail over the next few days... On Sat, Feb 1, 2014 at 9:06 PM, Sebastien Goasguen wrote: > > On Feb 1, 2014, at 4:03 PM, Sebastien Goasguen wrote: > >> >> On Jan 31, 2014,

Re: Devcloud 2 - veewee/Vagrant projects

2014-02-04 Thread chris snow
The xapi issue is fixed now. Next on the list: - The mysql root passwordless access is broken. - Add additional network card. On Sat, Feb 1, 2014 at 9:16 PM, chris snow wrote: > Thanks for the feedback Sebastien, it's much appreciated. > > I'll investigate in more detai

Re: Devcloud 2 - veewee/Vagrant projects

2014-02-05 Thread chris snow
it is up. I am however able to access it through vagrant ssh. Did the ip > change? > > Thanks, > ~Rajani > > > > On 05-Feb-2014, at 4:15 am, chris snow > mailto:chsnow...@gmail.com>> wrote: > > The xapi issue is fixed now. > > Next on the list: > > - The

Re: Devcloud 2 - veewee/Vagrant projects

2014-02-05 Thread chris snow
e: > oopss.. sorry.. didn't look at the issues list on github :) > > I will work on the mount issue. > > Thanks, > ~Rajani > > > > On 05-Feb-2014, at 3:16 pm, chris snow > mailto:chsnow...@gmail.com>> wrote: > > Hi Rajani, > > Many thanks for

Re: Source build failing in DevCloud

2014-02-07 Thread chris snow
Hi Suresh, If you struggle to make progress, you could take a look at https://github.com/snowch/devcloud I'm hoping that this environment will be a replacement for devcloud2. It also checks out 4.3 and builds it. Please report any bugs on the github issue tracker. Many thanks, Chris On Fri,

devcloud2 to completely automate a developer environment setup?

2014-02-08 Thread chris snow
While working on devcloud2, I've been thinking about whether devcloud2 could be taken a step further. It is possible to fully automate setup of a cloudstack development environment, consisting of: - debian with lightweight desktop (LXDE and RDP) - git clone of cloudstack - mvn build of latest sta

devcloud vagrant minimal environment - ready for testing

2014-02-13 Thread chris snow
The devcloud vagrant minimal box is ready for testing. The instructions are here: https://github.com/snowch/devcloud Can you please raise any issues on the github project site? I'll be working on the devcloud vagrant desktop box over the weekend and will report back when that environment is also

devcloud 2 to 3 - network configuration

2014-02-16 Thread chris snow
For the vagrant version of devcloud that I am working on (which may become devcloud 3?), I have had to switch the network cards in Virtualbox. Devcloud2 has eth0 - host only network eth1 - nat network However, Vagrant requires the first network card to be the NAT one, i.e. eth0 - nat network et

how to reset the database after "python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg"

2014-02-17 Thread chris snow
I'm following the instructions [1] to configure an environment using this command: python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg I want to run a few times while I am investigating the code, but on the second and subsequent runs, I hit errors like this: cloudstackException.cloudsta

Re: how to reset the database after "python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg"

2014-02-17 Thread chris snow
Excellent - thanks @sebgoa On Mon, Feb 17, 2014 at 6:07 PM, sebgoa wrote: > > On Feb 17, 2014, at 7:04 PM, chris snow wrote: > >> I'm following the instructions [1] to configure an environment using >> this command: >> >> python ../marvin/marvin/deployData

Re: devcloud 2 to 3 - network configuration

2014-02-20 Thread chris snow
. xen configuration) because devcloud's eth0 and eth1 need to be swapped for vagrant? On Sun, Feb 16, 2014 at 11:36 AM, chris snow wrote: > For the vagrant version of devcloud that I am working on (which may > become devcloud 3?), I have had to switch the network cards in > Virtualbox. > &g

devcloud - can't mount 192.168.56.10:/opt/storage/secondary/template/tmpl/1/1

2014-02-24 Thread chris snow
I've fixed one issue with the new devcloud environment that I'm working on, but I'm now running into another issue when running python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-5:ctx-c5ad1fa5) can't mount 192.168.56.10:/opt/storag

devcloud - new version (0.2) ready for testing

2014-02-24 Thread chris snow
There is a new version of devcloud (version 0.2) ready for testing. The main change in this version is an upgrade to debian 7.4 and fix for issue 14 [1] Instructions for running the vagrant box are here [2]. This release has an issue with nfs [3]. Suggestions welcome for fixing the issue. Plea

Re: devcloud - new version (0.2) ready for testing

2014-02-24 Thread chris snow
ng (5.0 MB/s > average for me) from github's cdn? > > Like this project does: > https://github.com/2creatives/vagrant-centos/releases > > > On 24 February 2014 17:21, chris snow wrote: > >> There is a new version of devcloud (version 0.2) ready for testing. >>

Re: devcloud - can't mount 192.168.56.10:/opt/storage/secondary/template/tmpl/1/1

2014-02-25 Thread chris snow
15.vhd └── template.properties 5 directories, 4 files Question 1) Am I correct in thinking that preseed'ing is a step I need to perform? Question 2) How do I preseed to create the /opt/storage/secondary structure as shown above? Many thanks, Chris On Mon, Feb 24, 2014 at 8

Re: devcloud - new version (0.2) ready for testing

2014-02-25 Thread chris snow
Hi Ian, I have updated the release page with github download links for the box. Many thanks, Chris On Tue, Feb 25, 2014 at 7:04 AM, chris snow wrote: > Hi Ian, > > Thanks for the link - I'm uploading to dropbox now (2 hours remaining). > > I'll also take a look

Re: devcloud - can't mount 192.168.56.10:/opt/storage/secondary/template/tmpl/1/1

2014-02-26 Thread chris snow
/html/Installation_Guide/management-server-install-flow.html#prepare-system-vm-template On Tue, Feb 25, 2014 at 11:36 PM, chris snow wrote: > I have re-checked Rohit's blog page and also checked the devcloud2 > box, and I have mistakenly thought that the line beginning with '$ > #p

InsufficientServerCapacityException running "deployDataCenter.py -i devcloud.cfg"

2014-02-26 Thread chris snow
I am running into the following error when I run "deployDataCenter.py -i devcloud.cfg". I get the same error when I run against Rohit's devcloud2 and my devcloud environments. I have tried stepping through the code in the eclipse debugger, but that hasn't helped my to identify the issue. I have

devcloud - new version (0.4) ready for testing

2014-02-26 Thread chris snow
There is a new version of devcloud (version 0.4) ready for testing. See here for more information: https://github.com/snowch/devcloud/releases/tag/v0.4 It would be great if this release could be tested and any defects raised on the github project. The ultimate goal is that this project will repl

Re: devcloud - new version (0.4) ready for testing

2014-02-27 Thread chris snow
btw - I've started cleaning up my devcloud github repo to get the code ready to be commited back into the Cloudstack Apache git repository. On Thu, Feb 27, 2014 at 4:00 AM, chris snow wrote: > There is a new version of devcloud (version 0.4) ready for testing. > > See here for mo

Re: devcloud - new version (0.4) ready for testing

2014-02-27 Thread chris snow
system vms just keep cycling throwing > InsufficientServerCapacity exceptions, not seeing any obvious reason for > them. > > Is there something I'm missing? > > > On 27 February 2014 08:19, chris snow wrote: > >> btw - I've started cleaning up my devcloud g

Re: devcloud - new version (0.4) ready for testing

2014-02-27 Thread chris snow
up system vms just keep cycling throwing > InsufficientServerCapacity exceptions, not seeing any obvious reason for > them. > > Is there something I'm missing? > > > On 27 February 2014 08:19, chris snow wrote: > >> btw - I've started cleaning up my devcloud

Re: devcloud - new version (0.4) ready for testing

2014-02-27 Thread chris snow
On Thu, Feb 27, 2014 at 3:16 PM, Ian Duffy wrote: > Hi Chris, > > Looking into it more it was because no primary storage was available. > > the devcloud.cfg enables localstorage but the global settings to use > localstorage for system vms is not enabled. > > I enabled localstorage for system vms a

Re: devcloud - new version (0.4) ready for testing

2014-02-27 Thread chris snow
I enabled localstorage for system vms and hit issues noted over at: >> http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201402.mbox/%3c8334166ab8f6e548a46205bd576b464f195fb...@sbpomb102.sbp.lan%3E >> >> Currently waiting on 4.3-forward to compile to test to see if the issue >> occurs on

Re: devcloud - new version (0.4) ready for testing

2014-02-27 Thread chris snow
>> Data Center Platforms - Cloud Solutions >> Citrix, Cisco & Red Hat >> >> On Feb 27, 2014, at 10:47 AM, chris snow wrote: >> >> > Hi Chris, >> > >> > Would you mind raising a defect on the github page? >> > >> > Ma

devcloud 0.4 - reboot problem due to /opt/cloud/bin/heartbeat file not existing

2014-03-01 Thread chris snow
devcloud 0.4 has a problem where it is rebooting when running the deployDataCenter.py script [1] The issue is due to the /opt/cloud/bin/heartbeat file is missing. I have seen some posts online that mention vhd-util may have not been setup, but both my local development machine and the devcloud ho

What is the status of cloudstack 'incubator' code in master?

2014-03-02 Thread chris snow
There seems to be some code in master from when cloudstack was incubating. What is the status of this code? Should it be updated or removed? The devcloud puppet scripts in particular have caused me some confusion around whether they are still being used. snowch@server1:~/cloudstack$ grep -r 'in

jenkins job for the developer build

2014-03-05 Thread chris snow
Is there a jenkins job for the developer's build, i.e. mvn clean install -P developer,systemvm? As a newbie cloudstack developer, when the build fails locally it's difficult to know whether the problem is because I am doing something wrong, or if the problem is due to a bad commit.

mvn install has a dependency on tests: "-Dmaven.test.skip=true" breaks the build

2014-03-06 Thread chris snow
I have been adding the flag "-Dmaven.test.skip=true" to my builds: mvn clean install -P developer,systemvm -Dmaven.test.skip=true However, I was getting the error: [ERROR] Failed to execute goal on project cloud-framework-cluster: Could not resolve dependencies for project org.apache.cloudsta

Re: mvn install has a dependency on tests: "-Dmaven.test.skip=true" breaks the build

2014-03-06 Thread chris snow
, 2014 at 8:59 AM, Wei ZHOU wrote: > mvn -P clean install developer,systemvm -DskipTests > > > 2014-03-06 9:54 GMT+01:00 chris snow : > >> I have been adding the flag "-Dmaven.test.skip=true" to my builds: >> >>mvn clean install -P developer,systemvm

Re: jenkins job for the developer build

2014-03-07 Thread chris snow
ctional cloud dev > environment without the developer profile. > > Cheers, > > Hugo > > Sent from my iPhone > >> On 6 mrt. 2014, at 06:01, chris snow wrote: >> >> Is there a jenkins job for the developer's build, i.e. mvn clean >> install -P de

AWS api when running mvn jetty

2014-03-18 Thread chris snow
Hi forum, Does the maven jetty goal "mvn -pl :cloud-client-ui jetty:run" also run the AWS api? I can't see anything running on port 7080 after starting jetty. Is it possible to run the AWS api from the maven jetty goal? How? Many thanks, Chris

RE: AWS api when running mvn jetty

2014-03-19 Thread chris snow
st'. > > Thanks, > Likitha > > >-Original Message- > >From: chris snow [mailto:chsnow...@gmail.com] > >Sent: Wednesday, March 19, 2014 11:42 AM > >To: dev@cloudstack.apache.org > >Subject: AWS api when running mvn jetty > > > >

Re: AWS api when running mvn jetty

2014-03-19 Thread chris snow
r 19, 2014 at 7:22 AM, chris snow wrote: > Hi Likitha, > > Is it possible to run both awsapi and client ui at the same time with jetty? > E.g. something like this: > > mvn -pl :cloud-client-ui -pl :cloud-awsapi jetty:run > > Many thanks, > > Chris > > On 19

how to detect when deployDataCenter.py has finished provisioning?

2014-03-29 Thread chris snow
I am using the following script to setup my development environment: python /home/vagrant/cloudstack/tools/marvin/marvin/deployDataCenter.py -i /home/vagrant/devcloud.cfg This script seems to run asynchronously; tasks get performed after the script has successfully returned. Is there a way that

Re: how to detect when deployDataCenter.py has finished provisioning?

2014-03-29 Thread chris snow
rds > > Alex Hitchins > > D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969 > > alex.hitch...@shapeblue.com > > -Original Message- > From: chris snow [mailto:chsnow...@gmail.com] > Sent: 29 March 2014 17:18 > To: dev@cloudstack.apache.org &g

Re: how to detect when deployDataCenter.py has finished provisioning?

2014-03-29 Thread chris snow
f > view? > > Santhosh > ____ > From: chris snow [chsnow...@gmail.com] > Sent: Saturday, March 29, 2014 2:06 PM > To: dev@cloudstack.apache.org > Subject: Re: how to detect when deployDataCenter.py has finished provisioning? > > Thanks looks prom

Re: how to detect when deployDataCenter.py has finished provisioning?

2014-03-30 Thread chris snow
ate and so list only when hypervisor is > available. > > So, as such deployDataCenter is adding a host and you are seeing the template > listed only when it was run to add a host. > > Thanks! > Santhosh > ____ > From: chris snow [chsnow

cloudstack debug level when running "mvn -pl :cloud-client-ui jetty:run"

2014-04-01 Thread chris snow
How can I increase the debug level when I am running: mvn -pl :cloud-client-ui jetty:run Currently log level seems to be set to INFO, and doesn't tell me much when things go wrong. Many thanks, Chris

VM_HVM_REQUIRED - installing from ISO's

2014-04-03 Thread chris snow
I'm trying to install from a Ubuntu 12.05 ISO [1] to Cloudstack 4.3 [2] running with a non HVM host running on a variant of devcloud. I've applied this fix [3]: INSERT INTO `cloud`.`configuration` (`category`, `instance`, `component`, `name`, `value`, `description`) VALUES ('Advanced', 'DEFAULT',

Re: VM_HVM_REQUIRED - installing from ISO's

2014-04-03 Thread chris snow
I've dumped the XAPI RPC commands on gist.github. The output is here: - VM.create, request : https://gist.github.com/snowch/9957504 - Async.VM.start_on, response : https://gist.github.com/snowch/9957480 The VM.create has some hvm_XXX options, should this be happening with xen.check.hvm set t

manually adding a vhd to secondary storage

2014-04-05 Thread chris snow
I've created a vhd using 'debootstrap' and 'xe vid-create / xe vdi-import'. Is there a way that I can manually add my vhd to secondary storage without using the admin UI? My secondary storage looks like this: /opt/storage/secondary/template/ └── tmpl ├── 1 │ ├── 1 │ │ ├── 774D7

InsufficientServerCapacityException

2014-04-06 Thread chris snow
I receive a lot of these errors while I'm learning cloudstack development! Does "InsufficientServerCapacityException" always mean there is there is insufficient capacity? It seems there are some cases when it is used as a generic catch all Exception?

Re: InsufficientServerCapacityException

2014-04-06 Thread chris snow
my iPhone > >> On 6 apr. 2014, at 09:44, chris snow wrote: >> >> I receive a lot of these errors while I'm learning cloudstack development! >> >> Does "InsufficientServerCapacityException" always mean there is there >> is insufficien

tiny Linux build scripts

2014-04-06 Thread chris snow
Where can I find the build scripts for the "tiny Linux" template? Is the 'builtin' appliance ( /tools/appliance/definitions/builtin) "tiny Linux"? Many thanks, Chris

Re: tiny Linux build scripts

2014-04-06 Thread chris snow
Ah, tiny Linux looks like it is downloaded by devcloud from http://people.apache.org/~bhaisaab/vms/ttylinux_pv.vhd If anyone has any scripts/instructions for building ttylinux - that would be appreciated! On Sun, Apr 6, 2014 at 7:30 PM, chris snow wrote: > Where can I find the build scri

Re: [XenServer 4.4] Template copy hangs sometimes

2014-04-06 Thread chris snow
With 4.3, I have experienced it a lot with ISOs where the status just stays at the initial status and CS doesn't attempt to download the file. I haven't tried 4.4. On 7 Apr 2014 06:56, "Mike Tutkowski" wrote: > Hi, > > Has anyone else noticed in 4.4 that copying a template to a storage > reposit

Re: [Proposal] Integrating Apache Stratos with Apache CloudStack.

2014-04-08 Thread chris snow
.mbox/browser On Tue, Apr 8, 2014 at 8:41 PM, Nguyen Anh Tu wrote: > Dear guys, > > It's not really a full proposal right now, I just wanna bump a thread to > discuss about working on integrating Stratos to CloudStack. Chris Snow and > I are working on the design process. Keep upda

Re: tiny Linux build scripts

2014-04-09 Thread chris snow
e this helps. > > > On Wed, Apr 9, 2014 at 2:44 AM, Sebastien Goasguen wrote: > >> Chris, let me cc Rohit. >> >> On Apr 6, 2014, at 2:48 PM, chris snow wrote: >> >> > Ah, tiny Linux looks like it is downloaded by devcloud from >> > http://people.ap