Issue is with the old systemvm.iso present on the localstorage. As Devdeep told please remove them, it will work. Systemvm.iso has the public key, when the VR gets started cloud-early-config will patch the ssh keys.
Thanks Rajesh Battala -----Original Message----- From: Paul Angus [mailto:paul.an...@shapeblue.com] Sent: Monday, January 20, 2014 4:36 PM To: Devdeep Singh; dev@cloudstack.apache.org Cc: Donal Lafferty; Rajesh Battala; Anshul Gangwar; Radhika Puthiyetath; Animesh Chaturvedi Subject: RE: Hyper-V Issues CPVM and SSVM are up, the SSVM downloaded the hyper-v demo template. But I can't start an instance because of and ssh authentication error between the VR and CSMAN The log suggests that the networking is ok as the ping succeeds (and ssvm downloaded the hyper-v demo template) 2014-01-20 10:47:09,694 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-30:ctx-f9cc6052) Ping command port, 10.0.107.17:3922 2014-01-20 10:47:09,694 INFO [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-30:ctx-f9cc6052) Trying to connect to 10.0.107.17 2014-01-20 10:47:09,696 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-30:ctx-f9cc6052) Ping command port succeeded for vm r-38-VM 2014-01-20 10:47:09,696 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-30:ctx-f9cc6052) Execute network usage setup command on r-38-VM 2014-01-20 10:47:09,981 ERROR [c.c.u.s.SshHelper] (DirectAgent-30:ctx-f9cc6052) Failed to authentication SSH user root on host 10.0.107.17 2014-01-20 10:47:09,985 ERROR [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-30:ctx-f9cc6052) Unable to execute NetworkUsage command on DomR (10.0.107.17), domR may not be ready yet. failure due to java.lang.Exception: Failed to authentication SSH user root on host 10.0.107.17 2014-01-20 10:47:09,986 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-30:ctx-f9cc6052) Executing resource GetDomRVersionCmd: {"accessDetails":{"router.ip":"10.0.107.17","router.name":"r-38-VM"},"contextMap":{},"wait":0} 2014-01-20 10:47:09,986 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-30:ctx-f9cc6052) Run command on domR 10.0.107.17, /opt/cloud/bin/get_template_version.sh 2014-01-20 10:47:09,986 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-30:ctx-f9cc6052) Use router's private IP for SSH control. IP : 10.0.107.17 2014-01-20 10:47:10,193 ERROR [c.c.u.s.SshHelper] (DirectAgent-30:ctx-f9cc6052) Failed to authentication SSH user root on host 10.0.107.17 2014-01-20 10:47:10,194 ERROR [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-30:ctx-f9cc6052) GetDomRVersionCmd failed due to java.lang.Exception: Failed to authentication SSH user root on host 10.0.107.17 I'll raise a ticket and post the ID Regards, Paul Angus Cloud Architect S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus paul.an...@shapeblue.com -----Original Message----- From: Devdeep Singh [mailto:devdeep.si...@citrix.com] Sent: 20 January 2014 05:05 To: Paul Angus; dev@cloudstack.apache.org Cc: Donal Lafferty; Rajesh Battala; Anshul Gangwar; Radhika Puthiyetath; Animesh Chaturvedi Subject: RE: Hyper-V Issues Glad to know it worked for you. Do let me know if you face any issue. Regards, Devdeep -----Original Message----- From: Paul Angus [mailto:paul.an...@shapeblue.com] Sent: Monday, January 20, 2014 3:21 AM To: dev@cloudstack.apache.org Cc: Donal Lafferty; Devdeep Singh; Rajesh Battala; Anshul Gangwar; Radhika Puthiyetath; Animesh Chaturvedi Subject: RE: Hyper-V Issues Forget that I built a new agent as well and I can connect again. I'll try an advanced network now. Regards, Paul Angus Cloud Architect S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus paul.an...@shapeblue.com -----Original Message----- From: Paul Angus [mailto:paul.an...@shapeblue.com] Sent: 19 January 2014 19:52 To: dev@cloudstack.apache.org Cc: Donal Lafferty; Devdeep Singh; Rajesh Battala; Anshul Gangwar; Radhika Puthiyetath; Animesh Chaturvedi Subject: RE: Hyper-V Issues Thanks Sebastien. @Hyperv-people I ran the new commands in the wiki PS C:\Users\Administrator> New-SelfSignedCertificate -DnsName apachecloudstack -CertStoreLocation Cert:\LocalMachine\M Directory: Microsoft.PowerShell.Security\Certificate::LocalMachine\My Thumbprint Subject ---------- ------- 32BF5F505947B083E4CBDD9FDB2487CC8F133DF1 CN=apachecloudstack PS C:\Users\Administrator> netsh http add sslcert ipport=0.0.0.0:8250 certhash=32BF5F505947B083E4CBDD9FDB2487CC8F133DF1 appid="{727beb1c-6e7c-49b2-8fbd-f03dbe481b08}" SSL Certificate successfully added But I still get the same identical error, are there any other steps required? The windows firewall is shutdown. Regards Paul Angus Cloud Architect S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus paul.an...@shapeblue.com -----Original Message----- From: Sebastien Goasguen [mailto:run...@gmail.com] Sent: 19 January 2014 19:22 To: dev@cloudstack.apache.org Cc: Donal Lafferty; Devdeep Singh; Rajesh Battala; Anshul Gangwar; Radhika Puthiyetath; Animesh Chaturvedi Subject: Re: Hyper-V Issues On Jan 19, 2014, at 2:14 PM, Paul Angus <paul.an...@shapeblue.com> wrote: > Thanks Donal, > > I'll add some info in the wiki, although I'll check the validity of what I've > been doing with you guys before telling everyone else what they should be > doing. > > In the meantime - has something changed in the way CloudStack contacts > the agent in hyper-v in the last 3 days? I suddenly can't add a > hyper-v host to CloudStack. I get an error which suggests either an > SSL error or a host connectivity issue. The only thing I changed was > using an updated build of the management server - the hyper-v host was > a rolled-back snapshot, so I know it is identical to the last time I > added it... Paul, yes I saw this passing by: https://issues.apache.org/jira/browse/CLOUDSTACK-5880 on jan 16 > > http://pastebin.com/UJxTspcV > > Regards > > Paul Angus > Cloud Architect > S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus > paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> > > From: Donal Lafferty [mailto:donal.laffe...@citrix.com] > Sent: 17 January 2014 11:46 > To: dev@cloudstack.apache.org; Paul Angus > Cc: Devdeep Singh; Rajesh Battala; Anshul Gangwar; Radhika > Puthiyetath; Animesh Chaturvedi > Subject: Hyper-V Issues > > Hi Paul, > > Thanks for trying out the Hyper-V agent over the last couple of weeks! I'm > not always able to help you with the problems, so I've compiled a list of > resources below to help with problems, collaboration and documentation. > > For problems you see, there is a team in Bangalore dedicated to polishing up > the Hyper-V agent. They have been following up on the issues you've found. > However, I've included the email of team lead, Devdeep Singh, in the CC if > you want him to take a look at a specific JIRA issue you've created. > > For collaborating to provide user guidance, there is a wiki at > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hyper-V+Community+Tips+and+FAQ > It's a good place to accumulate gotchas that you, myself and other users > come across. It's pretty empty at the moment, so make any additions or edits > you want. > > For documentation, there are Hyper-V sections in docs repo. In > https://git-wip-us.apache.org/repos/asf?p=cloudstack-docs.git;a=tree;f=en-US;h=5fdde1c7134b675e4ede9f13b01e937406adc92e;hb=e8359806e3bbb49292deedb5bca11dc7ab0c9b7a > files matching "hyperv-" tend to be Hyper-V related; however, I think a JIRA > issue with section name should point Radhika in the right direction for > making a fix. > > Look forward to seeing you at the CloudStack European User Group > Meeting in London next Thursday, > > > DL > 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 > training<http://shapeblue.com/cloudstack-training/> > 08/09 January 2014, London<http://shapeblue.com/cloudstack-training/> > 13-17 January 2014, GLOBAL. Instructor led, > On-line<http://shapeblue.com/cloudstack-training/> > 20-24 January 2014, GLOBAL. 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. 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.