You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Maurice Lawler <ma...@me.com> on 2013/06/27 21:39:35 UTC

Console Proxy VM failed to start

Hello,

I have finally got both system VM's 'Stopped', however, the secondary storage is running without issue. Whereas, the console proxy will not start, this is from the logs.

2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host name: lunder.daoenix.com, hostId: 9 is in avoid set, skipping this and trying other available hosts
2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found
2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found under this Cluster: 1
2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) Could not find suitable Deployment Destination for this VM under any clusters, returning.
2013-06-27 14:36:52,196 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 9
2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) Hosts's actual total CPU: 36256 and CPU after applying overprovisioning: 36256
2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release cpu from host: 9, old used: 1000,reserved: 0, actual total: 36256, total with overprovisioning: 36256; new used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse
2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release mem from host: 9, old used: 1342177280,reserved: 0, total: 25186906112; new used: 268435456,reserved:0; movedfromreserved: false,moveToReserveredfalse
2013-06-27 14:36:52,201 WARN  [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Exception while trying to start console proxy
com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-40-VM]Scope=interface com.cloud.dc.DataCenter; id=1
    at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728)
    at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
    at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464)
    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:632)
    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1166)
    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1989)
    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:175)
    at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
    at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
    at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
    at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:679)


I am not well with reading the logs, what is this trying to tell me?

RE: Console Proxy VM failed to start

Posted by Prachi Damle <Pr...@citrix.com>.
Hey Maurice,

You should check logs prior to this error, that will show the real problem causing CS to put the host  in avoid set.

-Prachi

From: Maurice Lawler [mailto:maurice.lawler@me.com]
Sent: Thursday, June 27, 2013 12:40 PM
To: Cloud Dev
Subject: Console Proxy VM failed to start

Hello,

I have finally got both system VM's 'Stopped', however, the secondary storage is running without issue. Whereas, the console proxy will not start, this is from the logs.

2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host name: lunder.daoenix.com, hostId: 9 is in avoid set, skipping this and trying other available hosts
2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found
2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found under this Cluster: 1
2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) Could not find suitable Deployment Destination for this VM under any clusters, returning.
2013-06-27 14:36:52,196 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 9
2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) Hosts's actual total CPU: 36256 and CPU after applying overprovisioning: 36256
2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release cpu from host: 9, old used: 1000,reserved: 0, actual total: 36256, total with overprovisioning: 36256; new used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse
2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release mem from host: 9, old used: 1342177280,reserved: 0, total: 25186906112; new used: 268435456,reserved:0; movedfromreserved: false,moveToReserveredfalse
2013-06-27 14:36:52,201 WARN  [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Exception while trying to start console proxy
com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-40-VM]Scope=interface com.cloud.dc.DataCenter; id=1
    at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728)
    at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
    at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464)
    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:632)
    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1166)
    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1989)
    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:175)
    at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
    at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
    at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
    at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:679)


I am not well with reading the logs, what is this trying to tell me?

Re: Console Proxy VM failed to start

Posted by Ahmad Emneina <ae...@gmail.com>.
Has this bug been filed or fixed. I could have sworn to have seen this conversation elsewhere.

Ahmad

On Jun 27, 2013, at 2:48 PM, Sangeetha Hariharan <Sa...@citrix.com> wrote:

> You can free IPs from op_dc_ip_address_alloc table.
>  
> update nic_id, reservation_id and taken as null for the entry that has timestamp marked as “taken” but is not being really allocated to any system Vm yet.
>  
> -Thanks
> Sangeetha
>  
> From: Maurice Lawler [mailto:maurice.lawler@me.com] 
> Sent: Thursday, June 27, 2013 2:30 PM
> To: dev@cloudstack.apache.org
> Cc: aemneina@gmail.com
> Subject: Re: Console Proxy VM failed to start
>  
> I think I have found my issue:
> 
> 2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) System Alert: Number of unallocated private IPs is low in pod Apollo of availability zone Orion
> 2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Number of unallocated private IPs is low, total: 5.0, allocated: 5.0 (100%)
> 2013-06-27 16:27:44,237 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Have already sent: 1 emails for alert type '5' -- skipping send email
> 
> However, how can I go through the database to free up IPs?
> 
> 
> On Jun 27, 2013, at 04:47 PM, Ahmad Emneina <ae...@gmail.com> wrote:
> 
> Hey Maurice can you post more logs before the error below. You might want to post them outside of email, to a site like pastebin.com.
> 
> Ahmad
> 
> On Jun 27, 2013, at 12:39 PM, Maurice Lawler <ma...@me.com> wrote:
> 
> > Hello,
> > 
> > I have finally got both system VM's 'Stopped', however, the secondary storage is running without issue. Whereas, the console proxy will not start, this is from the logs.
> > 
> > 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host name: lunder.daoenix.com, hostId: 9 is in avoid set, skipping this and trying other available hosts
> > 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
> > 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found
> > 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found under this Cluster: 1
> > 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) Could not find suitable Deployment Destination for this VM under any clusters, returning. 
> > 2013-06-27 14:36:52,196 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 9
> > 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) Hosts's actual total CPU: 36256 and CPU after applying overprovisioning: 36256
> > 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release cpu from host: 9, old used: 1000,reserved: 0, actual total: 36256, total with overprovisioning: 36256; new used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse
> > 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release mem from host: 9, old used: 1342177280,reserved: 0, total: 25186906112; new used: 268435456,reserved:0; movedfromreserved: false,moveToReserveredfalse
> > 2013-06-27 14:36:52,201 WARN [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Exception while trying to start console proxy
> > com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-40-VM]Scope=interface com.cloud.dc.DataCenter; id=1
> > at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728)
> > at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
> > at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464)
> > at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:632)
> > at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1166)
> > at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1989)
> > at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:175)
> > at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
> > at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
> > at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
> > at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
> > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
> > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
> > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
> > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > at java.lang.Thread.run(Thread.java:679)
> > 
> > 
> > I am not well with reading the logs, what is this trying to tell me?

Re: Console Proxy VM failed to start

Posted by Maurice Lawler <ma...@me.com>.
Hello,

Thank you! I was able to access the DB make a few tweaks and I am good to go.

=)

- Maurice

On Jun 27, 2013, at 06:03 PM, Venkata SwamyBabu Budumuru <ve...@citrix.com> wrote:

> Here is the bug which was filed sometime back and tracking the same:
> https://issues.apache.org/jira/browse/CLOUDSTACK-2813
>
>
> On 27/06/13 2:56 PM, "Sangeetha Hariharan"
> <Sa...@citrix.com> wrote:
>
> >You can free IPs from op_dc_ip_address_alloc table.
> >
> >update nic_id, reservation_id and taken as null for the entry that has
> >timestamp marked as "taken" but is not being really allocated to any
> >system Vm yet.
> >
> >-Thanks
> >Sangeetha
> >
> >From: Maurice Lawler [mailto:maurice.lawler@me.com]
> >Sent: Thursday, June 27, 2013 2:30 PM
> >To: dev@cloudstack.apache.org
> >Cc: aemneina@gmail.com
> >Subject: Re: Console Proxy VM failed to start
> >
> >I think I have found my issue:
> >
> >2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl]
> >(CapacityChecker:null) System Alert: Number of unallocated private IPs is
> >low in pod Apollo of availability zone Orion
> >2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl]
> >(CapacityChecker:null) Number of unallocated private IPs is low, total:
> >5.0, allocated: 5.0 (100%)
> >2013-06-27 16:27:44,237 DEBUG [cloud.alert.AlertManagerImpl]
> >(CapacityChecker:null) Have already sent: 1 emails for alert type '5' --
> >skipping send email
> >
> >However, how can I go through the database to free up IPs?
> >
> >On Jun 27, 2013, at 04:47 PM, Ahmad Emneina
> ><ae...@gmail.com>> wrote:
> >Hey Maurice can you post more logs before the error below. You might want
> >to post them outside of email, to a site like
> >pastebin.com<http://pastebin.com>.
> >
> >Ahmad
> >
> >On Jun 27, 2013, at 12:39 PM, Maurice Lawler
> ><ma...@me.com>> wrote:
> >
> >> Hello,
> >>
> >> I have finally got both system VM's 'Stopped', however, the secondary
> >>storage is running without issue. Whereas, the console proxy will not
> >>start, this is from the logs.
> >>
> >> 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator]
> >>(consoleproxy-1:FirstFitRoutingAllocator) Host name: lunder.daoenix.com,
> >>hostId: 9 is in avoid set, skipping this and trying other available hosts
> >> 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator]
> >>(consoleproxy-1:FirstFitRoutingAllocator) Host Allocator returning 0
> >>suitable hosts
> >> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner]
> >>(consoleproxy-1:null) No suitable hosts found
> >> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner]
> >>(consoleproxy-1:null) No suitable hosts found under this Cluster: 1
> >> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner]
> >>(consoleproxy-1:null) Could not find suitable Deployment Destination for
> >>this VM under any clusters, returning.
> >> 2013-06-27 14:36:52,196 DEBUG [cloud.capacity.CapacityManagerImpl]
> >>(consoleproxy-1:null) VM state transitted from :Starting to Stopped with
> >>event: OperationFailedvm's original host id: null new host id: null host
> >>id before state transition: 9
> >> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl]
> >>(consoleproxy-1:null) Hosts's actual total CPU: 36256 and CPU after
> >>applying overprovisioning: 36256
> >> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl]
> >>(consoleproxy-1:null) release cpu from host: 9, old used: 1000,reserved:
> >>0, actual total: 36256, total with overprovisioning: 36256; new used:
> >>500,reserved:0; movedfromreserved: false,moveToReserveredfalse
> >> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl]
> >>(consoleproxy-1:null) release mem from host: 9, old used:
> >>1342177280,reserved: 0, total: 25186906112; new used:
> >>268435456,reserved:0; movedfromreserved: false,moveToReserveredfalse
> >> 2013-06-27 14:36:52,201 WARN
> >>[cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null)
> >>Exception while trying to start console proxy
> >> com.cloud.exception.InsufficientServerCapacityException: Unable to
> >>create a deployment for VM[ConsoleProxy|v-40-VM]Scope=interface
> >>com.cloud.dc.DataCenter; id=1
> >> at
> >>com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManager
> >>Impl.java:728)
> >> at
> >>com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.ja
> >>va:471)
> >> at
> >>com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.ja
> >>va:464)
> >> at
> >>com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyMan
> >>agerImpl.java:632)
> >> at
> >>com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxy
> >>ManagerImpl.java:1166)
> >> at
> >>com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyMan
> >>agerImpl.java:1989)
> >> at
> >>com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyMan
> >>agerImpl.java:175)
> >> at
> >>com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
> >> at
> >>com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
> >> at
> >>com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
> >> at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
> >> at
> >>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> >> at
> >>java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351
> >>)
> >> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> >> at
> >>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acce
> >>ss$201(ScheduledThreadPoolExecutor.java:165)
> >> at
> >>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(
> >>ScheduledThreadPoolExecutor.java:267)
> >> at
> >>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java
> >>:1146)
> >> at
> >>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav
> >>a:615)
> >> at java.lang.Thread.run(Thread.java:679)
> >>
> >>
> >> I am not well with reading the logs, what is this trying to tell me?
>

Re: How to remove General / Host Alerts

Posted by Maurice Lawler <ma...@me.com>.
I found it. :-)

- Maurice

On Jun 27, 2013, at 09:26 PM, "Maurice Lawler" <ma...@me.com> wrote:

> Thank you, I am not seeing that option within Global Settings.
>
> <alert.png>
>
>
> On Jun 27, 2013, at 08:25 PM, Alena Prokharchyk <Al...@citrix.com> wrote:
>
>> On 6/27/13 5:12 PM, "Maurice Lawler" <ma...@me.com> wrote:
>>
>> >That much I understand, I failed to mention; what table in the DB can I
>> >go to remove these false positives
>>
>> Cloud.alert table
>>
>>
>> > and also change the duration of which they would remain in the UI.
>>
>> You can do it by changing configs:
>>
>> alert.purge.delay
>> alert.purge.interval
>>
>> -Alena.
>>
>> >
>> >
>> >
>> >
>> >On Jun 27, 2013, at 08:06 PM, Mathias Mullins
>> ><ma...@citrix.com> wrote:
>> >
>> >
>> >So there is no way through the GUI to actually remove the Alerts. They
>> >stay there until they permanently (on the dashboard they will roll-off).
>> >
>> >Matt
>> >
>> >From: Maurice Lawler <ma...@me.com>>
>> >Reply-To: "dev@cloudstack.apache.org<ma...@cloudstack.apache.org>"
>> > <de...@cloudstack.apache.org>>
>> >Date: Thursday, June 27, 2013 3:23 PM
>> >To: "dev@cloudstack.apache.org<ma...@cloudstack.apache.org>"
>> > <de...@cloudstack.apache.org>>
>> >Subject: How to remove General / Host Alerts
>> >
>> >Sorry, for flooding the mailing list today.
>> >
>> >Could someone please inform me as to how to clear 'Alerts' in my UI.
>> >
>> >Under General / Host Alerts.
>> >
>> >- Maurice
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>

Re: How to remove General / Host Alerts

Posted by Maurice Lawler <ma...@me.com>.
Thank you, I am not seeing that option within Global Settings.

alert.png

On Jun 27, 2013, at 08:25 PM, Alena Prokharchyk <Al...@citrix.com> wrote:

> On 6/27/13 5:12 PM, "Maurice Lawler" <ma...@me.com> wrote:
>
> >That much I understand, I failed to mention; what table in the DB can I
> >go to remove these false positives
>
> Cloud.alert table
>
>
> > and also change the duration of which they would remain in the UI.
>
> You can do it by changing configs:
>
> alert.purge.delay
> alert.purge.interval
>
> -Alena.
>
> >
> >
> >
> >
> >On Jun 27, 2013, at 08:06 PM, Mathias Mullins
> ><ma...@citrix.com> wrote:
> >
> >
> >So there is no way through the GUI to actually remove the Alerts. They
> >stay there until they permanently (on the dashboard they will roll-off).
> >
> >Matt
> >
> >From: Maurice Lawler <ma...@me.com>>
> >Reply-To: "dev@cloudstack.apache.org<ma...@cloudstack.apache.org>"
> > <de...@cloudstack.apache.org>>
> >Date: Thursday, June 27, 2013 3:23 PM
> >To: "dev@cloudstack.apache.org<ma...@cloudstack.apache.org>"
> > <de...@cloudstack.apache.org>>
> >Subject: How to remove General / Host Alerts
> >
> >Sorry, for flooding the mailing list today.
> >
> >Could someone please inform me as to how to clear 'Alerts' in my UI.
> >
> >Under General / Host Alerts.
> >
> >- Maurice
> >
> >
> >
> >
> >
> >
> >
> >
>
>

Re: How to remove General / Host Alerts

Posted by Alena Prokharchyk <Al...@citrix.com>.
On 6/27/13 5:12 PM, "Maurice Lawler" <ma...@me.com> wrote:

>That much I understand, I failed to mention; what table in the DB can I
>go to remove these false positives

Cloud.alert table


> and also change the duration of which they would remain in the UI.

You can do it by changing configs:

alert.purge.delay
alert.purge.interval

-Alena.

>
>
>
>
>On Jun 27, 2013, at 08:06 PM, Mathias Mullins
><ma...@citrix.com> wrote:
>
>
>So there is no way through the GUI to actually remove the Alerts. They
>stay there until they permanently (on the dashboard they will roll-off).
>
>Matt
>
>From: Maurice Lawler <ma...@me.com>>
>Reply-To: "dev@cloudstack.apache.org<ma...@cloudstack.apache.org>"
> <de...@cloudstack.apache.org>>
>Date: Thursday, June 27, 2013 3:23 PM
>To: "dev@cloudstack.apache.org<ma...@cloudstack.apache.org>"
> <de...@cloudstack.apache.org>>
>Subject: How to remove General / Host Alerts
>
>Sorry, for flooding the mailing list today.
>
>Could someone please inform me as to how to clear 'Alerts' in my UI.
>
>Under General / Host Alerts.
>
>- Maurice
>
>
>
>
>
>
>
>



Re: How to remove General / Host Alerts

Posted by Maurice Lawler <ma...@me.com>.
That much I understand, I failed to mention; what table in the DB can I go to remove these false positives and also change the duration of which they would remain in the UI.



On Jun 27, 2013, at 08:06 PM, Mathias Mullins <ma...@citrix.com> wrote:

> So there is no way through the GUI to actually remove the Alerts. They stay there until they permanently (on the dashboard they will roll-off).
>
> Matt
>
> From: Maurice Lawler <ma...@me.com>>
> Reply-To: "dev@cloudstack.apache.org<ma...@cloudstack.apache.org>" <de...@cloudstack.apache.org>>
> Date: Thursday, June 27, 2013 3:23 PM
> To: "dev@cloudstack.apache.org<ma...@cloudstack.apache.org>" <de...@cloudstack.apache.org>>
> Subject: How to remove General / Host Alerts
>
> Sorry, for flooding the mailing list today.
>
> Could someone please inform me as to how to clear 'Alerts' in my UI.
>
> Under General / Host Alerts.
>
> - Maurice
>

Re: How to remove General / Host Alerts

Posted by Mathias Mullins <ma...@citrix.com>.
So there is no way through the GUI to actually remove the Alerts. They stay there until they permanently (on the dashboard they will roll-off).

Matt

From: Maurice Lawler <ma...@me.com>>
Reply-To: "dev@cloudstack.apache.org<ma...@cloudstack.apache.org>" <de...@cloudstack.apache.org>>
Date: Thursday, June 27, 2013 3:23 PM
To: "dev@cloudstack.apache.org<ma...@cloudstack.apache.org>" <de...@cloudstack.apache.org>>
Subject: How to remove General / Host Alerts

Sorry, for flooding the mailing list today.

Could someone please inform me as to how to clear 'Alerts' in my UI.

Under General / Host Alerts.

- Maurice


How to remove General / Host Alerts

Posted by Maurice Lawler <ma...@me.com>.
Sorry, for flooding the mailing list today.

Could someone please inform me as to how to clear 'Alerts' in my UI.

Under General / Host Alerts.

- Maurice


Re: Console Proxy VM failed to start

Posted by Venkata SwamyBabu Budumuru <ve...@citrix.com>.
Here is the bug which was filed sometime back and tracking the same:
https://issues.apache.org/jira/browse/CLOUDSTACK-2813


On 27/06/13 2:56 PM, "Sangeetha Hariharan"
<Sa...@citrix.com> wrote:

>You can free IPs from op_dc_ip_address_alloc table.
>
>update nic_id, reservation_id and taken as null for the entry that has
>timestamp marked as "taken" but is not being really allocated to any
>system Vm yet.
>
>-Thanks
>Sangeetha
>
>From: Maurice Lawler [mailto:maurice.lawler@me.com]
>Sent: Thursday, June 27, 2013 2:30 PM
>To: dev@cloudstack.apache.org
>Cc: aemneina@gmail.com
>Subject: Re: Console Proxy VM failed to start
>
>I think I have found my issue:
>
>2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl]
>(CapacityChecker:null) System Alert: Number of unallocated private IPs is
>low in pod Apollo of availability zone Orion
>2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl]
>(CapacityChecker:null) Number of unallocated private IPs is low, total:
>5.0, allocated: 5.0 (100%)
>2013-06-27 16:27:44,237 DEBUG [cloud.alert.AlertManagerImpl]
>(CapacityChecker:null) Have already sent: 1 emails for alert type '5' --
>skipping send email
>
>However, how can I go through the database to free up IPs?
>
>On Jun 27, 2013, at 04:47 PM, Ahmad Emneina
><ae...@gmail.com>> wrote:
>Hey Maurice can you post more logs before the error below. You might want
>to post them outside of email, to a site like
>pastebin.com<http://pastebin.com>.
>
>Ahmad
>
>On Jun 27, 2013, at 12:39 PM, Maurice Lawler
><ma...@me.com>> wrote:
>
>> Hello,
>>
>> I have finally got both system VM's 'Stopped', however, the secondary
>>storage is running without issue. Whereas, the console proxy will not
>>start, this is from the logs.
>>
>> 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator]
>>(consoleproxy-1:FirstFitRoutingAllocator) Host name: lunder.daoenix.com,
>>hostId: 9 is in avoid set, skipping this and trying other available hosts
>> 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator]
>>(consoleproxy-1:FirstFitRoutingAllocator) Host Allocator returning 0
>>suitable hosts
>> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner]
>>(consoleproxy-1:null) No suitable hosts found
>> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner]
>>(consoleproxy-1:null) No suitable hosts found under this Cluster: 1
>> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner]
>>(consoleproxy-1:null) Could not find suitable Deployment Destination for
>>this VM under any clusters, returning.
>> 2013-06-27 14:36:52,196 DEBUG [cloud.capacity.CapacityManagerImpl]
>>(consoleproxy-1:null) VM state transitted from :Starting to Stopped with
>>event: OperationFailedvm's original host id: null new host id: null host
>>id before state transition: 9
>> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl]
>>(consoleproxy-1:null) Hosts's actual total CPU: 36256 and CPU after
>>applying overprovisioning: 36256
>> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl]
>>(consoleproxy-1:null) release cpu from host: 9, old used: 1000,reserved:
>>0, actual total: 36256, total with overprovisioning: 36256; new used:
>>500,reserved:0; movedfromreserved: false,moveToReserveredfalse
>> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl]
>>(consoleproxy-1:null) release mem from host: 9, old used:
>>1342177280,reserved: 0, total: 25186906112; new used:
>>268435456,reserved:0; movedfromreserved: false,moveToReserveredfalse
>> 2013-06-27 14:36:52,201 WARN
>>[cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null)
>>Exception while trying to start console proxy
>> com.cloud.exception.InsufficientServerCapacityException: Unable to
>>create a deployment for VM[ConsoleProxy|v-40-VM]Scope=interface
>>com.cloud.dc.DataCenter; id=1
>> at 
>>com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManager
>>Impl.java:728)
>> at 
>>com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.ja
>>va:471)
>> at 
>>com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.ja
>>va:464)
>> at 
>>com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyMan
>>agerImpl.java:632)
>> at 
>>com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxy
>>ManagerImpl.java:1166)
>> at 
>>com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyMan
>>agerImpl.java:1989)
>> at 
>>com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyMan
>>agerImpl.java:175)
>> at 
>>com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
>> at 
>>com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
>> at 
>>com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
>> at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
>> at 
>>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>> at 
>>java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351
>>)
>> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
>> at 
>>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acce
>>ss$201(ScheduledThreadPoolExecutor.java:165)
>> at 
>>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(
>>ScheduledThreadPoolExecutor.java:267)
>> at 
>>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java
>>:1146)
>> at 
>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav
>>a:615)
>> at java.lang.Thread.run(Thread.java:679)
>>
>>
>> I am not well with reading the logs, what is this trying to tell me?


RE: Console Proxy VM failed to start

Posted by Sangeetha Hariharan <Sa...@citrix.com>.
You can free IPs from op_dc_ip_address_alloc table.

update nic_id, reservation_id and taken as null for the entry that has timestamp marked as "taken" but is not being really allocated to any system Vm yet.

-Thanks
Sangeetha

From: Maurice Lawler [mailto:maurice.lawler@me.com]
Sent: Thursday, June 27, 2013 2:30 PM
To: dev@cloudstack.apache.org
Cc: aemneina@gmail.com
Subject: Re: Console Proxy VM failed to start

I think I have found my issue:

2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) System Alert: Number of unallocated private IPs is low in pod Apollo of availability zone Orion
2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Number of unallocated private IPs is low, total: 5.0, allocated: 5.0 (100%)
2013-06-27 16:27:44,237 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Have already sent: 1 emails for alert type '5' -- skipping send email

However, how can I go through the database to free up IPs?

On Jun 27, 2013, at 04:47 PM, Ahmad Emneina <ae...@gmail.com>> wrote:
Hey Maurice can you post more logs before the error below. You might want to post them outside of email, to a site like pastebin.com<http://pastebin.com>.

Ahmad

On Jun 27, 2013, at 12:39 PM, Maurice Lawler <ma...@me.com>> wrote:

> Hello,
>
> I have finally got both system VM's 'Stopped', however, the secondary storage is running without issue. Whereas, the console proxy will not start, this is from the logs.
>
> 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host name: lunder.daoenix.com, hostId: 9 is in avoid set, skipping this and trying other available hosts
> 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found
> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found under this Cluster: 1
> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) Could not find suitable Deployment Destination for this VM under any clusters, returning.
> 2013-06-27 14:36:52,196 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 9
> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) Hosts's actual total CPU: 36256 and CPU after applying overprovisioning: 36256
> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release cpu from host: 9, old used: 1000,reserved: 0, actual total: 36256, total with overprovisioning: 36256; new used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release mem from host: 9, old used: 1342177280,reserved: 0, total: 25186906112; new used: 268435456,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2013-06-27 14:36:52,201 WARN [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Exception while trying to start console proxy
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-40-VM]Scope=interface com.cloud.dc.DataCenter; id=1
> at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728)
> at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
> at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464)
> at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:632)
> at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1166)
> at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1989)
> at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:175)
> at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
> at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
> at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
> at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:679)
>
>
> I am not well with reading the logs, what is this trying to tell me?

Re: Console Proxy VM failed to start

Posted by Maurice Lawler <ma...@me.com>.
I think I have found my issue:

2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) System Alert: Number of unallocated private IPs is low in pod Apollo of availability zone Orion
2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Number of unallocated private IPs is low, total: 5.0, allocated: 5.0 (100%)
2013-06-27 16:27:44,237 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Have already sent: 1 emails for alert type '5' -- skipping send email

However, how can I go through the database to free up IPs?


On Jun 27, 2013, at 04:47 PM, Ahmad Emneina <ae...@gmail.com> wrote:

> Hey Maurice can you post more logs before the error below. You might want to post them outside of email, to a site like pastebin.com.
>
> Ahmad
>
> On Jun 27, 2013, at 12:39 PM, Maurice Lawler <ma...@me.com> wrote:
> 
> > Hello,
> >
> > I have finally got both system VM's 'Stopped', however, the secondary storage is running without issue. Whereas, the console proxy will not start, this is from the logs.
> >
> > 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host name: lunder.daoenix.com, hostId: 9 is in avoid set, skipping this and trying other available hosts
> > 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
> > 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found
> > 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found under this Cluster: 1
> > 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) Could not find suitable Deployment Destination for this VM under any clusters, returning.
> > 2013-06-27 14:36:52,196 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 9
> > 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) Hosts's actual total CPU: 36256 and CPU after applying overprovisioning: 36256
> > 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release cpu from host: 9, old used: 1000,reserved: 0, actual total: 36256, total with overprovisioning: 36256; new used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse
> > 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release mem from host: 9, old used: 1342177280,reserved: 0, total: 25186906112; new used: 268435456,reserved:0; movedfromreserved: false,moveToReserveredfalse
> > 2013-06-27 14:36:52,201 WARN [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Exception while trying to start console proxy
> > com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-40-VM]Scope=interface com.cloud.dc.DataCenter; id=1
> > at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728)
> > at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
> > at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464)
> > at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:632)
> > at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1166)
> > at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1989)
> > at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:175)
> > at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
> > at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
> > at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
> > at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
> > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
> > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
> > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
> > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > at java.lang.Thread.run(Thread.java:679)
> >
> >
> > I am not well with reading the logs, what is this trying to tell me?

Re: Console Proxy VM failed to start

Posted by Ahmad Emneina <ae...@gmail.com>.
Hey Maurice can you post more logs before the error below. You might want to post them outside of email, to a site like pastebin.com.

Ahmad

On Jun 27, 2013, at 12:39 PM, Maurice Lawler <ma...@me.com> wrote:

> Hello,
> 
> I have finally got both system VM's 'Stopped', however, the secondary storage is running without issue. Whereas, the console proxy will not start, this is from the logs.
> 
> 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host name: lunder.daoenix.com, hostId: 9 is in avoid set, skipping this and trying other available hosts
> 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found
> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found under this Cluster: 1
> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) Could not find suitable Deployment Destination for this VM under any clusters, returning. 
> 2013-06-27 14:36:52,196 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 9
> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) Hosts's actual total CPU: 36256 and CPU after applying overprovisioning: 36256
> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release cpu from host: 9, old used: 1000,reserved: 0, actual total: 36256, total with overprovisioning: 36256; new used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release mem from host: 9, old used: 1342177280,reserved: 0, total: 25186906112; new used: 268435456,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2013-06-27 14:36:52,201 WARN  [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Exception while trying to start console proxy
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-40-VM]Scope=interface com.cloud.dc.DataCenter; id=1
>     at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728)
>     at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
>     at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464)
>     at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:632)
>     at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1166)
>     at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1989)
>     at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:175)
>     at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
>     at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
>     at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
>     at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
>     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:679)
> 
> 
> I am not well with reading the logs, what is this trying to tell me?