Hello All, im new in group and working with cloudstack less than 2 months. Now im try working with 4.2 and getting some errors
let me show my enviroment, installation procedures and error (in the end of page): 1. Cloudstack 4.2 2. > Environment: 3. 1- Management CentOS 6.4 - eth0 > 10.1.0.98 4. 2- Host CentOS 6.4 - em1 > 10.1.0.96 5. 3 - NFS Freenas 9.x - 10.1.1.150 6. ############################################## 7. > Freenas (Export mount point) 8. /mnt/storage/primary (50G) 9. /mnt/storage/secondary (120G) 10. 11. > Management server 12. $ grep -v -E "^$|#" /etc/selinux/config 13. // SELINUX=permissive 14. // SELINUXTYPE=targeted 15. 16. $ yum -y install cloudstack-management ntp mysql-server nfs-utils ntp 17. 18. // setup mysql with mysqladmin command 19. 20. $ cloudstack-setup-databases cloud:cloud@localhost --deploy-as =root:M4c4c4 -e file -m M4c4c4 -k M4c4c4 -i10.1.1.98 21. // CloudStack has successfully initialized database, you can check your database configuration in/etc/cloudstack/management/db.properties 22. 23. $ cloudstack-setup-management 24. //CloudStack Management Server setup is Done! 25. 26. $ mount -t nfs 10.1.1.150:/mnt/storage/secondary /mnt/secondary 27. 28. $ /usr/share/cloudstack-common/scripts/storage/secondary/ cloud-install-sys-tmplt -m /mnt/secondary -u http://localhost/ acton-systemvm-02062012.qcow2.bz2 -h kvm -s M4c4c4 29. // Successfully installed system VM template to /mnt/secondary/ template/tmpl/1/3/ 30. 31. $ iptables -L 32. // Chain INPUT (policy ACCEPT) 33. // target prot opt source destination 34. // ACCEPT tcp -- anywhere anywhere tcp dpt:websm 35. // ACCEPT tcp -- anywhere anywhere tcp dpt:8250 36. // ACCEPT tcp -- anywhere anywhere tcp dpt:empowerid 37. // ACCEPT tcp -- anywhere anywhere tcp dpt:webcache 38. // ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED 39. // ACCEPT icmp -- anywhere anywhere 40. ACCEPT all -- anywhere anywhere 41. // ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh 42. // REJECT all -- anywhere anywhere reject-with icmp-host-prohibited 43. // 44. // Chain FORWARD (policy ACCEPT) 45. // target prot opt source destination 46. // REJECT all -- anywhere anywhere reject-with icmp-host-prohibited 47. // 48. // Chain OUTPUT (policy ACCEPT) 49. // target prot opt source destination 50. 51. $ umount /mnt/secondary 52. 53. // Management server is done 54. 55. > Host 56. $ yum install kvm libvirt python-virtinst qemu-kvm cloudstack-agent ntp 57. 58. Change configurations (follow cloudstack doc) 59. - /etc/libvirt/libvirtd.conf 60. - /etc/sysconfig/libvirtd 61. - /etc/libvirt/qemu.conf 62. 63. - Network configuration in Host machine 64. $ cat /etc/sysconfig/network-scripts/ifcfg-em1 65. DEVICE=em1 66. TYPE=Ethernet 67. UUID=8fdc8f6e-db5b-4aa1-b063-b25bb575a8f5 68. ONBOOT=yes 69. NM_CONTROLLED=no 70. BOOTPROTO=none 71. HWADDR=00:22:19:64:FE:7C 72. IPADDR=10.1.1.96 73. PREFIX=22 74. GATEWAY=10.1.3.254 75. DNS1=10.1.0.1 76. DOMAIN=corp.mobicare.com.br 77. DEFROUTE=yes 78. IPV4_FAILURE_FATAL=yes 79. IPV6INIT=no 80. NAME=em1 81. BRIDGE=cloudbr0 82. 83. $ cat /etc/sysconfig/network-scripts/ifcfg-cloudbr0 84. DEVICE=cloudbr0 85. TYPE=Bridge 86. UUID=8fdc8f6e-db5b-4aa1-b063-b25bb575a8f5 87. ONBOOT=yes 88. NM_CONTROLLED=no 89. BOOTPROTO=none 90. HWADDR=00:22:19:64:FE:7C 91. IPADDR=10.1.1.96 92. PREFIX=22 93. GATEWAY=10.1.3.254 94. DNS1=10.1.0.1 95. DOMAIN=corp.mobicare.com.br 96. DEFROUTE=yes 97. IPV4_FAILURE_FATAL=yes 98. IPV6INIT=no 99. NAME=em1 100. 101. 102. $ reboot 103. // system rebooted 104. 105. $ifconfig 106. 107. cloud0 Link encap:Ethernet HWaddr FE:00:A9:FE:01:AC 108. inet addr:169.254.0.1 Bcast:169.254.255.255 Mask:255.255.0.0 109. -- 110. cloudbr0 Link encap:Ethernet HWaddr 00:22:19:64:FE:7C 111. inet addr:10.1.1.96 Bcast:10.1.3.255 Mask:255.255.252.0 112. -- 113. em1 Link encap:Ethernet HWaddr 00:22:19:64:FE:7C 114. inet6 addr: fe80::222:19ff:fe64:fe7c/64 Scope:Link 115. 116. // Host setup is done 117. 118. 119. Run Cloudstack Ui - Wizard Setup (http://10.1.1.98:8080/client ) 120. User: admin 121. Pass: password 122. 123. > Continue with basic installation 124. 125. > change password 126. 127. > Zone 128. Name: zone1 129. DNS1: 10.1.0.1 130. Internal DNS1: 10.1.0.1 131. 132. > Pod 133. Name: pod1 134. Gateway: 10.1.3.254 135. Netmask: 255.255.252.0 136. IP Range: 10.1.1.100 - 10.1.1.109 137. 138. > Guest Network 139. Gateway: 10.1.3.254 140. Netmask: 255.255.252.0 141. IP Range: 10.1.1.110 - 10.1.1.120 142. 143. > Cluster 144. Hypervisor: KVM 145. Name: cluster1 146. 147. > Host 148. Host Name/IP: 10.1.1.96 149. Username: root 150. Password: root_password 151. 152. > Primary storage 153. Name: primary 154. Protocol: NFS 155. Scope: Cluster 156. Server: 10.1.1.150 157. Path: /mnt/storage/primary 158. 159. > Secondary storage 160. NFS Server: 10.1.1.150 161. label.provider: NFS 162. Path: /mnt/storage/secondary 163. 164. Launch! 165. 166. 167. # Error in agent.log 168. 169. Timed out: /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/ patchviasocket.pl -n v-2-VM -p%template=domP%type=consoleproxy%host =10.1.1.98%port=8250%name=v-2-VM%premium=true%zone=1%pod=1%guid=Proxy.2% proxy_vm=2%disable_rp_filter=true%eth2ip=10.1.1.110%eth2mask =255.255.252.0%gateway=10.1.3.2%eth0ip=169.254.2.90%eth0mask=255.255.0.0% eth1ip=10.1.1.100%eth1mask=255.255.252.0%mgmtcidr=10.1.0.0/22%localgw =10.1.3.254%internaldns1=8.8.8.8%dns1=8.8.8.8 . Output is: 170. 171. 172. # Error management.log 173. 174. 2013-10-08 21:14:51,600 DEBUG [cloud.server.StatsCollector] ( StatsCollector-2:null) StorageCollector is running... 175. 2013-10-08 21:14:51,604 INFO [ storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:null) No running ssvm is found, so command will be sent to LocalHostEndPoint 176. 2013-10-08 21:14:51,746 DEBUG [agent.transport.Request] ( StatsCollector-2:null) Seq 1-360382499: Received: { Ans: , MgmtId: 52233693252, via: 1, Ver: v1, Flags: 10, { GetStorageStatsAnswer } } 177. 2013-10-08 21:14:56,252 DEBUG [cloud.server.StatsCollector] ( StatsCollector-1:null) HostStatsCollector is running... *Ananias Filho - kram3r*