On Mon, Jul 9, 2012 at 4:25 PM, Edison Su <edison...@citrix.com> wrote:

>
>
> Sent from my iPhone
>
> On Jul 8, 2012, at 11:31 PM, "Tomoe Sugihara" <to...@midokura.com> wrote:
>
> > On Mon, Jul 9, 2012 at 9:20 AM, Edison Su <edison...@citrix.com> wrote:
> >
> >>
> >>
> >> Sent from my iPhone
> >>
> >> On Jul 7, 2012, at 9:19 AM, "Tomoe Sugihara" <to...@midokura.com
> <mailto:
> >> to...@midokura.com>> wrote:
> >>
> >> Hi Edison,
> >>
> >> This is very helpful for newbies like me.
> >> However, I tried this according to the wiki page, but found some
> problems
> >> listed below.
> >> I managed to add a host, but couldn't even launch a VM due to the issue
> 3.
> >>
> >> I hope this would help improve DevCloud.
> >>
> >> ----------------------------
> >> 1. ssh commands failed
> >>
> >>   I got "com.jcraft.jsch.JSchException: reject HostKey" when I tried
> some
> >> ant r* targets.
> >>   So, I worked around this with the patch attached.
> >> Thanks for your patch, but could please post the patch here? Attached is
> >> not allowed in apache mailing list.
> >>
> >
> > Sure. Will do.
> >
> >
> >>
> >> 2. rdeploydb didn't work
> >>
> >>  Since many scripts uses --password option to pass in password and mysql
> >> prompts you, many of the commands failed.
> >>
> >>  I ended up ssh'ing to dom0 and did the equivalent db setup.
> >>
> >> Possible reason: do you override dbrootpw in
> >> build/override/replace.properties on your host CloudStack source code
> >> directory? If it's been override, then rdeploydb will use $dbrootpw to
> >> deploy devcloud db, while devcloud db password is empty, so then failed.
> >>
> >
> > I didn't touch anything on my working directory on the host. It was just
> > pure master code at that time.
>
> Need to add DBROOTPW= in build/override/replace.properties
>

Ah, OK. This was not on the wiki:)

>
> >
> >
> >>
> >> 3. tiny Linux template is not in good status
> >>
> >> Status says "Unable to resolve nfs1.lab.vmops.com<
> >> http://nfs1.lab.vmops.com>"...
> >>
> >> Is there any place from which I can download templates easily?
> >> You don't need to download this template, it's already preinstalled on
> >> devcloud image, it's put under
> /opt/storage/secondary/template/tmpl/1/5/.
> >> After secondary storage vm booting up, it will report this template to
> mgt
> >> server.
> >> Can you stop/start secondary storage vm? And check the management server
> >> log(/opt/cloudstack/incu*/vmops.log, search ListTemplate. What
> ListTemplate
> >> returns?
> >>
> >
> > I have the image under  /opt/storage/secondary/template/tmpl/1/5/, but
> > after restarting
> > SSVM, the same thing happened. And, I cant'
> > find /opt/cloudstack/incu*/vmops.log.
> It's in the devcloud, can you "find /opt -name vmops.log" inside devcloud?
>

root@devcloud:~# find /opt -name vmops.log
root@devcloud:~#

Btw, did you successful run "rdeploydb " and "rdebug"? if not, then the log
> file is at /var/log/cloud/management/management-server.log
>

Not rdeploydb, but successfully ran "rdebug".
However, I still can't find ListTemplate even in /var/log/cloud/

root@devcloud:~# grep -i ListTemplate  /var/log/cloud/* -r
root@devcloud:~#

Thanks,
Tomoe



> >
> > Cheers,
> > Tomoe
> >
> >
> >>
> >> ------------------
> >>
> >> Cheers,
> >> Tomoe
> >>
> >> On Sat, Jul 7, 2012 at 11:37 AM, Edison Su <edison...@citrix.com
> <mailto:
> >> edison...@citrix.com>> wrote:
> >> Hi All,
> >>   I created an all-in-one-box CloudStack development environment, name
> it
> >> as DevCloud. It's ready to download from
> >> http://download.cloud.com/templates/devcloud/DevCloud.ova and the
> >> document is put at http://wiki.cloudstack.org/display/comm/DevCloud.
> >>   If you are a CloudStack developer whose daily tasks are directly
> >> related to hypervisor, or are interested in CloudStack but don't want to
> >> setup a CloudStack environment by yourself, welcome to have a try.
> >>   Comments are welcome!
> >>   Note: the image is about 1.5G, the downloading may take a while.
> >>
> >>
>

Reply via email to