我已經在CentOS 6.8機器上安裝了Apache Cloudstack後面的quick installation guide。管理服務器和KVM安裝在同一臺計算機上。管理服務器運行時沒有問題。我能夠從網絡界面添加區域,羣集,羣集,主要和輔助存儲。但是,當我嘗試添加它沒有顯示在第二階段的任何模板實例,你可以在截圖 Apache CloudStack:添加實例時沒有模板顯示
但是,我能看到下在網絡用戶界面Templates
鏈接兩個模板見。
但是,當我選擇模板,然後導航到Zone
選項卡,我看到Timeout waiting for response from storage host
和Ready
字段顯示無。
當我檢查管理服務器日誌,似乎在嘗試的CloudStack安裝用於二級存儲有錯誤。 cloudstack-management.log文件中的以下部分描述了此錯誤。
2017-03-09 23:26:43,207 DEBUG [c.c.a.t.Request] (AgentManager-Handler-
14:null) (logid:) Seq 2-7686800138991304712: Processing: { Ans: , MgmtId:
279278805450918, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":
{"result":false,"details":"com.cloud.utils.exception.CloudRuntimeException:
GetRootDir for nfs://172.16.10.2/export/secondary failed due to
com.cloud.utils.exception.CloudRuntimeException: Unable to mount
172.16.10.2:/export/secondary at /mnt/SecStorage/6e26529d-c659-3053-8acb-
817a77b6cfc6 due to mount.nfs: Connection timed out\n\tat
org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.getRootDir(Nf
sSecondaryStorageResource.java:2080)\n\tat
org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.execute(NfsSe
condaryStorageResource.java:1829)\n\tat
org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.executeReques
t(NfsSecondaryStorageResource.java:265)\n\tat
com.cloud.agent.Agent.processRequest(Agent.java:525)\n\tat
com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:833)\n\tat
com.cloud.utils.nio.Task.call(Task.java:83)\n\tat
com.cloud.utils.nio.Task.call(Task.java:29)\n\tat
java.util.concurrent.FutureTask.run(FutureTask.java:262)\n\tat
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\
n\tat
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\
n\tat java.lang.Thread.run(Thread.java:745)\n","wait":0}}] }
任何人都可以請指導我如何解決這個問題?我一直試圖弄清楚現在幾個小時,不知道如何繼續下去。
編輯1:請注意,我的局域網地址是10.103.72.50
,我認爲這不是/24
地址。我試着給CentOS的通過進行以下設置靜態IP在ifcg-eth0
文件
DEVICE=eth0
HWADDR=52:54:00:B9:A6:C0
NM_CONTROLLED=no
ONBOOT=yes
BOOTPROTO=none
IPADDR=172.16.10.2
NETMASK=255.255.255.0
GATEWAY=172.16.10.1
DNS1=8.8.8.8
DNS2=8.8.4.4
但這樣做會停止我的網絡連接。作爲解決方法,我恢復了這些更改並首先安裝了所有軟件包。然後,我通過與上面相同的配置設置將IP更改爲靜態,並運行了雲端管理。一切正常,直到我碰到這個模板的東西。請幫我弄清楚可能發生了什麼問題
由於編輯1中提到的問題,我的系統無法連接到互聯網。該系統是否需要找到正確運行的互聯網? –