Re: tiny Linux build scripts

2014-04-09 Thread chris snow
this helps. On Wed, Apr 9, 2014 at 2:44 AM, Sebastien Goasguen run...@gmail.com wrote: Chris, let me cc Rohit. On Apr 6, 2014, at 2:48 PM, chris snow chsnow...@gmail.com wrote: Ah, tiny Linux looks like it is downloaded by devcloud from http://people.apache.org/~bhaisaab/vms/ttylinux_pv.vhd

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

2014-04-08 Thread chris snow
/browser On Tue, Apr 8, 2014 at 8:41 PM, Nguyen Anh Tu t...@apache.org 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 update soon

Re: [XenServer 4.4] Template copy hangs sometimes

2014-04-07 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 mike.tutkow...@solidfire.com wrote: Hi, Has anyone else noticed in 4.4 that copying a

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
, at 09:44, chris snow chsnow...@gmail.com wrote: 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

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 chsnow...@gmail.com wrote: Where can I find

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 │ │ ├──

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',

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

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

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

2014-03-30 Thread chris snow
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...@gmail.com] Sent: Saturday, March 29

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
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 Subject: how to detect when deployDataCenter.py has finished

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

2014-03-29 Thread chris snow
? 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 promising Alex - thank you! On Sat, Mar 29

AWS api when running mvn jetty

2014-03-19 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
, 2014 at 7:22 AM, chris snow chsnow...@gmail.com 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 Mar 2014 06:29, Likitha Shetty

Re: jenkins job for the developer build

2014-03-07 Thread chris snow
cloud dev environment without the developer profile. Cheers, Hugo Sent from my iPhone On 6 mrt. 2014, at 06:01, chris snow chsnow...@gmail.com wrote: Is there a jenkins job for the developer's build, i.e. mvn clean install -P developer,systemvm? As a newbie cloudstack developer, when

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

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 ustcweiz...@gmail.com wrote: mvn -P clean install developer,systemvm -DskipTests 2014-03-06 9:54 GMT+01:00 chris snow chsnow...@gmail.com: I have been adding the flag -Dmaven.test.skip=true to my builds: mvn clean install -P developer,systemvm -Dmaven.test.skip

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.

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

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

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 chsnow...@gmail.com wrote: There is a new version of devcloud (version 0.4) ready for testing. See here

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

2014-02-27 Thread chris snow
obvious reason for them. Is there something I'm missing? On 27 February 2014 08:19, chris snow chsnow...@gmail.com wrote: 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

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

2014-02-27 Thread chris snow
missing? On 27 February 2014 08:19, chris snow chsnow...@gmail.com wrote: 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 chsnow...@gmail.com wrote

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 i...@ianduffy.ie 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

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

2014-02-27 Thread chris snow
/%3c8334166ab8f6e548a46205bd576b464f195fb...@sbpomb102.sbp.lan%3E Currently waiting on 4.3-forward to compile to test to see if the issue occurs on it. On 27 February 2014 15:13, chris snow chsnow...@gmail.com wrote: Hi Ian, Many thanks for raising this. Would you also mind raising a defect for this on github

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

2014-02-27 Thread chris snow
On Feb 27, 2014, at 10:47 AM, chris snow chsnow...@gmail.com wrote: Hi Chris, Would you mind raising a defect on the github page? Many thanks, Chris On Thu, Feb 27, 2014 at 3:31 PM, SuichII, Christopher chris.su...@netapp.com wrote: Chris, I tried pulling down the box

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

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

2014-02-25 Thread chris snow
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:18 AM, chris snow chsnow...@gmail.com wrote: I've fixed one

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

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.

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

2014-02-24 Thread chris snow
cdn? Like this project does: https://github.com/2creatives/vagrant-centos/releases On 24 February 2014 17:21, chris snow chsnow...@gmail.com wrote: 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

Re: devcloud 2 to 3 - network configuration

2014-02-20 Thread chris snow
configuration) because devcloud's eth0 and eth1 need to be swapped for vagrant? On Sun, Feb 16, 2014 at 11:36 AM, chris snow chsnow...@gmail.com 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. Devcloud2

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:

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 run...@gmail.com wrote: On Feb 17, 2014, at 7:04 PM, chris snow chsnow...@gmail.com wrote: I'm following the instructions [1] to configure an environment using this command: python ../marvin/marvin/deployDataCenter.py -i

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

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

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

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

Re: Devcloud 2 - veewee/Vagrant projects

2014-02-05 Thread chris snow
change? Thanks, ~Rajani On 05-Feb-2014, at 4:15 am, chris snow chsnow...@gmail.commailto:chsnow...@gmail.com wrote: 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

Re: Devcloud 2 - veewee/Vagrant projects

2014-02-05 Thread chris snow
...@citrix.com wrote: 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 chsnow...@gmail.commailto:chsnow...@gmail.com wrote: Hi Rajani, Many thanks for the feedback. I still have to figure

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 chsnow...@gmail.com wrote: Thanks for the feedback Sebastien, it's much appreciated. I'll investigate in more detail

Re: Devcloud 2 - veewee/Vagrant projects

2014-02-01 Thread chris snow
, chris snow chsnow...@gmail.com wrote: I finally got the packer built devcloud box to boot with vagrant, but running 'xe vm-list' in it results in: Error: Connection refused (calling connect ) I'm going to do some more investigation, but could take a while as I get to learn xen. To make

Re: Devcloud 2 - veewee/Vagrant projects

2014-01-31 Thread chris snow
:14 AM, Sebastien Goasguen run...@gmail.com wrote: On Jan 29, 2014, at 1:57 PM, chris snow chsnow...@gmail.com wrote: I have started thinking about some options: 1) use packer to convert the devcloud2 veewee definition as a starting point 2) create devcloud3 from scratch 3) start

Re: Devcloud 2 - veewee/Vagrant projects

2014-01-29 Thread chris snow
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. On Wed, Jan 29, 2014 at 1:30 AM, chris snow chsnow...@gmail.com wrote: I would like to build

Re: devcloud veewee install broken?

2014-01-29 Thread chris snow
and fix in vagrant scripts. Patch welcome. Regards. On Wed, Jan 29, 2014 at 6:15 AM, chris snow chsnow...@gmail.com 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, ubuntu is looking for some

Re: Devcloud 2 - veewee/Vagrant projects

2014-01-29 Thread chris snow
/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 run...@gmail.com wrote: On Jan 29, 2014, at 1:57 PM, chris snow chsnow...@gmail.com wrote: I have started

Re: Devcloud 2 - veewee/Vagrant projects

2014-01-29 Thread chris snow
, Chris On Wed, Jan 29, 2014 at 11:55 PM, chris snow chsnow...@gmail.com 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 focus on adding proper vagrant

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.

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

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 chsnow...@gmail.com 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, ubuntu is looking