question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't deploy modules on Windows

See original GitHub issue

Expected Behavior

Deployment/redeployment of a module should work reliably.

Current Behavior

New module or new module version is not deployed

Steps to Reproduce

  1. Have a deployment running
  2. Update one of the modules (like change the image URI) through the deployment manifest
  3. The updated module is not started up on the edge device

Context (Environment)

Device (Host) Operating System

Windows Server 2019

Architecture

amd64

Container Operating System

Windows containers

Runtime Versions

iotedged

iotedge 1.0.7~rc2 (03dff5f270fabe34e7903c04e334dca2665780a6)

Edge Agent

1.0.7

Edge Hub

1.0.7

Docker

Client: Version: 3.0.2 API version: 1.40 Go version: go1.11.1 Git commit: e042b58f Built: Tue Dec 4 20:13:19 2018 OS/Arch: windows/amd64 Experimental: false

Server: Engine: Version: 3.0.3 API version: 1.40 (minimum version 1.24) Go version: go1.11.4 Git commit: 5ec3138 Built: Thu Jan 24 17:16:18 2019 OS/Arch: windows/amd64 Experimental: false

Logs

https://gist.github.com/mbialecka/5b479750b70148b0dbbf44f0e5164870

Additional Information

First two deployments after environment startup worked fine. Then, after a couple of hours, the third deployment didn’t go through, it should have happened around 2019-05-13 08:02 mark. Instead, there are many timeout errors in the edgeAgent log.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
veyallacommented, May 13, 2019

As the connectivity checks suggest, your edge device has connectivity issues from within the container environment. Please follow best practices here as documented at https://aka.ms/iotedge-prod-checklist-dns (recommend Option 1).

Confirm the connectivity checks pass, and then perform your testing.

0reactions
omarinecommented, Dec 16, 2020

Hello,

Which dns have you used to resolve connectivity issues from your containers to iothub ?

I am trying to install iotedge runtime behind a proxy as well but i still have different issues including connectivity from containers to Iothub,the host can connect still.

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't distribute deployment packages
This article fixes an issue in which you can't distribute deployment packages and receive the Source directory does not exist error.
Read more >
Cannot install powershell modules - Microsoft Q&A
My problem is that I am not able to install modules to my powershell console. Example: Install-module -Name AzureAD.
Read more >
Troubleshooting packaging, deployment, and query of ...
Error code Value Description and possible causes E_INVALIDARG 0x80070057 ERROR_INSTALL_INVALID_ PACKAGE 0x80073CF2 The package data isn't valid. ERROR_INSTALL_NETWORK_ FAILURE 0x80073CF5 The package can't be downloaded.
Read more >
Cannot deploy Windows 10 21H2 - Microsoft Q&A
When creating a new task sequence using the latest Windows 10 21H2 Enterprise Right click the newly created task sequence > Os info...
Read more >
Troubleshoot common Azure deployment errors
Error code Mitigation More inform... AccountNameInvalid Follow naming guidelines for storage accounts. Resolve erro... AccountPropertyCannotBeSet Check available storage account properties. storageAcco... AnotherOperationInProgress Wait for concurrent operation...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found