Hi,
after that error, I can only destroy the virtual machine, I cannot
restart it via web interface.
I had looked inside the log files any trace of the error but have not
found anything.
These are the files I see, which of these I should see in the next test?
root@r-29-VM:~# ls -ltr /var/log/
total 212373
drwxr-xr-x 2 ntp ntp 1024 May 12 2012 ntpstats
drwxr-x--- 2 root adm 1024 Dec 3 2013 samba
-rw-rw---- 1 root utmp 0 Jan 15 2014 btmp-20140701
drwxr-xr-x 2 root root 1024 Jan 15 2014 fsck
-rw-r----- 1 root adm 59 Jan 15 2014 dmesg.3.gz
-rw-r--r-- 1 root root 531 Jan 15 2014 aptitude-20140701.gz
drwxr-xr-x 3 root root 1024 Jan 15 2014 installer
drwxr-xr-x 2 root root 1024 Jan 15 2014 news
-rw-r----- 1 root adm 0 Jan 15 2014 mail.warn
-rw-r----- 1 root adm 0 Jan 15 2014 mail.log
-rw-r----- 1 root adm 0 Jan 15 2014 mail.info
-rw-r----- 1 root adm 0 Jan 15 2014 mail.err
-rw-r----- 1 root adm 0 Jan 15 2014 lpr.log
-rw-r----- 1 root adm 7136 Jan 15 2014 dmesg.2.gz
-rw-r----- 1 root adm 8647 Jan 15 2014 debug-20140626
-rw-r--r-- 1 root root 32032 Jan 15 2014 faillog
-rw-r--r-- 1 root root 18329 Jan 15 2014 alternatives.log-20140701
-rw-r--r-- 1 root root 258369 Jan 15 2014 dpkg.log-20140701
-rw-r----- 1 root adm 11920 Jan 15 2014 user.log-20140626
-rw-r----- 1 root adm 51165 Jan 15 2014 syslog-20140626
-rw-r----- 1 root adm 498 Jan 15 2014 monit.log
-rw-r----- 1 root adm 0 Jun 24 14:51 haproxy.log
-rw-r----- 1 root adm 27326 Jun 24 15:25 dmesg.0
-rw-rw-r-- 1 root utmp 43776 Jun 24 15:25 wtmp-20140701
-rw-r----- 1 dnsmasq root 2885 Jun 24 15:26 dnsmasq.log-20140626
-rw-r----- 1 root adm 0 Jun 26 06:25 user.log
-rw-r----- 1 root adm 0 Jun 26 06:25 syslog
-rw-r----- 1 root adm 0 Jun 26 06:25 debug
-rw-r----- 1 root adm 118687 Jun 29 06:25 kern.log-20140626
-rw-r--r-- 1 root root 0 Jul 1 06:25 dpkg.log
-rw------- 1 root utmp 0 Jul 1 06:25 btmp
-rw-r--r-- 1 root root 0 Jul 1 06:25 aptitude
drwxr-xr-x 2 root root 1024 Jul 1 06:25 apt
-rw-r--r-- 1 root root 0 Jul 1 06:25 alternatives.log
-rw------- 1 root root 88352117 Jul 6 06:25
conntrackd-stats.log-20140706
drwxr-x--- 2 root adm 1024 Jul 9 06:25 apache2
-rw------- 1 root root 119645113 Jul 13 06:25
conntrackd-stats.log-20140713
drwxr-xr-x 2 root root 1024 Aug 1 06:25 sysstat
-rw-r----- 1 root adm 976874 Aug 1 06:27 cron.log-20140626
-rw-r----- 1 root adm 325622 Aug 1 06:29 messages-20140626
-rw-r--r-- 1 root root 5091 Aug 1 06:29 cloud.log-20140626
-rw------- 1 root root 2758246 Aug 1 06:30 conntrackd-stats.log
-rw-r----- 1 root adm 145694 Aug 1 06:30 daemon.log-20140626
-rw-r----- 1 root adm 4623344 Aug 1 06:30 auth.log-20140626
-rw-r--r-- 1 root root 1021 Aug 1 06:30 cloud.log
-rw-r----- 1 root adm 0 Aug 1 06:30 kern.log
-rw-r----- 1 root adm 27326 Aug 1 06:30 dmesg
-rw-r----- 1 dnsmasq root 0 Aug 1 06:30 dnsmasq.log
-rw-r----- 1 root adm 0 Aug 1 07:56 messages
-rw-r----- 1 root adm 0 Aug 1 07:56 daemon.log
-rw-r----- 1 root adm 0 Aug 1 10:17 cron.log
-rw-rw-r-- 1 root utmp 0 Aug 1 10:17 wtmp
-rw-rw-r-- 1 root utmp 292292 Aug 1 10:17 lastlog
-rw-r----- 1 root adm 0 Aug 1 10:17 auth.log
Il 01/08/2014 11:44, Geoff Higginbottom ha scritto:
Ugo,
Login to the VR and tail the messages log then attempt to start the VM, you
should see various messages re DHCP updating etc in the VR. If you don't see
the VR update try restarting the network Iain the 'cleanup' option, this will
create a new VR.
Regards
Geoff Higginbottom
CTO / Cloud Architect
D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540> | M:
+447968161581<tel:+447968161581>
[email protected]<mailto:[email protected]> |
www.shapeblue.com<htp://www.shapeblue.com/> |
Twitter:@cloudstackguru<https://twitter.com/#!/cloudstackguru>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
4HS<x-apple-data-detectors://5>
On 1 Aug 2014, at 09:06, "Ugo Vasi"
<[email protected]<mailto:[email protected]>> wrote:
Hi Geoff,
I tried restarting r-29-VM but the problem is still blocking creation of new VM
in that isolated network.
Creating a new VM in another isolated network, it works. Where can I look at to
find the problem?
Il 31/07/2014 21:53, Geoff Higginbottom ha scritto:
Ugo,
Looks like CS is failing to update the VR with details for the new VM, try
restarting the VR.
Regards
Geoff Higginbottom
CTO / Cloud Architect
D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540> | M:
+447968161581<tel:+447968161581>
[email protected]<mailto:[email protected]><mailto:[email protected]>
| www.shapeblue.com<http://www.shapeblue.com><htp://www.shapeblue.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
4HS<x-apple-data-detectors://37>
On 31 Jul 2014, at 15:40, "Ugo Vasi"
<[email protected]<mailto:[email protected]><mailto:[email protected]>> wrote:
Hi everybody,
I installed a CloudStack 4.3.0 system with a manager (in a virtual machine),
two NFS primary storage, one NFS secondary storare and two host agent on ubuntu
distribution.
The cluster have one advanced zone without security group configuration with
KVM hipervisors.
I create some VM but now does not allow me to create more giving the error message
"Unable to start a VM due to insufficient capacity".
I am sure that the resources (ip, ram, cpu and storage) are enough to create
new instances. In dashboard I see all ok.
>From the management-server.log I see this errors messages (see attachment for
full version) when I try to deploy a new virtual machine with 1x1GHz cpu, 1GB or
RAM and 20GB disk space:
2014-07-31 14:59:11,983 DEBUG [c.c.a.t.Request] (AgentManager-Handler-12:null) Seq 1-684594119: Processing: { Ans: , MgmtId: 77916390353436, via: 1, Ver: v1,
Flags: 10,
[{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":false,"details":"VmDataCommand
failed, check agent logs","wait":0}}] }
2014-07-31 14:59:11,983 INFO [c.c.v.VirtualMachineManagerImpl]
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) Unable to contact resource.
com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is
unreachable: Unable to apply userdata and password entry on router
2014-07-31 14:59:12,453 DEBUG [c.c.c.CapacityManagerImpl]
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) VM state transitted from :Starting
to Stopped with event: OperationFailedvm's original host id: null new host id:
null host id before state transition: 7
2014-07-31 14:59:12,677 DEBUG [c.c.c.CapacityManagerImpl]
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) VM state transitted from :Starting
to Stopped with event: OperationFailedvm's original host id: null new host id:
null host id before state transition: null
2014-07-31 14:59:12,708 DEBUG [c.c.v.UserVmManagerImpl]
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) Destroying vm VM[User|csweb2] as it
failed to create on Host with Id:null
2014-07-31 14:59:12,738 DEBUG [c.c.c.CapacityManagerImpl]
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) VM state transitted from :Stopped
to Error with event: OperationFailedToErrorvm's original host id: null new host
id: null host id before state transition: null
2014-07-31 14:59:12,929 WARN [o.a.c.alerts] (Job-Executor-26:ctx-ab3aee38
ctx-d8600c16) alertType:: 8 // dataCenterId:: 1 // podId:: 1 // clusterId::
null // message:: Failed to deploy Vm with Id: 70, on Host with Id: null
2014-07-31 14:59:13,159 ERROR [c.c.a.ApiAsyncJobDispatcher]
(Job-Executor-26:ctx-ab3aee38) Unexpected exception while executing
org.apache.cloudstack.api.command.user.vm.DeployVMCmd
com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM due to
insufficient capacity
Caused by: com.cloud.exception.InsufficientServerCapacityException: Unable to
create a deployment for VM[User|csweb2]Scope=interface com.cloud.dc.DataCenter;
id=1
2014-07-31 14:59:13,161 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-26:ctx-ab3aee38) Complete async job-783,
jobStatus: FAILED, resultCode: 530, result:
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unable
to start a VM due to insufficient capacity"}
2014-07-31 14:59:46,280 DEBUG [c.c.v.VirtualMachineManagerImpl]
(Job-Executor-27:ctx-82be396e ctx-41f0cf24) Stopped called on VM[User|csweb2]
but the state is Error
2014-07-31 14:59:46,330 DEBUG [c.c.c.CapacityManagerImpl]
(Job-Executor-27:ctx-82be396e ctx-41f0cf24) VM state transitted from :Error to
Expunging with event: DestroyRequestedvm's original host id: null new host id:
null host id before state transition: null
I tried to search in others log file ("VmDataCommand failed, check agent
logs"), but I don't found nothing...
Can anyone Help me?
--
U g o V a s i
<[email protected]<mailto:[email protected]><mailto:[email protected]>>
P r o c n e s.r.l >)
via Cotonificio 45 33010 Tavagnacco IT
phone: +390432486523 fax: +390432486523
Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed ? vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio ?
destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
gentilmente comunicazione.
Per qualsiasi informazione si prega di contattare
[email protected]<mailto:[email protected]><mailto:[email protected]> .
Rif. D.L. 196/2003
<management-server.log>
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 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.
--
U g o V a s i <[email protected]<mailto:[email protected]>>
P r o c n e s.r.l >)
via Cotonificio 45 33010 Tavagnacco IT
phone: +390432486523 fax: +390432486523
Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed ? vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio ?
destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
gentilmente comunicazione.
Per qualsiasi informazione si prega di contattare
[email protected]<mailto:[email protected]> .
Rif. D.L. 196/2003
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 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.
--
U g o V a s i <[email protected]>
P r o c n e s.r.l >)
via Cotonificio 45 33010 Tavagnacco IT
phone: +390432486523 fax: +390432486523
Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed è vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio è
destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
gentilmente comunicazione.
Per qualsiasi informazione si prega di contattare [email protected] .
Rif. D.L. 196/2003