You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Paul Angus <pa...@shapeblue.com> on 2013/01/11 09:42:55 UTC

RE: CloudStack 4 Templates

You can tell cloudstack the 'share' or 'nfs export' to connect to, examples might be:

/mnt/secondary
/exports/secondary
/home/storage/secondary


where CloudStack mounts that is hardcoded into the CloudStack element which is mounting it.

you can use the management server to host storage for small or POC deployments, but you must share the storage location and connect to that share. And almost forget that it happens to be on the cloudstack management server - treat it like an nfs server with the same ip addres as the management server.

you tell cloudstack the location of the secondary storage share in Infrastructure > Secondary Storage in the UI.


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.angus@shapeblue.com

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 11 January 2013 08:15
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi Paul,

The directory mounted is named as /mnt/secondary and not mnt/sec.
I am not sure from where its picking the /mnt/sec directory.
Any idea if this is configured somewhere?

Thanks and Regards.

Asmita Patil Vagyani.


-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com]
Sent: 11 January 2013 PM 01:33
To: cloudstack-users@incubator.apache.org
Subject: RE: Cloudstack 4 Templates

Hi Asmita,

First guess... check the permissions on your secondary storage (and the subfolders). The 'no_root_squash' is important in share configuration, all files/folders should allow root to have read and write access.

NB "/mnt/sec/template/tmpl/1/8" should be how the SSVM mounts the secondary storage



Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.angus@shapeblue.com

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 11 January 2013 07:26
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

An update:

When I start the Management server for Cloudstack 4. I can see the count of System VMs as 2.
But after some time, one of the system VMs goes down.

When I see the management server logs, I saw the reason as -
2013-01-11 01:26:21,475 WARN  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Exception: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
java.io.IOException: Cannot run program "tar" (in directory "/mnt/sec/template/tmpl/1/8"): error=2, No such file or directory

The directory mounted is named as /mnt/secondary and not mnt/sec.
I am not sure from where its picking the /mnt/sec directory.
Any idea if this is configured somewhere?

Thanks and Regards.

Asmita Patil Vagyani.



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 11 January 2013 PM 12:31
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi all,

When I start the Managemnt server for Cloudstack 4. I can see the count of System VMs as 2.
But after some time, one of the system VMs goes down.

When I see the management server logs, I saw the reason as -
2013-01-11 01:26:21,475 WARN  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Exception: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
java.io.IOException: Cannot run program "tar" (in directory "/mnt/sec/template/tmpl/1/8"): error=2, No such file or directory

The routing-8.ova is not present in the tmpl directory, instead some ova with name f1f6983d-9f10-40cd-be5d-fb366daadbfa.ova is found in the same location.
I saw the bug 6885 in CS Bugtracker, I am not sure if renaming the .ova file is the cause of problem.

Please let me know if I am in the right direction.

Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Srikanteswararao Talluri [mailto:srikanteswararao.talluri@citrix.com]
Sent: 10 January 2013 PM 01:47
To: cloudstack-users@incubator.apache.org; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi Asmita,

In that case, your deployment must be having a default CentOS template downloaded. Please check the 'listTemplates'. For some reason, if that template download was not successful (could be an issue with network reachability or wrong url provided in db),
You can check network reachability from secondary storage VM or   cloud.vm_template table in the database.

In any case, You can get a OVA template for CentOS  @ http://download.cloud.com/releases/2.2.0/CentOS5.3-x86_64.ova

Thanks,
~Talluri

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Thursday, January 10, 2013 1:35 PM
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi Sri,
I used the burbank template for installing the system VM during installation, its done.
I have created zone, POD, VMWare Cluster and hosts too.
Now I want to deploy a VM on the host.

In the deployVirtualMachine API we need to provide the template ID for the template.
I want to create a template first, how can create it?


Thanks and Regards.

Asmita Patil Vagyani.


-----Original Message-----
From: Srikanteswararao Talluri [mailto:srikanteswararao.talluri@citrix.com]
Sent: 10 January 2013 PM 01:26
To: cloudstack-users@incubator.apache.org; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

This is the systemvm template for cloudstack 4.0(for VMWare) http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova
You can use the above template to bring up system VM not Guest VMs.



Please refer to the following link for documentation:

http://incubator.apache.org/cloudstack/docs/en-US/index.html



Thanks,
~Talluri

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Thursday, January 10, 2013 1:01 PM
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: Cloudstack 4 Templates

Hi,
I want to register a template in Cloudstack 4 client console.
I want the ova file downloadable link for VMWare.
This template will be used for creating a VM on the cluster host.

I saw in the Cloudstack 3.0 documentation that for vmware system template link is http://download.cloud.com/templates/acton/actonsystemvm-02062012.ova
Can I use the same template for cloudstack 4.
Also, can this system template be used for creating a VM.

Is there a library of such templates for different hypervisors, if yes plz let me knw the link.


Thanks and Regards.

Asmita Patil Vagyani.











ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack 4 Templates

Posted by Paul Angus <pa...@shapeblue.com>.
Hi,

The only place you can define your secondary storage is in Infrastructure > Secondary Storage in the UI.

If you have exported /mnt/secondary as the share, it's legitimate for a client to mount that as /mnt/sec (you can't change that)


Some manual troubleshooting to try is to go to your ESXi host and try to manually mount the secondary storage share as an nfs volume, then browse to it and check you can see the files/folders and that you have read/write permission.




Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.angus@shapeblue.com

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 11 January 2013 09:24
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: CloudStack 4 Templates

Hi Paul,

The secondary storage is properly configured in cloudstack secondary storage share in Infrastructure.
I can see it.
Now the problem is during the booting process of management server it tries to start the system VM, for which it needs the routing-8.ova.
THis routing.ova is in the secondary storage.
It is trying to lookup this ova file into wrong directory /mnt/sec , but actually the directory is /mnt/secondary.

THis is the problem, I don’t know where this wrong path /mnt/sec is coming from.

Logs show :
2013-01-11 01:26:21,474 INFO  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Secondary storage mount point: /mnt/sec
2013-01-11 01:26:21,474 INFO  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Executing command: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
2013-01-11 01:26:21,474 DEBUG [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Executing: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
2013-01-11 01:26:21,475 WARN  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Exception: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
java.io.IOException: Cannot run program "tar" (in directory "/mnt/sec/template/tmpl/1/8"): error=2, No such file or directory

Thanks and Regards.

Asmita Patil Vagyani.


-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com]
Sent: 11 January 2013 PM 02:13
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack 4 Templates

You can tell cloudstack the 'share' or 'nfs export' to connect to, examples might be:

/mnt/secondary
/exports/secondary
/home/storage/secondary


where CloudStack mounts that is hardcoded into the CloudStack element which is mounting it.

you can use the management server to host storage for small or POC deployments, but you must share the storage location and connect to that share. And almost forget that it happens to be on the cloudstack management server - treat it like an nfs server with the same ip addres as the management server.

you tell cloudstack the location of the secondary storage share in Infrastructure > Secondary Storage in the UI.


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.angus@shapeblue.com

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 11 January 2013 08:15
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi Paul,

The directory mounted is named as /mnt/secondary and not mnt/sec.
I am not sure from where its picking the /mnt/sec directory.
Any idea if this is configured somewhere?

Thanks and Regards.

Asmita Patil Vagyani.


-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com]
Sent: 11 January 2013 PM 01:33
To: cloudstack-users@incubator.apache.org
Subject: RE: Cloudstack 4 Templates

Hi Asmita,

First guess... check the permissions on your secondary storage (and the subfolders). The 'no_root_squash' is important in share configuration, all files/folders should allow root to have read and write access.

NB "/mnt/sec/template/tmpl/1/8" should be how the SSVM mounts the secondary storage



Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.angus@shapeblue.com

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 11 January 2013 07:26
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

An update:

When I start the Management server for Cloudstack 4. I can see the count of System VMs as 2.
But after some time, one of the system VMs goes down.

When I see the management server logs, I saw the reason as -
2013-01-11 01:26:21,475 WARN  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Exception: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
java.io.IOException: Cannot run program "tar" (in directory "/mnt/sec/template/tmpl/1/8"): error=2, No such file or directory

The directory mounted is named as /mnt/secondary and not mnt/sec.
I am not sure from where its picking the /mnt/sec directory.
Any idea if this is configured somewhere?

Thanks and Regards.

Asmita Patil Vagyani.



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 11 January 2013 PM 12:31
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi all,

When I start the Managemnt server for Cloudstack 4. I can see the count of System VMs as 2.
But after some time, one of the system VMs goes down.

When I see the management server logs, I saw the reason as -
2013-01-11 01:26:21,475 WARN  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Exception: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
java.io.IOException: Cannot run program "tar" (in directory "/mnt/sec/template/tmpl/1/8"): error=2, No such file or directory

The routing-8.ova is not present in the tmpl directory, instead some ova with name f1f6983d-9f10-40cd-be5d-fb366daadbfa.ova is found in the same location.
I saw the bug 6885 in CS Bugtracker, I am not sure if renaming the .ova file is the cause of problem.

Please let me know if I am in the right direction.

Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Srikanteswararao Talluri [mailto:srikanteswararao.talluri@citrix.com]
Sent: 10 January 2013 PM 01:47
To: cloudstack-users@incubator.apache.org; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi Asmita,

In that case, your deployment must be having a default CentOS template downloaded. Please check the 'listTemplates'. For some reason, if that template download was not successful (could be an issue with network reachability or wrong url provided in db),
You can check network reachability from secondary storage VM or   cloud.vm_template table in the database.

In any case, You can get a OVA template for CentOS  @ http://download.cloud.com/releases/2.2.0/CentOS5.3-x86_64.ova

Thanks,
~Talluri

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Thursday, January 10, 2013 1:35 PM
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi Sri,
I used the burbank template for installing the system VM during installation, its done.
I have created zone, POD, VMWare Cluster and hosts too.
Now I want to deploy a VM on the host.

In the deployVirtualMachine API we need to provide the template ID for the template.
I want to create a template first, how can create it?


Thanks and Regards.

Asmita Patil Vagyani.


-----Original Message-----
From: Srikanteswararao Talluri [mailto:srikanteswararao.talluri@citrix.com]
Sent: 10 January 2013 PM 01:26
To: cloudstack-users@incubator.apache.org; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

This is the systemvm template for cloudstack 4.0(for VMWare) http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova
You can use the above template to bring up system VM not Guest VMs.



Please refer to the following link for documentation:

http://incubator.apache.org/cloudstack/docs/en-US/index.html



Thanks,
~Talluri

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Thursday, January 10, 2013 1:01 PM
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: Cloudstack 4 Templates

Hi,
I want to register a template in Cloudstack 4 client console.
I want the ova file downloadable link for VMWare.
This template will be used for creating a VM on the cluster host.

I saw in the Cloudstack 3.0 documentation that for vmware system template link is http://download.cloud.com/templates/acton/actonsystemvm-02062012.ova
Can I use the same template for cloudstack 4.
Also, can this system template be used for creating a VM.

Is there a library of such templates for different hypervisors, if yes plz let me knw the link.


Thanks and Regards.

Asmita Patil Vagyani.











ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack 4 Templates

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi Paul,

The secondary storage is properly configured in cloudstack secondary storage share in Infrastructure.
I can see it.
Now the problem is during the booting process of management server it tries to start the system VM, for which it needs the routing-8.ova.
THis routing.ova is in the secondary storage.
It is trying to lookup this ova file into wrong directory /mnt/sec , but actually the directory is /mnt/secondary.

THis is the problem, I don’t know where this wrong path /mnt/sec is coming from.

Logs show : 
2013-01-11 01:26:21,474 INFO  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Secondary storage mount point: /mnt/sec
2013-01-11 01:26:21,474 INFO  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Executing command: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
2013-01-11 01:26:21,474 DEBUG [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Executing: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
2013-01-11 01:26:21,475 WARN  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Exception: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
java.io.IOException: Cannot run program "tar" (in directory "/mnt/sec/template/tmpl/1/8"): error=2, No such file or directory

Thanks and Regards.

Asmita Patil Vagyani. 


-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com] 
Sent: 11 January 2013 PM 02:13
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack 4 Templates

You can tell cloudstack the 'share' or 'nfs export' to connect to, examples might be:

/mnt/secondary
/exports/secondary
/home/storage/secondary


where CloudStack mounts that is hardcoded into the CloudStack element which is mounting it.

you can use the management server to host storage for small or POC deployments, but you must share the storage location and connect to that share. And almost forget that it happens to be on the cloudstack management server - treat it like an nfs server with the same ip addres as the management server.

you tell cloudstack the location of the secondary storage share in Infrastructure > Secondary Storage in the UI.


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.angus@shapeblue.com

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 11 January 2013 08:15
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi Paul,

The directory mounted is named as /mnt/secondary and not mnt/sec.
I am not sure from where its picking the /mnt/sec directory.
Any idea if this is configured somewhere?

Thanks and Regards.

Asmita Patil Vagyani.


-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com]
Sent: 11 January 2013 PM 01:33
To: cloudstack-users@incubator.apache.org
Subject: RE: Cloudstack 4 Templates

Hi Asmita,

First guess... check the permissions on your secondary storage (and the subfolders). The 'no_root_squash' is important in share configuration, all files/folders should allow root to have read and write access.

NB "/mnt/sec/template/tmpl/1/8" should be how the SSVM mounts the secondary storage



Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.angus@shapeblue.com

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 11 January 2013 07:26
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

An update:

When I start the Management server for Cloudstack 4. I can see the count of System VMs as 2.
But after some time, one of the system VMs goes down.

When I see the management server logs, I saw the reason as -
2013-01-11 01:26:21,475 WARN  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Exception: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
java.io.IOException: Cannot run program "tar" (in directory "/mnt/sec/template/tmpl/1/8"): error=2, No such file or directory

The directory mounted is named as /mnt/secondary and not mnt/sec.
I am not sure from where its picking the /mnt/sec directory.
Any idea if this is configured somewhere?

Thanks and Regards.

Asmita Patil Vagyani.



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 11 January 2013 PM 12:31
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi all,

When I start the Managemnt server for Cloudstack 4. I can see the count of System VMs as 2.
But after some time, one of the system VMs goes down.

When I see the management server logs, I saw the reason as -
2013-01-11 01:26:21,475 WARN  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Exception: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
java.io.IOException: Cannot run program "tar" (in directory "/mnt/sec/template/tmpl/1/8"): error=2, No such file or directory

The routing-8.ova is not present in the tmpl directory, instead some ova with name f1f6983d-9f10-40cd-be5d-fb366daadbfa.ova is found in the same location.
I saw the bug 6885 in CS Bugtracker, I am not sure if renaming the .ova file is the cause of problem.

Please let me know if I am in the right direction.

Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Srikanteswararao Talluri [mailto:srikanteswararao.talluri@citrix.com]
Sent: 10 January 2013 PM 01:47
To: cloudstack-users@incubator.apache.org; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi Asmita,

In that case, your deployment must be having a default CentOS template downloaded. Please check the 'listTemplates'. For some reason, if that template download was not successful (could be an issue with network reachability or wrong url provided in db),
You can check network reachability from secondary storage VM or   cloud.vm_template table in the database.

In any case, You can get a OVA template for CentOS  @ http://download.cloud.com/releases/2.2.0/CentOS5.3-x86_64.ova

Thanks,
~Talluri

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Thursday, January 10, 2013 1:35 PM
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi Sri,
I used the burbank template for installing the system VM during installation, its done.
I have created zone, POD, VMWare Cluster and hosts too.
Now I want to deploy a VM on the host.

In the deployVirtualMachine API we need to provide the template ID for the template.
I want to create a template first, how can create it?


Thanks and Regards.

Asmita Patil Vagyani.


-----Original Message-----
From: Srikanteswararao Talluri [mailto:srikanteswararao.talluri@citrix.com]
Sent: 10 January 2013 PM 01:26
To: cloudstack-users@incubator.apache.org; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

This is the systemvm template for cloudstack 4.0(for VMWare) http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova
You can use the above template to bring up system VM not Guest VMs.



Please refer to the following link for documentation:

http://incubator.apache.org/cloudstack/docs/en-US/index.html



Thanks,
~Talluri

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Thursday, January 10, 2013 1:01 PM
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: Cloudstack 4 Templates

Hi,
I want to register a template in Cloudstack 4 client console.
I want the ova file downloadable link for VMWare.
This template will be used for creating a VM on the cluster host.

I saw in the Cloudstack 3.0 documentation that for vmware system template link is http://download.cloud.com/templates/acton/actonsystemvm-02062012.ova
Can I use the same template for cloudstack 4.
Also, can this system template be used for creating a VM.

Is there a library of such templates for different hypervisors, if yes plz let me knw the link.


Thanks and Regards.

Asmita Patil Vagyani.











ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

RE: CloudStack 4 Templates

Posted by Asmita Vagyani <As...@sigma-systems.com>.
Hi Paul,

The secondary storage is properly configured in cloudstack secondary storage share in Infrastructure.
I can see it.
Now the problem is during the booting process of management server it tries to start the system VM, for which it needs the routing-8.ova.
THis routing.ova is in the secondary storage.
It is trying to lookup this ova file into wrong directory /mnt/sec , but actually the directory is /mnt/secondary.

THis is the problem, I don’t know where this wrong path /mnt/sec is coming from.

Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune, 
T: +91-20-25661992 / 93 / 94. Extn. : 286 


-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com] 
Sent: 11 January 2013 PM 02:13
To: cloudstack-users@incubator.apache.org
Subject: RE: CloudStack 4 Templates

You can tell cloudstack the 'share' or 'nfs export' to connect to, examples might be:

/mnt/secondary
/exports/secondary
/home/storage/secondary


where CloudStack mounts that is hardcoded into the CloudStack element which is mounting it.

you can use the management server to host storage for small or POC deployments, but you must share the storage location and connect to that share. And almost forget that it happens to be on the cloudstack management server - treat it like an nfs server with the same ip addres as the management server.

you tell cloudstack the location of the secondary storage share in Infrastructure > Secondary Storage in the UI.


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.angus@shapeblue.com

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 11 January 2013 08:15
To: 'cloudstack-users@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi Paul,

The directory mounted is named as /mnt/secondary and not mnt/sec.
I am not sure from where its picking the /mnt/sec directory.
Any idea if this is configured somewhere?

Thanks and Regards.

Asmita Patil Vagyani.


-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com]
Sent: 11 January 2013 PM 01:33
To: cloudstack-users@incubator.apache.org
Subject: RE: Cloudstack 4 Templates

Hi Asmita,

First guess... check the permissions on your secondary storage (and the subfolders). The 'no_root_squash' is important in share configuration, all files/folders should allow root to have read and write access.

NB "/mnt/sec/template/tmpl/1/8" should be how the SSVM mounts the secondary storage



Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.angus@shapeblue.com

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 11 January 2013 07:26
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

An update:

When I start the Management server for Cloudstack 4. I can see the count of System VMs as 2.
But after some time, one of the system VMs goes down.

When I see the management server logs, I saw the reason as -
2013-01-11 01:26:21,475 WARN  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Exception: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
java.io.IOException: Cannot run program "tar" (in directory "/mnt/sec/template/tmpl/1/8"): error=2, No such file or directory

The directory mounted is named as /mnt/secondary and not mnt/sec.
I am not sure from where its picking the /mnt/sec directory.
Any idea if this is configured somewhere?

Thanks and Regards.

Asmita Patil Vagyani.



Thanks and Regards.

Asmita Patil Vagyani.
Tech Lead,  Sigma Software Solutions, Pune,
T: +91-20-25661992 / 93 / 94. Extn. : 286


-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: 11 January 2013 PM 12:31
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi all,

When I start the Managemnt server for Cloudstack 4. I can see the count of System VMs as 2.
But after some time, one of the system VMs goes down.

When I see the management server logs, I saw the reason as -
2013-01-11 01:26:21,475 WARN  [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-259:torvms04lx.sigmasys.net) Exception: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova
java.io.IOException: Cannot run program "tar" (in directory "/mnt/sec/template/tmpl/1/8"): error=2, No such file or directory

The routing-8.ova is not present in the tmpl directory, instead some ova with name f1f6983d-9f10-40cd-be5d-fb366daadbfa.ova is found in the same location.
I saw the bug 6885 in CS Bugtracker, I am not sure if renaming the .ova file is the cause of problem.

Please let me know if I am in the right direction.

Thanks and Regards.

Asmita Patil Vagyani.

-----Original Message-----
From: Srikanteswararao Talluri [mailto:srikanteswararao.talluri@citrix.com]
Sent: 10 January 2013 PM 01:47
To: cloudstack-users@incubator.apache.org; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi Asmita,

In that case, your deployment must be having a default CentOS template downloaded. Please check the 'listTemplates'. For some reason, if that template download was not successful (could be an issue with network reachability or wrong url provided in db),
You can check network reachability from secondary storage VM or   cloud.vm_template table in the database.

In any case, You can get a OVA template for CentOS  @ http://download.cloud.com/releases/2.2.0/CentOS5.3-x86_64.ova

Thanks,
~Talluri

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Thursday, January 10, 2013 1:35 PM
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

Hi Sri,
I used the burbank template for installing the system VM during installation, its done.
I have created zone, POD, VMWare Cluster and hosts too.
Now I want to deploy a VM on the host.

In the deployVirtualMachine API we need to provide the template ID for the template.
I want to create a template first, how can create it?


Thanks and Regards.

Asmita Patil Vagyani.


-----Original Message-----
From: Srikanteswararao Talluri [mailto:srikanteswararao.talluri@citrix.com]
Sent: 10 January 2013 PM 01:26
To: cloudstack-users@incubator.apache.org; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Cloudstack 4 Templates

This is the systemvm template for cloudstack 4.0(for VMWare) http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova
You can use the above template to bring up system VM not Guest VMs.



Please refer to the following link for documentation:

http://incubator.apache.org/cloudstack/docs/en-US/index.html



Thanks,
~Talluri

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
Sent: Thursday, January 10, 2013 1:01 PM
To: 'cloudstack-users@incubator.apache.org'; 'cloudstack-dev@incubator.apache.org'
Subject: Cloudstack 4 Templates

Hi,
I want to register a template in Cloudstack 4 client console.
I want the ova file downloadable link for VMWare.
This template will be used for creating a VM on the cluster host.

I saw in the Cloudstack 3.0 documentation that for vmware system template link is http://download.cloud.com/templates/acton/actonsystemvm-02062012.ova
Can I use the same template for cloudstack 4.
Also, can this system template be used for creating a VM.

Is there a library of such templates for different hypervisors, if yes plz let me knw the link.


Thanks and Regards.

Asmita Patil Vagyani.











ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.