Skip to content
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

Power status incorrect after erronous flashing command #226

Open
travisby opened this issue Oct 29, 2024 · 0 comments
Open

Power status incorrect after erronous flashing command #226

travisby opened this issue Oct 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@travisby
Copy link

travisby commented Oct 29, 2024

Describe the bug
Hello! I got my BMC into a weird state where it reported node1 "off" (it was on, responding to network requests, and the light was on), and node2 reported "on" when... actually I didn't get to check if its light was on, but there was no module to power in the slot. But I think it was probably actually "off" too, despite the state in the UI and cli/daemon

To Reproduce
Steps to reproduce the behavior:

  1. Fill slot 1, and not slot 2-4
  2. tpi power on -n 1
 tpi flash --image-path ~/Downloads/talos-arm64-turing-rk1_v1.6.3.raw --node 2
request flashing of talos-arm64-turing-rk1_v1.6.3.raw to node 2
User: root
Password: 
started transfer of 1.22 GiB..
⠂ [00:00:01] [>---------------------------------------------------------------------------------------------------------------------------------------------------] 1.31 MiB/1.22 GiB (684.9s)
Error occured during flashing: "Compute module's USB interface not found or supported"

Now, observe the result:

$ tpi power status
node1: off
node2: On
node3: off
node4: off

Expected behavior
I expected to see node1 on (because it was and still available on the network even!) and node2 to be off, because there was nothing to power (and I don't think flashing turns the module on, either)

Screenshots
If applicable, add screenshots to help explain your problem.

Versions

 tpi info
|---key----|-----------value------------|
 api       : 1.1
 build_version: 2024.05.1
 buildroot : "Buildroot 2024.05.1"
 buildtime : 2024-09-03 17:33:38-00:00
 ip        : Unknown
 mac       : Unknown
 version   : 2.3.2
|----------|----------------------------|

Additional context
I'll try to reproduce later, but right now my slots are actually full so I won't be able to replicate until I yeet one!

@travisby travisby added the bug Something isn't working label Oct 29, 2024
@travisby travisby changed the title Power status wrong after incorrect flashing command Power status incorrect after erronous flashing command Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant