You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Dean Kamali <de...@gmail.com> on 2013/10/04 16:39:02 UTC

cloudstack 4.2 xenserver 6.2 template not downloading

Hello everyone

I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
my hypervisors, I have added hosts, and system vms are booting fine, yet,
I'm not able to register any ISO or template.

every time I try and register, it doesn't show any progress , here is what
I see in the logs

2013-10-04 10:22:41,409 DEBUG [agent.transport.Request] (Timer-11:null) Seq
8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver: v1,
Flags: 100011,
[{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
172.16.16.10/data/vol2","_role":"Image"}},"url":"
http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
172.16.16.10/data/vol2","wait":0}}] }
2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
(AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans: ,
MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
","wait":0}}] }



I have run sysvmcheck script on ssvm and all checks passed without showing
any sign of warning or errors.

Please advise

Thank you

RE: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by Steve Searles <ss...@zimcom.net>.
I was having a similar issue last night. I have been running 4.1 without issue with both Xen and Vmware.  I installed 4.2 in the lab to do some testing before a full upgrade.  Below are the issues I have found so far and the workarounds I found. I am using Ubuntu 12.04 for the MS and building the nonoss code from source. 

1. System VM's will not provison. (NFS FAILURE) apparently after building the deb packages and installing them the correct permissions are not being set on /var/lib/cloud and the nfs mounts are failing due to to permissions for the cloud user.  (chown -R cloud.cloud /var/lib/cloud). This has corrected the issue. 

--Log Snip--
2013-10-03 23:22:38,931 INFO  [storage.resource.VmwareStorageProcessor] (DirectAgent-72:esx02.lab.zimcom.net) Executing copyTemplateFromSecondaryToPrimary. secondaryStorage: nfs://nfs01.us.east.leb.lab.zimcom.net/US_EAST_Z1_SEC, templatePathAtSecondaryStorage: template/tmpl/1/8/, templateName: routing-8
2013-10-03 23:22:38,931 ERROR [vmware.manager.VmwareManagerImpl] (DirectAgent-72:esx02.lab.zimcom.net) Unable to create mount: /var/lib/cloud/mnt/VM/345049822399.60d4f8d1
2013-10-03 23:22:38,932 ERROR [vmware.manager.VmwareManagerImpl] (DirectAgent-72:esx02.lab.zimcom.net) Unable to create mount: /var/lib/cloud/mnt/VM/345049822399.fe168a8
2013-10-03 23:22:38,932 ERROR
--Log Snip--

2. System VM's will provision and pass connectivity tests but templates will never begin downloading from cloud.com.  To make a long story short I pre-populated my secondary storage with all of the system images for KVM,VmWare, Xen, and LXC. The problem seems to be an issue with the SSVM enumerating the value of the LXC template from the secondary storage and returning "Number Format Exception".  Below is a log I pulled from the SSVM running on vmware that caused the issue.  I removed the LXC template and the KVM template from the secondary storage and restarted the SSVM, the template download then succeeded. Below is a log snip from the SSVM that was causing the error.  Hope this helps. 

-- Log Snip-- 

2013-10-04 04:41:04,465 INFO  [storage.template.DownloadManagerImpl] (agentRequest-Handler-5:null) found 4 templates[/mnt/SecStorage/4ebc642c-eb94-3a8a-81b8-d5971132beb3/template/tmpl/1/1/b3ac9ed6-cba1-41f3-
8965-f7c89f0772d8.vhd, /mnt/SecStorage/4ebc642c-eb94-3a8a-81b8-d5971132beb3/template/tmpl/1/8/79f0d6b5-22c8-4561-86d5-150260f4e2ce.ova, /mnt/SecStorage/4ebc642c-eb94-3a8a-81b8-d5971132beb3/template/tmpl/1/NU
LL/475e0e89-5bff-4e23-8f2c-ba9b56fc6472.qcow2, /mnt/SecStorage/4ebc642c-eb94-3a8a-81b8-d5971132beb3/template/tmpl/1/3/1220decc-ecdd-4794-8408-fc8836806f72.qcow2]
2013-10-04 04:41:04,477 WARN  [cloud.agent.Agent] (agentRequest-Handler-5:null) Caught: 
java.lang.NumberFormatException: For input string: "NULL"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Long.parseLong(Long.java:410)
        at java.lang.Long.parseLong(Long.java:468)
        at com.cloud.storage.template.TemplateLocation.getTemplateInfo(TemplateLocation.java:161)
        at org.apache.cloudstack.storage.template.DownloadManagerImpl.gatherTemplateInfo(DownloadManagerImpl.java:840)
        at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.execute(NfsSecondaryStorageResource.java:1467)
        at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:194)
        at com.cloud.storage.resource.PremiumSecondaryStorageResource.defaultAction(PremiumSecondaryStorageResource.java:63)
        at com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:59)
        at com.cloud.agent.Agent.processRequest(Agent.java:525)
        at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
        at com.cloud.utils.nio.Task.run(Task.java:83)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
2013-10-04 04:41:04,480 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Seq 8-1237778437:  { Ans: , MgmtId: 345049822399, via: 8, Ver: v1, Flags: 110,

--Log Snip-- 


Steve Searles
Director, Network Operations
Zimcom Internet Solutions, Inc.
http://www.zimcom.net
Phone. (513)231-9500
Fax. (513)624-3909
Toll Free. (888)624-3910

-----Original Message-----
From: Shanker Balan [mailto:shanker.balan@shapeblue.com] 
Sent: Friday, October 04, 2013 1:20 PM
To: <us...@cloudstack.apache.org>
Subject: Re: cloudstack 4.2 xenserver 6.2 template not downloading

On 04-Oct-2013, at 10:05 PM, Dean Kamali <de...@gmail.com> wrote:

> Hi Shanker
>
> Are you using Ubuntu or CentOS to run CS Management station?
>
> It is very strange that system vms boots up correctly and check 
> scripts pass all tests.
>


Am on CentOS 6.4


> Please let me know
>
> Thanks
>
>
> On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
> <sh...@shapeblue.com>wrote:
>
>> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com> wrote:
>>
>>> Hello everyone
>>>
>>> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for my 
>>> hypervisors, I have added hosts, and system vms are booting fine, 
>>> yet, I'm not able to register any ISO or template.
>>
>> Hi Dean,
>>
>> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues so far.
>>
>>
>>>
>>> every time I try and register, it doesn't show any progress , here 
>>> is
>> what
>>> I see in the logs
>>>
>>> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request] 
>>> (Timer-11:null)
>> Seq
>>> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver: 
>>> v1,
>>> Flags: 100011,
>>>
>> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"j
>> obId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","
>> hvm":true,"description":"centos5","maxDownloadSizeInBytes":5368709120
>> 0,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/2
>> 08","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
>>> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
>>> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
>>>
>> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-
>> 024455fb2bff","secUrl":"nfs://
>>> 172.16.16.10/data/vol2","wait":0}}] }
>>> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
>>> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans: 
>>> ,
>>> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
>>>
>> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
>>>
>> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
>>> ","wait":0}}] }
>>>
>>>
>>>
>>> I have run sysvmcheck script on ssvm and all checks passed without
>> showing
>>> any sign of warning or errors.
>>>
>>
>> Can you share the output of ssvm-check.sh?
>>
>>
>>> Please advise
>>>
>>> Thank you
>>
>> --
>> @shankerbalan
>>
>> M: +91 98860 60539 | O: +91 (80) 67935867 shanker.balan@shapeblue.com 
>> | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India 
>> LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055
>>
>> CloudStack Bootcamp Training on 27/28 November, Bangalore 
>> http://www.shapeblue.com/cloudstack-training/
>>
>>
>>
>>
>> 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 or 
>> related companies. 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 Services India LLP is a 
>> company incorporated in India and is operated under license from 
>> Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
>> incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867 shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

CloudStack Bootcamp Training on 27/28 November, Bangalore http://www.shapeblue.com/cloudstack-training/




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 or related companies. 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 Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by "Bradley D. Thornton" <Br...@NorthTech.US>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Pardon the top-post, but I was following this thread before jumping into
4.2/6.2 headfirst and wanted to know if these issues were finally
resolved to everyone's satisfaction, or if there was a decent enough
kludge  to consider the move (like chown'ing /var/lib/cloud and removing
the LXC and KVM templates from secondary storage - as mentioned earlier
in the thread).

Thanks :)

On 10/07/2013 01:40 AM, benoit lair wrote:
> Have you tried at each installation process of CS to use a new freshly
> installed linux one ?
> 
> In the past i had issues with cs 4.0 and cs 4.1 due to some
> misconfigurations and when i had very bad issues with one instance of mgmt
> server, i preferred respawn a ghost of my centos 6.3 and retried the
> deployment of my cs mgmt server.
> 
> Also if you follow chapter after chapter the docs in order to install cs
> 4.2 onto a centos 6.3 (per example), all would be okay with some xenserver
> 6.2 clusters.
> 
> That's what i use in pre production environment and i have no problems to
> get it all running in a good way.
> 
> Could you paste your management server log on such a site like pastebin.com?
> 
> Regards.
> 
> Benoit.
> 
> 
> 2013/10/7 benoit lair <ku...@gmail.com>
> 
>> Also, you can check that there are the right permissions on vhd-util
>> (executable). That's an issue i encountered that failed my installation.
>>
>>
>> 2013/10/4 Travis Graham <tg...@tgraham.us>
>>
>>> Can you check your /opt/xensource/bin directory contains the vhd-util
>>> script from http://download.cloud.com.s3.amazonaws.com/tools/vhd-util ?
>>>
>>> Another gotcha, zones are disabled when you first create them, can you
>>> check that your zone is enabled? (you mentioned setting things up fresh, so
>>> that's a gotcha I've seen in fresh installs)
>>>
>>> Travis
>>>
>>> On Oct 4, 2013, at 4:01 PM, Dean Kamali <de...@gmail.com> wrote:
>>>
>>>> Thanks Travis
>>>>
>>>> I'm actually using the same image
>>>> systemvmtemplate-2013-07-12-master-xen.vhd.bz2
>>>>
>>>> I can confirm that there is something wrong with this image when its
>>> being
>>>> used with xenserver 6.2
>>>>
>>>> can't really think of anything else :(
>>>>
>>>> Dean
>>>>
>>>>
>>>>
>>>>
>>>> On Fri, Oct 4, 2013 at 3:54 PM, Travis Graham <tg...@tgraham.us>
>>> wrote:
>>>>
>>>>> Here are the correct links for 4.2.0:
>>>>>
>>>>> Xenserver :
>>>>>
>>> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2
>>>>> KVM      :
>>>>>
>>> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2
>>>>> VMware   :
>>>>> http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova
>>>>>
>>>>> Travis
>>>>>
>>>>> On Oct 4, 2013, at 3:50 PM, Dean Kamali <de...@gmail.com> wrote:
>>>>>
>>>>>> checking system vm logs /var/log/cloud.log, I see the following in the
>>>>> logs
>>>>>>
>>>>>> [SSVM] Unable to start agent: Resource class not found:
>>>>> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource due
>>> to:
>>>>> java.lang.ClassNotFoundException:
>>>>> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
>>>>>>
>>>>>> storage is not mounted upon boot, even tho, I'm able to mount
>>> secondary
>>>>> storage manually
>>>>>>
>>>>>> I came across this issue
>>>>>>
>>>>>> https://issues.apache.org/jira/browse/CLOUDSTACK-1994
>>>>>>
>>>>>> It has the extract symptoms I'm currently having
>>>>>>
>>>>>> I'm unable to find download URL for new system vm.
>>>>>>
>>>>>> Any ideas?
>>>>>>
>>>>>> Thank you
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Oct 4, 2013 at 2:55 PM, Dean Kamali <de...@gmail.com>
>>>>> wrote:
>>>>>> I have switched to CentOS 6.4, thinking that might resolve the issue,
>>>>> but I'm still having the same issue, I have followed the document
>>> provided
>>>>> by Nitin and nothing stood out being out of the ordinary, yet, I can't
>>>>> download any templates or ISO images, keep in mind this is a fresh
>>> install
>>>>> of 4.2 and I'm  not upgrading off 4.1.1
>>>>>>
>>>>>> I have noticed that Secondary storage vm agent doesn't show as up in
>>> the
>>>>> UI, not sure if that's a normal behavior.
>>>>>>
>>>>>> Please view the following image:
>>>>>>
>>>>>>
>>>>>>
>>>>>> If you have trouble seeing attached image it, click here
>>>>>>
>>>>>> Thank you
>>>>>>
>>>>>>
>>>>>> On Fri, Oct 4, 2013 at 1:19 PM, Shanker Balan <
>>>>> shanker.balan@shapeblue.com> wrote:
>>>>>> On 04-Oct-2013, at 10:05 PM, Dean Kamali <de...@gmail.com>
>>> wrote:
>>>>>>
>>>>>>> Hi Shanker
>>>>>>>
>>>>>>> Are you using Ubuntu or CentOS to run CS Management station?
>>>>>>>
>>>>>>> It is very strange that system vms boots up correctly and check
>>> scripts
>>>>>>> pass all tests.
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Am on CentOS 6.4
>>>>>>
>>>>>>
>>>>>>> Please let me know
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
>>>>>>> <sh...@shapeblue.com>wrote:
>>>>>>>
>>>>>>>> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com>
>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hello everyone
>>>>>>>>>
>>>>>>>>> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
>>>>>>>>> my hypervisors, I have added hosts, and system vms are booting
>>> fine,
>>>>> yet,
>>>>>>>>> I'm not able to register any ISO or template.
>>>>>>>>
>>>>>>>> Hi Dean,
>>>>>>>>
>>>>>>>> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues
>>>>> so far.
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> every time I try and register, it doesn't show any progress , here
>>> is
>>>>>>>> what
>>>>>>>>> I see in the logs
>>>>>>>>>
>>>>>>>>> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request]
>>>>> (Timer-11:null)
>>>>>>>> Seq
>>>>>>>>> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver:
>>>>> v1,
>>>>>>>>> Flags: 100011,
>>>>>>>>>
>>>>>>>>
>>>>>
>>> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
>>>>>>>>> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
>>>>>>>>>
>>> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
>>>>>>>>>
>>>>>>>>
>>>>>
>>> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
>>>>>>>>> 172.16.16.10/data/vol2","wait":0}}] }
>>>>>>>>> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
>>>>>>>>> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  {
>>> Ans:
>>>>> ,
>>>>>>>>> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
>>>>>>>>>
>>>>>>>>
>>>>>
>>> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
>>>>>>>>>
>>>>>>>>
>>>>>
>>> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
>>>>>>>>> ","wait":0}}] }
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> I have run sysvmcheck script on ssvm and all checks passed without
>>>>>>>> showing
>>>>>>>>> any sign of warning or errors.
>>>>>>>>>
>>>>>>>>
>>>>>>>> Can you share the output of ssvm-check.sh?
>>>>>>>>
>>>>>>>>
>>>>>>>>> Please advise
>>>>>>>>>
>>>>>>>>> Thank you
>>>>>>>>
>>>>>>>> --
>>>>>>>> @shankerbalan
>>>>>>>>
>>>>>>>> M: +91 98860 60539 | O: +91 (80) 67935867
>>>>>>>> shanker.balan@shapeblue.com | www.shapeblue.com |
>>> Twitter:@shapeblue
>>>>>>>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
>>>>> Centre,
>>>>>>>> Bangalore - 560 055
>>>>>>>>
>>>>>>>> CloudStack Bootcamp Training on 27/28 November, Bangalore
>>>>>>>> http://www.shapeblue.com/cloudstack-training/
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 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 or related companies. 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 Services India
>>> LLP
>>>>> is a
>>>>>>>> company incorporated in India and is operated under license from
>>>>> Shape Blue
>>>>>>>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
>>>>> Brasil
>>>>>>>> and is operated under license from Shape Blue Ltd. ShapeBlue is a
>>>>>>>> registered trademark.
>>>>>>>>
>>>>>>
>>>>>> --
>>>>>> @shankerbalan
>>>>>>
>>>>>> M: +91 98860 60539 | O: +91 (80) 67935867
>>>>>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
>>>>>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
>>>>> Centre, Bangalore - 560 055
>>>>>>
>>>>>> CloudStack Bootcamp Training on 27/28 November, Bangalore
>>>>>> http://www.shapeblue.com/cloudstack-training/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 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 or related companies. 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
>>>>> Services India LLP is a company incorporated in India and is operated
>>> under
>>>>> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
>>>>> company incorporated in Brasil and is operated under license from Shape
>>>>> Blue Ltd. ShapeBlue is a registered trademark.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>
>>>
>>
> 

- -- 
Bradley D. Thornton
Manager Network Services
NorthTech Computer
TEL: +1.310.388.9469  (US)
TEL: +44.203.318.2755 (UK)
TEL: +41.43.508.05.10 (CH)
http://NorthTech.US

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Find this cert at x-hkp://pool.sks-keyservers.net

iQEcBAEBAwAGBQJSWHqYAAoJEE1wgkIhr9j3+soIAIr5Sd0bOHMg/UFlxyrB6Vh8
H8as7B02f0bR4eWlUnwL6NxH2IO98F5Hl2x1TL5nVb0Up4VPcKvLYc9euaKf+BkH
mrimOMhybCpX0Tra/NdyDLUv/MGwdETf1sWMTntEEU6y7M9rL+VG6zNlUwKu+1Hd
oSNg9kCwoyUOVmGiAFu/7MaJ70QHPW8rGmXT9zeezHaGH8UVeiS4ArdwujSDvplx
MWjlKYmzSqy7TAq/T4rPScphBhMwWKDHN5sv+pr+hw1WlhJttQpuPY9NAvNcmJil
6oM8ZybpuPi3BA66FPK9S9OuIAqUPz3tvWB3rrue8TbGcrTjUGjH+m1px0i4RuA=
=PVNG
-----END PGP SIGNATURE-----

Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by benoit lair <ku...@gmail.com>.
Have you tried at each installation process of CS to use a new freshly
installed linux one ?

In the past i had issues with cs 4.0 and cs 4.1 due to some
misconfigurations and when i had very bad issues with one instance of mgmt
server, i preferred respawn a ghost of my centos 6.3 and retried the
deployment of my cs mgmt server.

Also if you follow chapter after chapter the docs in order to install cs
4.2 onto a centos 6.3 (per example), all would be okay with some xenserver
6.2 clusters.

That's what i use in pre production environment and i have no problems to
get it all running in a good way.

Could you paste your management server log on such a site like pastebin.com?

Regards.

Benoit.


2013/10/7 benoit lair <ku...@gmail.com>

> Also, you can check that there are the right permissions on vhd-util
> (executable). That's an issue i encountered that failed my installation.
>
>
> 2013/10/4 Travis Graham <tg...@tgraham.us>
>
>> Can you check your /opt/xensource/bin directory contains the vhd-util
>> script from http://download.cloud.com.s3.amazonaws.com/tools/vhd-util ?
>>
>> Another gotcha, zones are disabled when you first create them, can you
>> check that your zone is enabled? (you mentioned setting things up fresh, so
>> that's a gotcha I've seen in fresh installs)
>>
>> Travis
>>
>> On Oct 4, 2013, at 4:01 PM, Dean Kamali <de...@gmail.com> wrote:
>>
>> > Thanks Travis
>> >
>> > I'm actually using the same image
>> > systemvmtemplate-2013-07-12-master-xen.vhd.bz2
>> >
>> > I can confirm that there is something wrong with this image when its
>> being
>> > used with xenserver 6.2
>> >
>> > can't really think of anything else :(
>> >
>> > Dean
>> >
>> >
>> >
>> >
>> > On Fri, Oct 4, 2013 at 3:54 PM, Travis Graham <tg...@tgraham.us>
>> wrote:
>> >
>> >> Here are the correct links for 4.2.0:
>> >>
>> >> Xenserver :
>> >>
>> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2
>> >> KVM      :
>> >>
>> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2
>> >> VMware   :
>> >> http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova
>> >>
>> >> Travis
>> >>
>> >> On Oct 4, 2013, at 3:50 PM, Dean Kamali <de...@gmail.com> wrote:
>> >>
>> >>> checking system vm logs /var/log/cloud.log, I see the following in the
>> >> logs
>> >>>
>> >>> [SSVM] Unable to start agent: Resource class not found:
>> >> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource due
>> to:
>> >> java.lang.ClassNotFoundException:
>> >> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
>> >>>
>> >>> storage is not mounted upon boot, even tho, I'm able to mount
>> secondary
>> >> storage manually
>> >>>
>> >>> I came across this issue
>> >>>
>> >>> https://issues.apache.org/jira/browse/CLOUDSTACK-1994
>> >>>
>> >>> It has the extract symptoms I'm currently having
>> >>>
>> >>> I'm unable to find download URL for new system vm.
>> >>>
>> >>> Any ideas?
>> >>>
>> >>> Thank you
>> >>>
>> >>>
>> >>>
>> >>> On Fri, Oct 4, 2013 at 2:55 PM, Dean Kamali <de...@gmail.com>
>> >> wrote:
>> >>> I have switched to CentOS 6.4, thinking that might resolve the issue,
>> >> but I'm still having the same issue, I have followed the document
>> provided
>> >> by Nitin and nothing stood out being out of the ordinary, yet, I can't
>> >> download any templates or ISO images, keep in mind this is a fresh
>> install
>> >> of 4.2 and I'm  not upgrading off 4.1.1
>> >>>
>> >>> I have noticed that Secondary storage vm agent doesn't show as up in
>> the
>> >> UI, not sure if that's a normal behavior.
>> >>>
>> >>> Please view the following image:
>> >>>
>> >>>
>> >>>
>> >>> If you have trouble seeing attached image it, click here
>> >>>
>> >>> Thank you
>> >>>
>> >>>
>> >>> On Fri, Oct 4, 2013 at 1:19 PM, Shanker Balan <
>> >> shanker.balan@shapeblue.com> wrote:
>> >>> On 04-Oct-2013, at 10:05 PM, Dean Kamali <de...@gmail.com>
>> wrote:
>> >>>
>> >>>> Hi Shanker
>> >>>>
>> >>>> Are you using Ubuntu or CentOS to run CS Management station?
>> >>>>
>> >>>> It is very strange that system vms boots up correctly and check
>> scripts
>> >>>> pass all tests.
>> >>>>
>> >>>
>> >>>
>> >>> Am on CentOS 6.4
>> >>>
>> >>>
>> >>>> Please let me know
>> >>>>
>> >>>> Thanks
>> >>>>
>> >>>>
>> >>>> On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
>> >>>> <sh...@shapeblue.com>wrote:
>> >>>>
>> >>>>> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com>
>> >> wrote:
>> >>>>>
>> >>>>>> Hello everyone
>> >>>>>>
>> >>>>>> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
>> >>>>>> my hypervisors, I have added hosts, and system vms are booting
>> fine,
>> >> yet,
>> >>>>>> I'm not able to register any ISO or template.
>> >>>>>
>> >>>>> Hi Dean,
>> >>>>>
>> >>>>> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues
>> >> so far.
>> >>>>>
>> >>>>>
>> >>>>>>
>> >>>>>> every time I try and register, it doesn't show any progress , here
>> is
>> >>>>> what
>> >>>>>> I see in the logs
>> >>>>>>
>> >>>>>> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request]
>> >> (Timer-11:null)
>> >>>>> Seq
>> >>>>>> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver:
>> >> v1,
>> >>>>>> Flags: 100011,
>> >>>>>>
>> >>>>>
>> >>
>> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
>> >>>>>> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
>> >>>>>>
>> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
>> >>>>>>
>> >>>>>
>> >>
>> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
>> >>>>>> 172.16.16.10/data/vol2","wait":0}}] }
>> >>>>>> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
>> >>>>>> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  {
>> Ans:
>> >> ,
>> >>>>>> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
>> >>>>>>
>> >>>>>
>> >>
>> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
>> >>>>>>
>> >>>>>
>> >>
>> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
>> >>>>>> ","wait":0}}] }
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> I have run sysvmcheck script on ssvm and all checks passed without
>> >>>>> showing
>> >>>>>> any sign of warning or errors.
>> >>>>>>
>> >>>>>
>> >>>>> Can you share the output of ssvm-check.sh?
>> >>>>>
>> >>>>>
>> >>>>>> Please advise
>> >>>>>>
>> >>>>>> Thank you
>> >>>>>
>> >>>>> --
>> >>>>> @shankerbalan
>> >>>>>
>> >>>>> M: +91 98860 60539 | O: +91 (80) 67935867
>> >>>>> shanker.balan@shapeblue.com | www.shapeblue.com |
>> Twitter:@shapeblue
>> >>>>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
>> >> Centre,
>> >>>>> Bangalore - 560 055
>> >>>>>
>> >>>>> CloudStack Bootcamp Training on 27/28 November, Bangalore
>> >>>>> http://www.shapeblue.com/cloudstack-training/
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> 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 or related companies. 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 Services India
>> LLP
>> >> is a
>> >>>>> company incorporated in India and is operated under license from
>> >> Shape Blue
>> >>>>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
>> >> Brasil
>> >>>>> and is operated under license from Shape Blue Ltd. ShapeBlue is a
>> >>>>> registered trademark.
>> >>>>>
>> >>>
>> >>> --
>> >>> @shankerbalan
>> >>>
>> >>> M: +91 98860 60539 | O: +91 (80) 67935867
>> >>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
>> >>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
>> >> Centre, Bangalore - 560 055
>> >>>
>> >>> CloudStack Bootcamp Training on 27/28 November, Bangalore
>> >>> http://www.shapeblue.com/cloudstack-training/
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> 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 or related companies. 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
>> >> Services India LLP is a company incorporated in India and is operated
>> under
>> >> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
>> >> company incorporated in Brasil and is operated under license from Shape
>> >> Blue Ltd. ShapeBlue is a registered trademark.
>> >>>
>> >>>
>> >>
>> >>
>>
>>
>

Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by benoit lair <ku...@gmail.com>.
Also, you can check that there are the right permissions on vhd-util
(executable). That's an issue i encountered that failed my installation.


2013/10/4 Travis Graham <tg...@tgraham.us>

> Can you check your /opt/xensource/bin directory contains the vhd-util
> script from http://download.cloud.com.s3.amazonaws.com/tools/vhd-util ?
>
> Another gotcha, zones are disabled when you first create them, can you
> check that your zone is enabled? (you mentioned setting things up fresh, so
> that's a gotcha I've seen in fresh installs)
>
> Travis
>
> On Oct 4, 2013, at 4:01 PM, Dean Kamali <de...@gmail.com> wrote:
>
> > Thanks Travis
> >
> > I'm actually using the same image
> > systemvmtemplate-2013-07-12-master-xen.vhd.bz2
> >
> > I can confirm that there is something wrong with this image when its
> being
> > used with xenserver 6.2
> >
> > can't really think of anything else :(
> >
> > Dean
> >
> >
> >
> >
> > On Fri, Oct 4, 2013 at 3:54 PM, Travis Graham <tg...@tgraham.us>
> wrote:
> >
> >> Here are the correct links for 4.2.0:
> >>
> >> Xenserver :
> >>
> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2
> >> KVM      :
> >>
> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2
> >> VMware   :
> >> http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova
> >>
> >> Travis
> >>
> >> On Oct 4, 2013, at 3:50 PM, Dean Kamali <de...@gmail.com> wrote:
> >>
> >>> checking system vm logs /var/log/cloud.log, I see the following in the
> >> logs
> >>>
> >>> [SSVM] Unable to start agent: Resource class not found:
> >> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource due
> to:
> >> java.lang.ClassNotFoundException:
> >> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
> >>>
> >>> storage is not mounted upon boot, even tho, I'm able to mount secondary
> >> storage manually
> >>>
> >>> I came across this issue
> >>>
> >>> https://issues.apache.org/jira/browse/CLOUDSTACK-1994
> >>>
> >>> It has the extract symptoms I'm currently having
> >>>
> >>> I'm unable to find download URL for new system vm.
> >>>
> >>> Any ideas?
> >>>
> >>> Thank you
> >>>
> >>>
> >>>
> >>> On Fri, Oct 4, 2013 at 2:55 PM, Dean Kamali <de...@gmail.com>
> >> wrote:
> >>> I have switched to CentOS 6.4, thinking that might resolve the issue,
> >> but I'm still having the same issue, I have followed the document
> provided
> >> by Nitin and nothing stood out being out of the ordinary, yet, I can't
> >> download any templates or ISO images, keep in mind this is a fresh
> install
> >> of 4.2 and I'm  not upgrading off 4.1.1
> >>>
> >>> I have noticed that Secondary storage vm agent doesn't show as up in
> the
> >> UI, not sure if that's a normal behavior.
> >>>
> >>> Please view the following image:
> >>>
> >>>
> >>>
> >>> If you have trouble seeing attached image it, click here
> >>>
> >>> Thank you
> >>>
> >>>
> >>> On Fri, Oct 4, 2013 at 1:19 PM, Shanker Balan <
> >> shanker.balan@shapeblue.com> wrote:
> >>> On 04-Oct-2013, at 10:05 PM, Dean Kamali <de...@gmail.com>
> wrote:
> >>>
> >>>> Hi Shanker
> >>>>
> >>>> Are you using Ubuntu or CentOS to run CS Management station?
> >>>>
> >>>> It is very strange that system vms boots up correctly and check
> scripts
> >>>> pass all tests.
> >>>>
> >>>
> >>>
> >>> Am on CentOS 6.4
> >>>
> >>>
> >>>> Please let me know
> >>>>
> >>>> Thanks
> >>>>
> >>>>
> >>>> On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
> >>>> <sh...@shapeblue.com>wrote:
> >>>>
> >>>>> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com>
> >> wrote:
> >>>>>
> >>>>>> Hello everyone
> >>>>>>
> >>>>>> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
> >>>>>> my hypervisors, I have added hosts, and system vms are booting fine,
> >> yet,
> >>>>>> I'm not able to register any ISO or template.
> >>>>>
> >>>>> Hi Dean,
> >>>>>
> >>>>> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues
> >> so far.
> >>>>>
> >>>>>
> >>>>>>
> >>>>>> every time I try and register, it doesn't show any progress , here
> is
> >>>>> what
> >>>>>> I see in the logs
> >>>>>>
> >>>>>> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request]
> >> (Timer-11:null)
> >>>>> Seq
> >>>>>> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver:
> >> v1,
> >>>>>> Flags: 100011,
> >>>>>>
> >>>>>
> >>
> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
> >>>>>> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
> >>>>>> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
> >>>>>>
> >>>>>
> >>
> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
> >>>>>> 172.16.16.10/data/vol2","wait":0}}] }
> >>>>>> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
> >>>>>> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans:
> >> ,
> >>>>>> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
> >>>>>>
> >>>>>
> >>
> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
> >>>>>>
> >>>>>
> >>
> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
> >>>>>> ","wait":0}}] }
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> I have run sysvmcheck script on ssvm and all checks passed without
> >>>>> showing
> >>>>>> any sign of warning or errors.
> >>>>>>
> >>>>>
> >>>>> Can you share the output of ssvm-check.sh?
> >>>>>
> >>>>>
> >>>>>> Please advise
> >>>>>>
> >>>>>> Thank you
> >>>>>
> >>>>> --
> >>>>> @shankerbalan
> >>>>>
> >>>>> M: +91 98860 60539 | O: +91 (80) 67935867
> >>>>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> >>>>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
> >> Centre,
> >>>>> Bangalore - 560 055
> >>>>>
> >>>>> CloudStack Bootcamp Training on 27/28 November, Bangalore
> >>>>> http://www.shapeblue.com/cloudstack-training/
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> 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 or related companies. 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 Services India LLP
> >> is a
> >>>>> company incorporated in India and is operated under license from
> >> Shape Blue
> >>>>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
> >> Brasil
> >>>>> and is operated under license from Shape Blue Ltd. ShapeBlue is a
> >>>>> registered trademark.
> >>>>>
> >>>
> >>> --
> >>> @shankerbalan
> >>>
> >>> M: +91 98860 60539 | O: +91 (80) 67935867
> >>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> >>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
> >> Centre, Bangalore - 560 055
> >>>
> >>> CloudStack Bootcamp Training on 27/28 November, Bangalore
> >>> http://www.shapeblue.com/cloudstack-training/
> >>>
> >>>
> >>>
> >>>
> >>> 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 or related companies. 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
> >> Services India LLP is a company incorporated in India and is operated
> under
> >> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
> >> company incorporated in Brasil and is operated under license from Shape
> >> Blue Ltd. ShapeBlue is a registered trademark.
> >>>
> >>>
> >>
> >>
>
>

Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by Dean Kamali <de...@gmail.com>.
I have the same extract setup (Ubuntu 12.04.2 backend, and xenserver 6.2),
using the newest ssvm, but this template issue, is a pain.




On Fri, Oct 4, 2013 at 4:41 PM, Travis Graham <tg...@tgraham.us> wrote:

> I just helped someone setup their cloud last night and finished up this
> afternoon.
>
> * 4.2.0 Management Server on Ubuntu 12.04.3 acting as NFS for both Primary
> and Secondary storage
> * XenServer 6.2
>
> Travis
>
> On Oct 4, 2013, at 4:25 PM, Dean Kamali <de...@gmail.com> wrote:
>
> > Thanks Travis
> >
> > I have http://download.cloud.com.s3.amazonaws.com/tools/vhd-util setup
> > in /opt/xensource/bin
> > and permissions are set correctly
> >
> > But no, luck!
> >
> > I would like to know if you ever had success getting fresh CS 4.2 setup
> > with xenserver 6.2 ?
> >
> > Thanks for your help
> >
> >
> > On Fri, Oct 4, 2013 at 4:16 PM, Travis Graham <tg...@tgraham.us>
> wrote:
> >
> >> Can you check your /opt/xensource/bin directory contains the vhd-util
> >> script from http://download.cloud.com.s3.amazonaws.com/tools/vhd-util ?
> >>
> >> Another gotcha, zones are disabled when you first create them, can you
> >> check that your zone is enabled? (you mentioned setting things up
> fresh, so
> >> that's a gotcha I've seen in fresh installs)
> >>
> >> Travis
> >>
> >> On Oct 4, 2013, at 4:01 PM, Dean Kamali <de...@gmail.com> wrote:
> >>
> >>> Thanks Travis
> >>>
> >>> I'm actually using the same image
> >>> systemvmtemplate-2013-07-12-master-xen.vhd.bz2
> >>>
> >>> I can confirm that there is something wrong with this image when its
> >> being
> >>> used with xenserver 6.2
> >>>
> >>> can't really think of anything else :(
> >>>
> >>> Dean
> >>>
> >>>
> >>>
> >>>
> >>> On Fri, Oct 4, 2013 at 3:54 PM, Travis Graham <tg...@tgraham.us>
> >> wrote:
> >>>
> >>>> Here are the correct links for 4.2.0:
> >>>>
> >>>> Xenserver :
> >>>>
> >>
> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2
> >>>> KVM      :
> >>>>
> >>
> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2
> >>>> VMware   :
> >>>> http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova
> >>>>
> >>>> Travis
> >>>>
> >>>> On Oct 4, 2013, at 3:50 PM, Dean Kamali <de...@gmail.com>
> wrote:
> >>>>
> >>>>> checking system vm logs /var/log/cloud.log, I see the following in
> the
> >>>> logs
> >>>>>
> >>>>> [SSVM] Unable to start agent: Resource class not found:
> >>>> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource due
> >> to:
> >>>> java.lang.ClassNotFoundException:
> >>>> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
> >>>>>
> >>>>> storage is not mounted upon boot, even tho, I'm able to mount
> secondary
> >>>> storage manually
> >>>>>
> >>>>> I came across this issue
> >>>>>
> >>>>> https://issues.apache.org/jira/browse/CLOUDSTACK-1994
> >>>>>
> >>>>> It has the extract symptoms I'm currently having
> >>>>>
> >>>>> I'm unable to find download URL for new system vm.
> >>>>>
> >>>>> Any ideas?
> >>>>>
> >>>>> Thank you
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Fri, Oct 4, 2013 at 2:55 PM, Dean Kamali <de...@gmail.com>
> >>>> wrote:
> >>>>> I have switched to CentOS 6.4, thinking that might resolve the issue,
> >>>> but I'm still having the same issue, I have followed the document
> >> provided
> >>>> by Nitin and nothing stood out being out of the ordinary, yet, I can't
> >>>> download any templates or ISO images, keep in mind this is a fresh
> >> install
> >>>> of 4.2 and I'm  not upgrading off 4.1.1
> >>>>>
> >>>>> I have noticed that Secondary storage vm agent doesn't show as up in
> >> the
> >>>> UI, not sure if that's a normal behavior.
> >>>>>
> >>>>> Please view the following image:
> >>>>>
> >>>>>
> >>>>>
> >>>>> If you have trouble seeing attached image it, click here
> >>>>>
> >>>>> Thank you
> >>>>>
> >>>>>
> >>>>> On Fri, Oct 4, 2013 at 1:19 PM, Shanker Balan <
> >>>> shanker.balan@shapeblue.com> wrote:
> >>>>> On 04-Oct-2013, at 10:05 PM, Dean Kamali <de...@gmail.com>
> >> wrote:
> >>>>>
> >>>>>> Hi Shanker
> >>>>>>
> >>>>>> Are you using Ubuntu or CentOS to run CS Management station?
> >>>>>>
> >>>>>> It is very strange that system vms boots up correctly and check
> >> scripts
> >>>>>> pass all tests.
> >>>>>>
> >>>>>
> >>>>>
> >>>>> Am on CentOS 6.4
> >>>>>
> >>>>>
> >>>>>> Please let me know
> >>>>>>
> >>>>>> Thanks
> >>>>>>
> >>>>>>
> >>>>>> On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
> >>>>>> <sh...@shapeblue.com>wrote:
> >>>>>>
> >>>>>>> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com>
> >>>> wrote:
> >>>>>>>
> >>>>>>>> Hello everyone
> >>>>>>>>
> >>>>>>>> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
> >>>>>>>> my hypervisors, I have added hosts, and system vms are booting
> fine,
> >>>> yet,
> >>>>>>>> I'm not able to register any ISO or template.
> >>>>>>>
> >>>>>>> Hi Dean,
> >>>>>>>
> >>>>>>> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues
> >>>> so far.
> >>>>>>>
> >>>>>>>
> >>>>>>>>
> >>>>>>>> every time I try and register, it doesn't show any progress , here
> >> is
> >>>>>>> what
> >>>>>>>> I see in the logs
> >>>>>>>>
> >>>>>>>> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request]
> >>>> (Timer-11:null)
> >>>>>>> Seq
> >>>>>>>> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver:
> >>>> v1,
> >>>>>>>> Flags: 100011,
> >>>>>>>>
> >>>>>>>
> >>>>
> >>
> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
> >>>>>>>> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
> >>>>>>>>
> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
> >>>>>>>>
> >>>>>>>
> >>>>
> >>
> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
> >>>>>>>> 172.16.16.10/data/vol2","wait":0}}] }
> >>>>>>>> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
> >>>>>>>> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  {
> Ans:
> >>>> ,
> >>>>>>>> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
> >>>>>>>>
> >>>>>>>
> >>>>
> >>
> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
> >>>>>>>>
> >>>>>>>
> >>>>
> >>
> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
> >>>>>>>> ","wait":0}}] }
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> I have run sysvmcheck script on ssvm and all checks passed without
> >>>>>>> showing
> >>>>>>>> any sign of warning or errors.
> >>>>>>>>
> >>>>>>>
> >>>>>>> Can you share the output of ssvm-check.sh?
> >>>>>>>
> >>>>>>>
> >>>>>>>> Please advise
> >>>>>>>>
> >>>>>>>> Thank you
> >>>>>>>
> >>>>>>> --
> >>>>>>> @shankerbalan
> >>>>>>>
> >>>>>>> M: +91 98860 60539 | O: +91 (80) 67935867
> >>>>>>> shanker.balan@shapeblue.com | www.shapeblue.com |
> Twitter:@shapeblue
> >>>>>>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
> >>>> Centre,
> >>>>>>> Bangalore - 560 055
> >>>>>>>
> >>>>>>> CloudStack Bootcamp Training on 27/28 November, Bangalore
> >>>>>>> http://www.shapeblue.com/cloudstack-training/
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> 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 or related companies. 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 Services India
> LLP
> >>>> is a
> >>>>>>> company incorporated in India and is operated under license from
> >>>> Shape Blue
> >>>>>>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated
> in
> >>>> Brasil
> >>>>>>> and is operated under license from Shape Blue Ltd. ShapeBlue is a
> >>>>>>> registered trademark.
> >>>>>>>
> >>>>>
> >>>>> --
> >>>>> @shankerbalan
> >>>>>
> >>>>> M: +91 98860 60539 | O: +91 (80) 67935867
> >>>>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> >>>>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
> >>>> Centre, Bangalore - 560 055
> >>>>>
> >>>>> CloudStack Bootcamp Training on 27/28 November, Bangalore
> >>>>> http://www.shapeblue.com/cloudstack-training/
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> 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 or related companies. 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
> >>>> Services India LLP is a company incorporated in India and is operated
> >> under
> >>>> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
> >>>> company incorporated in Brasil and is operated under license from
> Shape
> >>>> Blue Ltd. ShapeBlue is a registered trademark.
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>
> >>
>
>

Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by Travis Graham <tg...@tgraham.us>.
I just helped someone setup their cloud last night and finished up this afternoon.

* 4.2.0 Management Server on Ubuntu 12.04.3 acting as NFS for both Primary and Secondary storage
* XenServer 6.2

Travis

On Oct 4, 2013, at 4:25 PM, Dean Kamali <de...@gmail.com> wrote:

> Thanks Travis
> 
> I have http://download.cloud.com.s3.amazonaws.com/tools/vhd-util setup
> in /opt/xensource/bin
> and permissions are set correctly
> 
> But no, luck!
> 
> I would like to know if you ever had success getting fresh CS 4.2 setup
> with xenserver 6.2 ?
> 
> Thanks for your help
> 
> 
> On Fri, Oct 4, 2013 at 4:16 PM, Travis Graham <tg...@tgraham.us> wrote:
> 
>> Can you check your /opt/xensource/bin directory contains the vhd-util
>> script from http://download.cloud.com.s3.amazonaws.com/tools/vhd-util ?
>> 
>> Another gotcha, zones are disabled when you first create them, can you
>> check that your zone is enabled? (you mentioned setting things up fresh, so
>> that's a gotcha I've seen in fresh installs)
>> 
>> Travis
>> 
>> On Oct 4, 2013, at 4:01 PM, Dean Kamali <de...@gmail.com> wrote:
>> 
>>> Thanks Travis
>>> 
>>> I'm actually using the same image
>>> systemvmtemplate-2013-07-12-master-xen.vhd.bz2
>>> 
>>> I can confirm that there is something wrong with this image when its
>> being
>>> used with xenserver 6.2
>>> 
>>> can't really think of anything else :(
>>> 
>>> Dean
>>> 
>>> 
>>> 
>>> 
>>> On Fri, Oct 4, 2013 at 3:54 PM, Travis Graham <tg...@tgraham.us>
>> wrote:
>>> 
>>>> Here are the correct links for 4.2.0:
>>>> 
>>>> Xenserver :
>>>> 
>> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2
>>>> KVM      :
>>>> 
>> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2
>>>> VMware   :
>>>> http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova
>>>> 
>>>> Travis
>>>> 
>>>> On Oct 4, 2013, at 3:50 PM, Dean Kamali <de...@gmail.com> wrote:
>>>> 
>>>>> checking system vm logs /var/log/cloud.log, I see the following in the
>>>> logs
>>>>> 
>>>>> [SSVM] Unable to start agent: Resource class not found:
>>>> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource due
>> to:
>>>> java.lang.ClassNotFoundException:
>>>> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
>>>>> 
>>>>> storage is not mounted upon boot, even tho, I'm able to mount secondary
>>>> storage manually
>>>>> 
>>>>> I came across this issue
>>>>> 
>>>>> https://issues.apache.org/jira/browse/CLOUDSTACK-1994
>>>>> 
>>>>> It has the extract symptoms I'm currently having
>>>>> 
>>>>> I'm unable to find download URL for new system vm.
>>>>> 
>>>>> Any ideas?
>>>>> 
>>>>> Thank you
>>>>> 
>>>>> 
>>>>> 
>>>>> On Fri, Oct 4, 2013 at 2:55 PM, Dean Kamali <de...@gmail.com>
>>>> wrote:
>>>>> I have switched to CentOS 6.4, thinking that might resolve the issue,
>>>> but I'm still having the same issue, I have followed the document
>> provided
>>>> by Nitin and nothing stood out being out of the ordinary, yet, I can't
>>>> download any templates or ISO images, keep in mind this is a fresh
>> install
>>>> of 4.2 and I'm  not upgrading off 4.1.1
>>>>> 
>>>>> I have noticed that Secondary storage vm agent doesn't show as up in
>> the
>>>> UI, not sure if that's a normal behavior.
>>>>> 
>>>>> Please view the following image:
>>>>> 
>>>>> 
>>>>> 
>>>>> If you have trouble seeing attached image it, click here
>>>>> 
>>>>> Thank you
>>>>> 
>>>>> 
>>>>> On Fri, Oct 4, 2013 at 1:19 PM, Shanker Balan <
>>>> shanker.balan@shapeblue.com> wrote:
>>>>> On 04-Oct-2013, at 10:05 PM, Dean Kamali <de...@gmail.com>
>> wrote:
>>>>> 
>>>>>> Hi Shanker
>>>>>> 
>>>>>> Are you using Ubuntu or CentOS to run CS Management station?
>>>>>> 
>>>>>> It is very strange that system vms boots up correctly and check
>> scripts
>>>>>> pass all tests.
>>>>>> 
>>>>> 
>>>>> 
>>>>> Am on CentOS 6.4
>>>>> 
>>>>> 
>>>>>> Please let me know
>>>>>> 
>>>>>> Thanks
>>>>>> 
>>>>>> 
>>>>>> On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
>>>>>> <sh...@shapeblue.com>wrote:
>>>>>> 
>>>>>>> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com>
>>>> wrote:
>>>>>>> 
>>>>>>>> Hello everyone
>>>>>>>> 
>>>>>>>> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
>>>>>>>> my hypervisors, I have added hosts, and system vms are booting fine,
>>>> yet,
>>>>>>>> I'm not able to register any ISO or template.
>>>>>>> 
>>>>>>> Hi Dean,
>>>>>>> 
>>>>>>> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues
>>>> so far.
>>>>>>> 
>>>>>>> 
>>>>>>>> 
>>>>>>>> every time I try and register, it doesn't show any progress , here
>> is
>>>>>>> what
>>>>>>>> I see in the logs
>>>>>>>> 
>>>>>>>> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request]
>>>> (Timer-11:null)
>>>>>>> Seq
>>>>>>>> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver:
>>>> v1,
>>>>>>>> Flags: 100011,
>>>>>>>> 
>>>>>>> 
>>>> 
>> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
>>>>>>>> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
>>>>>>>> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
>>>>>>>> 
>>>>>>> 
>>>> 
>> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
>>>>>>>> 172.16.16.10/data/vol2","wait":0}}] }
>>>>>>>> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
>>>>>>>> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans:
>>>> ,
>>>>>>>> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
>>>>>>>> 
>>>>>>> 
>>>> 
>> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
>>>>>>>> 
>>>>>>> 
>>>> 
>> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
>>>>>>>> ","wait":0}}] }
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> I have run sysvmcheck script on ssvm and all checks passed without
>>>>>>> showing
>>>>>>>> any sign of warning or errors.
>>>>>>>> 
>>>>>>> 
>>>>>>> Can you share the output of ssvm-check.sh?
>>>>>>> 
>>>>>>> 
>>>>>>>> Please advise
>>>>>>>> 
>>>>>>>> Thank you
>>>>>>> 
>>>>>>> --
>>>>>>> @shankerbalan
>>>>>>> 
>>>>>>> M: +91 98860 60539 | O: +91 (80) 67935867
>>>>>>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
>>>>>>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
>>>> Centre,
>>>>>>> Bangalore - 560 055
>>>>>>> 
>>>>>>> CloudStack Bootcamp Training on 27/28 November, Bangalore
>>>>>>> http://www.shapeblue.com/cloudstack-training/
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 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 or related companies. 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 Services India LLP
>>>> is a
>>>>>>> company incorporated in India and is operated under license from
>>>> Shape Blue
>>>>>>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
>>>> Brasil
>>>>>>> and is operated under license from Shape Blue Ltd. ShapeBlue is a
>>>>>>> registered trademark.
>>>>>>> 
>>>>> 
>>>>> --
>>>>> @shankerbalan
>>>>> 
>>>>> M: +91 98860 60539 | O: +91 (80) 67935867
>>>>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
>>>>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
>>>> Centre, Bangalore - 560 055
>>>>> 
>>>>> CloudStack Bootcamp Training on 27/28 November, Bangalore
>>>>> http://www.shapeblue.com/cloudstack-training/
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 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 or related companies. 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
>>>> Services India LLP is a company incorporated in India and is operated
>> under
>>>> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
>>>> company incorporated in Brasil and is operated under license from Shape
>>>> Blue Ltd. ShapeBlue is a registered trademark.
>>>>> 
>>>>> 
>>>> 
>>>> 
>> 
>> 


Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by Dean Kamali <de...@gmail.com>.
Thanks Travis

I have http://download.cloud.com.s3.amazonaws.com/tools/vhd-util setup
in /opt/xensource/bin
and permissions are set correctly

But no, luck!

I would like to know if you ever had success getting fresh CS 4.2 setup
with xenserver 6.2 ?

Thanks for your help


On Fri, Oct 4, 2013 at 4:16 PM, Travis Graham <tg...@tgraham.us> wrote:

> Can you check your /opt/xensource/bin directory contains the vhd-util
> script from http://download.cloud.com.s3.amazonaws.com/tools/vhd-util ?
>
> Another gotcha, zones are disabled when you first create them, can you
> check that your zone is enabled? (you mentioned setting things up fresh, so
> that's a gotcha I've seen in fresh installs)
>
> Travis
>
> On Oct 4, 2013, at 4:01 PM, Dean Kamali <de...@gmail.com> wrote:
>
> > Thanks Travis
> >
> > I'm actually using the same image
> > systemvmtemplate-2013-07-12-master-xen.vhd.bz2
> >
> > I can confirm that there is something wrong with this image when its
> being
> > used with xenserver 6.2
> >
> > can't really think of anything else :(
> >
> > Dean
> >
> >
> >
> >
> > On Fri, Oct 4, 2013 at 3:54 PM, Travis Graham <tg...@tgraham.us>
> wrote:
> >
> >> Here are the correct links for 4.2.0:
> >>
> >> Xenserver :
> >>
> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2
> >> KVM      :
> >>
> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2
> >> VMware   :
> >> http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova
> >>
> >> Travis
> >>
> >> On Oct 4, 2013, at 3:50 PM, Dean Kamali <de...@gmail.com> wrote:
> >>
> >>> checking system vm logs /var/log/cloud.log, I see the following in the
> >> logs
> >>>
> >>> [SSVM] Unable to start agent: Resource class not found:
> >> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource due
> to:
> >> java.lang.ClassNotFoundException:
> >> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
> >>>
> >>> storage is not mounted upon boot, even tho, I'm able to mount secondary
> >> storage manually
> >>>
> >>> I came across this issue
> >>>
> >>> https://issues.apache.org/jira/browse/CLOUDSTACK-1994
> >>>
> >>> It has the extract symptoms I'm currently having
> >>>
> >>> I'm unable to find download URL for new system vm.
> >>>
> >>> Any ideas?
> >>>
> >>> Thank you
> >>>
> >>>
> >>>
> >>> On Fri, Oct 4, 2013 at 2:55 PM, Dean Kamali <de...@gmail.com>
> >> wrote:
> >>> I have switched to CentOS 6.4, thinking that might resolve the issue,
> >> but I'm still having the same issue, I have followed the document
> provided
> >> by Nitin and nothing stood out being out of the ordinary, yet, I can't
> >> download any templates or ISO images, keep in mind this is a fresh
> install
> >> of 4.2 and I'm  not upgrading off 4.1.1
> >>>
> >>> I have noticed that Secondary storage vm agent doesn't show as up in
> the
> >> UI, not sure if that's a normal behavior.
> >>>
> >>> Please view the following image:
> >>>
> >>>
> >>>
> >>> If you have trouble seeing attached image it, click here
> >>>
> >>> Thank you
> >>>
> >>>
> >>> On Fri, Oct 4, 2013 at 1:19 PM, Shanker Balan <
> >> shanker.balan@shapeblue.com> wrote:
> >>> On 04-Oct-2013, at 10:05 PM, Dean Kamali <de...@gmail.com>
> wrote:
> >>>
> >>>> Hi Shanker
> >>>>
> >>>> Are you using Ubuntu or CentOS to run CS Management station?
> >>>>
> >>>> It is very strange that system vms boots up correctly and check
> scripts
> >>>> pass all tests.
> >>>>
> >>>
> >>>
> >>> Am on CentOS 6.4
> >>>
> >>>
> >>>> Please let me know
> >>>>
> >>>> Thanks
> >>>>
> >>>>
> >>>> On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
> >>>> <sh...@shapeblue.com>wrote:
> >>>>
> >>>>> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com>
> >> wrote:
> >>>>>
> >>>>>> Hello everyone
> >>>>>>
> >>>>>> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
> >>>>>> my hypervisors, I have added hosts, and system vms are booting fine,
> >> yet,
> >>>>>> I'm not able to register any ISO or template.
> >>>>>
> >>>>> Hi Dean,
> >>>>>
> >>>>> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues
> >> so far.
> >>>>>
> >>>>>
> >>>>>>
> >>>>>> every time I try and register, it doesn't show any progress , here
> is
> >>>>> what
> >>>>>> I see in the logs
> >>>>>>
> >>>>>> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request]
> >> (Timer-11:null)
> >>>>> Seq
> >>>>>> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver:
> >> v1,
> >>>>>> Flags: 100011,
> >>>>>>
> >>>>>
> >>
> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
> >>>>>> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
> >>>>>> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
> >>>>>>
> >>>>>
> >>
> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
> >>>>>> 172.16.16.10/data/vol2","wait":0}}] }
> >>>>>> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
> >>>>>> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans:
> >> ,
> >>>>>> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
> >>>>>>
> >>>>>
> >>
> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
> >>>>>>
> >>>>>
> >>
> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
> >>>>>> ","wait":0}}] }
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> I have run sysvmcheck script on ssvm and all checks passed without
> >>>>> showing
> >>>>>> any sign of warning or errors.
> >>>>>>
> >>>>>
> >>>>> Can you share the output of ssvm-check.sh?
> >>>>>
> >>>>>
> >>>>>> Please advise
> >>>>>>
> >>>>>> Thank you
> >>>>>
> >>>>> --
> >>>>> @shankerbalan
> >>>>>
> >>>>> M: +91 98860 60539 | O: +91 (80) 67935867
> >>>>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> >>>>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
> >> Centre,
> >>>>> Bangalore - 560 055
> >>>>>
> >>>>> CloudStack Bootcamp Training on 27/28 November, Bangalore
> >>>>> http://www.shapeblue.com/cloudstack-training/
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> 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 or related companies. 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 Services India LLP
> >> is a
> >>>>> company incorporated in India and is operated under license from
> >> Shape Blue
> >>>>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
> >> Brasil
> >>>>> and is operated under license from Shape Blue Ltd. ShapeBlue is a
> >>>>> registered trademark.
> >>>>>
> >>>
> >>> --
> >>> @shankerbalan
> >>>
> >>> M: +91 98860 60539 | O: +91 (80) 67935867
> >>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> >>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
> >> Centre, Bangalore - 560 055
> >>>
> >>> CloudStack Bootcamp Training on 27/28 November, Bangalore
> >>> http://www.shapeblue.com/cloudstack-training/
> >>>
> >>>
> >>>
> >>>
> >>> 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 or related companies. 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
> >> Services India LLP is a company incorporated in India and is operated
> under
> >> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
> >> company incorporated in Brasil and is operated under license from Shape
> >> Blue Ltd. ShapeBlue is a registered trademark.
> >>>
> >>>
> >>
> >>
>
>

Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by Travis Graham <tg...@tgraham.us>.
Can you check your /opt/xensource/bin directory contains the vhd-util script from http://download.cloud.com.s3.amazonaws.com/tools/vhd-util ?

Another gotcha, zones are disabled when you first create them, can you check that your zone is enabled? (you mentioned setting things up fresh, so that's a gotcha I've seen in fresh installs)

Travis

On Oct 4, 2013, at 4:01 PM, Dean Kamali <de...@gmail.com> wrote:

> Thanks Travis
> 
> I'm actually using the same image
> systemvmtemplate-2013-07-12-master-xen.vhd.bz2
> 
> I can confirm that there is something wrong with this image when its being
> used with xenserver 6.2
> 
> can't really think of anything else :(
> 
> Dean
> 
> 
> 
> 
> On Fri, Oct 4, 2013 at 3:54 PM, Travis Graham <tg...@tgraham.us> wrote:
> 
>> Here are the correct links for 4.2.0:
>> 
>> Xenserver :
>> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2
>> KVM      :
>> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2
>> VMware   :
>> http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova
>> 
>> Travis
>> 
>> On Oct 4, 2013, at 3:50 PM, Dean Kamali <de...@gmail.com> wrote:
>> 
>>> checking system vm logs /var/log/cloud.log, I see the following in the
>> logs
>>> 
>>> [SSVM] Unable to start agent: Resource class not found:
>> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource due to:
>> java.lang.ClassNotFoundException:
>> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
>>> 
>>> storage is not mounted upon boot, even tho, I'm able to mount secondary
>> storage manually
>>> 
>>> I came across this issue
>>> 
>>> https://issues.apache.org/jira/browse/CLOUDSTACK-1994
>>> 
>>> It has the extract symptoms I'm currently having
>>> 
>>> I'm unable to find download URL for new system vm.
>>> 
>>> Any ideas?
>>> 
>>> Thank you
>>> 
>>> 
>>> 
>>> On Fri, Oct 4, 2013 at 2:55 PM, Dean Kamali <de...@gmail.com>
>> wrote:
>>> I have switched to CentOS 6.4, thinking that might resolve the issue,
>> but I'm still having the same issue, I have followed the document provided
>> by Nitin and nothing stood out being out of the ordinary, yet, I can't
>> download any templates or ISO images, keep in mind this is a fresh install
>> of 4.2 and I'm  not upgrading off 4.1.1
>>> 
>>> I have noticed that Secondary storage vm agent doesn't show as up in the
>> UI, not sure if that's a normal behavior.
>>> 
>>> Please view the following image:
>>> 
>>> 
>>> 
>>> If you have trouble seeing attached image it, click here
>>> 
>>> Thank you
>>> 
>>> 
>>> On Fri, Oct 4, 2013 at 1:19 PM, Shanker Balan <
>> shanker.balan@shapeblue.com> wrote:
>>> On 04-Oct-2013, at 10:05 PM, Dean Kamali <de...@gmail.com> wrote:
>>> 
>>>> Hi Shanker
>>>> 
>>>> Are you using Ubuntu or CentOS to run CS Management station?
>>>> 
>>>> It is very strange that system vms boots up correctly and check scripts
>>>> pass all tests.
>>>> 
>>> 
>>> 
>>> Am on CentOS 6.4
>>> 
>>> 
>>>> Please let me know
>>>> 
>>>> Thanks
>>>> 
>>>> 
>>>> On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
>>>> <sh...@shapeblue.com>wrote:
>>>> 
>>>>> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com>
>> wrote:
>>>>> 
>>>>>> Hello everyone
>>>>>> 
>>>>>> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
>>>>>> my hypervisors, I have added hosts, and system vms are booting fine,
>> yet,
>>>>>> I'm not able to register any ISO or template.
>>>>> 
>>>>> Hi Dean,
>>>>> 
>>>>> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues
>> so far.
>>>>> 
>>>>> 
>>>>>> 
>>>>>> every time I try and register, it doesn't show any progress , here is
>>>>> what
>>>>>> I see in the logs
>>>>>> 
>>>>>> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request]
>> (Timer-11:null)
>>>>> Seq
>>>>>> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver:
>> v1,
>>>>>> Flags: 100011,
>>>>>> 
>>>>> 
>> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
>>>>>> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
>>>>>> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
>>>>>> 
>>>>> 
>> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
>>>>>> 172.16.16.10/data/vol2","wait":0}}] }
>>>>>> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
>>>>>> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans:
>> ,
>>>>>> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
>>>>>> 
>>>>> 
>> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
>>>>>> 
>>>>> 
>> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
>>>>>> ","wait":0}}] }
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> I have run sysvmcheck script on ssvm and all checks passed without
>>>>> showing
>>>>>> any sign of warning or errors.
>>>>>> 
>>>>> 
>>>>> Can you share the output of ssvm-check.sh?
>>>>> 
>>>>> 
>>>>>> Please advise
>>>>>> 
>>>>>> Thank you
>>>>> 
>>>>> --
>>>>> @shankerbalan
>>>>> 
>>>>> M: +91 98860 60539 | O: +91 (80) 67935867
>>>>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
>>>>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
>> Centre,
>>>>> Bangalore - 560 055
>>>>> 
>>>>> CloudStack Bootcamp Training on 27/28 November, Bangalore
>>>>> http://www.shapeblue.com/cloudstack-training/
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 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 or related companies. 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 Services India LLP
>> is a
>>>>> company incorporated in India and is operated under license from
>> Shape Blue
>>>>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
>> Brasil
>>>>> and is operated under license from Shape Blue Ltd. ShapeBlue is a
>>>>> registered trademark.
>>>>> 
>>> 
>>> --
>>> @shankerbalan
>>> 
>>> M: +91 98860 60539 | O: +91 (80) 67935867
>>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
>>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
>> Centre, Bangalore - 560 055
>>> 
>>> CloudStack Bootcamp Training on 27/28 November, Bangalore
>>> http://www.shapeblue.com/cloudstack-training/
>>> 
>>> 
>>> 
>>> 
>>> 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 or related companies. 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
>> Services India LLP is a company incorporated in India and is operated under
>> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
>> company incorporated in Brasil and is operated under license from Shape
>> Blue Ltd. ShapeBlue is a registered trademark.
>>> 
>>> 
>> 
>> 


Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by Dean Kamali <de...@gmail.com>.
Thanks Travis

I'm actually using the same image
systemvmtemplate-2013-07-12-master-xen.vhd.bz2

I can confirm that there is something wrong with this image when its being
used with xenserver 6.2

can't really think of anything else :(

Dean




On Fri, Oct 4, 2013 at 3:54 PM, Travis Graham <tg...@tgraham.us> wrote:

> Here are the correct links for 4.2.0:
>
> Xenserver :
> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2
> KVM      :
> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2
> VMware   :
> http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova
>
> Travis
>
> On Oct 4, 2013, at 3:50 PM, Dean Kamali <de...@gmail.com> wrote:
>
> > checking system vm logs /var/log/cloud.log, I see the following in the
> logs
> >
> > [SSVM] Unable to start agent: Resource class not found:
> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource due to:
> java.lang.ClassNotFoundException:
> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
> >
> > storage is not mounted upon boot, even tho, I'm able to mount secondary
> storage manually
> >
> > I came across this issue
> >
> > https://issues.apache.org/jira/browse/CLOUDSTACK-1994
> >
> > It has the extract symptoms I'm currently having
> >
> > I'm unable to find download URL for new system vm.
> >
> > Any ideas?
> >
> > Thank you
> >
> >
> >
> > On Fri, Oct 4, 2013 at 2:55 PM, Dean Kamali <de...@gmail.com>
> wrote:
> > I have switched to CentOS 6.4, thinking that might resolve the issue,
> but I'm still having the same issue, I have followed the document provided
> by Nitin and nothing stood out being out of the ordinary, yet, I can't
> download any templates or ISO images, keep in mind this is a fresh install
> of 4.2 and I'm  not upgrading off 4.1.1
> >
> > I have noticed that Secondary storage vm agent doesn't show as up in the
> UI, not sure if that's a normal behavior.
> >
> > Please view the following image:
> >
> >
> >
> > If you have trouble seeing attached image it, click here
> >
> > Thank you
> >
> >
> > On Fri, Oct 4, 2013 at 1:19 PM, Shanker Balan <
> shanker.balan@shapeblue.com> wrote:
> > On 04-Oct-2013, at 10:05 PM, Dean Kamali <de...@gmail.com> wrote:
> >
> > > Hi Shanker
> > >
> > > Are you using Ubuntu or CentOS to run CS Management station?
> > >
> > > It is very strange that system vms boots up correctly and check scripts
> > > pass all tests.
> > >
> >
> >
> > Am on CentOS 6.4
> >
> >
> > > Please let me know
> > >
> > > Thanks
> > >
> > >
> > > On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
> > > <sh...@shapeblue.com>wrote:
> > >
> > >> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com>
> wrote:
> > >>
> > >>> Hello everyone
> > >>>
> > >>> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
> > >>> my hypervisors, I have added hosts, and system vms are booting fine,
> yet,
> > >>> I'm not able to register any ISO or template.
> > >>
> > >> Hi Dean,
> > >>
> > >> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues
> so far.
> > >>
> > >>
> > >>>
> > >>> every time I try and register, it doesn't show any progress , here is
> > >> what
> > >>> I see in the logs
> > >>>
> > >>> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request]
> (Timer-11:null)
> > >> Seq
> > >>> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver:
> v1,
> > >>> Flags: 100011,
> > >>>
> > >>
> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
> > >>> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
> > >>> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
> > >>>
> > >>
> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
> > >>> 172.16.16.10/data/vol2","wait":0}}] }
> > >>> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
> > >>> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans:
> ,
> > >>> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
> > >>>
> > >>
> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
> > >>>
> > >>
> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
> > >>> ","wait":0}}] }
> > >>>
> > >>>
> > >>>
> > >>> I have run sysvmcheck script on ssvm and all checks passed without
> > >> showing
> > >>> any sign of warning or errors.
> > >>>
> > >>
> > >> Can you share the output of ssvm-check.sh?
> > >>
> > >>
> > >>> Please advise
> > >>>
> > >>> Thank you
> > >>
> > >> --
> > >> @shankerbalan
> > >>
> > >> M: +91 98860 60539 | O: +91 (80) 67935867
> > >> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> > >> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
> Centre,
> > >> Bangalore - 560 055
> > >>
> > >> CloudStack Bootcamp Training on 27/28 November, Bangalore
> > >> http://www.shapeblue.com/cloudstack-training/
> > >>
> > >>
> > >>
> > >>
> > >> 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 or related companies. 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 Services India LLP
> is a
> > >> company incorporated in India and is operated under license from
> Shape Blue
> > >> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
> Brasil
> > >> and is operated under license from Shape Blue Ltd. ShapeBlue is a
> > >> registered trademark.
> > >>
> >
> > --
> > @shankerbalan
> >
> > M: +91 98860 60539 | O: +91 (80) 67935867
> > shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> > ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
> Centre, Bangalore - 560 055
> >
> > CloudStack Bootcamp Training on 27/28 November, Bangalore
> > http://www.shapeblue.com/cloudstack-training/
> >
> >
> >
> >
> > 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 or related companies. 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
> Services India LLP is a company incorporated in India and is operated under
> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
> company incorporated in Brasil and is operated under license from Shape
> Blue Ltd. ShapeBlue is a registered trademark.
> >
> >
>
>

Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by Travis Graham <tg...@tgraham.us>.
Here are the correct links for 4.2.0:

Xenserver : http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2  	
KVM      :    http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2 	
VMware   : http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova 

Travis

On Oct 4, 2013, at 3:50 PM, Dean Kamali <de...@gmail.com> wrote:

> checking system vm logs /var/log/cloud.log, I see the following in the logs 
> 
> [SSVM] Unable to start agent: Resource class not found: org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource due to: java.lang.ClassNotFoundException: org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
> 
> storage is not mounted upon boot, even tho, I'm able to mount secondary storage manually
> 
> I came across this issue 
> 
> https://issues.apache.org/jira/browse/CLOUDSTACK-1994 
> 
> It has the extract symptoms I'm currently having 
> 
> I'm unable to find download URL for new system vm.
> 
> Any ideas? 
> 
> Thank you
> 
> 
> 
> On Fri, Oct 4, 2013 at 2:55 PM, Dean Kamali <de...@gmail.com> wrote:
> I have switched to CentOS 6.4, thinking that might resolve the issue, but I'm still having the same issue, I have followed the document provided by Nitin and nothing stood out being out of the ordinary, yet, I can't download any templates or ISO images, keep in mind this is a fresh install of 4.2 and I'm  not upgrading off 4.1.1 
> 
> I have noticed that Secondary storage vm agent doesn't show as up in the UI, not sure if that's a normal behavior. 
> 
> Please view the following image:
> 
> 
> 
> If you have trouble seeing attached image it, click here 
> 
> Thank you
> 
> 
> On Fri, Oct 4, 2013 at 1:19 PM, Shanker Balan <sh...@shapeblue.com> wrote:
> On 04-Oct-2013, at 10:05 PM, Dean Kamali <de...@gmail.com> wrote:
> 
> > Hi Shanker
> >
> > Are you using Ubuntu or CentOS to run CS Management station?
> >
> > It is very strange that system vms boots up correctly and check scripts
> > pass all tests.
> >
> 
> 
> Am on CentOS 6.4
> 
> 
> > Please let me know
> >
> > Thanks
> >
> >
> > On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
> > <sh...@shapeblue.com>wrote:
> >
> >> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com> wrote:
> >>
> >>> Hello everyone
> >>>
> >>> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
> >>> my hypervisors, I have added hosts, and system vms are booting fine, yet,
> >>> I'm not able to register any ISO or template.
> >>
> >> Hi Dean,
> >>
> >> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues so far.
> >>
> >>
> >>>
> >>> every time I try and register, it doesn't show any progress , here is
> >> what
> >>> I see in the logs
> >>>
> >>> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request] (Timer-11:null)
> >> Seq
> >>> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver: v1,
> >>> Flags: 100011,
> >>>
> >> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
> >>> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
> >>> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
> >>>
> >> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
> >>> 172.16.16.10/data/vol2","wait":0}}] }
> >>> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
> >>> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans: ,
> >>> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
> >>>
> >> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
> >>>
> >> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
> >>> ","wait":0}}] }
> >>>
> >>>
> >>>
> >>> I have run sysvmcheck script on ssvm and all checks passed without
> >> showing
> >>> any sign of warning or errors.
> >>>
> >>
> >> Can you share the output of ssvm-check.sh?
> >>
> >>
> >>> Please advise
> >>>
> >>> Thank you
> >>
> >> --
> >> @shankerbalan
> >>
> >> M: +91 98860 60539 | O: +91 (80) 67935867
> >> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> >> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre,
> >> Bangalore - 560 055
> >>
> >> CloudStack Bootcamp Training on 27/28 November, Bangalore
> >> http://www.shapeblue.com/cloudstack-training/
> >>
> >>
> >>
> >>
> >> 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 or related companies. 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 Services India LLP is a
> >> company incorporated in India and is operated under license from Shape Blue
> >> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> >> and is operated under license from Shape Blue Ltd. ShapeBlue is a
> >> registered trademark.
> >>
> 
> --
> @shankerbalan
> 
> M: +91 98860 60539 | O: +91 (80) 67935867
> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055
> 
> CloudStack Bootcamp Training on 27/28 November, Bangalore
> http://www.shapeblue.com/cloudstack-training/
> 
> 
> 
> 
> 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 or related companies. 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 Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
> 
> 


Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by Dean Kamali <de...@gmail.com>.
checking system vm logs /var/log/cloud.log, I see the following in the logs

[SSVM] Unable to start agent: Resource class not found:
org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource due to:
java.lang.ClassNotFoundException:
org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource

storage is not mounted upon boot, even tho, I'm able to mount secondary
storage manually

I came across this issue

https://issues.apache.org/jira/browse/CLOUDSTACK-1994

It has the extract symptoms I'm currently having

I'm unable to find download URL for new system vm.

Any ideas?

Thank you



On Fri, Oct 4, 2013 at 2:55 PM, Dean Kamali <de...@gmail.com> wrote:

> I have switched to CentOS 6.4, thinking that might resolve the issue, but
> I'm still having the same issue, I have followed the document provided
> by Nitin and nothing stood out being out of the ordinary, yet, I can't
> download any templates or ISO images, keep in mind this is a fresh install
> of 4.2 and I'm  not upgrading off 4.1.1
>
> I have noticed that Secondary storage vm agent doesn't show as up in the
> UI, not sure if that's a normal behavior.
>
> Please view the following image:
>
> [image: Inline image 1]
>
> If you have trouble seeing attached image it, click here <http://s17.postimg.org/ih5htkt2n/2013_10_04_145128.png>
>
> Thank you
>
>
> On Fri, Oct 4, 2013 at 1:19 PM, Shanker Balan <shanker.balan@shapeblue.com
> > wrote:
>
>> On 04-Oct-2013, at 10:05 PM, Dean Kamali <de...@gmail.com> wrote:
>>
>> > Hi Shanker
>> >
>> > Are you using Ubuntu or CentOS to run CS Management station?
>> >
>> > It is very strange that system vms boots up correctly and check scripts
>> > pass all tests.
>> >
>>
>>
>> Am on CentOS 6.4
>>
>>
>> > Please let me know
>> >
>> > Thanks
>> >
>> >
>> > On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
>> > <sh...@shapeblue.com>wrote:
>> >
>> >> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com> wrote:
>> >>
>> >>> Hello everyone
>> >>>
>> >>> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
>> >>> my hypervisors, I have added hosts, and system vms are booting fine,
>> yet,
>> >>> I'm not able to register any ISO or template.
>> >>
>> >> Hi Dean,
>> >>
>> >> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues so
>> far.
>> >>
>> >>
>> >>>
>> >>> every time I try and register, it doesn't show any progress , here is
>> >> what
>> >>> I see in the logs
>> >>>
>> >>> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request]
>> (Timer-11:null)
>> >> Seq
>> >>> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver: v1,
>> >>> Flags: 100011,
>> >>>
>> >>
>> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
>> >>> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
>> >>> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
>> >>>
>> >>
>> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
>> >>> 172.16.16.10/data/vol2","wait":0}}] }
>> >>> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
>> >>> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans: ,
>> >>> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
>> >>>
>> >>
>> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
>> >>>
>> >>
>> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
>> >>> ","wait":0}}] }
>> >>>
>> >>>
>> >>>
>> >>> I have run sysvmcheck script on ssvm and all checks passed without
>> >> showing
>> >>> any sign of warning or errors.
>> >>>
>> >>
>> >> Can you share the output of ssvm-check.sh?
>> >>
>> >>
>> >>> Please advise
>> >>>
>> >>> Thank you
>> >>
>> >> --
>> >> @shankerbalan
>> >>
>> >> M: +91 98860 60539 | O: +91 (80) 67935867
>> >> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
>> >> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
>> Centre,
>> >> Bangalore - 560 055
>> >>
>> >> CloudStack Bootcamp Training on 27/28 November, Bangalore
>> >> http://www.shapeblue.com/cloudstack-training/
>> >>
>> >>
>> >>
>> >>
>> >> 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 or related companies. 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 Services India LLP
>> is a
>> >> company incorporated in India and is operated under license from Shape
>> Blue
>> >> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
>> Brasil
>> >> and is operated under license from Shape Blue Ltd. ShapeBlue is a
>> >> registered trademark.
>> >>
>>
>> --
>> @shankerbalan
>>
>> M: +91 98860 60539 | O: +91 (80) 67935867
>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre,
>> Bangalore - 560 055
>>
>> CloudStack Bootcamp Training on 27/28 November, Bangalore
>> http://www.shapeblue.com/cloudstack-training/
>>
>>
>>
>>
>> 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 or related companies. 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 Services India LLP is a
>> company incorporated in India and is operated under license from Shape Blue
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
>> and is operated under license from Shape Blue Ltd. ShapeBlue is a
>> registered trademark.
>>
>
>

Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by Dean Kamali <de...@gmail.com>.
I have switched to CentOS 6.4, thinking that might resolve the issue, but
I'm still having the same issue, I have followed the document provided
by Nitin and nothing stood out being out of the ordinary, yet, I can't
download any templates or ISO images, keep in mind this is a fresh install
of 4.2 and I'm  not upgrading off 4.1.1

I have noticed that Secondary storage vm agent doesn't show as up in the
UI, not sure if that's a normal behavior.

Please view the following image:

[image: Inline image 1]

If you have trouble seeing attached image it, click here
<http://s17.postimg.org/ih5htkt2n/2013_10_04_145128.png>

Thank you


On Fri, Oct 4, 2013 at 1:19 PM, Shanker Balan
<sh...@shapeblue.com>wrote:

> On 04-Oct-2013, at 10:05 PM, Dean Kamali <de...@gmail.com> wrote:
>
> > Hi Shanker
> >
> > Are you using Ubuntu or CentOS to run CS Management station?
> >
> > It is very strange that system vms boots up correctly and check scripts
> > pass all tests.
> >
>
>
> Am on CentOS 6.4
>
>
> > Please let me know
> >
> > Thanks
> >
> >
> > On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
> > <sh...@shapeblue.com>wrote:
> >
> >> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com> wrote:
> >>
> >>> Hello everyone
> >>>
> >>> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
> >>> my hypervisors, I have added hosts, and system vms are booting fine,
> yet,
> >>> I'm not able to register any ISO or template.
> >>
> >> Hi Dean,
> >>
> >> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues so
> far.
> >>
> >>
> >>>
> >>> every time I try and register, it doesn't show any progress , here is
> >> what
> >>> I see in the logs
> >>>
> >>> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request] (Timer-11:null)
> >> Seq
> >>> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver: v1,
> >>> Flags: 100011,
> >>>
> >>
> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
> >>> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
> >>> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
> >>>
> >>
> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
> >>> 172.16.16.10/data/vol2","wait":0}}] }
> >>> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
> >>> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans: ,
> >>> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
> >>>
> >>
> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
> >>>
> >>
> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
> >>> ","wait":0}}] }
> >>>
> >>>
> >>>
> >>> I have run sysvmcheck script on ssvm and all checks passed without
> >> showing
> >>> any sign of warning or errors.
> >>>
> >>
> >> Can you share the output of ssvm-check.sh?
> >>
> >>
> >>> Please advise
> >>>
> >>> Thank you
> >>
> >> --
> >> @shankerbalan
> >>
> >> M: +91 98860 60539 | O: +91 (80) 67935867
> >> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> >> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
> Centre,
> >> Bangalore - 560 055
> >>
> >> CloudStack Bootcamp Training on 27/28 November, Bangalore
> >> http://www.shapeblue.com/cloudstack-training/
> >>
> >>
> >>
> >>
> >> 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 or related companies. 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 Services India LLP
> is a
> >> company incorporated in India and is operated under license from Shape
> Blue
> >> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
> Brasil
> >> and is operated under license from Shape Blue Ltd. ShapeBlue is a
> >> registered trademark.
> >>
>
> --
> @shankerbalan
>
> M: +91 98860 60539 | O: +91 (80) 67935867
> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre,
> Bangalore - 560 055
>
> CloudStack Bootcamp Training on 27/28 November, Bangalore
> http://www.shapeblue.com/cloudstack-training/
>
>
>
>
> 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 or related companies. 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 Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue is a
> registered trademark.
>

Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by Shanker Balan <sh...@shapeblue.com>.
On 04-Oct-2013, at 10:05 PM, Dean Kamali <de...@gmail.com> wrote:

> Hi Shanker
>
> Are you using Ubuntu or CentOS to run CS Management station?
>
> It is very strange that system vms boots up correctly and check scripts
> pass all tests.
>


Am on CentOS 6.4


> Please let me know
>
> Thanks
>
>
> On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
> <sh...@shapeblue.com>wrote:
>
>> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com> wrote:
>>
>>> Hello everyone
>>>
>>> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
>>> my hypervisors, I have added hosts, and system vms are booting fine, yet,
>>> I'm not able to register any ISO or template.
>>
>> Hi Dean,
>>
>> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues so far.
>>
>>
>>>
>>> every time I try and register, it doesn't show any progress , here is
>> what
>>> I see in the logs
>>>
>>> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request] (Timer-11:null)
>> Seq
>>> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver: v1,
>>> Flags: 100011,
>>>
>> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
>>> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
>>> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
>>>
>> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
>>> 172.16.16.10/data/vol2","wait":0}}] }
>>> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
>>> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans: ,
>>> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
>>>
>> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
>>>
>> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
>>> ","wait":0}}] }
>>>
>>>
>>>
>>> I have run sysvmcheck script on ssvm and all checks passed without
>> showing
>>> any sign of warning or errors.
>>>
>>
>> Can you share the output of ssvm-check.sh?
>>
>>
>>> Please advise
>>>
>>> Thank you
>>
>> --
>> @shankerbalan
>>
>> M: +91 98860 60539 | O: +91 (80) 67935867
>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre,
>> Bangalore - 560 055
>>
>> CloudStack Bootcamp Training on 27/28 November, Bangalore
>> http://www.shapeblue.com/cloudstack-training/
>>
>>
>>
>>
>> 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 or related companies. 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 Services India LLP is a
>> company incorporated in India and is operated under license from Shape Blue
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
>> and is operated under license from Shape Blue Ltd. ShapeBlue is a
>> registered trademark.
>>

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

CloudStack Bootcamp Training on 27/28 November, Bangalore
http://www.shapeblue.com/cloudstack-training/




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 or related companies. 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 Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by Nitin Mehta <Ni...@citrix.com>.
Try step 3 @ 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Sec
ondary+storage+troubleshooting

On 04/10/13 9:35 AM, "Dean Kamali" <de...@gmail.com> wrote:

>Hi Shanker
>
>Are you using Ubuntu or CentOS to run CS Management station?
>
>It is very strange that system vms boots up correctly and check scripts
>pass all tests.
>
>Please let me know
>
>Thanks
>
>
>On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
><sh...@shapeblue.com>wrote:
>
>> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com> wrote:
>>
>> > Hello everyone
>> >
>> > I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
>> > my hypervisors, I have added hosts, and system vms are booting fine,
>>yet,
>> > I'm not able to register any ISO or template.
>>
>> Hi Dean,
>>
>> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues so
>>far.
>>
>>
>> >
>> > every time I try and register, it doesn't show any progress , here is
>> what
>> > I see in the logs
>> >
>> > 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request]
>>(Timer-11:null)
>> Seq
>> > 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver: v1,
>> > Flags: 100011,
>> >
>> 
>>[{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId
>>":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":tru
>>e,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"
>>resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"c
>>om.cloud.agent.api.to.NfsTO":{"_url":"nfs://
>> > 172.16.16.10/data/vol2","_role":"Image"}},"url":"
>> > http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
>> >
>> 
>>","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-0244
>>55fb2bff","secUrl":"nfs://
>> > 172.16.16.10/data/vol2","wait":0}}] }
>> > 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
>> > (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans: ,
>> > MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
>> >
>> 
>>[{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4e
>>e5-a995-af6f5307e996","downloadPct":0,"errorString":"
>> >
>> 
>>","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6
>>999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld44255291909186529
>>35tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhy
>>SicalSize":0,"result":true,"details":"
>> > ","wait":0}}] }
>> >
>> >
>> >
>> > I have run sysvmcheck script on ssvm and all checks passed without
>> showing
>> > any sign of warning or errors.
>> >
>>
>> Can you share the output of ssvm-check.sh?
>>
>>
>> > Please advise
>> >
>> > Thank you
>>
>> --
>> @shankerbalan
>>
>> M: +91 98860 60539 | O: +91 (80) 67935867
>> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
>>Centre,
>> Bangalore - 560 055
>>
>> CloudStack Bootcamp Training on 27/28 November, Bangalore
>> http://www.shapeblue.com/cloudstack-training/
>>
>>
>>
>>
>> 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 or related companies. 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 Services India LLP
>>is a
>> company incorporated in India and is operated under license from Shape
>>Blue
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
>>Brasil
>> and is operated under license from Shape Blue Ltd. ShapeBlue is a
>> registered trademark.
>>


Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by Dean Kamali <de...@gmail.com>.
Hi Shanker

Are you using Ubuntu or CentOS to run CS Management station?

It is very strange that system vms boots up correctly and check scripts
pass all tests.

Please let me know

Thanks


On Fri, Oct 4, 2013 at 12:08 PM, Shanker Balan
<sh...@shapeblue.com>wrote:

> On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com> wrote:
>
> > Hello everyone
> >
> > I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
> > my hypervisors, I have added hosts, and system vms are booting fine, yet,
> > I'm not able to register any ISO or template.
>
> Hi Dean,
>
> My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues so far.
>
>
> >
> > every time I try and register, it doesn't show any progress , here is
> what
> > I see in the logs
> >
> > 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request] (Timer-11:null)
> Seq
> > 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver: v1,
> > Flags: 100011,
> >
> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
> > 172.16.16.10/data/vol2","_role":"Image"}},"url":"
> > http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
> >
> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
> > 172.16.16.10/data/vol2","wait":0}}] }
> > 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
> > (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans: ,
> > MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
> >
> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
> >
> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
> > ","wait":0}}] }
> >
> >
> >
> > I have run sysvmcheck script on ssvm and all checks passed without
> showing
> > any sign of warning or errors.
> >
>
> Can you share the output of ssvm-check.sh?
>
>
> > Please advise
> >
> > Thank you
>
> --
> @shankerbalan
>
> M: +91 98860 60539 | O: +91 (80) 67935867
> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre,
> Bangalore - 560 055
>
> CloudStack Bootcamp Training on 27/28 November, Bangalore
> http://www.shapeblue.com/cloudstack-training/
>
>
>
>
> 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 or related companies. 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 Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue is a
> registered trademark.
>

Re: cloudstack 4.2 xenserver 6.2 template not downloading

Posted by Shanker Balan <sh...@shapeblue.com>.
On 04-Oct-2013, at 8:09 PM, Dean Kamali <de...@gmail.com> wrote:

> Hello everyone
>
> I did a fresh install of CS 4.2, and I'm using xenserver 6.2 for
> my hypervisors, I have added hosts, and system vms are booting fine, yet,
> I'm not able to register any ISO or template.

Hi Dean,

My local xenserver 6.2 and CS 4.2.0 is working correctly. No issues so far.


>
> every time I try and register, it doesn't show any progress , here is what
> I see in the logs
>
> 2013-10-04 10:22:41,409 DEBUG [agent.transport.Request] (Timer-11:null) Seq
> 8-1364983880: Sending  { Cmd , MgmtId: 2839826851498, via: 8, Ver: v1,
> Flags: 100011,
> [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","request":"GET_STATUS","hvm":true,"description":"centos5","maxDownloadSizeInBytes":53687091200,"id":208,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/208","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
> 172.16.16.10/data/vol2","_role":"Image"}},"url":"
> http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2
> ","format":"VHD","accountId":2,"name":"208-2-208845e9-fb06-378f-aced-024455fb2bff","secUrl":"nfs://
> 172.16.16.10/data/vol2","wait":0}}] }
> 2013-10-04 10:22:41,415 DEBUG [agent.transport.Request]
> (AgentManager-Handler-15:null) Seq 8-1364983880: Processing:  { Ans: ,
> MgmtId: 2839826851498, via: 8, Ver: v1, Flags: 10,
> [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"bc01b7a0-816c-4ee5-a995-af6f5307e996","downloadPct":0,"errorString":"
> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/5d2b6999-a3ea-3953-839c-72e39cc520b4/template/tmpl/2/208/dnld4425529190918652935tmp_","installPath":"template/tmpl/2/208","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"
> ","wait":0}}] }
>
>
>
> I have run sysvmcheck script on ssvm and all checks passed without showing
> any sign of warning or errors.
>

Can you share the output of ssvm-check.sh?


> Please advise
>
> Thank you

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

CloudStack Bootcamp Training on 27/28 November, Bangalore
http://www.shapeblue.com/cloudstack-training/




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 or related companies. 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 Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.