You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Isaac Chiang <is...@gmail.com> on 2013/01/12 07:12:50 UTC

A DevCloud2 problem

Hi all:
             Recently I got a trouble with DevCloud2. When I am trying to
create a zone, the system vms cannot change the state from starting to
running.

 Following is the error message:

 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-7:) Detecting a new
state but couldn't find a old state so adding it to the changes: s-1-VM

The source code is checked out from latest master branch and running in
DevCloud2. Any help will be appreciated, thanks :)


Regards

Isaac

Re: [CI] Continuous Integration with DevCloud

Posted by Prasanna Santhanam <ts...@apache.org>.
On Wed, Jan 16, 2013 at 12:35:32PM +0530, David Nalley wrote:
> 
> Is there a reason that this isn't in the git repo or even SVN?
> 

Didn't seem right for the repo (at this point) just like the other CI
scripts I'm maintaining with puppet recipes etc [1]. It's more of
CloudStack-extras really. I can put it up on the svn repo if there are
no objections, but it helps coordinate faster on github with folks who
might be interested in the CI work.

[1] https://github.com/vogxn/cloud-autodeploy/tree/acs-infra-test

-- 
Prasanna.,

Re: [CI] Continuous Integration with DevCloud

Posted by David Nalley <da...@gnsa.us>.
On Tue, Jan 15, 2013 at 4:30 AM, Prasanna Santhanam <ts...@apache.org> wrote:
> I've setup a simple job on the jenkins instance [1] that will monitor the
> git repo for commits and run basic tests within devcloud to ensure
> essential functionality isn't broken. Once stabilized and trustworthy
> in its reporting I'll move it to builds.a.o post permission from
> #asfinfra.
>
> I've put up a wiki page [2] describing how this was done and shared the
> appliance for others to reuse and improve. The first improvement
> should probably be the run time which is currently at 20m per checkin.
> Let the list know if you have any ideas on improving this.
>
> The code is available via github [3] and I'm happy to move it to
> CloudStack-extras so it becomes a central repo for our CI related
> work. Also, I've begun playing with devcloud-kvm so we can do the same
> tests using a similar appliance for our advanced zone tests.
>
> Comments, Suggestions and Contributions welcome
>
> Many thanks to Ahmad Emneina, Edison Su and Rohit Yadav for their
> ideas and suggestions.
>
> [1] http://jenkins.cloudstack.org/view/debug/job/testcloud-master-basic/
> [2] https://cwiki.apache.org/confluence/display/CLOUDSTACK/Devcloud+Continuous+Tests
> [3] https://github.com/vogxn/devcloud-ci
>
> Thanks,
>
> --
> Prasanna.,
>
> On Sun, Jan 13, 2013 at 11:28:25PM -0500, Prasanna Santhanam wrote:
>> On Sun, Jan 13, 2013 at 05:34:28PM -0500, Sebastien Goasguen wrote:
>> >
>> > On Jan 12, 2013, at 10:55 AM, Rohit Yadav <ro...@citrix.com> wrote:
>> >
>> > > On master branch devcloud in basic zone should work, at my end I
>> > > make sure at the end of the day to run integration tests once
>> > > using DevCloud :)
>> > Can you describe how you run the tests with devcloud ?
>> > thx
>> >
>> Once you have the mgmt server and hosts up and running you can run the
>> tests with marvin as belows:
>>
>> $ nosetests --with-marvin --marvin-config=tools/devcloud/devcloud.cfg
>> --load -a tags='devcloud' -w test/integration/smoke/
>>
>> You'll need marvin and it's nose plugin registered for this.
>>
>> That will pick up all the tests marked as 'devcloud' runnable.
>> http://jenkins.cloudstack.org/view/debug/job/testcloud-master-basic/
>>
>> The scripts for the CI are coming from here:
>> https://github.com/vogxn/devcloud-ci
>>
>> I'm setting this up via jenkins CI so we don't have to run it by hand.
>> but it's got some weird issue with xcp-xapi not coming up during
>> devcloud2 bootup. After that it should be rolling.
>>
>>
>> --
>> Prasanna.,
>

Is there a reason that this isn't in the git repo or even SVN?

--David

Re: [CI] Continuous Integration with DevCloud

Posted by Rohit Yadav <ro...@citrix.com>.
Kudos Prasanna!

On 15-Jan-2013, at 1:30 AM, Prasanna Santhanam <ts...@apache.org> wrote:

> I've setup a simple job on the jenkins instance [1] that will monitor the
> git repo for commits and run basic tests within devcloud to ensure
> essential functionality isn't broken. Once stabilized and trustworthy
> in its reporting I'll move it to builds.a.o post permission from
> #asfinfra.
> 
> I've put up a wiki page [2] describing how this was done and shared the
> appliance for others to reuse and improve. The first improvement
> should probably be the run time which is currently at 20m per checkin.
> Let the list know if you have any ideas on improving this.
> 
> The code is available via github [3] and I'm happy to move it to
> CloudStack-extras so it becomes a central repo for our CI related
> work. Also, I've begun playing with devcloud-kvm so we can do the same
> tests using a similar appliance for our advanced zone tests.
> 
> Comments, Suggestions and Contributions welcome
> 
> Many thanks to Ahmad Emneina, Edison Su and Rohit Yadav for their
> ideas and suggestions.
> 
> [1] http://jenkins.cloudstack.org/view/debug/job/testcloud-master-basic/
> [2] https://cwiki.apache.org/confluence/display/CLOUDSTACK/Devcloud+Continuous+Tests
> [3] https://github.com/vogxn/devcloud-ci
> 
> Thanks,
> 
> -- 
> Prasanna.,
> 
> On Sun, Jan 13, 2013 at 11:28:25PM -0500, Prasanna Santhanam wrote:
>> On Sun, Jan 13, 2013 at 05:34:28PM -0500, Sebastien Goasguen wrote:
>>> 
>>> On Jan 12, 2013, at 10:55 AM, Rohit Yadav <ro...@citrix.com> wrote:
>>> 
>>>> On master branch devcloud in basic zone should work, at my end I
>>>> make sure at the end of the day to run integration tests once
>>>> using DevCloud :)
>>> Can you describe how you run the tests with devcloud ?
>>> thx
>>> 
>> Once you have the mgmt server and hosts up and running you can run the
>> tests with marvin as belows:
>> 
>> $ nosetests --with-marvin --marvin-config=tools/devcloud/devcloud.cfg
>> --load -a tags='devcloud' -w test/integration/smoke/
>> 
>> You'll need marvin and it's nose plugin registered for this.
>> 
>> That will pick up all the tests marked as 'devcloud' runnable.
>> http://jenkins.cloudstack.org/view/debug/job/testcloud-master-basic/
>> 
>> The scripts for the CI are coming from here:
>> https://github.com/vogxn/devcloud-ci
>> 
>> I'm setting this up via jenkins CI so we don't have to run it by hand.
>> but it's got some weird issue with xcp-xapi not coming up during
>> devcloud2 bootup. After that it should be rolling.
>> 
>> 
>> -- 
>> Prasanna.,
> 


Re: [CI] Continuous Integration with DevCloud

Posted by Prasanna Santhanam <ts...@apache.org>.
On Wed, Jan 16, 2013 at 11:56:41AM +0530, Prasanna Santhanam wrote:
> On Tue, Jan 15, 2013 at 06:23:13PM -0500, Edison Su wrote:
> > Great, glad to know our test infrastructure is becoming more and
> > more powerful now. 
> > One question, do you have a simple script or a document, how to
> > setup such kind of test environment? For example, from a fresh new
> > Ubuntu installation, to a workable Jenkins test slave with devcloud
> > environment ready. 
> 
> Sure - that's quite easy. I'll include the steps in the wiki. It just
> takes some familiarity with the vbox CLI. Always good to have more
> devcloud workers to distribute our tests into!

Updated the wiki with steps for setup:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Devcloud+Continuous+Tests#DevcloudContinuousTests-Setup
 
-- 
Prasanna.,

Re: [CI] Continuous Integration with DevCloud

Posted by Prasanna Santhanam <ts...@apache.org>.
On Tue, Jan 15, 2013 at 06:23:13PM -0500, Edison Su wrote:
> Great, glad to know our test infrastructure is becoming more and
> more powerful now. 
> One question, do you have a simple script or a document, how to
> setup such kind of test environment? For example, from a fresh new
> Ubuntu installation, to a workable Jenkins test slave with devcloud
> environment ready. 

Sure - that's quite easy. I'll include the steps in the wiki. It just
takes some familiarity with the vbox CLI. Always good to have more
devcloud workers to distribute our tests into!

-- 
Prasanna.,

RE: [CI] Continuous Integration with DevCloud

Posted by Edison Su <Ed...@citrix.com>.
Great, glad to know our test infrastructure is becoming more and more powerful now. 
One question, do you have a simple script or a document, how to setup such kind of test environment? For example, from a fresh new Ubuntu installation, to a workable Jenkins test slave with devcloud environment ready. 

> -----Original Message-----
> From: prasanna [mailto:srivatsav.prasanna@gmail.com] On Behalf Of
> Prasanna Santhanam
> Sent: Tuesday, January 15, 2013 1:31 AM
> To: CloudStack Dev
> Subject: [CI] Continuous Integration with DevCloud
> 
> I've setup a simple job on the jenkins instance [1] that will monitor the git
> repo for commits and run basic tests within devcloud to ensure essential
> functionality isn't broken. Once stabilized and trustworthy in its reporting I'll
> move it to builds.a.o post permission from #asfinfra.
> 
> I've put up a wiki page [2] describing how this was done and shared the
> appliance for others to reuse and improve. The first improvement should
> probably be the run time which is currently at 20m per checkin.
> Let the list know if you have any ideas on improving this.
> 
> The code is available via github [3] and I'm happy to move it to CloudStack-
> extras so it becomes a central repo for our CI related work. Also, I've begun
> playing with devcloud-kvm so we can do the same tests using a similar
> appliance for our advanced zone tests.
> 
> Comments, Suggestions and Contributions welcome
> 
> Many thanks to Ahmad Emneina, Edison Su and Rohit Yadav for their ideas
> and suggestions.
> 
> [1] http://jenkins.cloudstack.org/view/debug/job/testcloud-master-basic/
> [2]
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Devcloud+Conti
> nuous+Tests
> [3] https://github.com/vogxn/devcloud-ci
> 
> Thanks,
> 
> --
> Prasanna.,
> 
> On Sun, Jan 13, 2013 at 11:28:25PM -0500, Prasanna Santhanam wrote:
> > On Sun, Jan 13, 2013 at 05:34:28PM -0500, Sebastien Goasguen wrote:
> > >
> > > On Jan 12, 2013, at 10:55 AM, Rohit Yadav <ro...@citrix.com>
> wrote:
> > >
> > > > On master branch devcloud in basic zone should work, at my end I
> > > > make sure at the end of the day to run integration tests once
> > > > using DevCloud :)
> > > Can you describe how you run the tests with devcloud ?
> > > thx
> > >
> > Once you have the mgmt server and hosts up and running you can run the
> > tests with marvin as belows:
> >
> > $ nosetests --with-marvin --marvin-config=tools/devcloud/devcloud.cfg
> > --load -a tags='devcloud' -w test/integration/smoke/
> >
> > You'll need marvin and it's nose plugin registered for this.
> >
> > That will pick up all the tests marked as 'devcloud' runnable.
> > http://jenkins.cloudstack.org/view/debug/job/testcloud-master-basic/
> >
> > The scripts for the CI are coming from here:
> > https://github.com/vogxn/devcloud-ci
> >
> > I'm setting this up via jenkins CI so we don't have to run it by hand.
> > but it's got some weird issue with xcp-xapi not coming up during
> > devcloud2 bootup. After that it should be rolling.
> >
> >
> > --
> > Prasanna.,


[CI] Continuous Integration with DevCloud

Posted by Prasanna Santhanam <ts...@apache.org>.
I've setup a simple job on the jenkins instance [1] that will monitor the
git repo for commits and run basic tests within devcloud to ensure
essential functionality isn't broken. Once stabilized and trustworthy
in its reporting I'll move it to builds.a.o post permission from
#asfinfra.

I've put up a wiki page [2] describing how this was done and shared the
appliance for others to reuse and improve. The first improvement
should probably be the run time which is currently at 20m per checkin.
Let the list know if you have any ideas on improving this.

The code is available via github [3] and I'm happy to move it to
CloudStack-extras so it becomes a central repo for our CI related
work. Also, I've begun playing with devcloud-kvm so we can do the same
tests using a similar appliance for our advanced zone tests.

Comments, Suggestions and Contributions welcome

Many thanks to Ahmad Emneina, Edison Su and Rohit Yadav for their
ideas and suggestions.

[1] http://jenkins.cloudstack.org/view/debug/job/testcloud-master-basic/
[2] https://cwiki.apache.org/confluence/display/CLOUDSTACK/Devcloud+Continuous+Tests
[3] https://github.com/vogxn/devcloud-ci

Thanks,

-- 
Prasanna.,

On Sun, Jan 13, 2013 at 11:28:25PM -0500, Prasanna Santhanam wrote:
> On Sun, Jan 13, 2013 at 05:34:28PM -0500, Sebastien Goasguen wrote:
> > 
> > On Jan 12, 2013, at 10:55 AM, Rohit Yadav <ro...@citrix.com> wrote:
> > 
> > > On master branch devcloud in basic zone should work, at my end I
> > > make sure at the end of the day to run integration tests once
> > > using DevCloud :)
> > Can you describe how you run the tests with devcloud ?
> > thx
> >
> Once you have the mgmt server and hosts up and running you can run the
> tests with marvin as belows:
> 
> $ nosetests --with-marvin --marvin-config=tools/devcloud/devcloud.cfg
> --load -a tags='devcloud' -w test/integration/smoke/
> 
> You'll need marvin and it's nose plugin registered for this.
> 
> That will pick up all the tests marked as 'devcloud' runnable.
> http://jenkins.cloudstack.org/view/debug/job/testcloud-master-basic/
> 
> The scripts for the CI are coming from here:
> https://github.com/vogxn/devcloud-ci
> 
> I'm setting this up via jenkins CI so we don't have to run it by hand.
> but it's got some weird issue with xcp-xapi not coming up during
> devcloud2 bootup. After that it should be rolling.
> 
> 
> -- 
> Prasanna.,


Re: A DevCloud2 problem

Posted by Prasanna Santhanam <ts...@apache.org>.
On Sun, Jan 13, 2013 at 05:34:28PM -0500, Sebastien Goasguen wrote:
> 
> On Jan 12, 2013, at 10:55 AM, Rohit Yadav <ro...@citrix.com> wrote:
> 
> > On master branch devcloud in basic zone should work, at my end I
> > make sure at the end of the day to run integration tests once
> > using DevCloud :)
> Can you describe how you run the tests with devcloud ?
> thx
>
Once you have the mgmt server and hosts up and running you can run the
tests with marvin as belows:

$ nosetests --with-marvin --marvin-config=tools/devcloud/devcloud.cfg
--load -a tags='devcloud' -w test/integration/smoke/

You'll need marvin and it's nose plugin registered for this.

That will pick up all the tests marked as 'devcloud' runnable.
http://jenkins.cloudstack.org/view/debug/job/testcloud-master-basic/

The scripts for the CI are coming from here:
https://github.com/vogxn/devcloud-ci

I'm setting this up via jenkins CI so we don't have to run it by hand.
but it's got some weird issue with xcp-xapi not coming up during
devcloud2 bootup. After that it should be rolling.


-- 
Prasanna.,

Re: A DevCloud2 problem

Posted by Rohit Yadav <ro...@citrix.com>.
On 13-Jan-2013, at 2:34 PM, Sebastien Goasguen <ru...@gmail.com> wrote:

> 
> On Jan 12, 2013, at 10:55 AM, Rohit Yadav <ro...@citrix.com> wrote:
> 
>> On master branch devcloud in basic zone should work, at my end I make sure at the end of the day to run integration tests once using DevCloud :)
> 
> Can you describe how you run the tests with devcloud ?

Follow what Prasanna hinted, it's exactly how I do it (and make sure to run them only when you've deployed your zone and your systemvms have come up) and some more here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Testing+with+Python

Regards.


> thx
> 
>> I have had several permutation and combinations of the problem myself, based on your observatoin I think the host was not correct in global settings and after you deploysrvr it would update host ip so the previous sytemvm would try to connect to the incorrect IP and you see status as starting. When you restart the new global settings are used and cloudstack tries to connect to systemvms fails and marks them to be deleted and new ones would start and it would work for you.
>> 
>> Glad it worked for you.
>> Cheers.
>> 
>> ________________________________________
>> From: Isaac Chiang [isaacchiang@gmail.com]
>> Sent: Saturday, January 12, 2013 1:13 PM
>> To: cloudstack-users@incubator.apache.org
>> Subject: Re: A DevCloud2 problem
>> 
>> Hi Rohit:
>>            I did followed the steps in the checklist you mentioned. The
>> strange thing is that I can play with my DevCloud correctly before few
>> commits in master branch. The environment was the same, but I didn't see
>> the log before. I know that there are some significant works merged into
>> master recently, I'm just wondering if I lost some additional steps for
>> deploying the DevCloud. BTW. After a few failing trials, I found that the
>> problem can be solved after restarting the management server. Thanks for
>> the fast reply :)
>> 
>> Regards
>> 
>> Isaac
>> 
>> On Sat, Jan 12, 2013 at 2:34 PM, Rohit Yadav <ro...@citrix.com> wrote:
>> 
>>> Hi Isaac,
>>> 
>>> Checkout troubleshooting section of
>>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud
>>> 
>>> Checklist:
>>> - You've deployed devcloud db profile also; mvn -pl
>>> developer,tools/devcloud -Ddeploydb
>>> - You've mkisofs and have built systemvm.iso as well; mvn clean install -P
>>> systemvm,developer
>>> - Before deploying a zone, check from global settings that host is
>>> 192.168.56.1 or 192.168.56.10 (if mgmt is running inside devcloud), if they
>>> are incorrect fix it and restart mgmt server
>>> 
>>> Hope this helps.
>>> 
>>> ________________________________________
>>> From: Isaac Chiang [isaacchiang@gmail.com]
>>> Sent: Saturday, January 12, 2013 11:42 AM
>>> To: cloudstack-users@incubator.apache.org
>>> Subject: A DevCloud2 problem
>>> 
>>> Hi all:
>>>            Recently I got a trouble with DevCloud2. When I am trying to
>>> create a zone, the system vms cannot change the state from starting to
>>> running.
>>> 
>>> Following is the error message:
>>> 
>>> WARN  [xen.resource.CitrixResourceBase] (DirectAgent-7:) Detecting a new
>>> state but couldn't find a old state so adding it to the changes: s-1-VM
>>> 
>>> The source code is checked out from latest master branch and running in
>>> DevCloud2. Any help will be appreciated, thanks :)
>>> 
>>> 
>>> Regards
>>> 
>>> Isaac
>>> 
> 


Re: A DevCloud2 problem

Posted by Sebastien Goasguen <ru...@gmail.com>.
On Jan 12, 2013, at 10:55 AM, Rohit Yadav <ro...@citrix.com> wrote:

> On master branch devcloud in basic zone should work, at my end I make sure at the end of the day to run integration tests once using DevCloud :)

Can you describe how you run the tests with devcloud ?
thx

> I have had several permutation and combinations of the problem myself, based on your observatoin I think the host was not correct in global settings and after you deploysrvr it would update host ip so the previous sytemvm would try to connect to the incorrect IP and you see status as starting. When you restart the new global settings are used and cloudstack tries to connect to systemvms fails and marks them to be deleted and new ones would start and it would work for you.
> 
> Glad it worked for you.
> Cheers.
> 
> ________________________________________
> From: Isaac Chiang [isaacchiang@gmail.com]
> Sent: Saturday, January 12, 2013 1:13 PM
> To: cloudstack-users@incubator.apache.org
> Subject: Re: A DevCloud2 problem
> 
> Hi Rohit:
>             I did followed the steps in the checklist you mentioned. The
> strange thing is that I can play with my DevCloud correctly before few
> commits in master branch. The environment was the same, but I didn't see
> the log before. I know that there are some significant works merged into
> master recently, I'm just wondering if I lost some additional steps for
> deploying the DevCloud. BTW. After a few failing trials, I found that the
> problem can be solved after restarting the management server. Thanks for
> the fast reply :)
> 
> Regards
> 
> Isaac
> 
> On Sat, Jan 12, 2013 at 2:34 PM, Rohit Yadav <ro...@citrix.com> wrote:
> 
>> Hi Isaac,
>> 
>> Checkout troubleshooting section of
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud
>> 
>> Checklist:
>> - You've deployed devcloud db profile also; mvn -pl
>> developer,tools/devcloud -Ddeploydb
>> - You've mkisofs and have built systemvm.iso as well; mvn clean install -P
>> systemvm,developer
>> - Before deploying a zone, check from global settings that host is
>> 192.168.56.1 or 192.168.56.10 (if mgmt is running inside devcloud), if they
>> are incorrect fix it and restart mgmt server
>> 
>> Hope this helps.
>> 
>> ________________________________________
>> From: Isaac Chiang [isaacchiang@gmail.com]
>> Sent: Saturday, January 12, 2013 11:42 AM
>> To: cloudstack-users@incubator.apache.org
>> Subject: A DevCloud2 problem
>> 
>> Hi all:
>>             Recently I got a trouble with DevCloud2. When I am trying to
>> create a zone, the system vms cannot change the state from starting to
>> running.
>> 
>> Following is the error message:
>> 
>> WARN  [xen.resource.CitrixResourceBase] (DirectAgent-7:) Detecting a new
>> state but couldn't find a old state so adding it to the changes: s-1-VM
>> 
>> The source code is checked out from latest master branch and running in
>> DevCloud2. Any help will be appreciated, thanks :)
>> 
>> 
>> Regards
>> 
>> Isaac
>> 


RE: A DevCloud2 problem

Posted by Rohit Yadav <ro...@citrix.com>.
On master branch devcloud in basic zone should work, at my end I make sure at the end of the day to run integration tests once using DevCloud :)
I have had several permutation and combinations of the problem myself, based on your observatoin I think the host was not correct in global settings and after you deploysrvr it would update host ip so the previous sytemvm would try to connect to the incorrect IP and you see status as starting. When you restart the new global settings are used and cloudstack tries to connect to systemvms fails and marks them to be deleted and new ones would start and it would work for you.

Glad it worked for you.
Cheers.

________________________________________
From: Isaac Chiang [isaacchiang@gmail.com]
Sent: Saturday, January 12, 2013 1:13 PM
To: cloudstack-users@incubator.apache.org
Subject: Re: A DevCloud2 problem

Hi Rohit:
             I did followed the steps in the checklist you mentioned. The
strange thing is that I can play with my DevCloud correctly before few
commits in master branch. The environment was the same, but I didn't see
the log before. I know that there are some significant works merged into
master recently, I'm just wondering if I lost some additional steps for
deploying the DevCloud. BTW. After a few failing trials, I found that the
problem can be solved after restarting the management server. Thanks for
the fast reply :)

Regards

Isaac

On Sat, Jan 12, 2013 at 2:34 PM, Rohit Yadav <ro...@citrix.com> wrote:

> Hi Isaac,
>
> Checkout troubleshooting section of
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud
>
> Checklist:
> - You've deployed devcloud db profile also; mvn -pl
> developer,tools/devcloud -Ddeploydb
> - You've mkisofs and have built systemvm.iso as well; mvn clean install -P
> systemvm,developer
> - Before deploying a zone, check from global settings that host is
> 192.168.56.1 or 192.168.56.10 (if mgmt is running inside devcloud), if they
> are incorrect fix it and restart mgmt server
>
> Hope this helps.
>
> ________________________________________
> From: Isaac Chiang [isaacchiang@gmail.com]
> Sent: Saturday, January 12, 2013 11:42 AM
> To: cloudstack-users@incubator.apache.org
> Subject: A DevCloud2 problem
>
> Hi all:
>              Recently I got a trouble with DevCloud2. When I am trying to
> create a zone, the system vms cannot change the state from starting to
> running.
>
>  Following is the error message:
>
>  WARN  [xen.resource.CitrixResourceBase] (DirectAgent-7:) Detecting a new
> state but couldn't find a old state so adding it to the changes: s-1-VM
>
> The source code is checked out from latest master branch and running in
> DevCloud2. Any help will be appreciated, thanks :)
>
>
> Regards
>
> Isaac
>

Re: A DevCloud2 problem

Posted by Isaac Chiang <is...@gmail.com>.
Hi Rohit:
             I did followed the steps in the checklist you mentioned. The
strange thing is that I can play with my DevCloud correctly before few
commits in master branch. The environment was the same, but I didn't see
the log before. I know that there are some significant works merged into
master recently, I'm just wondering if I lost some additional steps for
deploying the DevCloud. BTW. After a few failing trials, I found that the
problem can be solved after restarting the management server. Thanks for
the fast reply :)

Regards

Isaac

On Sat, Jan 12, 2013 at 2:34 PM, Rohit Yadav <ro...@citrix.com> wrote:

> Hi Isaac,
>
> Checkout troubleshooting section of
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud
>
> Checklist:
> - You've deployed devcloud db profile also; mvn -pl
> developer,tools/devcloud -Ddeploydb
> - You've mkisofs and have built systemvm.iso as well; mvn clean install -P
> systemvm,developer
> - Before deploying a zone, check from global settings that host is
> 192.168.56.1 or 192.168.56.10 (if mgmt is running inside devcloud), if they
> are incorrect fix it and restart mgmt server
>
> Hope this helps.
>
> ________________________________________
> From: Isaac Chiang [isaacchiang@gmail.com]
> Sent: Saturday, January 12, 2013 11:42 AM
> To: cloudstack-users@incubator.apache.org
> Subject: A DevCloud2 problem
>
> Hi all:
>              Recently I got a trouble with DevCloud2. When I am trying to
> create a zone, the system vms cannot change the state from starting to
> running.
>
>  Following is the error message:
>
>  WARN  [xen.resource.CitrixResourceBase] (DirectAgent-7:) Detecting a new
> state but couldn't find a old state so adding it to the changes: s-1-VM
>
> The source code is checked out from latest master branch and running in
> DevCloud2. Any help will be appreciated, thanks :)
>
>
> Regards
>
> Isaac
>

RE: A DevCloud2 problem

Posted by Rohit Yadav <ro...@citrix.com>.
Hi Isaac,

Checkout troubleshooting section of https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud

Checklist:
- You've deployed devcloud db profile also; mvn -pl developer,tools/devcloud -Ddeploydb
- You've mkisofs and have built systemvm.iso as well; mvn clean install -P systemvm,developer
- Before deploying a zone, check from global settings that host is 192.168.56.1 or 192.168.56.10 (if mgmt is running inside devcloud), if they are incorrect fix it and restart mgmt server

Hope this helps.

________________________________________
From: Isaac Chiang [isaacchiang@gmail.com]
Sent: Saturday, January 12, 2013 11:42 AM
To: cloudstack-users@incubator.apache.org
Subject: A DevCloud2 problem

Hi all:
             Recently I got a trouble with DevCloud2. When I am trying to
create a zone, the system vms cannot change the state from starting to
running.

 Following is the error message:

 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-7:) Detecting a new
state but couldn't find a old state so adding it to the changes: s-1-VM

The source code is checked out from latest master branch and running in
DevCloud2. Any help will be appreciated, thanks :)


Regards

Isaac