You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Giri Prasad <g_...@yahoo.com> on 2014/04/11 15:57:13 UTC
Some problem registering ISO
Hi All,
I have installed cloudstack 4.1 on Ubuntu 12.04 LTS. The system vm's were correctly created and are running.
I have also installed apache2 and configured it as shown below a few lines.
I copied the ubuntu iso file to /var/www dir.
I tried to Templates -> Select View ISO, Register ISO, from the cloudstack GUI.
Name, Descrption : Ubuntu 12.04
URL : http://192.XXX.X.X:80/ubuntu-12.04.4-desktop-amd64.iso
And selected options : bootable, public and featured.
After pressing <Ok> button, and afer a while, cloud stack GUI, reports problem as :
Status : Connection refused
Any clues, as to what is missing?
Thanks in advance.
Regards,
Giri
iptables -I INPUT -p tcp --dport 80 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -I OUTPUT -p tcp --sport 80 -m state --state ESTABLISHED -j ACCEPT
iptables -I INPUT -p tcp --dport 443 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -I OUTPUT -p tcp --sport 443 -m state --state ESTABLISHED -j ACCEPT
/etc/apache2/sites-available/default
<VirtualHost 192.XXX.X.X:80>
ServerAdmin webmaster@localhost
</VirtualHost>
<VirtualHost 192.XXX.X.X:443>
ServerAdmin webmaster@localhost
</VirtualHost>
/etc/apache2/ports.conf
#NameVirtualHost *:80
NameVirtualHost 192.XXX.X.X:80
Listen 80
NameVirtualHost 192.XXX.X.X:443
Listen 443
2014-04-11
18:53:01,908 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:null)
===START=== 192.XXX.X.X -- GET
command=registerIso&response=json&sessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3D&name=ubuntu+12.04&displayText=ubuntu+12.04&url=http%3A%2F%2F192.XXX.X.X%3A80%2Fubuntu-12.04.4-desktop-amd64.iso&zoneid=-1&isextractable=false&bootable=true&osTypeId=bebeafbe-c09d-11e3-a09a-b8ac6fa54598&ispublic=true&isfeatured=true&_=1397222581864
2014-04-11
18:53:02,341 DEBUG [agent.transport.Request] (catalina-exec-18:null)
Seq 4-1716715535: Sending { Cmd , MgmtId: 11113373003050, via: 4, Ver:
v1, Flags: 100011,
[{"storage.DownloadCommand":{"hvm":true,"description":"ubuntu
12.04","maxDownloadSizeInBytes":53687091200,"id":209,"resourceType":"TEMPLATE","url":"http://192.XXX.X.X:80/ubuntu-12.04.4-desktop-amd64.iso","format":"ISO","accountId":2,"name":"209-2-9078c27c-aae3-3e83-acdd-29b177c2af41","secUrl":"nfs://192.XXX.X.X/export/secondary","wait":0}}]
}
2014-04-11 18:53:02,762 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-8:null) Ping from 1
2014-04-11
18:53:02,955 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:null)
===END=== 192.XXX.X.X -- GET
command=registerIso&response=json&sessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3D&name=ubuntu+12.04&displayText=ubuntu+12.04&url=http%3A%2F%2F192.XXX.X.X%3A80%2Fubuntu-12.04.4-desktop-amd64.iso&zoneid=-1&isextractable=false&bootable=true&osTypeId=bebeafbe-c09d-11e3-a09a-b8ac6fa54598&ispublic=true&isfeatured=true&_=1397222581864
2014-04-11
18:53:05,671 DEBUG [agent.transport.Request]
(AgentManager-Handler-10:null) Seq 4-1716715535: Processing: { Ans: ,
MgmtId: 11113373003050, via: 4, Ver: v1, Flags: 10,
[{"storage.DownloadAnswer":{"jobId":"e1062610-bb70-4946-a860-da3fe3b523f2","downloadPct":0,"errorString":"
","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/8a818369-b841-3a4a-9b29-915c301f9a85/template/tmpl/2/209/dnld6474604236321162705tmp_","templateSize":0,"templatePhySicalSize":0,"result":false,"details":"
","wait":0}}] }
2014-04-11 18:53:06,109 DEBUG
[agent.manager.AgentManagerImpl] (AgentManager-Handler-11:null) SeqA
3-64: Processing Seq 3-64: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags:
11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
\"connections\": []\n}","wait":0}}] }
2014-04-11 18:53:06,190 DEBUG
[agent.manager.AgentManagerImpl] (AgentManager-Handler-11:null) SeqA
3-64: Sending Seq 3-64: { Ans: , MgmtId: 11113373003050, via: 3, Ver:
v1, Flags: 100010, [{"AgentControlAnswer":{"result":true,"wait":0}}] }
2014-04-11
18:53:10,965 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null)
===START=== 192.XXX.X.X -- GET
command=listIsos&isofilter=self&id=e84e21d5-270f-4779-81a3-22f389221a15&zoneid=76d51e53-15ca-4971-b03d-7bd8cbce453a&response=json&sessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3D&_=1397222590952
2014-04-11
18:53:10,990 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null)
===END=== 192.XXX.X.X -- GET
command=listIsos&isofilter=self&id=e84e21d5-270f-4779-81a3-22f389221a15&zoneid=76d51e53-15ca-4971-b03d-7bd8cbce453a&response=json&sessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3D&_=1397222590952
2014-04-11
18:53:11,083 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null)
===START=== 192.XXX.X.X -- GET
command=listOsTypes&response=json&sessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3D&_=1397222591039
2014-04-11
18:53:11,083 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:null)
===START=== 192.XXX.X.X -- GET
command=listTags&response=json&sessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3D&resourceId=e84e21d5-270f-4779-81a3-22f389221a15&resourceType=ISO&listAll=true&_=1397222591050
2014-04-11
18:53:11,102 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:null)
===END=== 192.XXX.X.X -- GET
command=listTags&response=json&sessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3D&resourceId=e84e21d5-270f-4779-81a3-22f389221a15&resourceType=ISO&listAll=true&_=1397222591050
2014-04-11
18:53:11,270 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null)
===END=== 192.XXX.X.X -- GET
command=listOsTypes&response=json&sessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3D&_=1397222591039
2014-04-11
18:53:15,777 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null)
===START=== 192.XXX.X.X -- GET
command=listIsos&isofilter=self&id=e84e21d5-270f-4779-81a3-22f389221a15&zoneid=76d51e53-15ca-4971-b03d-7bd8cbce453a&response=json&sessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3D&_=1397222595774
2014-04-11
18:53:15,798 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null)
===END=== 192.XXX.X.X -- GET
command=listIsos&isofilter=self&id=e84e21d5-270f-4779-81a3-22f389221a15&zoneid=76d51e53-15ca-4971-b03d-7bd8cbce453a&response=json&sessionkey=SOcwFO6T0PvHrpiFSRySjuDkC1w%3D&_=1397222595774
2014-04-11
18:53:15,852 DEBUG [agent.transport.Request] (Timer-4:null) Seq
4-1716715536: Sending { Cmd , MgmtId: 11113373003050, via: 4, Ver: v1,
Flags: 100011,
[{"storage.DownloadProgressCommand":{"jobId":"e1062610-bb70-4946-a860-da3fe3b523f2","request":"GET_STATUS","hvm":true,"description":"ubuntu
12.04","maxDownloadSizeInBytes":53687091200,"id":209,"resourceType":"TEMPLATE","url":"http://192.XXX.X.X:80/ubuntu-12.04.4-desktop-amd64.iso","format":"ISO","accountId":2,"name":"209-2-9078c27c-aae3-3e83-acdd-29b177c2af41","secUrl":"nfs://192.XXX.X.X/export/secondary","wait":0}}]
}
2014-04-11 18:53:15,871 DEBUG [agent.transport.Request]
(AgentManager-Handler-12:null) Seq 4-1716715536: Processing: { Ans: ,
MgmtId: 11113373003050, via: 4, Ver: v1, Flags: 10,
[{"storage.DownloadAnswer":{"jobId":"e1062610-bb70-4946-a860-da3fe3b523f2","downloadPct":0,"errorString":"Connection
refused","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/8a818369-b841-3a4a-9b29-915c301f9a85/template/tmpl/2/209/dnld6474604236321162705tmp_","templateSize":0,"templatePhySicalSize":0,"result":false,"details":"Connection
refused","wait":0}}] }