Comments (4)
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.
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.
- I cannot connect using this Connect-EflowVM. An error as stated above results.
- 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.
- 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.
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.
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)
- IoT defender micro agent with EFLOW HOT 1
- Eflow: Cannot create read/write shared folders HOT 7
- EFLOW External Switch Networking Issue HOT 4
- EFLOW and shared folders not triggering inotify events HOT 2
- Does the updating process remove customizations? HOT 2
- Deploy-EFlow failed with L6287 HOT 3
- Cannot Start EFlow Vm Due to Memory but cannot increase memory as EFlow Vm is not turned on HOT 1
- Cannot Start EFlow Vm due to Memory but cannot increase memory as EFlow Vm is not turned on HOT 3
- Shared folders are created, but the files are missing
- The shared folders are created without errors, but the files and subfolders in the host folder are missing. HOT 5
- EFLOW does not create Hyper-V VM? So then how is it virtualized? HOT 4
- Azure EFLOW CBL Mariner Size expanded to big footprint
- EFLOW is not working on some devices. Believed to be networking issue. HOT 5
- Sending Custom Module from vscode to target machine Eflow
- IOT Edge for Linux on Windows (eflow) - nested VM deployement - proxy settings - corporate firewall HOT 1
- updateWssdCert.ps1 fails after having issues running Connect-Eflowvm HOT 2
- What is v1.4.11 and why is the update failing? HOT 4
- Severe Vulnerabilities in Moby BuildKit and OCI runc: CVE-2024-23651, CVE-2024-23652, CVE-2024-23653, CVE-2024-21626 HOT 2
- .NET 8 support
- The EFlowVM randomly missing its endpoint
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iotedge-eflow.