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.

Container is not published to MCR (was: Unable to generate Alarms)

See original GitHub issue

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

sudo docker run --rm -it -p 60000:60000 -p 8080:8080 --name opcplc mcr.microsoft.com/iotedge/opc-plc:latest --pn=60000 --autoaccept --nospikes --nodips --nopostrend --nonegtrend --nodatavalues --sph --sn=25 --sr=5 --st=uint --fn=5 --fr=1 --ft=uint --ctb --alm

Any log messages given by the failure

[16:42:43 INF] Current directory is: /app [16:42:43 INF] Log file is: /app/471b451f14a4-plc.log [16:42:43 INF] Log level is: info [16:42:43 ERR] Error in command line options [16:42:43 ERR] Command line arguments: --pn=60000 --autoaccept --nospikes --nodips --nopostrend --nonegtrend --nodatavalues --sph --sn=25 --sr=5 --st=uint --fn=5 --fr=1 --ft=uint --ctb --alm [16:42:43 INF] [16:42:43 INF] OpcPlc V1.2.2.3 [16:42:43 INF] Informational version: V1.2.2+6f16489859 [16:42:43 INF] [16:42:43 INF] Usage: opcplc.exe [<options>] [16:42:43 INF] [16:42:43 INF] OPC UA PLC for different data simulation scenarios [16:42:43 INF] To exit the application, just press CTRL-C while it is running. [16:42:43 INF] [16:42:43 INF] To specify a list of strings, please use the following format: [16:42:43 INF] “<string 1>,<string 2>,…,<string n>” [16:42:43 INF] or if one string contains commas: [16:42:43 INF] “”<string 1>“,”<string 2>“,…,”<string n>“”

Expected/desired behavior

Im trying to get boiler and alm. I’m unable to run it with --alm as it is not recognized and it throws the ERR in the stdout. Also with --ctb, i don’t see any new nodes published. Might be i don;t understand --ctb. I expected it to publish nodes for the boiler.

specifying --ctb without --alm the PLC server runs but did not see any nodes for boiler.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) Linux Ubuntu

Versions

Ubuntu 18.04

Mention any other details that might be useful


Thanks! We’ll be in touch soon.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
buzzfrogcommented, Apr 16, 2021

I tested with the following command: docker run --rm -it -p 60000:60000 -p 8080:8080 --name opcplc mcr.microsoft.com/iotedge/opc-plc:latest --pn=60000 --autoaccept --nospikes --nodips --nopostrend --nonegtrend --nodatavalues --sph --sn=25 --sr=5 --st=uint --fn=5 --fr=1 --ft=uint --ctb --alm

And from my point of view, it works,

1reaction
luiscanterocommented, Apr 15, 2021

@jaypaddy this should be working now, please confirm, thanks. CC @buzzfrog

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to publish the .net 5.0 and 6.0 to Azure Container ...
I have tried with both . net 5.0 and 6.0 and able to publish in docker. In Visual studio we have chosen the...
Read more >
Unable to pull images from microsoft · Issue #3761 · docker ...
I am new to docker and trying to set up a container on a Windows Server 2016 instance(14392.2906). Docker is running with windows...
Read more >
You might encounter issues when using Windows Server ...
When you run the command "docker run" or “docker build” you might not receive output and it might become non-responsive. Your Windows Server ......
Read more >
Building docker containers from Official .NET SDK images ...
As soon as I add the --platform option to docker build, the compilation fails. Ideally I'd love to get a single multi-platform Docker...
Read more >
Developing inside a Container
A devcontainer.json file in your project tells VS Code how to access (or create) a development container with a well-defined tool and runtime...
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