You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Mike Tutkowski <mi...@solidfire.com> on 2013/04/19 04:56:45 UTC

no tinyLinux template

Hi,

I've switched back to 4.2 (from 4.1), cleaned out my database, re-created
my DevCloud2 environment and all looks good with the exception that I do
not have a tinyLinux template.

My SSVM is up and running.

Any thoughts on what I should do here?

Thanks!

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Re: no tinyLinux template

Posted by Mike Tutkowski <mi...@solidfire.com>.
Yeah, the VHD file at that location is about 50 MB.


On Fri, Apr 19, 2013 at 1:36 PM, Rohit Yadav <bh...@apache.org> wrote:

> On Fri, Apr 19, 2013 at 11:56 PM, Mike Tutkowski <
> mike.tutkowski@solidfire.com> wrote:
>
> > Yeah, I generally revert to the DevCloud2 initial state whenever I
> create a
> > new CS database...just to be on the safe side.
> >
> > I see this folder:
> >
> > /opt/storage/secondary/template/tmpl/1/5/ (the path is a little different
> > from yours)
> >
> > It has a VHD file in it.
> >
>
> It's tiny linux about 50MB.
>
>
> >
> > I looked at devcloud.cfg in the hopes that the secondary storage URL was
> > different, but it shows the following:
> >
> >             "secondaryStorages": [
> >                 {
> >                     "url": "nfs://192.168.56.10:/opt/storage/secondary"
> >                 }
> >
>
>
> This is correct as unless you're doing something else, the default IP of
> DevCloud2 appliance is 192.168.56.10 and path to secondary storage is
> indeed /opt/storage/secondary
>
> Cheers.
>
>
> >
> >
> > On Fri, Apr 19, 2013 at 10:51 AM, Chiradeep Vittal <
> > Chiradeep.Vittal@citrix.com> wrote:
> >
> > > FWIW, I always revert to the initial snapshot of devcloud2 before
> > > switching contexts.
> > > You should also check
> > > select * from template_host_ref where template_id = 5;
> > >
> > > And inside DevCloud2
> > > ls /opt/secondary/template/tmpl/1/5/
> > >
> > > And, inside the SSVM
> > > ps -ef | grep java
> > >
> > >
> > > On 4/18/13 9:54 PM, "Mike Tutkowski" <mi...@solidfire.com>
> > wrote:
> > >
> > > >It's strange...I deleted my entire cloud and re-created it this way:
> > > >
> > > >mvn -pl developer,tools/devcloud -Ddeploydb -P developer
> > > >
> > > >cd tools/devcloud ; python ../marvin/marvin/deployDataCenter.py -i
> > > >devcloud.cfg
> > > >
> > > >but still no tinyLinux template (even though it is in the
> > > >cloud.vm_template
> > > >table).
> > > >
> > > >
> > > >On Thu, Apr 18, 2013 at 10:05 PM, Mike Tutkowski <
> > > >mike.tutkowski@solidfire.com> wrote:
> > > >
> > > >> Here is what I used to deploy the DB:
> > > >>
> > > >> mvn -pl developer,tools/devcloud -Ddeploydb -P developer
> > > >>
> > > >> Also, cloud.vm_template has this row:
> > > >>
> > > >> '5', 'tiny Linux', 'tiny Linux',
> > '2a182234-a87b-11e2-84ee-e322fe93e6c9',
> > > >> '1', '1', 'BUILTIN', '0', '64', '
> > > >> http://people.apache.org/~bhaisaab/vms/ttylinux_pv.vhd', 'VHD',
> > > >> '2013-04-18 16:56:11', NULL, '1',
> '046e134e642e6d344b34648223ba4bc1',
> > > >>'tiny
> > > >> Linux', '0', '0', '12', '1', '0', '1', '1', 'XenServer', NULL, NULL,
> > > >>'0',
> > > >> NULL, NULL, NULL, NULL, '1'
> > > >>
> > > >>
> > > >>
> > > >> On Thu, Apr 18, 2013 at 9:39 PM, Rohit Yadav <bh...@apache.org>
> > > >>wrote:
> > > >>
> > > >>> On Fri, Apr 19, 2013 at 8:26 AM, Mike Tutkowski <
> > > >>> mike.tutkowski@solidfire.com> wrote:
> > > >>>
> > > >>> > Hi,
> > > >>> >
> > > >>> > I've switched back to 4.2 (from 4.1), cleaned out my database,
> > > >>> re-created
> > > >>> > my DevCloud2 environment and all looks good with the exception
> that
> > > >>>I do
> > > >>> > not have a tinyLinux template.
> > > >>> >
> > > >>> > My SSVM is up and running.
> > > >>> >
> > > >>> > Any thoughts on what I should do here?
> > > >>> >
> > > >>>
> > > >>> Did you forgot to deploydb with -P tools/devcloud....? Looks like
> db
> > > >>>does
> > > >>> not know about ttylinux; check in cloud.vm_templates etc?
> > > >>>
> > > >>> Cheers.
> > > >>>
> > > >>>
> > > >>> >
> > > >>> > Thanks!
> > > >>> >
> > > >>> > --
> > > >>> > *Mike Tutkowski*
> > > >>> > *Senior CloudStack Developer, SolidFire Inc.*
> > > >>> > e: mike.tutkowski@solidfire.com
> > > >>> > o: 303.746.7302
> > > >>> > Advancing the way the world uses the
> > > >>> > cloud<http://solidfire.com/solution/overview/?video=play>
> > > >>> > * *
> > > >>> >
> > > >>>
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> *Mike Tutkowski*
> > > >> *Senior CloudStack Developer, SolidFire Inc.*
> > > >> e: mike.tutkowski@solidfire.com
> > > >> o: 303.746.7302
> > > >> Advancing the way the world uses the
> > > >>cloud<http://solidfire.com/solution/overview/?video=play>
> > > >> * *
> > > >>
> > > >
> > > >
> > > >
> > > >--
> > > >*Mike Tutkowski*
> > > >*Senior CloudStack Developer, SolidFire Inc.*
> > > >e: mike.tutkowski@solidfire.com
> > > >o: 303.746.7302
> > > >Advancing the way the world uses the
> > > >cloud<http://solidfire.com/solution/overview/?video=play>
> > > >* *
> > >
> > >
> >
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkowski@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the
> > cloud<http://solidfire.com/solution/overview/?video=play>
> > *™*
> >
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Re: no tinyLinux template

Posted by Rohit Yadav <bh...@apache.org>.
On Fri, Apr 19, 2013 at 11:56 PM, Mike Tutkowski <
mike.tutkowski@solidfire.com> wrote:

> Yeah, I generally revert to the DevCloud2 initial state whenever I create a
> new CS database...just to be on the safe side.
>
> I see this folder:
>
> /opt/storage/secondary/template/tmpl/1/5/ (the path is a little different
> from yours)
>
> It has a VHD file in it.
>

It's tiny linux about 50MB.


>
> I looked at devcloud.cfg in the hopes that the secondary storage URL was
> different, but it shows the following:
>
>             "secondaryStorages": [
>                 {
>                     "url": "nfs://192.168.56.10:/opt/storage/secondary"
>                 }
>


This is correct as unless you're doing something else, the default IP of
DevCloud2 appliance is 192.168.56.10 and path to secondary storage is
indeed /opt/storage/secondary

Cheers.


>
>
> On Fri, Apr 19, 2013 at 10:51 AM, Chiradeep Vittal <
> Chiradeep.Vittal@citrix.com> wrote:
>
> > FWIW, I always revert to the initial snapshot of devcloud2 before
> > switching contexts.
> > You should also check
> > select * from template_host_ref where template_id = 5;
> >
> > And inside DevCloud2
> > ls /opt/secondary/template/tmpl/1/5/
> >
> > And, inside the SSVM
> > ps -ef | grep java
> >
> >
> > On 4/18/13 9:54 PM, "Mike Tutkowski" <mi...@solidfire.com>
> wrote:
> >
> > >It's strange...I deleted my entire cloud and re-created it this way:
> > >
> > >mvn -pl developer,tools/devcloud -Ddeploydb -P developer
> > >
> > >cd tools/devcloud ; python ../marvin/marvin/deployDataCenter.py -i
> > >devcloud.cfg
> > >
> > >but still no tinyLinux template (even though it is in the
> > >cloud.vm_template
> > >table).
> > >
> > >
> > >On Thu, Apr 18, 2013 at 10:05 PM, Mike Tutkowski <
> > >mike.tutkowski@solidfire.com> wrote:
> > >
> > >> Here is what I used to deploy the DB:
> > >>
> > >> mvn -pl developer,tools/devcloud -Ddeploydb -P developer
> > >>
> > >> Also, cloud.vm_template has this row:
> > >>
> > >> '5', 'tiny Linux', 'tiny Linux',
> '2a182234-a87b-11e2-84ee-e322fe93e6c9',
> > >> '1', '1', 'BUILTIN', '0', '64', '
> > >> http://people.apache.org/~bhaisaab/vms/ttylinux_pv.vhd', 'VHD',
> > >> '2013-04-18 16:56:11', NULL, '1', '046e134e642e6d344b34648223ba4bc1',
> > >>'tiny
> > >> Linux', '0', '0', '12', '1', '0', '1', '1', 'XenServer', NULL, NULL,
> > >>'0',
> > >> NULL, NULL, NULL, NULL, '1'
> > >>
> > >>
> > >>
> > >> On Thu, Apr 18, 2013 at 9:39 PM, Rohit Yadav <bh...@apache.org>
> > >>wrote:
> > >>
> > >>> On Fri, Apr 19, 2013 at 8:26 AM, Mike Tutkowski <
> > >>> mike.tutkowski@solidfire.com> wrote:
> > >>>
> > >>> > Hi,
> > >>> >
> > >>> > I've switched back to 4.2 (from 4.1), cleaned out my database,
> > >>> re-created
> > >>> > my DevCloud2 environment and all looks good with the exception that
> > >>>I do
> > >>> > not have a tinyLinux template.
> > >>> >
> > >>> > My SSVM is up and running.
> > >>> >
> > >>> > Any thoughts on what I should do here?
> > >>> >
> > >>>
> > >>> Did you forgot to deploydb with -P tools/devcloud....? Looks like db
> > >>>does
> > >>> not know about ttylinux; check in cloud.vm_templates etc?
> > >>>
> > >>> Cheers.
> > >>>
> > >>>
> > >>> >
> > >>> > Thanks!
> > >>> >
> > >>> > --
> > >>> > *Mike Tutkowski*
> > >>> > *Senior CloudStack Developer, SolidFire Inc.*
> > >>> > e: mike.tutkowski@solidfire.com
> > >>> > o: 303.746.7302
> > >>> > Advancing the way the world uses the
> > >>> > cloud<http://solidfire.com/solution/overview/?video=play>
> > >>> > * *
> > >>> >
> > >>>
> > >>
> > >>
> > >>
> > >> --
> > >> *Mike Tutkowski*
> > >> *Senior CloudStack Developer, SolidFire Inc.*
> > >> e: mike.tutkowski@solidfire.com
> > >> o: 303.746.7302
> > >> Advancing the way the world uses the
> > >>cloud<http://solidfire.com/solution/overview/?video=play>
> > >> * *
> > >>
> > >
> > >
> > >
> > >--
> > >*Mike Tutkowski*
> > >*Senior CloudStack Developer, SolidFire Inc.*
> > >e: mike.tutkowski@solidfire.com
> > >o: 303.746.7302
> > >Advancing the way the world uses the
> > >cloud<http://solidfire.com/solution/overview/?video=play>
> > >* *
> >
> >
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *™*
>

Re: no tinyLinux template

Posted by Mike Tutkowski <mi...@solidfire.com>.
Yeah, I generally revert to the DevCloud2 initial state whenever I create a
new CS database...just to be on the safe side.

I see this folder:

/opt/storage/secondary/template/tmpl/1/5/ (the path is a little different
from yours)

It has a VHD file in it.

I looked at devcloud.cfg in the hopes that the secondary storage URL was
different, but it shows the following:

            "secondaryStorages": [
                {
                    "url": "nfs://192.168.56.10:/opt/storage/secondary"
                }


On Fri, Apr 19, 2013 at 10:51 AM, Chiradeep Vittal <
Chiradeep.Vittal@citrix.com> wrote:

> FWIW, I always revert to the initial snapshot of devcloud2 before
> switching contexts.
> You should also check
> select * from template_host_ref where template_id = 5;
>
> And inside DevCloud2
> ls /opt/secondary/template/tmpl/1/5/
>
> And, inside the SSVM
> ps -ef | grep java
>
>
> On 4/18/13 9:54 PM, "Mike Tutkowski" <mi...@solidfire.com> wrote:
>
> >It's strange...I deleted my entire cloud and re-created it this way:
> >
> >mvn -pl developer,tools/devcloud -Ddeploydb -P developer
> >
> >cd tools/devcloud ; python ../marvin/marvin/deployDataCenter.py -i
> >devcloud.cfg
> >
> >but still no tinyLinux template (even though it is in the
> >cloud.vm_template
> >table).
> >
> >
> >On Thu, Apr 18, 2013 at 10:05 PM, Mike Tutkowski <
> >mike.tutkowski@solidfire.com> wrote:
> >
> >> Here is what I used to deploy the DB:
> >>
> >> mvn -pl developer,tools/devcloud -Ddeploydb -P developer
> >>
> >> Also, cloud.vm_template has this row:
> >>
> >> '5', 'tiny Linux', 'tiny Linux', '2a182234-a87b-11e2-84ee-e322fe93e6c9',
> >> '1', '1', 'BUILTIN', '0', '64', '
> >> http://people.apache.org/~bhaisaab/vms/ttylinux_pv.vhd', 'VHD',
> >> '2013-04-18 16:56:11', NULL, '1', '046e134e642e6d344b34648223ba4bc1',
> >>'tiny
> >> Linux', '0', '0', '12', '1', '0', '1', '1', 'XenServer', NULL, NULL,
> >>'0',
> >> NULL, NULL, NULL, NULL, '1'
> >>
> >>
> >>
> >> On Thu, Apr 18, 2013 at 9:39 PM, Rohit Yadav <bh...@apache.org>
> >>wrote:
> >>
> >>> On Fri, Apr 19, 2013 at 8:26 AM, Mike Tutkowski <
> >>> mike.tutkowski@solidfire.com> wrote:
> >>>
> >>> > Hi,
> >>> >
> >>> > I've switched back to 4.2 (from 4.1), cleaned out my database,
> >>> re-created
> >>> > my DevCloud2 environment and all looks good with the exception that
> >>>I do
> >>> > not have a tinyLinux template.
> >>> >
> >>> > My SSVM is up and running.
> >>> >
> >>> > Any thoughts on what I should do here?
> >>> >
> >>>
> >>> Did you forgot to deploydb with -P tools/devcloud....? Looks like db
> >>>does
> >>> not know about ttylinux; check in cloud.vm_templates etc?
> >>>
> >>> Cheers.
> >>>
> >>>
> >>> >
> >>> > Thanks!
> >>> >
> >>> > --
> >>> > *Mike Tutkowski*
> >>> > *Senior CloudStack Developer, SolidFire Inc.*
> >>> > e: mike.tutkowski@solidfire.com
> >>> > o: 303.746.7302
> >>> > Advancing the way the world uses the
> >>> > cloud<http://solidfire.com/solution/overview/?video=play>
> >>> > * *
> >>> >
> >>>
> >>
> >>
> >>
> >> --
> >> *Mike Tutkowski*
> >> *Senior CloudStack Developer, SolidFire Inc.*
> >> e: mike.tutkowski@solidfire.com
> >> o: 303.746.7302
> >> Advancing the way the world uses the
> >>cloud<http://solidfire.com/solution/overview/?video=play>
> >> * *
> >>
> >
> >
> >
> >--
> >*Mike Tutkowski*
> >*Senior CloudStack Developer, SolidFire Inc.*
> >e: mike.tutkowski@solidfire.com
> >o: 303.746.7302
> >Advancing the way the world uses the
> >cloud<http://solidfire.com/solution/overview/?video=play>
> >* *
>
>


-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Re: no tinyLinux template

Posted by Rohit Yadav <bh...@apache.org>.
On Fri, Apr 19, 2013 at 11:18 PM, Edison Su <Ed...@citrix.com> wrote:

> The default ttylinux template does not pre-installed in latest devcloud2
> virtualbox image, and the system vm can't access public network, thus,
> can't download tty template.
> Either it should be fixed by Rohit and upload an new image to his
> devcloud2 link(
> http://people.apache.org/~bhaisaab/cloudstack/devcloud/devcloud2.ova), or
> provides a way to generate devcloud virtualbox image automatically in
> Jenkins.
>


/me facepalm

DevCloud2 (from the stated url) contains ttylinux. It's a known issue that
vms cannot reach out to the public network in DevCloud2, so I had already
pre-seeded tiny linux template in /opt/storage/secondary/... (you can
confirm the same). It works for me, it must be some other issue?

Cheers.


>
> > -----Original Message-----
> > From: Chiradeep Vittal [mailto:Chiradeep.Vittal@citrix.com]
> > Sent: Friday, April 19, 2013 9:51 AM
> > To: dev@cloudstack.apache.org
> > Subject: Re: no tinyLinux template
> >
> > FWIW, I always revert to the initial snapshot of devcloud2 before
> switching
> > contexts.
> > You should also check
> > select * from template_host_ref where template_id = 5;
> >
> > And inside DevCloud2
> > ls /opt/secondary/template/tmpl/1/5/
> >
> > And, inside the SSVM
> > ps -ef | grep java
> >
> >
> > On 4/18/13 9:54 PM, "Mike Tutkowski" <mi...@solidfire.com>
> > wrote:
> >
> > >It's strange...I deleted my entire cloud and re-created it this way:
> > >
> > >mvn -pl developer,tools/devcloud -Ddeploydb -P developer
> > >
> > >cd tools/devcloud ; python ../marvin/marvin/deployDataCenter.py -i
> > >devcloud.cfg
> > >
> > >but still no tinyLinux template (even though it is in the
> > >cloud.vm_template table).
> > >
> > >
> > >On Thu, Apr 18, 2013 at 10:05 PM, Mike Tutkowski <
> > >mike.tutkowski@solidfire.com> wrote:
> > >
> > >> Here is what I used to deploy the DB:
> > >>
> > >> mvn -pl developer,tools/devcloud -Ddeploydb -P developer
> > >>
> > >> Also, cloud.vm_template has this row:
> > >>
> > >> '5', 'tiny Linux', 'tiny Linux',
> > >>'2a182234-a87b-11e2-84ee-e322fe93e6c9',
> > >> '1', '1', 'BUILTIN', '0', '64', '
> > >> http://people.apache.org/~bhaisaab/vms/ttylinux_pv.vhd', 'VHD',
> > >> '2013-04-18 16:56:11', NULL, '1', '046e134e642e6d344b34648223ba4bc1',
> > >>'tiny
> > >> Linux', '0', '0', '12', '1', '0', '1', '1', 'XenServer', NULL, NULL,
> > >>'0',  NULL, NULL, NULL, NULL, '1'
> > >>
> > >>
> > >>
> > >> On Thu, Apr 18, 2013 at 9:39 PM, Rohit Yadav <bh...@apache.org>
> > >>wrote:
> > >>
> > >>> On Fri, Apr 19, 2013 at 8:26 AM, Mike Tutkowski <
> > >>> mike.tutkowski@solidfire.com> wrote:
> > >>>
> > >>> > Hi,
> > >>> >
> > >>> > I've switched back to 4.2 (from 4.1), cleaned out my database,
> > >>> re-created
> > >>> > my DevCloud2 environment and all looks good with the exception
> > >>> > that
> > >>>I do
> > >>> > not have a tinyLinux template.
> > >>> >
> > >>> > My SSVM is up and running.
> > >>> >
> > >>> > Any thoughts on what I should do here?
> > >>> >
> > >>>
> > >>> Did you forgot to deploydb with -P tools/devcloud....? Looks like db
> > >>>does  not know about ttylinux; check in cloud.vm_templates etc?
> > >>>
> > >>> Cheers.
> > >>>
> > >>>
> > >>> >
> > >>> > Thanks!
> > >>> >
> > >>> > --
> > >>> > *Mike Tutkowski*
> > >>> > *Senior CloudStack Developer, SolidFire Inc.*
> > >>> > e: mike.tutkowski@solidfire.com
> > >>> > o: 303.746.7302
> > >>> > Advancing the way the world uses the
> > >>> > cloud<http://solidfire.com/solution/overview/?video=play>
> > >>> > * *
> > >>> >
> > >>>
> > >>
> > >>
> > >>
> > >> --
> > >> *Mike Tutkowski*
> > >> *Senior CloudStack Developer, SolidFire Inc.*
> > >> e: mike.tutkowski@solidfire.com
> > >> o: 303.746.7302
> > >> Advancing the way the world uses the
> > >>cloud<http://solidfire.com/solution/overview/?video=play>
> > >> * *
> > >>
> > >
> > >
> > >
> > >--
> > >*Mike Tutkowski*
> > >*Senior CloudStack Developer, SolidFire Inc.*
> > >e: mike.tutkowski@solidfire.com
> > >o: 303.746.7302
> > >Advancing the way the world uses the
> > >cloud<http://solidfire.com/solution/overview/?video=play>
> > >* *
>
>

RE: no tinyLinux template

Posted by Edison Su <Ed...@citrix.com>.
The default ttylinux template does not pre-installed in latest devcloud2 virtualbox image, and the system vm can't access public network, thus, can't download tty template.
Either it should be fixed by Rohit and upload an new image to his devcloud2 link(http://people.apache.org/~bhaisaab/cloudstack/devcloud/devcloud2.ova), or provides a way to generate devcloud virtualbox image automatically in Jenkins.

> -----Original Message-----
> From: Chiradeep Vittal [mailto:Chiradeep.Vittal@citrix.com]
> Sent: Friday, April 19, 2013 9:51 AM
> To: dev@cloudstack.apache.org
> Subject: Re: no tinyLinux template
> 
> FWIW, I always revert to the initial snapshot of devcloud2 before switching
> contexts.
> You should also check
> select * from template_host_ref where template_id = 5;
> 
> And inside DevCloud2
> ls /opt/secondary/template/tmpl/1/5/
> 
> And, inside the SSVM
> ps -ef | grep java
> 
> 
> On 4/18/13 9:54 PM, "Mike Tutkowski" <mi...@solidfire.com>
> wrote:
> 
> >It's strange...I deleted my entire cloud and re-created it this way:
> >
> >mvn -pl developer,tools/devcloud -Ddeploydb -P developer
> >
> >cd tools/devcloud ; python ../marvin/marvin/deployDataCenter.py -i
> >devcloud.cfg
> >
> >but still no tinyLinux template (even though it is in the
> >cloud.vm_template table).
> >
> >
> >On Thu, Apr 18, 2013 at 10:05 PM, Mike Tutkowski <
> >mike.tutkowski@solidfire.com> wrote:
> >
> >> Here is what I used to deploy the DB:
> >>
> >> mvn -pl developer,tools/devcloud -Ddeploydb -P developer
> >>
> >> Also, cloud.vm_template has this row:
> >>
> >> '5', 'tiny Linux', 'tiny Linux',
> >>'2a182234-a87b-11e2-84ee-e322fe93e6c9',
> >> '1', '1', 'BUILTIN', '0', '64', '
> >> http://people.apache.org/~bhaisaab/vms/ttylinux_pv.vhd', 'VHD',
> >> '2013-04-18 16:56:11', NULL, '1', '046e134e642e6d344b34648223ba4bc1',
> >>'tiny
> >> Linux', '0', '0', '12', '1', '0', '1', '1', 'XenServer', NULL, NULL,
> >>'0',  NULL, NULL, NULL, NULL, '1'
> >>
> >>
> >>
> >> On Thu, Apr 18, 2013 at 9:39 PM, Rohit Yadav <bh...@apache.org>
> >>wrote:
> >>
> >>> On Fri, Apr 19, 2013 at 8:26 AM, Mike Tutkowski <
> >>> mike.tutkowski@solidfire.com> wrote:
> >>>
> >>> > Hi,
> >>> >
> >>> > I've switched back to 4.2 (from 4.1), cleaned out my database,
> >>> re-created
> >>> > my DevCloud2 environment and all looks good with the exception
> >>> > that
> >>>I do
> >>> > not have a tinyLinux template.
> >>> >
> >>> > My SSVM is up and running.
> >>> >
> >>> > Any thoughts on what I should do here?
> >>> >
> >>>
> >>> Did you forgot to deploydb with -P tools/devcloud....? Looks like db
> >>>does  not know about ttylinux; check in cloud.vm_templates etc?
> >>>
> >>> Cheers.
> >>>
> >>>
> >>> >
> >>> > Thanks!
> >>> >
> >>> > --
> >>> > *Mike Tutkowski*
> >>> > *Senior CloudStack Developer, SolidFire Inc.*
> >>> > e: mike.tutkowski@solidfire.com
> >>> > o: 303.746.7302
> >>> > Advancing the way the world uses the
> >>> > cloud<http://solidfire.com/solution/overview/?video=play>
> >>> > **
> >>> >
> >>>
> >>
> >>
> >>
> >> --
> >> *Mike Tutkowski*
> >> *Senior CloudStack Developer, SolidFire Inc.*
> >> e: mike.tutkowski@solidfire.com
> >> o: 303.746.7302
> >> Advancing the way the world uses the
> >>cloud<http://solidfire.com/solution/overview/?video=play>
> >> **
> >>
> >
> >
> >
> >--
> >*Mike Tutkowski*
> >*Senior CloudStack Developer, SolidFire Inc.*
> >e: mike.tutkowski@solidfire.com
> >o: 303.746.7302
> >Advancing the way the world uses the
> >cloud<http://solidfire.com/solution/overview/?video=play>
> >**


Re: no tinyLinux template

Posted by Chiradeep Vittal <Ch...@citrix.com>.
FWIW, I always revert to the initial snapshot of devcloud2 before
switching contexts.
You should also check
select * from template_host_ref where template_id = 5;

And inside DevCloud2
ls /opt/secondary/template/tmpl/1/5/

And, inside the SSVM
ps -ef | grep java


On 4/18/13 9:54 PM, "Mike Tutkowski" <mi...@solidfire.com> wrote:

>It's strange...I deleted my entire cloud and re-created it this way:
>
>mvn -pl developer,tools/devcloud -Ddeploydb -P developer
>
>cd tools/devcloud ; python ../marvin/marvin/deployDataCenter.py -i
>devcloud.cfg
>
>but still no tinyLinux template (even though it is in the
>cloud.vm_template
>table).
>
>
>On Thu, Apr 18, 2013 at 10:05 PM, Mike Tutkowski <
>mike.tutkowski@solidfire.com> wrote:
>
>> Here is what I used to deploy the DB:
>>
>> mvn -pl developer,tools/devcloud -Ddeploydb -P developer
>>
>> Also, cloud.vm_template has this row:
>>
>> '5', 'tiny Linux', 'tiny Linux', '2a182234-a87b-11e2-84ee-e322fe93e6c9',
>> '1', '1', 'BUILTIN', '0', '64', '
>> http://people.apache.org/~bhaisaab/vms/ttylinux_pv.vhd', 'VHD',
>> '2013-04-18 16:56:11', NULL, '1', '046e134e642e6d344b34648223ba4bc1',
>>'tiny
>> Linux', '0', '0', '12', '1', '0', '1', '1', 'XenServer', NULL, NULL,
>>'0',
>> NULL, NULL, NULL, NULL, '1'
>>
>>
>>
>> On Thu, Apr 18, 2013 at 9:39 PM, Rohit Yadav <bh...@apache.org>
>>wrote:
>>
>>> On Fri, Apr 19, 2013 at 8:26 AM, Mike Tutkowski <
>>> mike.tutkowski@solidfire.com> wrote:
>>>
>>> > Hi,
>>> >
>>> > I've switched back to 4.2 (from 4.1), cleaned out my database,
>>> re-created
>>> > my DevCloud2 environment and all looks good with the exception that
>>>I do
>>> > not have a tinyLinux template.
>>> >
>>> > My SSVM is up and running.
>>> >
>>> > Any thoughts on what I should do here?
>>> >
>>>
>>> Did you forgot to deploydb with -P tools/devcloud....? Looks like db
>>>does
>>> not know about ttylinux; check in cloud.vm_templates etc?
>>>
>>> Cheers.
>>>
>>>
>>> >
>>> > Thanks!
>>> >
>>> > --
>>> > *Mike Tutkowski*
>>> > *Senior CloudStack Developer, SolidFire Inc.*
>>> > e: mike.tutkowski@solidfire.com
>>> > o: 303.746.7302
>>> > Advancing the way the world uses the
>>> > cloud<http://solidfire.com/solution/overview/?video=play>
>>> > **
>>> >
>>>
>>
>>
>>
>> --
>> *Mike Tutkowski*
>> *Senior CloudStack Developer, SolidFire Inc.*
>> e: mike.tutkowski@solidfire.com
>> o: 303.746.7302
>> Advancing the way the world uses the
>>cloud<http://solidfire.com/solution/overview/?video=play>
>> **
>>
>
>
>
>-- 
>*Mike Tutkowski*
>*Senior CloudStack Developer, SolidFire Inc.*
>e: mike.tutkowski@solidfire.com
>o: 303.746.7302
>Advancing the way the world uses the
>cloud<http://solidfire.com/solution/overview/?video=play>
>**


Re: no tinyLinux template

Posted by Mike Tutkowski <mi...@solidfire.com>.
It's strange...I deleted my entire cloud and re-created it this way:

mvn -pl developer,tools/devcloud -Ddeploydb -P developer

cd tools/devcloud ; python ../marvin/marvin/deployDataCenter.py -i
devcloud.cfg

but still no tinyLinux template (even though it is in the cloud.vm_template
table).


On Thu, Apr 18, 2013 at 10:05 PM, Mike Tutkowski <
mike.tutkowski@solidfire.com> wrote:

> Here is what I used to deploy the DB:
>
> mvn -pl developer,tools/devcloud -Ddeploydb -P developer
>
> Also, cloud.vm_template has this row:
>
> '5', 'tiny Linux', 'tiny Linux', '2a182234-a87b-11e2-84ee-e322fe93e6c9',
> '1', '1', 'BUILTIN', '0', '64', '
> http://people.apache.org/~bhaisaab/vms/ttylinux_pv.vhd', 'VHD',
> '2013-04-18 16:56:11', NULL, '1', '046e134e642e6d344b34648223ba4bc1', 'tiny
> Linux', '0', '0', '12', '1', '0', '1', '1', 'XenServer', NULL, NULL, '0',
> NULL, NULL, NULL, NULL, '1'
>
>
>
> On Thu, Apr 18, 2013 at 9:39 PM, Rohit Yadav <bh...@apache.org> wrote:
>
>> On Fri, Apr 19, 2013 at 8:26 AM, Mike Tutkowski <
>> mike.tutkowski@solidfire.com> wrote:
>>
>> > Hi,
>> >
>> > I've switched back to 4.2 (from 4.1), cleaned out my database,
>> re-created
>> > my DevCloud2 environment and all looks good with the exception that I do
>> > not have a tinyLinux template.
>> >
>> > My SSVM is up and running.
>> >
>> > Any thoughts on what I should do here?
>> >
>>
>> Did you forgot to deploydb with -P tools/devcloud....? Looks like db does
>> not know about ttylinux; check in cloud.vm_templates etc?
>>
>> Cheers.
>>
>>
>> >
>> > Thanks!
>> >
>> > --
>> > *Mike Tutkowski*
>> > *Senior CloudStack Developer, SolidFire Inc.*
>> > e: mike.tutkowski@solidfire.com
>> > o: 303.746.7302
>> > Advancing the way the world uses the
>> > cloud<http://solidfire.com/solution/overview/?video=play>
>> > *™*
>> >
>>
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud<http://solidfire.com/solution/overview/?video=play>
> *™*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Re: no tinyLinux template

Posted by Mike Tutkowski <mi...@solidfire.com>.
Here is what I used to deploy the DB:

mvn -pl developer,tools/devcloud -Ddeploydb -P developer

Also, cloud.vm_template has this row:

'5', 'tiny Linux', 'tiny Linux', '2a182234-a87b-11e2-84ee-e322fe93e6c9',
'1', '1', 'BUILTIN', '0', '64', '
http://people.apache.org/~bhaisaab/vms/ttylinux_pv.vhd', 'VHD', '2013-04-18
16:56:11', NULL, '1', '046e134e642e6d344b34648223ba4bc1', 'tiny Linux',
'0', '0', '12', '1', '0', '1', '1', 'XenServer', NULL, NULL, '0', NULL,
NULL, NULL, NULL, '1'



On Thu, Apr 18, 2013 at 9:39 PM, Rohit Yadav <bh...@apache.org> wrote:

> On Fri, Apr 19, 2013 at 8:26 AM, Mike Tutkowski <
> mike.tutkowski@solidfire.com> wrote:
>
> > Hi,
> >
> > I've switched back to 4.2 (from 4.1), cleaned out my database, re-created
> > my DevCloud2 environment and all looks good with the exception that I do
> > not have a tinyLinux template.
> >
> > My SSVM is up and running.
> >
> > Any thoughts on what I should do here?
> >
>
> Did you forgot to deploydb with -P tools/devcloud....? Looks like db does
> not know about ttylinux; check in cloud.vm_templates etc?
>
> Cheers.
>
>
> >
> > Thanks!
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkowski@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the
> > cloud<http://solidfire.com/solution/overview/?video=play>
> > *™*
> >
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Re: no tinyLinux template

Posted by Rohit Yadav <bh...@apache.org>.
On Fri, Apr 19, 2013 at 8:26 AM, Mike Tutkowski <
mike.tutkowski@solidfire.com> wrote:

> Hi,
>
> I've switched back to 4.2 (from 4.1), cleaned out my database, re-created
> my DevCloud2 environment and all looks good with the exception that I do
> not have a tinyLinux template.
>
> My SSVM is up and running.
>
> Any thoughts on what I should do here?
>

Did you forgot to deploydb with -P tools/devcloud....? Looks like db does
not know about ttylinux; check in cloud.vm_templates etc?

Cheers.


>
> Thanks!
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *™*
>

RE: no tinyLinux template

Posted by Rajesh Battala <ra...@citrix.com>.
Can you login to ssvm and check cloud process is running and able to connect to mgmt server? . from Global Settings check the host ip. It should be starting with 192.* instead of 10.* 
if it is 10.* then ssvm won't be able to connect to mgmt server with that ip, and same will be reported in the ssvm log.  Change the ip in the global settings and recreated the ssvm then you would be able to see the tiny linx template. 

Thanks
Rajesh Battala
> -----Original Message-----
> From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com]
> Sent: Friday, April 19, 2013 8:27 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: no tinyLinux template
> 
> Hi,
> 
> I've switched back to 4.2 (from 4.1), cleaned out my database, re-created my
> DevCloud2 environment and all looks good with the exception that I do not
> have a tinyLinux template.
> 
> My SSVM is up and running.
> 
> Any thoughts on what I should do here?
> 
> Thanks!
> 
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *(tm)*