Hi Ankush, Look like your SSVM can't communicate with your Secondary Storage NFS. If your Secondary Storage NFS share path is nfs://localhost/data/secondary, you will have to change it for the IP of your cloudstack server so the SSVM can mount the NFS share.
Also, for ERROR: Cannot connect to port 8250 from the SSVM, you might have to change the "host" config in the Global Settings for the IP of your cloudstack server. Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Mon, Feb 10, 2014 at 6:32 AM, Ankush Grover <ankushcen...@gmail.com>wrote: > Hi All, > > I am trying to configure and run CloudStack on Centos 6.5 64-bit OS. I have > installed Cloudstack through the yum repo of Cloudstack. I choose the > option of basic network when I first time entered in the Cloudstack UI > through browser and entered the below values. Agent, NFS & Management all > are running on the same box(this is not production so no issues). > > Cloud Stack Version: 4.2.1 > > DNS: 172.31.9.80 > Internal DNS: 10.1.1.254 > POD Network: 10.1.1.0/24 with gateway set to 10.1.1.1 and IP range for > instances 10.1.1.2- 10.1.1.253 > Guest Network: Since I am configured Cloudstack in already running LAN > environment so I could not reserve any particular network range.I have > reserved around 6 IPs(excluded from the DHCP server) for the Guest Network. > While setting up Guest Network I gave only 1 IPAddress in the network range > but later on added 5 more IPs(Infrastructer-> Zones -> Physical Network -> > Guest Network). Gateway -> 172.31.8.1 (Default gateway for the complete > LAN) > > Primary Storage: Type -> NFS, Path: /data/primary, SCOPE -> Zone > Secondary Storage: SCOPE -> Zone, URL -> nfs://localhost/data/secondary, > Provider -> NFS > > > IPAddress of the CloudStack server: 172.31.10.204 > > > The issue I am facing is that I am not able to see any templates or iso > when trying to create instances even though Console Proxy and Secondary > Storage VMs are up and running. Both these VMs has Public & Private IPs but > neither of these IPs are pingable from LAN & also I am not able to access > these VMs via Console (View Console). I tried upload 1 Centos 6.4 64-bit > ISO and I see its "status -> Timeout waiting for response from storage > host". > > > The Dashboard shows Primary storage size 2 times as it is including the > space of Secondary Storage and no size is shown for Secondary Storage. > > > Logs shows related to ssvm > > > INFO [storage.endpoint.DefaultEndPointSelector] (StatsCollector-1:) No > running ssvm is found, so command will be sent to LocalHostEndPoint > INFO [storage.endpoint.DefaultEndPointSelector] (catalina-exec-17:) No > running ssvm is found, so command will be sent to LocalHostEndPoint > INFO [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:) No > running ssvm is found, so command will be sent to LocalHostEndPoint > WARN [storage.download.DownloadListener] (Timer-10:) Entering download > error state: timeout waiting for response from storage host, TEMPLATE: 203 > at host 0 > > > On further checking by ssvm-check.sh script > > NFS is currently mounted > Mount point is /proc/fs/nfsd /mnt/f94ba404-63c3-3d77-8582-379bb5262d18 > /var/cloudstack/mnt/secStorage/da102e13-3744-36e4-8d58-cdc7a26a7824 > Good: Can write to mount point > rm: cannot remove `/proc/fs/nfsd': Is a directory > rm: cannot remove `/mnt/f94ba404-63c3-3d77-8582-379bb5262d18': Is a > directory > ================================================ > Management server is . Checking connectivity. > ERROR: Cannot connect to port 8250 > 2014/02/10 16:54:04 socat[4681] E getaddrinfo("", "(null)", {1,0,1,6}, {}): > Name or service not known > > > If I disable some entries and put the MGMTSERVER name directly then it > reports everything is working fine. > > Good: DNS resolves download.cloud.com > ================================================ > NFS is currently mounted > Mount point is /proc/fs/nfsd /mnt/f94ba404-63c3-3d77-8582-379bb5262d18 > /var/cloudstack/mnt/secStorage/da102e13-3744-36e4-8d58-cdc7a26a7824 > Good: Can write to mount point > rm: cannot remove `/proc/fs/nfsd': Is a directory > rm: cannot remove `/mnt/f94ba404-63c3-3d77-8582-379bb5262d18': Is a > directory > ================================================ > Management server is cloudstack-in.xxxxxxx.com Checking connectivity. > Good: Can connect to management server port 8250 > ================================================ > Good: Java process is running > ================================================ > Tests Complete. Look for ERROR or WARNING above. > > There are 2 AD DNS servers in /etc/resolv.conf and both DNS servers has > entry for this cloudstack server. > > > I am wondering where is the issue and what needs to be done to fix it? > Selinux is already disabled and firewall too except the rules created by > the cloudstack > > Do let me know if any further information is required. > > > Regards > > Ankush >