cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mer...@students.iitmandi.ac.in
Subject Re: Unable to set SSVM
Date Wed, 13 May 2015 09:22:27 GMT
Hi Rohit,

I tried doing what you said, and so far the SSVM and cpvm seem to be up
and connected well.
1) This is the error that I receive when I upload an ISO image
Name	ubuntu 15.04
ID	648b2078-d681-4403-bd41-71c45e3ffb20
Zone name	test_zone
Zone ID	cdd2126f-62ad-43da-8f52-34a9be210a21
Ready	No
Status	Connection refused
Description	ubuntu 15.04
Size
Extractable	Yes
Bootable	Yes
Public	Yes
Featured	Yes
OS Type	Other (64-bit)
Domain	ROOT
Account	admin
Created	13 May 2015 14:38:26

2) Do i have to set the global
setting(secstorage.allowed.internal.sites)=0.0.0.0/0 or the network CIDR
ie. 10.8.0.0/16 or /24??

3) The log files for management server show this:

2015-05-13 14:45:35,396 INFO  [c.c.c.ClusterManagerImpl]
(Cluster-Heartbeat-1:ctx-73956f91) Trying to connect to 10.8.15.5
2015-05-13 14:45:35,396 INFO  [c.c.c.ClusterManagerImpl]
(Cluster-Heartbeat-1:ctx-73956f91) Management node 1 is detected inactive
by timestamp but is pingable
2015-05-13 14:45:36,003 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-9:null) SeqA 2-181: Processing Seq 2-181:  { Cmd ,
MgmtId: -1, via: 2, Ver: v1, Flags: 11,
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
 \"connections\": []\n}","wait":0}}] }
2015-05-13 14:45:36,103 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-9:null) SeqA 2-181: Sending Seq 2-181:  { Ans: ,
MgmtId: 279278805451141, via: 2, Ver: v1, Flags: 100010,
[{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2015-05-13 14:45:36,871 DEBUG [c.c.c.ClusterManagerImpl]
(Cluster-Heartbeat-1:ctx-4792a1fe) Detected management node left, id:1,
nodeIP:10.8.15.5
2015-05-13 14:45:36,872 INFO  [c.c.c.ClusterManagerImpl]
(Cluster-Heartbeat-1:ctx-4792a1fe) Trying to connect to 10.8.15.5
2015-05-13 14:45:36,872 INFO  [c.c.c.ClusterManagerImpl]
(Cluster-Heartbeat-1:ctx-4792a1fe) Management node 1 is detected inactive
by timestamp but is pingable

And the agent-log displays this:

2015-05-13 14:33:13,394 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
Set agent id 0
2015-05-13 14:33:13,395 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
Startup Response Received: agent id = 0
2015-05-13 14:33:15,145 INFO  [cloud.agent.Agent]
(agentRequest-Handler-4:null) Proccess agent ready command, agent id = 1
2015-05-13 14:33:15,146 INFO  [cloud.agent.Agent]
(agentRequest-Handler-4:null) Set agent id 1
2015-05-13 14:33:15,146 INFO  [cloud.agent.Agent]
(agentRequest-Handler-4:null) Ready command is processed: agent id = 1
2015-05-13 14:33:15,318 INFO  [cloud.agent.Agent]
(agentRequest-Handler-5:null) Proccess agent ready command, agent id = 1
2015-05-13 14:33:15,318 INFO  [cloud.agent.Agent]
(agentRequest-Handler-5:null) Set agent id 1
2015-05-13 14:33:15,319 INFO  [cloud.agent.Agent]
(agentRequest-Handler-5:null) Ready command is processed: agent id = 1
2015-05-13 14:33:18,186 INFO  [cloud.agent.Agent] (Agent-Handler-5:null)
Connected to the server
2015-05-13 14:33:26,799 WARN  [kvm.resource.LibvirtComputingResource]
(agentRequest-Handler-2:null) Unsupported command

What Am I doing wrong?






> Hi Merlin,
>
> In your global settings, make sure to fix following options;
>
> secstorage.allowed.internal.sites = 0.0.0.0/0
> host = <put the mgmt server host IP that should be reachable by your
> systemvms>
>
> After doing this restart your mgmt server, and then destroy the secondary
> storage systemvm. Wait for the new systemvm to be in Up state, now try to
> register an ISO/template and see if it works for you.
>
>> On 12-May-2015, at 11:32 am, merlin@students.iitmandi.ac.in wrote:
>>
>> Hi,
>>
>> I have installed Cloudstack4.4 on Ubuntu 14.04 server system. The
>> server
>> system has an IP Address:-10.8.15.5 gw: 10.8.0.1
>> I used basic setup to begin with. I gave POD a series of 5 IP's
>> beginning
>> with 10.8.2.11-10.8.2.15 and then set up guest VM's with another 5 IP's
>> 10.8.2.16-10.8.2.20.
>> On the server system I followed the :
>> http://www.greenhills.co.uk/2015/02/23/cloudstack-4.4-single-server-on-ubuntu-14.04.1-with-kvm.html
>> guide and set up primary and secondary storage.
>> Also the Cloudstack agent and management server are all on one
>> system(server). The various problems faced:
>>
>> 1) Now after having successfully launched the zones,pods,clusters,host
>> and storage, I cant download an ISO image(cent o.s) and if, I upload an
>> ISO image. It gets uploaded but in the properties shows no option to
>> download or copy. Similarly for templates.
>> 2) After few hours on the dashboard-system capacity page, The secondary
>> storage reads- 0.00Kb/0.00Kb
>> And when I open the Infrastructure page , the system VM's page, has
>> SSVm
>> disconnected. It tries to reconnect and recreate. like s-1086-vm,
>> s-108-vm
>> and keeps getting disconnected.
>> 3) Also I followed  the guide to ping and ssh to run the ./install.sh
>> script in the secondary storage, But I am unable to do so(Public IP
>> Address10.8.2.19
>> Private IP Address10.8.2.11
>> Link Local IP Address169.254.2.1) on any one of them.
>> 4) There is no virtual router.
>> 5) There were few errors on dashboard , that I do not understand, or
>> find
>> any posts related to
>> (i)No usage server process running
>> (ii)System Alert: Number of unallocated private IPs is low in pod
>> test_pod
>> of availability zone test_zone
>> (iii)Management network CIDR is not configured originally. Set it
>> default
>> to 10.8.0.0/16
>> (iv)VM state sync alert
>>
>>
>>
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.yadav@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
>
>
>
> Find out more about ShapeBlue and our range of CloudStack related
> services
>
> IaaS Cloud Design &
> Build<http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment
> framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Software
> Engineering<http://shapeblue.com/cloudstack-software-engineering/>
> CloudStack Infrastructure
> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training
> Courses<http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the
> sender if you believe you have received this email in error. Shape Blue
> Ltd is a company incorporated in England & Wales. ShapeBlue Services India
> LLP is a company incorporated in India and is operated under license from
> Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company
> incorporated in Brasil and is operated under license from Shape Blue Ltd.
> ShapeBlue SA Pty Ltd is a company registered by The Republic of South
> Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a
> registered trademark.
>



Mime
View raw message