satis egitimisatis egitimitengda.pro
Welcome, Guest
Username: Password: Remember me

TOPIC: Reinstalled the cloudstack but still no luck

Reinstalled the cloudstack but still no luck 2 years 4 months ago #7457

  • thunder11
  • thunder11's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 66
  • Thank you received: 2
  • Karma: 0
I reinstalled my cloudstack install on Centos6. Added secondary storage and it shows up in Management console
Secondary Storage Used
Used: 1.72 GB/3.39 TB
But this storage is in alert state.
Looks like its there but I have an Alert on it.
"Host - nfs://192.168.10.5/mnt/nfs has been detected in Alert state."
my /etc/exports file shows :
/mnt/nfs *(rw,async,no_root_squash)
Note: /mnt/nfs is the mountpoint of my disk I wanna use for secondary storage.
from the same machine i looked at /var/log/cloud/agent/agent.log and have:
libvir: Storage error : Storage pool not found: no pool with matching uuid
libvir: error : internal error '/bin/mount 192.168.10.5:/mnt/nfs/template/tmpl/1/3 /mnt/194c195c-88bc-392e-9632-b953d2d57cf0' exited with non-zero status 32 and signal 0: mount.nfs: mounting 192.168.10.5:/mnt/nfs/template/tmpl/1/3 failed, reason given by server:
No such file or directory
libvir: Storage error : Storage volume not found: no storage vol with matching key
Note: I did used the tutorial about it
Append the below section into /etc/cgconfig.conf

group virt {
cpu {
cpu.shares = 9216;
}
}

restarted libvirtd, cgconfig and cgred
Next, my system Vms are up and running. When I apply "patches" for ssvm-check.sh for smdline part, it shows no errors whatsoever. Also my system VMs are unable to ping nothing to the outside world.
Finally, Im undable to download a single ISO from the internet:
my management-server.log
2011-09-28 18:17:31,213 DEBUG [cloud.vm.VirtualMachineManagerImpl] (StatsCollector-2:null) Cleanup succeeded. Details null
2011-09-28 18:17:33,649 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) VmStatsCollector is running...
2011-09-28 18:17:39,307 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is ready to launch secondary storage VM
2011-09-28 18:17:39,705 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 1 is ready to launch console proxy
2011-09-28 18:17:40,375 DEBUG [cloud.storage.StorageManagerImpl] (CapacityChecker:null) Successfully set Capacity - 3.73159467E12 for CAPACITY_TYPE_STORAGE_ALLOCATED, DataCenterId - 1, HostOrPoolId - 200, PodId 1

Hope someone will be able to help me out
The administrator has disabled public write access.

Re: Reinstalled the cloudstack but still no luck 2 years 4 months ago #7490

  • ke4qqq
  • ke4qqq's Avatar
  • OFFLINE
  • Administrator
  • Posts: 620
  • Thank you received: 69
  • Karma: 22
What version are you using?
Is the SSVM up and running? Are you able to ssh in? Can you paste the content of ssvm-check.sh?
The administrator has disabled public write access.

Re: Reinstalled the cloudstack but still no luck 2 years 4 months ago #7495

  • thunder11
  • thunder11's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 66
  • Thank you received: 2
  • Karma: 0
Yes, Im able to connect to secondary storage;
root@s-1-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
================================================
First DNS server is 192.168.10.1
PING 192.168.10.1 (192.168.10.1): 56 data bytes
64 bytes from 192.168.10.1: icmp_seq=0 ttl=64 time=2.335 ms
64 bytes from 192.168.10.1: icmp_seq=1 ttl=64 time=0.526 ms
--- 192.168.10.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.526/1.430/2.335/0.905 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
NFS is currently mounted
Mount point is /mnt/SecStorage/5541d5bd-d62b-349f-b889-e5e59ee416d0
Good: Can write to mount point
================================================
Management server is 192.168.10.3. Checking connectivity.
Good: Can connect to management server port 8250
================================================
Good: Java process is running
================================================
Tests Complete. Look for ERROR or WARNING above.
Note: I changed ssvm-check.sh in the line : MGMTSERVER=`awk '{print $3}' $CMDLINE | awk -F= '{print $2}'`
more about it here: cloudstack.org/forum/9-templates-and-iso...r-error-message.html
From Proxy Console :
root@v-2-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
================================================
First DNS server is 192.168.10.1
PING 192.168.10.1 (192.168.10.1): 56 data bytes
64 bytes from 192.168.10.1: icmp_seq=0 ttl=64 time=1.665 ms
64 bytes from 192.168.10.1: icmp_seq=1 ttl=64 time=0.724 ms
--- 192.168.10.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.724/1.195/1.665/0.471 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
ERROR: NFS is not currently mounted
Try manually mounting from inside the VM
NFS server is 192.168.10.179
PING 192.168.10.179 (192.168.10.179): 56 data bytes
64 bytes from 192.168.10.179: icmp_seq=0 ttl=64 time=0.050 ms
64 bytes from 192.168.10.179: icmp_seq=1 ttl=64 time=0.030 ms
--- 192.168.10.179 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.030/0.040/0.050/0.000 ms
Good: Can ping NFS server
================================================
Management server is 91.228.254.146. Checking connectivity.
ERROR: Cannot connect to 91.228.254.146 port 8250
2011/10/03 15:35:25 socat[2386] E write(3, 0x91183d0, 1): Connection refused

On the server where those VM's are running I have following interfaces:
cloud0 Link encap:Ethernet HWaddr FE:00:A9:FE:01:0C
inet addr:169.254.0.1 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::f4c7:d2ff:fea8:4520/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:306 errors:0 dropped:0 overruns:0 frame:0
TX packets:390 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:44256 (43.2 KiB) TX bytes:39450 (38.5 KiB)
cloudbr0 Link encap:Ethernet HWaddr 00:25:90:18:BC:EC
inet addr:192.168.10.4 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::225:90ff:fe18:bcec/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:262837 errors:0 dropped:0 overruns:0 frame:0
TX packets:249917 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:733085992 (699.1 MiB) TX bytes:17178566 (16.3 MiB)
virbr0 Link encap:Ethernet HWaddr F2:F0:9D:C0:F7:7F
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0 -- No IP assigned, vnet0, vnet1, vnet2, vnet3, vnet4, vnet5, -- also without asssigned IPs.

In SecondaryStorage VM I have following interfaces:
eth0 Link encap:Ethernet HWaddr 0e:00:a9:fe:01:0c
inet addr:169.254.1.12 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::c00:a9ff:fefe:10c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:450 errors:0 dropped:0 overruns:0 frame:0
TX packets:293 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42942 (41.9 KiB) TX bytes:46530 (45.4 KiB)

eth1 Link encap:Ethernet HWaddr 06:b4:e8:00:00:51
inet addr:192.168.10.207 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::4b4:e8ff:fe00:51/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4090 errors:0 dropped:0 overruns:0 frame:0
TX packets:3968 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:838172 (818.5 KiB) TX bytes:672851 (657.0 KiB)

eth2 Link encap:Ethernet HWaddr 06:8a:c2:00:00:82
inet addr:91.228.254.129 Bcast:91.228.254.255 Mask:255.255.255.0
inet6 addr: fe80::48a:c2ff:fe00:82/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:365 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28155 (27.4 KiB) TX bytes:2232 (2.1 KiB)

On Console VM :
eth0 Link encap:Ethernet HWaddr 0e:00:a9:fe:03:1e
inet addr:169.254.3.30 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::c00:a9ff:fefe:31e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:153 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14144 (13.8 KiB) TX bytes:12692 (12.3 KiB)

eth1 Link encap:Ethernet HWaddr 06:1c:22:00:00:35
inet addr:192.168.10.179 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::41c:22ff:fe00:35/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:955 errors:0 dropped:0 overruns:0 frame:0
TX packets:574 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:101092 (98.7 KiB) TX bytes:58617 (57.2 KiB)

eth2 Link encap:Ethernet HWaddr 06:3d:50:00:00:93
inet addr:91.228.254.146 Bcast:91.228.254.255 Mask:255.255.255.0
inet6 addr: fe80::43d:50ff:fe00:93/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:390 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:29346 (28.6 KiB) TX bytes:692 (692.0

When I add ip route add default via 192.168.10.1 in Secondary Storage Vm I'm able to download ISO and deploy it on our server. Also, the instance gets the public IP but I cant ssh to it nor ping it.
If yuo have time and will, I can give you access to our servers to take a look at it since lots of questions asked lately on this forum would be answered.
Thanks in advance
The administrator has disabled public write access.
Time to create page: 0.340 seconds

Open@Citrix

Citrix supports the open source community via developer support and evangeslism. We have a number of developers and evangelists that participate actively in the open source community in Apache Cloudstack, OpenDaylight, Xen Project and XenServer. We also conduct educational activities via the Build A Cloud events held all over the world. 

Connect