Mgmt. server code from rc6, agent built today.
Regards Paul Angus Cloud Architect S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] Sent: 27 February 2014 11:59 To: Paul Angus; dev@cloudstack.apache.org Subject: RE: hyper-v broken again? Hi Paul, Is your mgmt server and hyper-v agent are latest build? Smb credentials are encrypted and stored. Thanks Rajesh Battala From: Paul Angus [mailto:paul.an...@shapeblue.com] Sent: Thursday, February 27, 2014 5:10 PM To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>; Rajesh Battala Subject: hyper-v broken again? I'm using what was rc6 And getting the following error - (the host is in an alert state) Error while decrypting: hyperv13! Hyperv13! Is the password for hyperv service account. The agent is from Jenkins today and I have refreshed the certificate on the host. 2014-02-27 11:33:46,472 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-2:ctx-9c59c959) POST request to https://10.0.0.24:8250/api/HypervResource/com.cloud.agent.api.CheckNetworkCommand with contents {"networkInfoList":[{"physicalNetworkId":200,"privateNetworkName":"Mgmt","guestNetworkName":"GuestPub"},{"physicalNetworkId":201,"publicNetworkName":"GuestPub"}],"contextMap":{},"wait":0} 2014-02-27 11:33:46,478 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-2:ctx-9c59c959) Sending cmd to https://10.0.0.24:8250/api/HypervResource/com.cloud.agent.api.CheckNetworkCommand cmd data:{"networkInfoList":[{"physicalNetworkId":200,"privateNetworkName":"Mgmt","guestNetworkName":"GuestPub"},{"physicalNetworkId":201,"publicNetworkName":"GuestPub"}],"contextMap":{},"wait":0} 2014-02-27 11:33:46,552 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-2:ctx-9c59c959) POST response is [{"com.cloud.agent.api.CheckNetworkAnswer":{"result":true,"details":null,"contextMap":{}}}] 2014-02-27 11:33:46,553 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-2:ctx-9c59c959) executeRequest received response [Lcom.cloud.agent.api.Answer;@3b020b13 2014-02-27 11:33:46,553 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-2:ctx-9c59c959) Seq 2-1800798211: Response Received: 2014-02-27 11:33:46,553 DEBUG [c.c.a.t.Request] (DirectAgent-2:ctx-9c59c959) Seq 2-1800798211: Processing: { Ans: , MgmtId: 345049353548, via: 2, Ver: v1, Flags: 110, [{"com.cloud.agent.api.CheckNetworkAnswer":{"_reconnect":false,"result":true,"wait":0}}] } 2014-02-27 11:33:46,553 DEBUG [c.c.a.t.Request] (AgentTaskPool-8:ctx-c0cabb01) Seq 2-1800798211: Received: { Ans: , MgmtId: 345049353548, via: 2, Ver: v1, Flags: 110, { CheckNetworkAnswer } } 2014-02-27 11:33:46,553 DEBUG [o.a.c.e.o.NetworkOrchestrator] (AgentTaskPool-8:ctx-c0cabb01) Network setup is correct on Agent 2014-02-27 11:33:46,553 DEBUG [c.c.a.m.AgentManagerImpl] (AgentTaskPool-8:ctx-c0cabb01) Sending Connect to listener: DeploymentPlanningManagerImpl 2014-02-27 11:33:46,555 DEBUG [c.c.a.m.AgentManagerImpl] (AgentTaskPool-8:ctx-c0cabb01) Sending Connect to listener: ClusteredVirtualMachineManagerImpl 2014-02-27 11:33:46,555 DEBUG [c.c.v.VirtualMachineManagerImpl] (AgentTaskPool-8:ctx-c0cabb01) Received startup command from hypervisor host. host id: 2 2014-02-27 11:33:46,556 DEBUG [c.c.v.VirtualMachineManagerImpl] (AgentTaskPool-8:ctx-c0cabb01) Found 0 VMs for host 2 2014-02-27 11:33:46,556 DEBUG [c.c.a.m.AgentManagerImpl] (AgentTaskPool-8:ctx-c0cabb01) Sending Connect to listener: DownloadListener 2014-02-27 11:33:46,557 DEBUG [c.c.a.m.AgentAttache] (DirectAgent-2:ctx-9c59c959) Seq 2-1800798211: No more commands found 2014-02-27 11:33:46,569 INFO [o.a.c.s.i.TemplateServiceImpl] (AgentTaskPool-8:ctx-c0cabb01) Downloading builtin template centos64-x64 to data center: 1 2014-02-27 11:33:46,571 DEBUG [c.c.u.c.DBEncryptionUtil] (AgentTaskPool-8:ctx-c0cabb01) Error while decrypting: hyperv13! 2014-02-27 11:33:46,571 ERROR [c.c.a.m.AgentManagerImpl] (AgentTaskPool-8:ctx-c0cabb01) Monitor DownloadListener says there is an error in the connect process for 2 due to null org.jasypt.exceptions.EncryptionOperationNotPossibleException at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:918) at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.decrypt(StandardPBEStringEncryptor.java:725) at com.cloud.utils.crypt.DBEncryptionUtil.decrypt(DBEncryptionUtil.java:60) at com.cloud.utils.UriUtils.getUpdateUri(UriUtils.java:160) at org.apache.cloudstack.storage.datastore.db.ImageStoreVO.getUrl(ImageStoreVO.java:150) at org.apache.cloudstack.storage.image.store.ImageStoreImpl.getUri(ImageStoreImpl.java:103) at org.apache.cloudstack.storage.datastore.driver.CloudStackImageStoreDriverImpl.getStoreTO(CloudStackImageStoreDriverImpl.java:56) at org.apache.cloudstack.storage.image.store.ImageStoreImpl.getTO(ImageStoreImpl.java:185) at org.apache.cloudstack.storage.datastore.ObjectInDataStoreManagerImpl.create(ObjectInDataStoreManagerImpl.java:136) at org.apache.cloudstack.storage.image.store.ImageStoreImpl.create(ImageStoreImpl.java:142) at org.apache.cloudstack.storage.image.TemplateServiceImpl.createTemplateAsync(TemplateServiceImpl.java:163) at org.apache.cloudstack.storage.image.TemplateServiceImpl.handleSysTemplateDownload(TemplateServiceImpl.java:267) at com.cloud.storage.download.DownloadListener.processConnect(DownloadListener.java:291) at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:495) at com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1402) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1738) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1864) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy145.createHostAndAgent(Unknown Source) at com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.runInContext(AgentManagerImpl.java:1047) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) 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:701) Regards Paul Angus Senior Consultant / Cloud Architect [cid:image002.png@01CE1071.C6CC9C10] S: +44 20 3603 0540<tel:+442036030540> | M: +4<tel:+447968161581>47711418784 | T: @CloudyAngus paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | www.shapeblue.com<http://www.shapeblue.com/> | Twitter:@shapeblue<https://twitter.com/> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/> 18th-19th February 2014, Brazil. Classroom<http://shapeblue.com/cloudstack-training/> 17th-23rd March 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/> 24th-28th March 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/> 16th-20th June 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/> 23rd-27th June 2014, Region B. Instructor led, On-line<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 is a registered trademark. 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 is a registered trademark.