Skip to content

ssh-key-add --cloud all: hide clouds with no API key - #63

Closed
kchandan wants to merge 1 commit into
mainfrom
hide-unconfigured-clouds
Closed

kchandan wants to merge 1 commit into
mainfrom
hide-unconfigured-clouds

Conversation

@kchandan

Copy link
Copy Markdown
Member

The text table of labagent compute ssh-key-add --cloud all no longer lists clouds that have no API key (the skipped no API key: set ... rows). Clouds with a key still show added, already there or FAILED; --json still lists every cloud, so its shape is unchanged.

Verified: new test (table hides them, JSON keeps them); tests/test_gpu_shared_key.py and tests/test_compute.py pass except the known no_key_list test, which fails on clean main on a machine with a Nebius CLI login.

Not changed: the Shadeform HTTP 409: already an SSH Key with name [labagent] row. That is a real failure (the account has a different key under that name) and stays visible.

Created by LabAgent

A cloud you have no key for is not a result, so the text table no longer lists it as "skipped: no API key". Clouds with a key still show added, already there or FAILED, and --json still lists every cloud.

Created by LabAgent
https://becloudready.com/

Co-Authored-By: LabAgent <info@becloudready.com>
@kchandan kchandan closed this Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant