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 2012/12/20 10:58:24 UTC

Can not find systemvmiso

Hi all:

            I was building CloudStack on master branch in my laptop but
encounter a problem. When I tried to add a XenServer as my hypervisor, I
got following errors :

"Catch Exception: class com.cloud.utils.exception.CloudRuntimeException due
to com.cloud.utils.exception.CloudRuntimeException: can not find
systemvmiso"

Here are my building commands :

   1. mvn -P developer,systemvm clean install
   2. mvn -P developer -pl developer -Ddeploydb
   3. mvn -pl :cloud-client-ui jetty:run

Did I miss anything here?


Thanks & Best regards

Isaac

-- 
Thanks & Best regards

Isaac Chiang,

Re: Can not find systemvmiso

Posted by Isaac Chiang <is...@gmail.com>.
Hi Rohit:
           My bad, I forgot to put the mkisofs in the path :(. Thanks for
the reminding.



On Fri, Dec 21, 2012 at 3:30 AM, Rohit Yadav <ro...@citrix.com> wrote:

>
> On 20-Dec-2012, at 1:58 AM, Isaac Chiang <is...@gmail.com> wrote:
>
> > Hi all:
> >
> >            I was building CloudStack on master branch in my laptop but
> > encounter a problem. When I tried to add a XenServer as my hypervisor, I
> > got following errors :
> >
> > "Catch Exception: class com.cloud.utils.exception.CloudRuntimeException
> due
> > to com.cloud.utils.exception.CloudRuntimeException: can not find
> > systemvmiso"
> >
> > Here are my building commands :
> >
> >   1. mvn -P developer,systemvm clean install
> >   2. mvn -P developer -pl developer -Ddeploydb
> >   3. mvn -pl :cloud-client-ui jetty:run
> >
> > Did I miss anything here?
>
> Do you have mkisofs 3.0 or above? Also check if the systemvm.iso built in
> the process is readable and mountable.
> XenServer should have vhd-util installed.
>
> Regards.
>
> >
> >
> > Thanks & Best regards
> >
> > Isaac
> >
> > --
> > Thanks & Best regards
> >
> > Isaac Chiang,
>
>


-- 
Thanks & Best regards

Isaac

Re: Can not find systemvmiso

Posted by Rohit Yadav <ro...@citrix.com>.
On 20-Dec-2012, at 1:58 AM, Isaac Chiang <is...@gmail.com> wrote:

> Hi all:
> 
>            I was building CloudStack on master branch in my laptop but
> encounter a problem. When I tried to add a XenServer as my hypervisor, I
> got following errors :
> 
> "Catch Exception: class com.cloud.utils.exception.CloudRuntimeException due
> to com.cloud.utils.exception.CloudRuntimeException: can not find
> systemvmiso"
> 
> Here are my building commands :
> 
>   1. mvn -P developer,systemvm clean install
>   2. mvn -P developer -pl developer -Ddeploydb
>   3. mvn -pl :cloud-client-ui jetty:run
> 
> Did I miss anything here?

Do you have mkisofs 3.0 or above? Also check if the systemvm.iso built in the process is readable and mountable.
XenServer should have vhd-util installed.

Regards.

> 
> 
> Thanks & Best regards
> 
> Isaac
> 
> -- 
> Thanks & Best regards
> 
> Isaac Chiang,


Re: Can not find systemvmiso

Posted by Isaac Chiang <is...@gmail.com>.
Hi Matt:
         Before bringing up the management server, I have had copied entire
template folder from my another secondary storage of running CloudStack(4.0
release built with ant). If I didn't get anything wrong, the step is same
with installation guid for the template.
I noticed that in the previous ant built CloudStack, there is a file named
system.iso placed in dist/. After "ant deploy-server", the file will have a
copy in webapps/client/WEB-INF/lib/vms/. But I can't find the file in a
maven built CloudStack anywhere, so I'm wondering if I missed some steps to
install the system vm templates. I'll follow the document again and see if
I can add the hypervisor successfully. Please let me know if I get anything
wrong. Thanks for the reply :)

On Thu, Dec 20, 2012 at 10:17 PM, Mathias Mullins <
mathias.mullins@citrix.com> wrote:

> Hey Isaac,
>
> Refer to section 4.5.7 of the install guide for the template.
>
> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-i
> ncubating/html/Installation_Guide/management-server-install-flow.html#prepa
> re-system-vm-template
>
> Command for XenServer
> #/usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
> http://download.cloud.com/templates/acton/acton-systemvm-02062012.vhd.bz2
> -h xenserver -s <optional-management-server-secret-key> -F
>
>
> Matt
> On Dec 20, 2012, at 4:58 AM, "Isaac Chiang" <isaacchiang@gmail.com<mailto:
> isaacchiang@gmail.com>> wrote:
>
> Hi all:
>
>            I was building CloudStack on master branch in my laptop but
> encounter a problem. When I tried to add a XenServer as my hypervisor, I
> got following errors :
>
> "Catch Exception: class com.cloud.utils.exception.CloudRuntimeException due
> to com.cloud.utils.exception.CloudRuntimeException: can not find
> systemvmiso"
>
> Here are my building commands :
>
>   1. mvn -P developer,systemvm clean install
>   2. mvn -P developer -pl developer -Ddeploydb
>   3. mvn -pl :cloud-client-ui jetty:run
>
> Did I miss anything here?
>
>
> Thanks & Best regards
>
> Isaac
>
> --
> Thanks & Best regards
>
> Isaac Chiang,
>



-- 
Thanks & Best regards

Isaac

Re: Can not find systemvmiso

Posted by Mathias Mullins <ma...@citrix.com>.
Hey Isaac,

Refer to section 4.5.7 of the install guide for the template.

http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-i
ncubating/html/Installation_Guide/management-server-install-flow.html#prepa
re-system-vm-template

Command for XenServer
#/usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt
-m /mnt/secondary -u
http://download.cloud.com/templates/acton/acton-systemvm-02062012.vhd.bz2
-h xenserver -s <optional-management-server-secret-key> -F


Matt
On Dec 20, 2012, at 4:58 AM, "Isaac Chiang" <is...@gmail.com>> wrote:

Hi all:

           I was building CloudStack on master branch in my laptop but
encounter a problem. When I tried to add a XenServer as my hypervisor, I
got following errors :

"Catch Exception: class com.cloud.utils.exception.CloudRuntimeException due
to com.cloud.utils.exception.CloudRuntimeException: can not find
systemvmiso"

Here are my building commands :

  1. mvn -P developer,systemvm clean install
  2. mvn -P developer -pl developer -Ddeploydb
  3. mvn -pl :cloud-client-ui jetty:run

Did I miss anything here?


Thanks & Best regards

Isaac

--
Thanks & Best regards

Isaac Chiang,