cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evan Miller <Evan.Mil...@citrix.com>
Subject RE: [SOLVED] Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Date Tue, 05 Jun 2012 00:59:59 GMT
ROOT CAUSE: The CloudStack Secondary NFS Server's fully qualified
domain name was not known in DNS.

SOLUTION: So, because it is going to take Corporate I/T time to add
that DNS entry, for the NFS Host of the secondary filesystem, I used
the IP Address (and not the fully qualified hostname). BTW, it was
OK to use the fully qualified hostname (not known to DNS) for the
CloudStack Management Server and the NFS Server for the primary
filesystem. It is the identifier for the NFS Server for the secondary
that must be known by name (either DNS-known or ip address). Proof
of success manifested itself by seeing the CentOS 5.6(64-bit) no
GUI (XenServer) template finally 100% downloaded.

ENVIRONMENT: In my extremely simple test environment, the CloudStack
Management Server (running Centos 6.2) was functioning as the management
server as well as the NFS Server for the primary and secondary filesystems.
Also, I have only one XenServer running v6.0.2.

RECOMMENDATION: It would be nice if the detailed steps in the Basic
Installation Guide explicitly emphasized the particular importance
of the system hosting the secondary filesystem be directly addressable
either by fully qualified domain name in DNS or by ip address from
any system in the provisioned cloud. In my company, a bit of extra effort
and time are required to get a lab system added to DNS. In re-reading
the detailed steps, I can see that the guide is worded correctly. However,
a bit of explicit emphasis and explanation why the secondary is different
than the primary and the management server addressing might be helpful to
others.

Alena, Pranav, Rajesh, Nitin - Thanks for your help!!


Regards,

Evan Miller

Citrix Systems. Inc.
Desktop and Cloud Engineering Infrastructure
4988 Great America Parkway
Santa Clara, CA 95054

(V) and (F) 408-790-8489
(C)         925-209-1428
(Email)     Evan.Miller@citrix.com<mailto:Evan.Miller@citrix.com>

[cid:264460600@05062012-3461]


________________________________
From: Evan Miller
Sent: Monday, June 04, 2012 12:10 PM
To: Alena Prokharchyk; Rajesh Battala
Cc: Pranav Saxena
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud

So the steps will be:


 *   add your MS ip to the internal DNS.
 *   Stop and start SSVM
 *   The download should start automatically.


* Will do. Will advise when done/what happens.

Thanks,
Evan

________________________________
From: Alena Prokharchyk
Sent: Monday, June 04, 2012 12:05 PM
To: Evan Miller; Rajesh Battala
Cc: Pranav Saxena
Subject: Re: Can't get past "Waiting for builtin templates to load..." when initially building my cloud

Evan,

See answers inline.

-Alena.

From: Evan Miller <Evan.Miller@citrix.com<mailto:Evan.Miller@citrix.com>>
To: Rajesh Battala <rajesh.battala@citrix.com<mailto:rajesh.battala@citrix.com>>, Alena Prokharchyk <alena.prokharchyk@citrix.com<mailto:alena.prokharchyk@citrix.com>>
Cc: Pranav Saxena <pranav.saxena@citrix.com<mailto:pranav.saxena@citrix.com>>
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud

Couple of open issues/questions still:

1) Can the system vm recognize the CloudStack Management
Server Hostname (CSMSH) if the hostname is not part of DNS?

No, it has to be a part of DNS.

  a) For now, I opted to put CSMSH and its ip address in the
/etc/hosts file on the system vm.

  b) Installation Guides need to explicitly say that the FQDN
of the CSMS needs to be in DNS or in local /etc/hosts. That is
your software's requirement - that becomes a problem for end
users when it is not.

Yes, if it's a part of /etc/hosts on the MS only, then it can't be used as a secondary storage. It has to be a part of DNS.


2) From the system vm, I am running 'wget http_path_to_template'
that Alena gave me on the system vm.

root@s-1-VM:/etc<mailto:root@s-1-VM:/etc># hostname
s-1-VM
root@s-1-VM:/etc<mailto:root@s-1-VM:/etc># wget http://download.cloud.com/templates/builtin/f59f18fb-ae94-4f97-afd2-f84755767aca.vhd.bz2
--2012-06-04 18:54:24--  http://download.cloud.com/templates/builtin/f59f18fb-ae94-4f97-afd2-f84755767aca.vhd.bz2
Resolving download.cloud.com... 72.21.215.76
Connecting to download.cloud.com|72.21.215.76|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 401690054 (383M) [application/x-bzip2]
Saving to: ?f59f18fb-ae94-4f97-afd2-f84755767aca.vhd.bz2?

 6% [=>                                     ] 26,928,976   460K/s  eta 19m 7s
So, I'm waiting for this download to complete.

3) Then after download to the system vm, I'll try adding an instance
from CSMS Gui and see if a Centos 64-bit template is available. Right
now, no templates are available from the CSMS GUI.

It's because the template can't be downloaded t to the Secondary Storage, and it's not happening due to DNS name resolution failure. Just having it on the SSVM is not enough. I asked to try to download  it from inside the SSVM just to check if download.cloud.com can be accessible.


So the steps will be:


 *   add your MS ip to the internal DNS.
 *   Stop and start SSVM
 *   The download should start automatically.



Regards,
Evan


________________________________
From: Rajesh Battala
Sent: Saturday, June 02, 2012 2:07 AM
To: Alena Prokharchyk; Evan Miller
Cc: Pranav Saxena
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud

@Evan, as Alena told please resolve the internal dns server issue. Then your prob would be solved. It will download the template.
Or register a template by pointing to a local template with ip.
From: Alena Prokharchyk
Sent: Saturday, June 02, 2012 10:32 AM
To: Evan Miller
Cc: Pranav Saxena; Rajesh Battala
Subject: Re: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Make sure cumulus.eng.citrite.net is registered on your internal dns, otherwise SSVM will fail to resolve it. Or just add the entry for the host in /etc/hosts on your SSVM.
For primary storage FQDN we never check if it's registered on internal dns, it just has to be known by the Management server. For secondary storage we do.
From: Evan Miller <Evan.Miller@citrix.com<mailto:Evan.Miller@citrix.com>>
To: Alena Prokharchyk <alena.prokharchyk@citrix.com<mailto:alena.prokharchyk@citrix.com>>
Cc: Pranav Saxena <pranav.saxena@citrix.com<mailto:pranav.saxena@citrix.com>>, Rajesh Battala <rajesh.battala@citrix.com<mailto:rajesh.battala@citrix.com>>
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
I don't understand.
cumulus.eng.citrite.net is the same host for the primary.
Why doesn't cumulus.eng.citrite.net work for the secondary?
cumulus.eng.citrite.net is the host for the secondary. In fact,
cumulus.eng.citrite.net is also the CloudStack Management Server
Hostname.
Also ...
When I do a df on cumulus.eng.citrite.net,
I see the primary mounted:
[root@xenserver1-cs etc]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1              4127440   1802836   2114940  47% /
none                    388584         0    388584   0% /dev/shm
/opt/xensource/packages/iso/XenCenter.iso
                         51240     51240         0 100% /var/xen/xc-install
sunshine.eng.citrite.net:/exports/data
                     5716045824 1853038592 3572648960  35% /nfs/data
cumulus.eng.citrite.net:/home/export/primary
                     102135296   3476992  93470208   4% /var/run/sr-mount/caccb159-fc08-d64c-40c2-1b4b18593a25
[root@xenserver1-cs etc]#
But, I don't see the secondary, which should be
very similar to the path to the primary (except
the last directory):
cumulus.eng.citrite.net:/home/export/secondary

Regards,
Evan


Citrix Systems, Inc.
Desktop and Cloud Infrastructure Team
4988 Great America Parkway Building, Southeast Corner
Third Floor, Cube# 3026

(V) and (F) 408-790-8489
(C) 925-209-1428
(Email) Evan.Miller@citrix.com<mailto:Evan.Miller@citrix.com>

[cid:264460600@05062012-3468]
________________________________
From: Alena Prokharchyk
Sent: Friday, June 01, 2012 9:38 PM
To: Evan Miller
Cc: Pranav Saxena; Rajesh Battala
Subject: Re: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Here is the culprit – address of your secondary storage can't be resolved with DNS:
2012-06-01 20:56:59,562 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-2:null) Sending Connect to listener: DownloadListener
2012-06-01 20:56:59,572 DEBUG [agent.transport.Request] (AgentManager-Handler-2:null) Seq 4-1378156548: Sending  { Cmd , MgmtId: 207375654364, via: 4, Ver: v1, Flags: 100111, [{"storage
.ListTemplateCommand":{"secUrl":"nfs://cumulus.eng.citrite.net/home/export/secondary","wait":0}}] }
2012-06-01 20:56:59,666 DEBUG [agent.transport.Request] (AgentManager-Handler-7:null) Seq 4-1378156548: Processing:  { Ans: , MgmtId: 207375654364, via: 4, Ver: v1, Flags: 110, [{"Answe
r":{"result":false,"details":"com.cloud.utils.exception.CloudRuntimeException: GetRootDir for nfs://cumulus.eng.citrite.net/home/export/secondary failed due to java.net.UnknownHostExcep
tion: cumulus.eng.citrite.net\n\tat com.cloud.storage.resource.NfsSecondaryStorageResource.getRootDir(NfsSecondaryStorageResource.java:928)\n\tat com.cloud.storage.resource.NfsSecondary
StorageResource.execute(NfsSecondaryStorageResource.java:699)\n\tat com.cloud.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:157)\n\tat com
.cloud.storage.resource.PremiumSecondaryStorageResource.defaultAction(PremiumSecondaryStorageResource.java:57)\n\tat com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRe
quest(PremiumSecondaryStorageResource.java:53)\n\tat com.cloud.agent.Agent.processRequest(Agent.java:517)\n\tat com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:827)\n\tat co
m.cloud.utils.nio.Task.run(Task.java:79)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.r
un(ThreadPoolExecutor.java:908)\n\tat java.lang.Thread.run(Thread.java:662)\n","wait":0}}] }
2012-06-01 20:56:59,667 WARN  [cloud.vm.VirtualMachineManagerImpl] (AgentManager-Handler-7:null) Cleanup failed due to com.cloud.utils.exception.CloudRuntimeException: GetRootDir for nf
s://cumulus.eng.citrite.net/home/export/secondary failed due to java.net.UnknownHostException: cumulus.eng.citrite.net
        at com.cloud.storage.resource.NfsSecondaryStorageResource.getRootDir(NfsSecondaryStorageResource.java:928)
        at com.cloud.storage.resource.NfsSecondaryStorageResource.execute(NfsSecondaryStorageResource.java:699)
        at com.cloud.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:157)
        at com.cloud.storage.resource.PremiumSecondaryStorageResource.defaultAction(PremiumSecondaryStorageResource.java:57)
        at com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:53)
        at com.cloud.agent.Agent.processRequest(Agent.java:517)
        at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:827)
        at com.cloud.utils.nio.Task.run(Task.java:79)
        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)
You either fix the DNS, or use the IP instead of FQDN for the secondary storage.
-Alena.
From: Evan Miller <Evan.Miller@citrix.com<mailto:Evan.Miller@citrix.com>>
To: Alena Prokharchyk <alena.prokharchyk@citrix.com<mailto:alena.prokharchyk@citrix.com>>
Cc: Pranav Saxena <pranav.saxena@citrix.com<mailto:pranav.saxena@citrix.com>>, Rajesh Battala <rajesh.battala@citrix.com<mailto:rajesh.battala@citrix.com>>
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Alena:
Attached is the management-server log file.
It was compressed like so:
tar cvfz management-server.tgz management-server.log
Where should I download the built-in template to on the SSVM?

Regards,
Evan

________________________________
From: Alena Prokharchyk
Sent: Friday, June 01, 2012 9:25 PM
To: Evan Miller
Cc: Pranav Saxena; Rajesh Battala
Subject: Re: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Yes, ssvm is S-1-VM, and this is the vm responsible for the template download.
Everything looks good to me, SSVM started up, connected to the management server and it can ping download.cloud.com – most likely it can download the template. You can still double check by "wget http//download.cloud.com/templates/builtin/f59f18fb-ae94-4f97-afd2-f84755767aca.vhd.bz2"
Can you send me the management server log file?
Thanks,
Alena.
From: Evan Miller <Evan.Miller@citrix.com<mailto:Evan.Miller@citrix.com>>
To: Alena Prokharchyk <alena.prokharchyk@citrix.com<mailto:alena.prokharchyk@citrix.com>>
Cc: Pranav Saxena <pranav.saxena@citrix.com<mailto:pranav.saxena@citrix.com>>, Rajesh Battala <rajesh.battala@citrix.com<mailto:rajesh.battala@citrix.com>>
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Alena:
Rajesh - Sorry for deviating from the mailing list.
There has been a lot of email. I thought it would be
better to show a solved summary in one concise email
(after this is resolved).
I wiped CSMS and XS out completely and started over.
The XS has regained s-1-VM and v-2-VM.
I don't have a Centos template from the GUI Templates
button.
I'll run ssvm-check.sh to test connectivity.
s-1-VM  looks good:
root@s-1-VM:/usr/local/cloud/systemvm<mailto:root@s-1-VM:/usr/local/cloud/systemvm># hostname
s-1-VM
root@s-1-VM:/usr/local/cloud/systemvm<mailto:root@s-1-VM:/usr/local/cloud/systemvm># pwd
/usr/local/cloud/systemvm
root@s-1-VM:/usr/local/cloud/systemvm<mailto:root@s-1-VM:/usr/local/cloud/systemvm># ./ssvm-check.sh
================================================
First DNS server is  10.217.120.2
PING 10.217.120.2 (10.217.120.2): 56 data bytes
64 bytes from 10.217.120.2: icmp_seq=0 ttl=125 time=0.853 ms
64 bytes from 10.217.120.2: icmp_seq=1 ttl=125 time=0.340 ms
--- 10.217.120.2 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.340/0.597/0.853/0.257 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
NFS is currently mounted
================================================
Management server is 10.217.5.192. Checking connectivity.
Good: Can connect to management server port 8250
================================================
Good: Java process is running
================================================
Tests Complete. Look for ERROR or WARNING above.
root@s-1-VM:/usr/local/cloud/systemvm<mailto:root@s-1-VM:/usr/local/cloud/systemvm>#
And, likewise, v-2-VM looks good:

root@v-2-VM:/usr/local/cloud/systemvm<mailto:root@v-2-VM:/usr/local/cloud/systemvm># hostname
v-2-VM
root@v-2-VM:/usr/local/cloud/systemvm<mailto:root@v-2-VM:/usr/local/cloud/systemvm># pwd
/usr/local/cloud/systemvm
root@v-2-VM:/usr/local/cloud/systemvm<mailto:root@v-2-VM:/usr/local/cloud/systemvm># ./ssvm-check.sh
================================================
First DNS server is  10.217.120.2
PING 10.217.120.2 (10.217.120.2): 56 data bytes
64 bytes from 10.217.120.2: icmp_seq=0 ttl=125 time=0.394 ms
64 bytes from 10.217.120.2: icmp_seq=1 ttl=125 time=0.376 ms
--- 10.217.120.2 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.376/0.385/0.394/0.000 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
NFS is currently mounted
================================================
Management server is 10.217.5.192. Checking connectivity.
Good: Can connect to management server port 8250
================================================
Good: Java process is running================================================
Tests Complete. Look for ERROR or WARNING above.
root@v-2-VM:/usr/local/cloud/systemvm<mailto:root@v-2-VM:/usr/local/cloud/systemvm>#
wget is ftp, right?
Can you provide a bit more syntax?
To be clear, the SSVM is s-1-VM, right?
Regards,
Evan
________________________________
From: Alena Prokharchyk
Sent: Friday, June 01, 2012 7:56 PM
To: Evan Miller
Cc: Pranav Saxena
Subject: Re: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
We have to make sure 2 things worked (see more details below):

 *   SSVM connected to the management server (the log fragment you showed me doesn't have this info…)
 *   You can wget Centos template URL from inside the SSVM
-Alena.
From: Evan Miller <Evan.Miller@citrix.com<mailto:Evan.Miller@citrix.com>>
To: Alena Prokharchyk <alena.prokharchyk@citrix.com<mailto:alena.prokharchyk@citrix.com>>
Cc: Pranav Saxena <pranav.saxena@citrix.com<mailto:pranav.saxena@citrix.com>>
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Alena:
________________________________
From: Alena Prokharchyk
Sent: Friday, June 01, 2012 4:49 PM
To: Evan Miller
Cc: Pranav Saxena
Subject: Re: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Evan,
There are 2 types of built-in templates

 *   System templates – have to be pre-downloaded to the secondary storage prior to the first management server start. So once management server starts up , these templates will be used for Secondary storage and console proxy system vms created. The vms should be launched automatically as soon as secondary/primary storage and Xen host(s) are added to cloudStack.
 *   Built-in templates for user vms. Download for these templates is initiated at the time Secondary storage vm connects to the management server.
Thanks for the explanation.
If your Secondary storage vm was started successfully, but Centos template wasn't downloaded, here are the steps to debug the problem to ensure the correct connectivity:

 *   Console in to the secondary storage vm (Xen center can be used for this). Check /var/log/cloud/cloud.log – make sure there are no errors/exceptions there
In the 19 lines of output below, there is one line that concerns me.
 Fri Jun  1 19:07:52 UTC 2012 Executing cloud-early-config
Fri Jun  1 19:07:52 UTC 2012 Detected that we are running inside xen-domU guest
Fri Jun  1 19:07:52 UTC 2012 Patching  scripts oldmd5=e1defa60190950fbd3d5e9c15c
5b7c28 newmd5=fb10b00fab29aa060bca985746314b04
Fri Jun  1 19:07:52 UTC 2012 Patching  cloud service
Fri Jun  1 19:07:54 UTC 2012 Rebooting system since we patched init scripts
Fri Jun  1 19:08:18 UTC 2012 Executing cloud-early-config
Fri Jun  1 19:08:18 UTC 2012 Detected that we are running inside xen-domU guest
Fri Jun  1 19:08:18 UTC 2012 Patching  cloud service
Fri Jun  1 19:08:21 UTC 2012 Setting up secondary storage system vm
Fri Jun  1 19:08:27 UTC 2012 Successfully setup storage network with STORAGE_IP:
10.217.5.223, STORAGE_NETMASK:255.255.255.0, STORAGE_CIDR:
Fri Jun  1 19:08:27 UTC 2012 Setting up apache web server
Fri Jun  1 19:08:27 UTC 2012 cloud: disable rp_filter
Fri Jun  1 19:08:27 UTC 2012 disable rpfilter
Fri Jun  1 19:08:27 UTC 2012 cloud: enable_fwding = 0
Fri Jun  1 19:08:27 UTC 2012 enable_fwding = 0
Fri Jun  1 19:08:27 UTC 2012 Enable service haproxy = 0
Fri Jun  1 19:08:27 UTC 2012 Enable service dnsmasq = 0
Fri Jun  1 19:08:27 UTC 2012 Enable service cloud-passwd-srvr = 0
Fri Jun  1 19:08:27 UTC 2012 Enable service cloud = 1
What is expected atr STORAGE_IP address of 10.217.5.223? Storage
(primary and secondary filesystems both come from the management server).
Is it a problem that STORAGE_CIDR has no value?
Shouldn't be a problem. Does the java process running inside the secondary storage vm? Because usually at the end of the log you should see a message about secondary storage connection status to the management server.


 *   From inside the vm try to ping public and management networks. If ping fails for any of those, it means the network is configured incorrectly.
For management:
 root@s-1-VM:/var/log<mailto:root@s-1-VM:/var/log># ping 10.217.5.192
PING 10.217.5.192 (10.217.5.192): 56 data bytes
64 bytes from 10.217.5.192: icmp_seq=0 ttl=64 time=0.367 ms
64 bytes from 10.217.5.192: icmp_seq=1 ttl=64 time=0.331 ms
64 bytes from 10.217.5.192: icmp_seq=2 ttl=64 time=0.328 ms
^C--- 10.217.5.192 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.328/0.342/0.367/0.000 ms
root@s-1-VM:/var/log<mailto:root@s-1-VM:/var/log>#
For XenServer:
root@s-1-VM:/var/log<mailto:root@s-1-VM:/var/log># ping 10.217.5.193
PING 10.217.5.193 (10.217.5.193): 56 data bytes
64 bytes from 10.217.5.193: icmp_seq=0 ttl=64 time=4.590 ms
64 bytes from 10.217.5.193: icmp_seq=1 ttl=64 time=0.154 ms
64 bytes from 10.217.5.193: icmp_seq=2 ttl=64 time=0.168 ms
^C--- 10.217.5.193 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.154/1.637/4.590/2.088 ms
root@s-1-VM:/var/log<mailto:root@s-1-VM:/var/log>#
For public (if that is equivalent to guest range):
I am not sure what is pingable. I'd like to narrow the
range of ips for guests to just two ips. Can't seem to
do that from the UI, since it says the ips are public
ip addresses. I'd, also, like to narrow the range of
ips for the private network as well. Can I safely do
this be just deleting the single POD that I created,
then recreate the POD?
 I should have been more precise. Get the URL for Centos template from vm_templates table and see if you can wget it from inside the SSVM.

 *   If template webserver is located in the private network, we have to open firewall on the secondary storage vm explicitly. For that a) set global config secstorage.allowed.internal.sites to the cidr of your web server 2) restart management server process c) stop and start secondary storage vm
 I don't have a separate web server. The CloudStack Management
Server is probably functioning in that capacity. I only have
two devices in the network, the CloudStack Management Server and
the XenServer. So, if the CloudStack Management Server is, also,
the template webserver, it is not in the guest ip range.
For the default template the web server is download.cloud.com. So make sure you can ping this web server from inside your SSVM. Only if you are planning to host your further templates on some webserver, and this webserver is in the private network, its cidr should be added to secstorage.allowed.internal.sites.
CIDR = 10.217.5.0/24 for 10.217.5.192 (management server)?
Not sure ...
Evan
Let me know how it works for you.
-Alena.
From: Evan Miller <Evan.Miller@citrix.com<mailto:Evan.Miller@citrix.com>>
To: Alena Prokharchyk <alena.prokharchyk@citrix.com<mailto:alena.prokharchyk@citrix.com>>
Cc: Pranav Saxena <pranav.saxena@citrix.com<mailto:pranav.saxena@citrix.com>>
Subject: FW: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Alena:
Pranav and I have been conversing on a long thread.
Here are the problems:
1) When initially (the first time) trying to provision the cloud
(hitting the launch button), the CloudStack Management
Server GUI got stuck on "Waiting for builtin templates to load...".
After 3 hours, I killed that GUI session. I started a
new GUI session and did get to the CloudStack Management
Server GUI Dashboard.
2) However, the Centos Template is not showing up from the
CloudStack Management Server GUI when I click on Templates Tab.
The database does indicate that something was downloaded:
mysql> select host_id,template_id,download_state from template_host_ref;
+---------+-------------+----------------+
| host_id | template_id | download_state |
+---------+-------------+----------------+
|       2 |           9 | DOWNLOADED     |
|       2 |           8 | DOWNLOADED     |
|       2 |           3 | DOWNLOADED     |
|       2 |           1 | DOWNLOADED     |
+---------+-------------+----------------+
4 rows in set (0.00 sec)
mysql>
Those template ids (1, 3, and 8) probably correspond to
these files on the CloudStack Management Server.
[root@cumulus 1]# hostname
cumulus.eng.citrite.net
[root@cumulus 1]# pwd
/home/export/secondary/template/tmpl/1
[root@cumulus 1]# ls -al */*.vhd */*.qcow2 */*.ova
-rw-r--r--. 1 root root 565240320 May 30 21:20 1/bd0289c7-cf5e-4a65-99fe-8cb6df361eb6.vhd
-rw-r--r--. 1 root root 725811200 May 30 22:36 3/01824df1-ba57-4738-ac60-97fb46f2c5a1.qcow2
-rw-r--r--. 1 root root 330911744 Feb 21 13:16 8/9145b523-fe1a-4fdb-9b9f-b53af4eddb58.ova
[root@cumulus 1]#
3) The only template I do see is the System VM Template
based on Debian GNU/Linux 5.0 (32-bit)
4) The secondary filesystem is not mounted on the
XenServer:
[root@xenserver1-cs var]# hostname
xenserver1-cs
[root@xenserver1-cs var]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1              4127440   1807648   2110128  47% /
none                    388584         0    388584   0% /dev/shm
/opt/xensource/packages/iso/XenCenter.iso
                         51240     51240         0 100% /var/xen/xc-install
cumulus.eng.citrite.net:/home/export/primary
                     102135296   2864640  94082560   3% /var/run/sr-mount/94711de4-6808-b2fa-ed06-472332ded99a
[root@xenserver1-cs var]#
Should the secondary be mounted on the XenServer?
If yes, what is the full mount point path on the
XenServer?
There is an alert from the GUI Dashboard regarding
the secondary filesystem.
Background:
The primary and secondary exported filesystems from the
CloudStack Management Server are actually the same filesystem
(/home). The only differences is the primary is exported
as /home/export/primary and the secondary is exported as
/home/export/secondary. I don't know if this creates a
problem when initially provisioning a cloud.
Can you help to resolve some/all of the above?
Regards,
Evan
-----Original Message-----
From: Pranav Saxena
Sent: Friday, June 01, 2012 4:18 PM
To: Evan Miller
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Evan  ,
I think you are right. The mount point should share the same directory structure ( don't know the exact reason behind this ) . You could try mounting your secondary storage in the similar way.
Regards,
Pranav
-----Original Message-----
From: Evan Miller
Sent: Saturday, June 02, 2012 4:41 AM
To: Pranav Saxena
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Pranav:
I don't see a CentOS template from the UI (just the System VM Template based on Debian GNU/Linux 5.0 (32-bit)).
Also, I don't see the secondary storage mounted to the XenServer:
[root@xenserver1-cs var]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1              4127440   1807264   2110512  47% /
none                    388584         0    388584   0% /dev/shm
/opt/xensource/packages/iso/XenCenter.iso
                         51240     51240         0 100% /var/xen/xc-install
cumulus.eng.citrite.net:/home/export/primary
                     102135296   2858240  94088704   3% /var/run/sr-mount/94711de4-6808-b2fa-ed06-472332ded99a
[root@xenserver1-cs var]#
I only see the primary mounted to the XenServer.
Would this have anything to do with the fact that the mount point for secondary storage shares the same directory structure. That is:
Primary is sourced from cumulus.eng.citrite.net:/home/export/primary
Secondary would need to be sourced from cumulus.eng.citrite.net:/home/export/secondary
What is the mount point on the XenServer supposed to be called for secondary storage? /var/run/something...
Regards,
Evan
Citrix Systems, Inc.
Desktop and Cloud Infrastructure Team
4988 Great America Parkway Building, Southeast Corner Third Floor, Cube# 3026
(V) and (F) 408-790-8489
(C) 925-209-1428
(Email) Evan.Miller@citrix.com<mailto:Evan.Miller@citrix.com>
-----Original Message-----
From: Pranav Saxena
Sent: Friday, June 01, 2012 4:02 PM
To: Evan Miller
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi ,
So the built-in CentOS template didn't appear on the UI for you.  One last thing , you could try mounting your secondary storage once again. If this doesn't work , then I'll have to investigate more into this and I'll get back to you. Perhaps you could talk to Alena once as well.
Regards,
Pranav
-----Original Message-----
From: Evan Miller
Sent: Saturday, June 02, 2012 4:29 AM
To: Evan Miller; Pranav Saxena
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Pravna:
Progress ...
I started another CloudStack Management Server UI session.
I clicked on Templates Tab and see that the System VM Template XenServer says "Download Complete".
From the dashboard, there is one alert:
    nfs://cumulus.eng.citrite.net/home/export/secondary...
    Alert state detected
Regards,
Evan
-----Original Message-----
From: Evan Miller
Sent: Friday, June 01, 2012 3:53 PM
To: Pranav Saxena
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Pravna:
The CloudStack Management Server UI is busy or stuck I should say.
Do you want me to kill the attempted provisioning?
I didn't check the tab, because I didn't want to kill the busy/stuck GUI.
Should I then not run the tutorial and cloud provisioning but choose the other option from the GUI?
I'll ask Alena after I exhaust all of your suggestions.
Regards,
Evan
-----Original Message-----
From: Pranav Saxena
Sent: Friday, June 01, 2012 3:49 PM
To: Evan Miller
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Evan ,
Did you check the templates tab on the UI , if  it's not listing the CentOS template there ? Since everything's working fine for you and the download state is also set to "Downloaded" so there should not have been a problem. Can you try copying the template manually to your secondary storage folder ? I am not sure but  there could be some problem with the script which  is unable to the find the downloaded template if it's not able to display it on the UI.
I'll have to look into this deeply otherwise  .Perhaps you could ask Alena about this .
Regards,
Pranav
-----Original Message-----
From: Evan Miller
Sent: Saturday, June 02, 2012 4:12 AM
To: Pranav Saxena
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Pranav:
Here is the result of the query (adding a few other columns):
mysql> select host_id,template_id,download_state from template_host_ref;
+---------+-------------+----------------+
| host_id | template_id | download_state |
+---------+-------------+----------------+
|       2 |           9 | DOWNLOADED     |
|       2 |           8 | DOWNLOADED     |
|       2 |           3 | DOWNLOADED     |
|       2 |           1 | DOWNLOADED     |
+---------+-------------+----------------+
4 rows in set (0.00 sec)
mysql>
Regards,
Evan
-----Original Message-----
From: Pranav Saxena
Sent: Friday, June 01, 2012 3:38 PM
To: Evan Miller
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Evan ,
I apologize , I forgot the column name. Try this out :
mysql> select download_state from template_host_ref;
Regards,
pranav
-----Original Message-----
From: Evan Miller
Sent: Saturday, June 02, 2012 3:57 AM
To: Pranav Saxena
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Pravna:
I couldn't find the status column in the table I chose in the "cloud" database:
I selected a few different columns in this query (against vm_template table not vm_templates table):
mysql> select
mysql> name,unique_name,public,type,bootable,extractable,template_tag
mysql> from vm_template where name like '%Centos%';
+---------------------------------------+---------------------+--------+---------+----------+-------------+--------------+
| name                                  | unique_name         | public | type    | bootable | extractable | template_tag |
+---------------------------------------+---------------------+--------+---------+----------+-------------+--------------+
| CentOS 5.3(64-bit) no GUI (XenServer) | centos53-x86_64     |      1 | BUILTIN |        1 |           1 | NULL         |
| CentOS 5.5(64-bit) no GUI (KVM)       | centos55-x86_64     |      1 | BUILTIN |        1 |           1 | NULL         |
| CentOS 5.6(64-bit) no GUI (XenServer) | centos56-x86_64-xen |      1 | BUILTIN |        1 |           1 | NULL         |
| CentOS 5.3(64-bit) no GUI (vSphere)   | centos53-x64        |      1 | BUILTIN |        1 |           1 | NULL         |
+---------------------------------------+---------------------+--------+---------+----------+-------------+--------------+
4 rows in set (0.00 sec)
mysql>
Here are all of the databases:
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| cloud              |
| cloud_usage        |
| mysql              |
| test               |
+--------------------+
5 rows in set (0.00 sec)
mysql>
Here are all of the tables in the cloud database:
mysql> show tables;
+--------------------------------------+
| Tables_in_cloud                      |
+--------------------------------------+
| account                              |
| account_details                      |
| account_network_ref                  |
| account_vlan_map                     |
| alert                                |
| async_job                            |
| cluster                              |
| cluster_details                      |
| cmd_exec_log                         |
| configuration                        |
| console_proxy                        |
| data_center                          |
| data_center_details                  |
| dc_storage_network_ip_range          |
| disk_offering                        |
| domain                               |
| domain_network_ref                   |
| domain_router                        |
| elastic_lb_vm_map                    |
| event                                |
| external_firewall_devices            |
| external_load_balancer_devices       |
| firewall_rules                       |
| firewall_rules_cidrs                 |
| guest_os                             |
| guest_os_category                    |
| guest_os_hypervisor                  |
| host                                 |
| host_details                         |
| host_pod_ref                         |
| host_tags                            |
| hypervisor_capabilities              |
| inline_load_balancer_nic_map         |
| instance_group                       |
| instance_group_vm_map                |
| keystore                             |
| launch_permission                    |
| load_balancer_stickiness_policies    |
| load_balancer_vm_map                 |
| load_balancing_rules                 |
| mshost                               |
| mshost_peer                          |
| netapp_lun                           |
| netapp_pool                          |
| netapp_volume                        |
| network_external_firewall_device_map |
| network_external_lb_device_map       |
| network_offerings                    |
| network_rule_config                  |
| networks                             |
| nics                                 |
| ntwk_offering_service_map            |
| ntwk_service_map                     |
| op_dc_ip_address_alloc               |
| op_dc_link_local_ip_address_alloc    |
| op_dc_storage_network_ip_address     |
| op_dc_vnet_alloc                     |
| op_ha_work                           |
| op_host                              |
| op_host_capacity                     |
| op_host_transfer                     |
| op_host_upgrade                      |
| op_it_work                           |
| op_lock                              |
| op_networks                          |
| op_nwgrp_work                        |
| op_pod_vlan_alloc                    |
| op_user_stats_log                    |
| op_vm_ruleset_log                    |
| ovs_host_vlan_alloc                  |
| ovs_tunnel                           |
| ovs_tunnel_account                   |
| ovs_tunnel_alloc                     |
| ovs_vlan_mapping_dirty               |
| ovs_vm_flow_log                      |
| ovs_work                             |
| physical_network                     |
| physical_network_isolation_methods   |
| physical_network_service_providers   |
| physical_network_tags                |
| physical_network_traffic_types       |
| pod_vlan_map                         |
| port_forwarding_rules                |
| project_account                      |
| project_invitations                  |
| projects                             |
| remote_access_vpn                    |
| resource_count                       |
| resource_limit                       |
| secondary_storage_vm                 |
| security_group                       |
| security_group_rule                  |
| security_group_vm_map                |
| sequence                             |
| service_offering                     |
| snapshot_policy                      |
| snapshot_schedule                    |
| snapshots                            |
| ssh_keypairs                         |
| stack_maid                           |
| storage_pool                         |
| storage_pool_details                 |
| storage_pool_host_ref                |
| storage_pool_work                    |
| swift                                |
| sync_queue                           |
| sync_queue_item                      |
| template_host_ref                    |
| template_spool_ref                   |
| template_swift_ref                   |
| template_zone_ref                    |
| upload                               |
| usage_event                          |
| user                                 |
| user_ip_address                      |
| user_statistics                      |
| user_vm                              |
| user_vm_details                      |
| version                              |
| virtual_router_providers             |
| vlan                                 |
| vm_instance                          |
| vm_template                          |
| vm_template_details                  |
| volumes                              |
| vpn_users                            |
+--------------------------------------+
126 rows in set (0.00 sec)
mysql>
Here are the tables in the cloud_usage database:
mysql> use cloud_usage;
Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show tables;
+----------------------------+
| Tables_in_cloud_usage      |
+----------------------------+
| account                    |
| cloud_usage                |
| usage_event                |
| usage_ip_address           |
| usage_job                  |
| usage_load_balancer_policy |
| usage_network              |
| usage_network_offering     |
| usage_port_forwarding      |
| usage_security_group       |
| usage_storage              |
| usage_vm_instance          |
| usage_volume               |
| usage_vpn_user             |
| user_statistics            |
+----------------------------+
15 rows in set (0.00 sec)
mysql>
Should I try a different query?
Regards,
Evan
-----Original Message-----
From: Pranav Saxena
Sent: Friday, June 01, 2012 3:08 PM
To: Evan Miller
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Evan,
The system VM health looks good in your set up. You can check the UI once if the templates tab is listing the CentOS template there apart from the System VM template else you might want to check the database to see if the status of the built-in template which gets downloaded to the database
1) Use cloud database
2) select * from vm_templates .
Perhaps you can check the 'status' column for the CentOS template . if it says 'Not Downloaded'  , you can check the path from where the template is getting downloaded (download.cloud.com......) and set it to a local path ( if there are some existing templates ) so that downloading takes lesser time and session does not get timed out.
Regards,
Pranav
-----Original Message-----
From: Evan Miller
Sent: Saturday, June 02, 2012 3:31 AM
To: Pranav Saxena
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Pranav:
Here are the results.
From s-1-VM, it looks good.
root@s-1-VM:/usr/local/cloud/systemvm# ./ssvm-check.sh ================================================
First DNS server is  10.217.120.2
PING 10.217.120.2 (10.217.120.2): 56 data bytes
64 bytes from 10.217.120.2: icmp_seq=0 ttl=125 time=0.384 ms
64 bytes from 10.217.120.2: icmp_seq=1 ttl=125 time=0.334 ms
--- 10.217.120.2 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.334/0.359/0.384/0.025 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
NFS is currently mounted
================================================
Management server is 10.217.5.192. Checking connectivity.
Good: Can connect to management server port 8250 ================================================
Good: Java process is running
================================================
Tests Complete. Look for ERROR or WARNING above.
root@s-1-VM:/usr/local/cloud/systemvm#
And, from v-2-VM, it, also, looks good.
root@v-2-VM:/usr/local/cloud/systemvm# ./ssvm-check.sh ================================================
First DNS server is  10.217.120.2
PING 10.217.120.2 (10.217.120.2): 56 data bytes
64 bytes from 10.217.120.2: icmp_seq=0 ttl=125 time=5.815 ms
64 bytes from 10.217.120.2: icmp_seq=1 ttl=125 time=0.393 ms
--- 10.217.120.2 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.393/3.104/5.815/2.711 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
NFS is currently mounted
================================================
Management server is 10.217.5.192. Checking connectivity.
Good: Can connect to management server port 8250 ================================================
Good: Java process is running
================================================
Tests Complete. Look for ERROR or WARNING above.
root@v-2-VM:/usr/local/cloud/systemvm#
Regards,
Evan
-----Original Message-----
From: Pranav Saxena
Sent: Friday, June 01, 2012 2:53 PM
To: Evan Miller
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Evan ,
1) The error message keeps on getting logged again and again as  on the front end the timer just keeps on blinking.
2) Go to the SYSTEM VM's which must have been launched on your cloudstack host in the previous step. Go to the console for S-1-TEST vm and then login to the console
    Username - root
    Password - 6m1ll10n

  And then navigate to this path - /usr/local/cloud/systemvm and then execute the shell script. You should be able to see the similar output as shown in my previous mail.
Regards,
Pranav
-----Original Message-----
From: Evan Miller
Sent: Saturday, June 02, 2012 3:09 AM
To: Pranav Saxena
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Pranav:
I see four instances of the error message you mentioned, but the error message occurred over 2 hours ago:
[root@cumulus management]# date
Fri Jun  1 14:28:31 PDT 2012
[root@cumulus management]# hostname
cumulus.eng.citrite.net
[root@cumulus management]# pwd
/var/log/cloud/management
[root@cumulus management]# grep "There is no secondary storage VM for secondary storage host" *
management-server.log:2012-06-01 12:02:22,350 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) There is no secondary storage VM for secondary storage host nfs://cumulus.eng.citrite.net/home/export/secondary
management-server.log:2012-06-01 12:03:43,865 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) There is no secondary storage VM for secondary storage host nfs://cumulus.eng.citrite.net/home/export/secondary
management-server.log:2012-06-01 12:05:12,611 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) There is no secondary storage VM for secondary storage host nfs://cumulus.eng.citrite.net/home/export/secondary
management-server.log:2012-06-01 12:06:13,151 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) There is no secondary storage VM for secondary storage host nfs://cumulus.eng.citrite.net/home/export/secondary
management-server.log:2012-06-01 12:07:13,774 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) There is no secondary storage VM for secondary storage host nfs://cumulus.eng.citrite.net/home/export/secondary
[root@cumulus management]#
On which system do you run this command from?
./usr/local/cloud/systemvm/ssvm-check.sh
From the system VM (e.g. s-1-VM)?
If yes, what's the default credentials to access that VM?
Also, what's the full path on your system to ssvm-check.sh?
I couldn't find it on the CloudStack Management Server or on the XenServer doing:
  cd /; find . -name 'ssvm-check.sh' -print
  cd /usr; find . -name 'ssvm-check.sh' -print
Please let me know. I want to try the ssvm-check.sh command on the right host.
Regards,
Evan
-----Original Message-----
From: Pranav Saxena
Sent: Friday, June 01, 2012 2:19 PM
To: Evan Miller
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Evan ,
Sure , No problems. Do let us know if that trick works for you.
Regards,
Pranav
-----Original Message-----
From: Evan Miller
Sent: Saturday, June 02, 2012 2:46 AM
To: Pranav Saxena
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi Pranav:
Thanks for the quick and detailed reply.
I will investigate/act and let all know the result.
Regards,

Evan Miller

Citrix Systems. Inc.
Desktop and Cloud Engineering Infrastructure
4988 Great America Parkway
Santa Clara, CA 95054
(V) and (F) 408-790-8489
(C)         925-209-1428
(Email)     Evan.Miller@citrix.com<mailto:Evan.Miller@citrix.com>
-----Original Message-----
From: Pranav Saxena
Sent: Friday, June 01, 2012 2:11 PM
To: Evan Miller
Cc: cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>
Subject: RE: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi ,
I have been facing the same problem numerous number of times in the recent past but realized that this problem was perhaps due to the fact that the SSVM is not able to ping the management server ( it was taking a private IP by default) . If you check the logs and find a statement similar to this - " There is no secondary storage VM for secondary storage host nfs://172.17.1.2/export/second​ary " , so that means your management server is not getting pinged from the SSVM. In that case if you manually change the management server IP to a public IP and open the port  ((UPDATE configuration SET value='public IP' WHERE name LIKE 'host') of MS in database configuration table ), SSVM is able to ping the MS and built-in template is downloaded successfully else  the timer just keeps on blinking on again and again. (NOTE - My MS was running on a oracle Vbox so it was taking a private IP by default)
To check the SSVM health  , you might want to check the SSVM health by running this script - ./usr/local/cloud/systemvm/ssvm-check.sh
If you get the output as shown below - First DNS server is 10.103.128.15 PING 10.103.128.15 (10.103.128.15): 56 data bytes
64 bytes from 10.103.128.15: icmp_seq=0 ttl=122 time=1.017 ms
64 bytes from 10.103.128.15: icmp_seq=1 ttl=122 time=0.748 ms
--- 10.103.128.15 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.748/0.882/1.017/0.135 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
NFS is currently mounted
================================================
Management server is 10.0.3.15. Checking connectivity.
ERROR: Cannot connect to 10.0.3.15 port 8250
2012/05/24 08:59:22 socat[3375] E connecting to AF=2 10.0.3.15:8250: Connection timed out
After changing the IP of the MS by changing the value in the database :
root@s-4-TEST:/usr/local/cloud/systemvm# ./ssvm-check.sh ================================================
First DNS server is 10.103.128.15
PING 10.103.128.15 (10.103.128.15): 56 data bytes
64 bytes from 10.103.128.15: icmp_seq=0 ttl=122 time=0.787 ms
64 bytes from 10.103.128.15: icmp_seq=1 ttl=122 time=0.441 ms
--- 10.103.128.15 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.441/0.614/0.787/0.173 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
NFS is currently mounted
Mount point is /mnt/SecStorage/7a3ca999-450a-3d33-a287-2aaa4add5ffd
Good: Can write to mount point
================================================
Management server is 10.103.2.76. Checking connectivity.
Good: Can connect to management server port 8250 ================================================
Good: Java process is running
================================================
Hope this helps.
Regards,
Pranav Saxena
-----Original Message-----
From: Evan Miller [mailto:Evan.Miller@citrix.com]
Sent: Saturday, June 02, 2012 2:04 AM
To: cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>
Subject: Can't get past "Waiting for builtin templates to load..." when initially building my cloud
Hi:
I am attempting CloudStack Basic Installation (3.0.1) for the first time.
The CloudStack Management Server is running Centos 6.2.
The Hypervisor is XenServer 6.0.2. The XenServer installation includes the two hotfixes for 6.0.2 and the CloudStack XenServer Support Package (CSP).
My network is currently the CloudStack Management Server and the XenServer.
From XenCenter 6.0, I can see that xenserver1-cs has s-1-VM and v-2-VM. Both with green arrow heads.
I started the cloud provisioning from the GUI.
However, for the last 1.5 hours, the "Now building your cloud ..." window is stuck on "Waiting for builtin templates to load...". The launch process doesn't appear to be finished.
How do I get the initial launch of cloud provisioning to finish?
There is constant activity in these four log files in
/var/log/cloud/management:
  api-server.log
  management-server.log
  access_log.2012-06-01.txt
  catalina.out
However, I don't know what is important to provide to you to help solve this problem.
Thanks for any help,
Evan Miller
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message