HAClusterTopology always asks for Brocade related secrets, even when no brocade switch present in the inventory #177

Open
opened 2025-10-24 19:18:12 +00:00 by johnride · 1 comment
Owner
cd examples/nanodc
HARMONY_SECRET_STORE=file HARMONY_SECRET_NAMESPACE=testncd0 RUST_LOG="harmony=trace" cargo run  -- -l 

     Running `/home/jeangab/work/nationtech/harmony/target/debug/example-nanodc -l`
> Secret not found for testncd0 BrocadeSwitchAuth, paste the JSON here :

thread 'main' panicked at examples/nanodc/src/main.rs:37:10:
Failed to get credentials: Deserialization { key: "BrocadeSwitchAuth", source: Error("EOF while parsing a value", line: 1, column: 0) }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```bash cd examples/nanodc HARMONY_SECRET_STORE=file HARMONY_SECRET_NAMESPACE=testncd0 RUST_LOG="harmony=trace" cargo run -- -l Running `/home/jeangab/work/nationtech/harmony/target/debug/example-nanodc -l` > Secret not found for testncd0 BrocadeSwitchAuth, paste the JSON here : thread 'main' panicked at examples/nanodc/src/main.rs:37:10: Failed to get credentials: Deserialization { key: "BrocadeSwitchAuth", source: Error("EOF while parsing a value", line: 1, column: 0) } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ```
Owner

This PR allows to take into account unmanaged switched: #187

It does'nt solve the whole issue, but may be part of it.

This PR allows to take into account unmanaged switched: https://git.nationtech.io/NationTech/harmony/pulls/187 It does'nt solve the whole issue, but may be part of it.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NationTech/harmony#177
No description provided.