microsoft / PartsUnlimitedMRP

This application uses entirely open source software including Linux, Java, Apache, and MongoDB which creates a web front end, an order service, and an integration service.
https://microsoft.github.io/PartsUnlimitedMRP/
Other
173 stars 499 forks source link

Continuous Deployment with VSTS and VSTS Hosted Agent Issue #159

Closed pavankumar9491 closed 5 years ago

pavankumar9491 commented 5 years ago

Hi ,

I am facing issues when the power shell script runs. I am not able to connect to the host through ssh image

Can somebody help me pls.

Thanks in advance :)

pavankumar9491 commented 5 years ago

@julienstroheker Could you please help me out in this issue?

eamonnk commented 5 years ago

Hi,

I'll have a look at this, see can I repro it. it will be later today when I get back to you.

Thanks, Eamonn

pavankumar9491 commented 5 years ago

Hi @eamonnk ,

Any update about this issue ?

eamonnk commented 5 years ago

HI,

Been a bit delayed getting to it, but will have an update later today,

Will talk then, Thanks, Eamonn

eamonnk commented 5 years ago

Hi,

Sorry for the delay getting back, finally got through this this morning and it ran fine, so functionally its working as expected.

The error suggests its something to do with the connection to the deployed VM, and either the dns name or one of the variable definitions in the pipeline.

Can you lok at the end of the steps in the labs Continuous Deployment with VSTS and VSTS Hosted Agent and verify the variables, try connect ot the VM via PuTTy/ssh and ensure the username, password and dnsname are correct as defined in your pipeline i.e. sshtarget, sshuser and sshPassword and that there are no whitespaces in the release task definition where these items are called?

Thanks, Eamonn

eamonnk commented 5 years ago

closing issue as no response and confirmed lab is working as expected.