Hi Remi,

The ISO image that I used was freshly downloaded and put in my /var/www
folder, whose path was mentioned by me during the upload.
ie. http://IP/ubuntu-15.04...

And still I received that the system cant download it.




> Hi Merlin,
>
> The guide you used, instructs you to add an ISO image and the url listed
> does not exist any more. Hence, the 404 error.
>
> Instead of using an ISO, I’d recommend uploading ready-to-go templates.
> You can download many different flavours here:
> http://dl.openvm.eu/cloudstack/ <http://dl.openvm.eu/cloudstack/>
>
> Regards,
> Remi
>
>
>> On 15 May 2015, at 14:09 , [email protected] wrote:
>>
>> Hi,
>>
>> I am using Cloudstack4.4.3 on a server system which is both the
>> management
>> and agent server. Installed and configured using this link
>> :http://www.greenhills.co.uk/2015/02/23/cloudstack-4.4-single-server-on-ubuntu-14.04.1-with-kvm.html
>>
>> There is one zone, one pod with 5 IP's, one cluster and one host.
>> When I try to download the default xs-tools.iso from the screen, I get
>> an
>> error:- unable to download xs.tools.iso as it resides on host and not on
>> ssvm
>>
>> Similarly when I try to upload an iso image, in the tab Zones, under the
>> status it reads:  HTTP Server returned 404 (expected 200 OK)
>>
>> I followed the guide in this link
>> :https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
>>
>> After logging into ssvm and running the script, there was no error or
>> warning thrown, hence I checked the LOg:
>>
>> tail /var/log/cloud/cloud.out
>> 2015-05-15 09:19:40,908 INFO  [agent.transport.Request]
>> (agentRequest-Handler-5:null) not building log message for '[{}]',
>> _cmds.length == 1
>> 2015-05-15 09:19:40,908 DEBUG [cloud.agent.Agent]
>> (agentRequest-Handler-5:null) Processing command:
>> com.cloud.agent.api.GetStorageStatsCommand
>> 2015-05-15 09:19:40,908 INFO
>> [storage.resource.NfsSecondaryStorageResource]
>> (agentRequest-Handler-5:null) Determined host 10.8.15.5 corresponds to
>> IP
>> 10.8.15.5
>> 2015-05-15 09:19:40,920 INFO  [agent.transport.Request]
>> (agentRequest-Handler-5:null) not building log message for '[{}]',
>> _cmds.length == 1
>> 2015-05-15 09:20:27,730 DEBUG [cloud.agent.Agent] (UgentTask-5:null)
>> Sending ping: Seq 5-6:  { Cmd , MgmtId: -1, via: 5, Ver: v1, Flags: 11,
>> [{"com.cloud.agent.api.PingStorageCommand":{"changes":{},"hostType":"Storage","hostId":5,"wait":0}}]
>> }
>> 2015-05-15 09:20:27,787 DEBUG [cloud.agent.Agent] (Agent-Handler-5:null)
>> Received response: Seq 5-6:  { Ans: , MgmtId: 279278805450858, via: 5,
>> Ver: v1, Flags: 100010,
>> [{"com.cloud.agent.api.PingAnswer":{"_command":{"hostType":"Storage","hostId":5,"wait":0},"result":true,"wait":0}}]
>> }
>> 2015-05-15 09:20:41,024 INFO  [agent.transport.Request]
>> (agentRequest-Handler-1:null) not building log message for '[{}]',
>> _cmds.length == 1
>> 2015-05-15 09:20:41,025 DEBUG [cloud.agent.Agent]
>> (agentRequest-Handler-1:null) Processing command:
>> com.cloud.agent.api.GetStorageStatsCommand
>> 2015-05-15 09:20:41,025 INFO
>> [storage.resource.NfsSecondaryStorageResource]
>> (agentRequest-Handler-1:null) Determined host 10.8.15.5 corresponds to
>> IP
>> 10.8.15.5
>> 2015-05-15 09:20:41,036 INFO  [agent.transport.Request]
>> (agentRequest-Handler-1:null) not building log message for '[{}]',
>> _cmds.length == 1
>>
>> Also checked the  for host file
>> here is the entry :
>>
>> |  5 | s-4-VM | 38297028-25bb-4067-8387-6e27b1b4a90c | Up           |
>> SecondaryStorageVM | 10.8.2.15          | 255.255.0.0     |
>> 06:39:4a:00:00:05   | 10.8.2.15          | 255.255.0.0     |
>> 06:39:4a:00:00:05   | NULL                 | NULL                  |
>> NULL
>>            |       NULL | 10.8.2.20         | 255.255.0.0    |
>> 06:b8:2c:00:00:0a  |       NULL |              1 |      1 |        NULL
>> |
>> NULL |  NULL | NoIqn | NULL    | NULL            | NULL               |
>>       0 | NULL     | 4.4.3   | NULL   |       NULL | NULL         |
>> s-4-VM-NfsSecondaryStorageResource                            |
>> 1
>> |     0 |           0 | 1398129837 | 279278805450858 | 2015-05-15
>> 09:17:13
>> | 2015-05-13 14:13:57 | NULL                |           14 | Enabled
>> | NULL  | NULL        | Disabled     |
>>
>>
>> I am attaching the management server  log:
>> tail /var/log/cloudstack/management/management-server.log
>> 2015-05-15 16:24:45,271 DEBUG
>> [c.c.n.r.VirtualNetworkApplianceManagerImpl]
>> (RouterStatusMonitor-1:ctx-d47fda51) Found 0 networks to update RvR
>> status.
>> 2015-05-15 16:24:48,349 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-13:null) Ping from 2
>> 2015-05-15 16:24:48,568 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-15:null) Ping from 1
>> 2015-05-15 16:24:48,569 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) Process host VM state report from ping
>> process. host: 1
>> 2015-05-15 16:24:48,576 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) Process VM state report. host: 1, number
>> of
>> records in report: 2
>> 2015-05-15 16:24:48,576 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) VM state report. host: 1, vm id: 2, power
>> state: PowerOn
>> 2015-05-15 16:24:48,581 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) VM power state does not change, skip DB
>> writing. vm id: 2
>> 2015-05-15 16:24:48,581 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) VM state report. host: 1, vm id: 4, power
>> state: PowerOn
>> 2015-05-15 16:24:48,584 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) VM power state does not change, skip DB
>> writing. vm id: 4
>> 2015-05-15 16:24:48,588 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) Done with process of VM state report.
>> host:
>> 1
>> root@iuatc:~# tail /var/log/cloudstack/management/management-server.log
>> 2015-05-15 16:24:48,576 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) VM state report. host: 1, vm id: 2, power
>> state: PowerOn
>> 2015-05-15 16:24:48,581 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) VM power state does not change, skip DB
>> writing. vm id: 2
>> 2015-05-15 16:24:48,581 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) VM state report. host: 1, vm id: 4, power
>> state: PowerOn
>> 2015-05-15 16:24:48,584 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) VM power state does not change, skip DB
>> writing. vm id: 4
>> 2015-05-15 16:24:48,588 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) Done with process of VM state report.
>> host:
>> 1
>> 2015-05-15 16:24:53,962 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-14:null) Ping from 5
>> 2015-05-15 16:24:54,517 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-2:null) SeqA 2-30050: Processing Seq 2-30050:  {
>> Cmd
>> , MgmtId: -1, via: 2, Ver: v1, Flags: 11,
>> [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
>> \"connections\": []\n}","wait":0}}] }
>> 2015-05-15 16:24:54,644 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-2:null) SeqA 2-30050: Sending Seq 2-30050:  { Ans:
>> ,
>> MgmtId: 279278805450858, via: 2, Ver: v1, Flags: 100010,
>> [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
>> 2015-05-15 16:24:55,322 DEBUG [c.c.n.l.LBHealthCheckManagerImpl]
>> (LBHealthCheck-1:ctx-40b39b09) LB HealthCheck Manager is running and
>> getting the updates from LB providers and updating service status
>> 2015-05-15 16:24:55,339 DEBUG [c.c.n.l.LBHealthCheckManagerImpl]
>> (LBHealthCheck-1:ctx-40b39b09) LB HealthCheck Manager is running and
>> getting the updates from LB providers and updating service status
>> root@iuatc:~# tail /var/log/cloudstack/management/management-server.log
>> 2015-05-15 16:24:48,576 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) VM state report. host: 1, vm id: 2, power
>> state: PowerOn
>> 2015-05-15 16:24:48,581 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) VM power state does not change, skip DB
>> writing. vm id: 2
>> 2015-05-15 16:24:48,581 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) VM state report. host: 1, vm id: 4, power
>> state: PowerOn
>> 2015-05-15 16:24:48,584 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) VM power state does not change, skip DB
>> writing. vm id: 4
>> 2015-05-15 16:24:48,588 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
>> (AgentManager-Handler-15:null) Done with process of VM state report.
>> host:
>> 1
>> 2015-05-15 16:24:53,962 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-14:null) Ping from 5
>> 2015-05-15 16:24:54,517 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-2:null) SeqA 2-30050: Processing Seq 2-30050:  {
>> Cmd
>> , MgmtId: -1, via: 2, Ver: v1, Flags: 11,
>> [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
>> \"connections\": []\n}","wait":0}}] }
>> 2015-05-15 16:24:54,644 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-2:null) SeqA 2-30050: Sending Seq 2-30050:  { Ans:
>> ,
>> MgmtId: 279278805450858, via: 2, Ver: v1, Flags: 100010,
>> [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
>> 2015-05-15 16:24:55,322 DEBUG [c.c.n.l.LBHealthCheckManagerImpl]
>> (LBHealthCheck-1:ctx-40b39b09) LB HealthCheck Manager is running and
>> getting the updates from LB providers and updating service status
>> 2015-05-15 16:24:55,339 DEBUG [c.c.n.l.LBHealthCheckManagerImpl]
>> (LBHealthCheck-1:ctx-40b39b09) LB HealthCheck Manager is running and
>> getting the updates from LB providers and updating service status
>> root@iuatc:~# tail /var/log/cloudstack/management/management-server.log
>> 2015-05-15 16:24:54,517 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-2:null) SeqA 2-30050: Processing Seq 2-30050:  {
>> Cmd
>> , MgmtId: -1, via: 2, Ver: v1, Flags: 11,
>> [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
>> \"connections\": []\n}","wait":0}}] }
>> 2015-05-15 16:24:54,644 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-2:null) SeqA 2-30050: Sending Seq 2-30050:  { Ans:
>> ,
>> MgmtId: 279278805450858, via: 2, Ver: v1, Flags: 100010,
>> [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
>> 2015-05-15 16:24:55,322 DEBUG [c.c.n.l.LBHealthCheckManagerImpl]
>> (LBHealthCheck-1:ctx-40b39b09) LB HealthCheck Manager is running and
>> getting the updates from LB providers and updating service status
>> 2015-05-15 16:24:55,339 DEBUG [c.c.n.l.LBHealthCheckManagerImpl]
>> (LBHealthCheck-1:ctx-40b39b09) LB HealthCheck Manager is running and
>> getting the updates from LB providers and updating service status
>> 2015-05-15 16:24:59,481 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-1:null) SeqA 2-30051: Processing Seq 2-30051:  {
>> Cmd
>> , MgmtId: -1, via: 2, Ver: v1, Flags: 11,
>> [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
>> \"connections\": []\n}","wait":0}}] }
>> 2015-05-15 16:24:59,578 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-1:null) SeqA 2-30051: Sending Seq 2-30051:  { Ans:
>> ,
>> MgmtId: 279278805450858, via: 2, Ver: v1, Flags: 100010,
>> [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
>> 2015-05-15 16:25:00,353 DEBUG [c.c.s.StatsCollector]
>> (StatsCollector-4:ctx-991c894a) AutoScaling Monitor is running...
>> 2015-05-15 16:25:00,460 DEBUG [c.c.s.StatsCollector]
>> (StatsCollector-2:ctx-a0525856) VmStatsCollector is running...
>> 2015-05-15 16:25:03,321 DEBUG [o.a.c.s.SecondaryStorageManagerImpl]
>> (secstorage-1:ctx-fa66277d) Zone 1 is ready to launch secondary storage
>> VM
>> 2015-05-15 16:25:03,700 DEBUG [c.c.c.ConsoleProxyManagerImpl]
>> (consoleproxy-1:ctx-b9394ae1) Zone 1 is ready to launch console proxy
>> root@iuatc:~# tail /var/log/cloudstack/management/management-server.log
>> 2015-05-15 16:25:03,700 DEBUG [c.c.c.ConsoleProxyManagerImpl]
>> (consoleproxy-1:ctx-b9394ae1) Zone 1 is ready to launch console proxy
>> 2015-05-15 16:25:05,792 DEBUG [c.c.s.StatsCollector]
>> (StatsCollector-3:ctx-b3d12e82) StorageCollector is running...
>> 2015-05-15 16:25:05,803 INFO  [c.c.a.t.Request]
>> (StatsCollector-3:ctx-b3d12e82) not building log message for '[{}]',
>> _cmds.length == 1
>> 2015-05-15 16:25:05,877 INFO  [c.c.a.t.Request]
>> (AgentManager-Handler-4:null) not building log message for '[{}]',
>> _cmds.length == 1
>> 2015-05-15 16:25:05,878 DEBUG [c.c.a.t.Request]
>> (StatsCollector-3:ctx-b3d12e82) Seq 5-3733484091090141238: Received:  {
>> Ans: , MgmtId: 279278805450858, via: 5, Ver: v1, Flags: 10, {
>> GetStorageStatsAnswer } }
>> 2015-05-15 16:25:05,881 INFO  [c.c.a.t.Request]
>> (StatsCollector-3:ctx-b3d12e82) not building log message for '[{}]',
>> _cmds.length == 1
>> 2015-05-15 16:25:05,949 INFO  [c.c.a.t.Request]
>> (AgentManager-Handler-3:null) not building log message for '[{}]',
>> _cmds.length == 1
>> 2015-05-15 16:25:05,949 DEBUG [c.c.a.t.Request]
>> (StatsCollector-3:ctx-b3d12e82) Seq 1-2837549240220123225: Received:  {
>> Ans: , MgmtId: 279278805450858, via: 1, Ver: v1, Flags: 10, {
>> GetStorageStatsAnswer } }
>> 2015-05-15 16:25:09,485 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-5:null) SeqA 2-30052: Processing Seq 2-30052:  {
>> Cmd
>> , MgmtId: -1, via: 2, Ver: v1, Flags: 11,
>> [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
>> \"connections\": []\n}","wait":0}}] }
>> 2015-05-15 16:25:09,572 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-5:null) SeqA 2-30052: Sending Seq 2-30052:  { Ans:
>> ,
>> MgmtId: 279278805450858, via: 2, Ver: v1, Flags: 100010,
>> [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
>>
>>
>> And the Agent log:
>>
>> tail /var/log/cloudstack/agent/agent.log
>> 2015-05-15 15:44:48,365 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
>> Set agent id 0
>> 2015-05-15 15:44:48,366 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
>> Startup Response Received: agent id = 0
>> 2015-05-15 15:44:49,918 INFO  [cloud.agent.Agent]
>> (agentRequest-Handler-4:null) Proccess agent ready command, agent id = 1
>> 2015-05-15 15:44:49,918 INFO  [cloud.agent.Agent]
>> (agentRequest-Handler-4:null) Set agent id 1
>> 2015-05-15 15:44:49,919 INFO  [cloud.agent.Agent]
>> (agentRequest-Handler-4:null) Ready command is processed: agent id = 1
>> 2015-05-15 15:44:50,094 INFO  [cloud.agent.Agent]
>> (agentRequest-Handler-3:null) Proccess agent ready command, agent id = 1
>> 2015-05-15 15:44:50,094 INFO  [cloud.agent.Agent]
>> (agentRequest-Handler-3:null) Set agent id 1
>> 2015-05-15 15:44:50,095 INFO  [cloud.agent.Agent]
>> (agentRequest-Handler-3:null) Ready command is processed: agent id = 1
>> 2015-05-15 15:44:53,150 INFO  [cloud.agent.Agent] (Agent-Handler-3:null)
>> Connected to the server
>> 2015-05-15 15:45:00,590 WARN  [kvm.resource.LibvirtComputingResource]
>> (agentRequest-Handler-2:null) Unsupported command
>>
>> I have checked the iptables for any drop or reject , deleted them all,
>> in
>> ssvm and the host. checked the port 8250 is open and communicating too.
>>
>> The ip address of my host is 10.8.15.5
>> and the pod allocation given is: 10.8.2.11 -10.8.2.15
>> and guest VM : 10.8.2.16-10.8.2.20
>> network  cidr is 10.8.0.0/16 have set the secstorage.allocated... and
>> host
>> =10.8.15.5
>> I don't understand what could be going wrong
>>
>>
>
>


Reply via email to