Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1806DDE1F for ; Sun, 30 Sep 2012 19:14:20 +0000 (UTC) Received: (qmail 53164 invoked by uid 500); 30 Sep 2012 19:14:20 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 53134 invoked by uid 500); 30 Sep 2012 19:14:20 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 53125 invoked by uid 99); 30 Sep 2012 19:14:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Sep 2012 19:14:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jmartin@basho.com designates 209.85.212.177 as permitted sender) Received: from [209.85.212.177] (HELO mail-wi0-f177.google.com) (209.85.212.177) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Sep 2012 19:14:15 +0000 Received: by wibhj13 with SMTP id hj13so1240835wib.0 for ; Sun, 30 Sep 2012 12:13:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=631PxjDW6CgbvAEPUbwvIdJLOjRsHiULNEeTvC/LFDc=; b=nMU1+4LRQS3axI3GC/J9bLb8jzTQ2ptGxfOIaz7YISFdQpkUzHz9TNoOlMBdgnWMxp q5GBEAU6J5g/mAEKAN4L2B8SROYK44Nx8B9zyHtOUxmCksELYHUdFyRYq7Oo0XFvkoSl ziSrf7KpNS2C7Ow6eO5PlTH/eQyE6F1ScxklxEmACzL1soDBOOHuKcznGUDLIFoL2dGI px5k9X0tmCly2+RnmEyDnu9PLwCbBLOUTN/MBmNzRMODMy8aP+Rr07cAIiTRzOrAsWN7 JMj4RDdXHUKfL9vj3/1jEBioOAt+X6ezjuZFNYbIbOKBUCUSgu1fGlNk+UsF7GseNn3V 4Ktw== Received: by 10.180.80.33 with SMTP id o1mr6540021wix.14.1349032434128; Sun, 30 Sep 2012 12:13:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.83.167 with HTTP; Sun, 30 Sep 2012 12:13:34 -0700 (PDT) In-Reply-To: <285FDC49-1D87-41C9-B9D6-E960299D2D31@bbits.ca> References: <285FDC49-1D87-41C9-B9D6-E960299D2D31@bbits.ca> From: James Martin Date: Sun, 30 Sep 2012 15:13:34 -0400 Message-ID: Subject: Re: "Primary storage is not ready, wait until it is ready to launch secondary storage vm" To: cloudstack-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlLdqTrC7vy3LZ00s/pLv9wtIL+BFlQeAudjSSNqYbRky4oRcpYOt/Z1E+dk/eO85Jwy7ol X-Virus-Checked: Checked by ClamAV on apache.org >From my limited understanding and from the GUI, everything is ok from that side. I don't know it well enough to dig deeper than that. James On Sun, Sep 30, 2012 at 2:58 PM, Kelceydamage@bbits wrote= : > The database check the IP allocation and network pools alongside the stor= age pool > > Sent from my iPhone > > On Sep 30, 2012, at 11:56 AM, James Martin wrote: > >> Primary storage and Secondary storage are good according to the GUI. >> Is that what you are referring to? >> >> James >> >> On Sun, Sep 30, 2012 at 2:48 PM, Kelceydamage@bbits wr= ote: >>> Just winging it here but for scope interface errors check that your poo= ls are not completely allocated. >>> >>> Sent from my iPhone >>> >>> On Sep 30, 2012, at 11:21 AM, James Martin wrote: >>> >>>> I think I fixed one problem but solved another.. I had to add >>>> >>>> { >>>> "name":"system.vm.use.local.storage", >>>> "value":"false" >>>> }, >>>> >>>> to the devcloud.cfg and no longer receive that error. >>>> >>>> My SSVMs and CPVMs still aren't starting. I've attached a big log >>>> that should capture the context of the errors. >>>> >>>> Thanks! >>>> >>>> James >>>> >>>> On Sun, Sep 30, 2012 at 11:54 AM, Ahmad Emneina >>>> wrote: >>>>> Hey James, can you post more logs. I'm interested to see the logs abo= ve >>>>> what was pasted in the previous email. I think the real reason hides >>>>> there... >>>>> >>>>> On 9/30/12 8:50 AM, "James Martin" wrote: >>>>> >>>>>> This was because I did have the nfs service subscribing to >>>>>> /etc/exports in the puppet recipe. >>>>>> >>>>>> I'm back to the same error as before: >>>>>> >>>>>> >>>>>> 2012-09-30 10:16:49,695 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: null >>>>>> 2012-09-30 10:16:49,703 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-2-TEST]Scope=3Dinterface >>>>>> com.cloud.dc.DataCenter; id=3D1 >>>>>> at >>>>>> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineMa= nagerI >>>>>> mpl.java:734) >>>>>> at >>>>>> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerIm= pl.jav >>>>>> a:472) >>>>>> at >>>>>> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerIm= pl.jav >>>>>> a:465) >>>>>> at >>>>>> com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsolePro= xyMana >>>>>> gerImpl.java:624) >>>>>> at >>>>>> com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(Console= ProxyM >>>>>> anagerImpl.java:1154) >>>>>> at >>>>>> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsolePro= xyMana >>>>>> gerImpl.java:1961) >>>>>> at >>>>>> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsolePro= xyMana >>>>>> gerImpl.java:170) >>>>>> at >>>>>> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:1= 13) >>>>>> at >>>>>> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java= :34) >>>>>> at >>>>>> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.jav= a:83) >>>>>> at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:= 73) >>>>>> at >>>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:4= 71) >>>>>> at >>>>>> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.jav= a:351) >>>>>> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) >>>>>> at >>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask= .acces >>>>>> s$201(ScheduledThreadPoolExecutor.java:165) >>>>>> at >>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask= .run(S >>>>>> cheduledThreadPoolExecutor.java:267) >>>>>> at >>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor= .java: >>>>>> 1110) >>>>>> at >>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecuto= r.java >>>>>> :603) >>>>>> at java.lang.Thread.run(Thread.java:679) >>>>>> 2012-09-30 10:16:49,730 DEBUG [cloud.storage.StorageManagerImpl] >>>>>> (secstorage-1:null) Expunging Vol[1|vm=3D1|ROOT] >>>>>> 2012-09-30 10:16:49,742 DEBUG [cloud.storage.StorageManagerImpl] >>>>>> (secstorage-1:null) Marking volume that was never created as >>>>>> destroyed: Vol[1|vm=3D1|ROOT] >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Sun, Sep 30, 2012 at 11:28 AM, James Martin w= rote: >>>>>>> My SSVM never starts (or the CPVM for the matter). In the GUI I h= ave >>>>>>> >>>>>>> Zones: 1 >>>>>>> Pods: 1 >>>>>>> Clusters: 1 >>>>>>> Hosts : 1 >>>>>>> Primary Storage : 0 >>>>>>> Secondary Storage : 1 >>>>>>> System VMs : 0 >>>>>>> Virtual Routers : 0 >>>>>>> >>>>>>> Also, These messages keep repeating in the logs: >>>>>>> >>>>>>> >>>>>>> 2012-09-30 09:51:01,012 DEBUG [storage.snapshot.SnapshotSchedulerIm= pl] >>>>>>> (SnapshotPollTask:null) Snapshot scheduler.poll is being called at >>>>>>> 2012-09-30 09:51:01 GMT >>>>>>> 2012-09-30 09:51:01,013 DEBUG [storage.snapshot.SnapshotSchedulerIm= pl] >>>>>>> (SnapshotPollTask:null) Got 0 snapshots to be executed at 2012-09-3= 0 >>>>>>> 09:51:01 GMT >>>>>>> 2012-09-30 09:51:01,055 DEBUG >>>>>>> [cloud.network.ExternalLoadBalancerUsageManagerImpl] >>>>>>> (ExternalNetworkMonitor-1:null) External load balancer devices stat= s >>>>>>> collector is running... >>>>>>> 2012-09-30 09:51:01,106 DEBUG >>>>>>> [network.router.VirtualNetworkApplianceManagerImpl] >>>>>>> (RouterMonitor-1:null) Found 0 running routers. >>>>>>> 2012-09-30 09:51:01,120 DEBUG >>>>>>> [network.router.VirtualNetworkApplianceManagerImpl] >>>>>>> (RouterStatusMonitor-1:null) Found 0 routers. >>>>>>> 2012-09-30 09:51:15,064 DEBUG [cloud.server.StatsCollector] >>>>>>> (StatsCollector-1:null) StorageCollector is running... >>>>>>> 2012-09-30 09:51:15,066 DEBUG [cloud.server.StatsCollector] >>>>>>> (StatsCollector-1:null) There is no secondary storage VM for second= ary >>>>>>> storage host nfs://10.0.2.15:/opt/storage/secondary >>>>>>> 2012-09-30 09:51:15,072 DEBUG [cloud.server.StatsCollector] >>>>>>> (StatsCollector-2:null) VmStatsCollector is running... >>>>>>> 2012-09-30 09:51:15,943 DEBUG [agent.manager.DirectAgentAttache] >>>>>>> (DirectAgent-1:null) Ping from 1 >>>>>>> 2012-09-30 09:51:16,706 DEBUG [cloud.server.StatsCollector] >>>>>>> (StatsCollector-1:null) HostStatsCollector is running... >>>>>>> 2012-09-30 09:51:16,714 DEBUG [agent.manager.DirectAgentAttache] >>>>>>> (DirectAgent-14:null) Seq 1-164560912: Executing request >>>>>>> 2012-09-30 09:51:16,874 DEBUG [agent.manager.DirectAgentAttache] >>>>>>> (DirectAgent-14:null) Seq 1-164560912: Response Received: >>>>>>> 2012-09-30 09:51:16,875 DEBUG [agent.transport.Request] >>>>>>> (StatsCollector-1:null) Seq 1-164560912: Received: { Ans: , MgmtId= : >>>>>>> 8796761203466, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } } >>>>>>> 2012-09-30 09:51:18,640 DEBUG [agent.manager.DirectAgentAttache] >>>>>>> (DirectAgent-31:null) Seq 1-164560898: Executing request >>>>>>> 2012-09-30 09:51:18,797 DEBUG [agent.manager.DirectAgentAttache] >>>>>>> (DirectAgent-31:null) Seq 1-164560898: Response Received: >>>>>>> 2012-09-30 09:51:18,798 DEBUG [agent.transport.Request] >>>>>>> (DirectAgent-31:null) Seq 1-164560898: Processing: { Ans: , MgmtId= : >>>>>>> 8796761203466, via: 1, Ver: v1, Flags: 10, >>>>>>> >>>>>>> [{"ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted"= :false >>>>>>> ,"result":true,"wait":0}}] >>>>>>> } >>>>>>> 2012-09-30 09:51:30,279 DEBUG >>>>>>> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) >>>>>>> Primary storage is not ready, wait until it is ready to launch >>>>>>> secondary storage vm >>>>>>> 2012-09-30 09:51:30,279 DEBUG >>>>>>> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) >>>>>>> Zone 1 is not ready to launch secondary storage VM yet >>>>>>> 2012-09-30 09:51:30,568 DEBUG >>>>>>> [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) >>>>>>> Skip capacity scan due to there is no Primary Storage UPintenance m= ode >>>>>>> >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> >>>>>>> James >>>>>> >>>>> >>>>> >>>>> -- >>>>> =C6 >>>>> >>>>> >>>>> >>>>