cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <rohit.ya...@shapeblue.com>
Subject Re: Cloudstack Agent Not starting
Date Tue, 16 Dec 2014 12:07:07 GMT
Hi Mohamed,

Make sure you've installed kvm and libvirt-bin, start libvirt or
libvirtd before you start the cloudstack agent.

On Tuesday 16 December 2014 05:26 PM, Mohamed Infaz wrote:
> Thanks for the reply,
>
> 2014-12-17 00:49:21,586 INFO  [cloud.agent.AgentShell] (main:null) Agent
> started
> 2014-12-17 00:49:21,601 INFO  [cloud.agent.AgentShell] (main:null)
> Implementation Version is 4.3.1
> 2014-12-17 00:49:21,630 INFO  [cloud.agent.AgentShell] (main:null)
> agent.properties found at /etc/cloudstack/agent/agent.properties
> 2014-12-17 00:49:21,792 INFO  [cloud.agent.AgentShell] (main:null)
> Defaulting to using properties file for storage
> 2014-12-17 00:49:21,794 INFO  [cloud.agent.AgentShell] (main:null)
> Defaulting to the constant time backoff algorithm
> 2014-12-17 00:49:21,856 INFO  [cloud.utils.LogUtils] (main:null) log4j
> configuration found at /etc/cloudstack/agent/log4j-cloud.xml
> 2014-12-17 00:49:22,029 INFO  [cloud.agent.Agent] (main:null) id is
> 2014-12-17 00:49:22,033 WARN  [cloud.resource.ServerResourceBase]
> (main:null) Nics are not specified in properties file/db, will try to
> autodis$
> 2014-12-17 00:49:22,039 INFO  [cloud.resource.ServerResourceBase]
> (main:null) Designating private to be nic cloudbr0
> 2014-12-17 00:49:22,047 INFO
> [resource.virtualnetwork.VirtualRoutingResource] (main:null)
> VirtualRoutingResource _scriptDir to use: scripts/ne$
> 2014-12-17 00:49:22,324 ERROR [cloud.agent.AgentShell] (main:null) Unable
> to start agent:
> com.cloud.utils.exception.CloudRuntimeException: Failed to connect socket
> to '/var/run/libvirt/libvirt-sock': No such file or directory
>
> This was the log.
>
>
>
> On 16 December 2014 at 17:15, Erik Weber <terbolous@gmail.com> wrote:
>>
>> On Tue, Dec 16, 2014 at 12:37 PM, Mohamed Infaz <infaz.10@cse.mrt.ac.lk>
>> wrote:
>>>
>>> Hi all,
>>>
>>> I am trying to deploy cloudstack with the hypervisor kvm in a single
>>> machine where my operating system is ubuntu 14.04. I have configured the
>>> network and also i did configure the libvirt.conf file. When i start
>>> cloudstack-agent it does start at first and then as soon as i check the
>>> status of the service i see it as fails. Because of this reason i can't
>> add
>>> a host. What could be the issue?
>>>
>>>
>> Is there anything in /var/log/cloudstack/agent or similar?
>>
>> --
>> Erik
>>
>

--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
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