-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error associating wssdagent #18
Comments
Hi @ericvruder, Thank you for the detailed question and background. We are aware of a similar issue with the wssdagent and networking problems. If you have this problem again, go to Hyper-V Manager, and select the Networking tab and check if the VM has an assigned IP. If not, please try resetting the VM and check again. Let me know if that fixes the problem. We will be addressing it in our next update. |
Hi @fcabrera23
It then fails here, associating the wssdagent
After that, it continues on as normally.
As can be seen, it got a IP address assigned to it. This is validated further on when I deploy some files to it through SCP
From now on, this will ALWAYS happen when I delete and redeploy the VM. As mentioned, the only way to solve this is to reinstall Eflow completely. But I am not sure what the consequences of the error is? There doesn't seem to be any. |
Hi @ericvruder, thanks for trying this out. In the next update of EFLOW, the publicly exposed functions "New-EflowVm" and "Remove-EflowVm" will be removed. Any call into these functions leads to unexpected behavior. The lifecycle should be: Install the EFLOW MSI, run Deploy-Eflow exactly once, Uninstall EFLOW. After that, you can re-install EFLOW. Apologies, this is a deficiency in our documentation. Please let us know if you come across the described problem for the scenario where you run Deploy-Eflow only after MSI installation. In this case we will need to make an investigation. Thanks, Manuel |
No worries! But I do have a few questions:
Why should I uninstall, then re-install? What is the imagined flow if I need to re-provision the edge gateway? Right now, I reinstall everything to set it into a fresh condition. Will I be able to just call Provision-Eflow with some new parameters? Is the goal here to remove the need for me to interact with the linux container host? By removing the remove-vm and redeploy-vm, you are making it more difficult for me to test setting up the vm with the correct configuration. But most of that stuff is "default", in the sense that I followed the production guide as closely as possible, and that suited my needs. I only change the configuration for the modules I am trying to deploy. Will you be simplifying that process? Finally, is there a release date for the next version? :) |
@ericvruder - If you want a new fresh installation of EFLOW, you need to uninstall EFLOW before being able to re-install it. That's the flow, we do not support reinstallation without cleaning the machine first. Regarding the re-provisioning, in our next release, you can just call the Provision-Eflow with the method (TPM, manualx509, manual string, DPS x509) and the corresponding parameters. For the setting up, you can use parameters to set up the hardware requirements. Also, we plan to add port configuration, file sharing, and certificate configuration in future releases. Finally, we are working hard to get our next version public, probably soon, although we don't have a defined date set. |
This error usually occurs when I try to removed the vm and redeploy it. This is not something I can consistently reproduce, but time seems to be a factor here. So I install eflow, use it as normal (I do quite a few Remove-EflowVm and Deply-Eflow), and then after some days this error starts coming up. Only way I have discovered to fix it is to reinstall Eflow.
Funny enough, it doesn't seem to be affecting anything. If I ignore it, it is still capable of registering to the iot hub, and even deploying correctly. No error logs from either edgeAgent or edgeHub, everything is coming back ok.
I will try this Friday to install Eflow and try to see how long it takes before it starts failing again.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I don't expect it to fail.
Windows Host OS (please complete the following information):
The text was updated successfully, but these errors were encountered: