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.

Power configuration silently ignored

See original GitHub issue

Hi,

I have struggle with the power configuration. I didn’t specify any powerconfiguration options in my config, so I assume I’m using https://github.com/tumblr/collins/blob/master/conf/reference/powerconfiguration_reference.conf.

Now I’ve created a new asset like this:

curl ... -X PUT -d generate_ipmi=false http://collins.service.consul:9000/api/asset/my-asset-tag
curl ... -X POST http://collins.service.consul:9000/api/asset/my-asset-tag --data-urlencode lldp@lldpctl.xml --data-urlencode lshw@lshw.xml -d POWER_OUTLET_A=ac14 -d POWER_PORT_A=foobar23

The last command returns success, asset data is available in collins but the powerconfig is missing:

$ curl ... http://collins.service.consul:9000/api/asset/my-asset-tag | jq .data.POWER
[]

(Same for UI and collins-shell). What confuses me the most is that there are a few systems where it actually worked: I registered the nodes a few weeks ago and at least on one I have the dummy port entries I used before. Maybe it worked when I updated it in another state? But I tried unallocated and allocated as well with the same result.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
discordianfishcommented, Nov 2, 2016

Okay! I figure this out. There is indeed a hidden intake process 😃

0reactions
michaeljs1990commented, Jan 19, 2017

That is much cleaner 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

testSequencer config silently ignored in projects #9761 - GitHub
Note: This is fundamentally working as intended, this issue is now about validating the config and providing a sufficient warning.
Read more >
about PowerShell Config - Microsoft Learn
Unrecognized keys or invalid values in the configuration file are silently ignored. If the powershell.config.json file contains invalid JSON ...
Read more >
How to ignore optional prerequisites when installing Oracle ...
The command line arguments are listed in the OUI guide, and include: -ignoreSysPrereqs For ignoring the results of the system prerequisite checks.
Read more >
Silent Installation Properties for Horizon Agent - VMware Docs
In a silent installation command, you can use the ADDLOCAL property to specify options that the Horizon Agent installer configures.
Read more >
Use network_cli to run command on network appliances
This option determines how privilege escalation failures are handled when become is enabled. When set to ignore , the errors are silently ignored....
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