Giter VIP home page Giter VIP logo

Comments (4)

TerryWarwick avatar TerryWarwick commented on June 22, 2024

@dmaxwe22,

Just a hunch, but by any chance are you using Remote PowerShell when you are invoking the Connect-EflowVM command? Both of these commands require SSH, which would be attempting a double-hop which any combination of Remote PowerShell and SSH do not allow. It would be possible from a Remote Desktop session, but not a Remote Powershell session.

Terry Warwick
Microsoft

from iotedge-eflow.

 avatar commented on June 22, 2024

I am not using a remote PowerShell attempt to connect. The deployment is using a PowerShell ISE on the same Windows 10 IoT Enterprise 2019 computer and running it in the administrative mode. I chose the PowerShell method of implementing the deployment because the Windows Admin center method was more complicated than needed. Everything worked well and the DPS with X509 deployment worked and telemetry is streaming to the IoT Hub. Except three things are not normal and blocking further work.

  1. I cannot connect using this Connect-EflowVM. An error as stated above results.
  2. I cannot get logs. It seems to shut down the VM and does not complete. Maybe this is coincidence. After restarting the VM (Start-EflowVM), I tried again and same results.
  3. I cannot see the IoT Edge Linux VM in the Hyper V manager on the computer. It seems a ghost and yet telemetry is streaming.

One additional clue. This same computer was used for the windows version of Azure IoT Edge but I uninstalled it and the iotedge folder is gone.

Actually, another clue. The IP address of the Linux VM seems to be different than the message that occurs when I try to get logs. 192.168.57.125 is stated when querying using PowerShell to get VM IP Address vs. 192.168.57.113 that is stated after "Ctrl-C" when trying to get logs. In PowerShell on the same Windows computer, I tried manually SSH [email protected] and the other IP address as well but no response in either case.

Could it be that an SSH host file is not readable? I ran the PowerShell deployment scripts from C:\Windows\System32. Maybe that is a problem.

There is a clue above where I could find the PowerShell module source code and look inside it for a clue:

  • "C:\Program Files\WindowsPowerShell\Modules\AzureEFLOW\AzureEFLOW.psm1:2213 char:17"

I would appreciate help here in this issues area. Thank you.

from iotedge-eflow.

fcabrera23 avatar fcabrera23 commented on June 22, 2024

Hi @dmaxwe22,

Thanks for your detailed information.

  • For your questions 1 and 2 - Can you try using PowerShell with elevated permissions instead of using PowerShell ISE?

  • For your third question - Unfortunately, this interface won't longer be available to manage the EFLOW VM since GA. To introduce GPU support for the VM, we had to change our VM management interface from WMMS to HCS. As such, the EFLOW VM will no longer be visible in Hyper-V but instead, appear more like WSL VM in HCS.

Thanks,
Francisco

from iotedge-eflow.

 avatar commented on June 22, 2024

Thanks, @fcabrera23, using PowerShell with elevated permissions instead of PowerShell ISE with elevated permissions seems to have worked. I am now able to Connect-EflowVM and use commands like sudo iotedge list and so on.

from iotedge-eflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.