Skip to content

Conversation

@jreidinger
Copy link
Contributor

@jreidinger jreidinger commented Jan 7, 2026

Problem

download logs via CLI does not work and as result also copy of logs at the end of installation does not work.

Solution

Use the same code as in manager web interface, just move it to internal part and adapt client to use it.

Testing

  • tested manually with CLI and it works. ENOTIME for testing at the end of installation.

Copy link
Contributor

@imobachgs imobachgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, it looks good. I guess we still need to fix the UI.

pub async fn store(&self, path: &Path) -> Result<PathBuf, ManagerHTTPClientError> {
// 1) response with logs
let response = self.client.get_raw("/manager/logs/store").await?;
let response = self.client.get_raw("/v2/private/download_logs").await?;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure whether this should be part of the private API. However, until we take a decision, it is good to keep it in the private part.

Additionally, I would name it as /v2/private/logs.

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.

3 participants