Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Agent does not seem to try all configured repositories if one of them is offline #129

Closed
soenkeliebau opened this issue Apr 6, 2021 · 0 comments · Fixed by #229
Closed
Assignees
Labels
priority/high type/bug Something isn't working

Comments

@soenkeliebau
Copy link
Member

The cluster in question had three repositories configured at the time the behavior was encountered.

localrepo: localhost:8000 - unreachable, as no webserver was running
stackablerepo: repo.stackable.tech - should have been reachable
integration-test-repo: https://raw.githubusercontent.com/stackabletech/integration-test-repo/6d784f1fb433123cb3b1d5cd7364a4553246d749/ -> reachable

Agent logs seem to indicate that it tried the local repo first and then aborted when that failed instead of trying the next repo.

[2021-04-06T12:58:55Z INFO stackable_agent::provider::states::pod::downloading] Looking for package: test-service:0.1.0 in known repositories
[2021-04-06T12:58:55Z ERROR stackable_agent::provider::states::pod::downloading] Error occurred trying to find package [test-service:0.1.0]: [Reqwest(reqwest::Error { kind: Request, url: Url { scheme: "http", username: "", password: None, host: Some(Domain("localhost")), port: Some(8000), path: "/metadata.json", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) })]
[2021-04-06T12:58:55Z INFO stackable_agent::provider::states::pod::downloading_backoff] Backing of before retrying download of package test-service:0.1.0
[2021-04-06T12:59:05Z INFO stackable_agent::provider::states::pod::downloading] Looking for package: test-service:0.1.0 in known repositories
[2021-04-06T12:59:05Z ERROR stackable_agent::provider::states::pod::downloading] Error occurred trying to find package [test-service:0.1.0]: [Reqwest(reqwest::Error { kind: Request, url: Url { scheme: "http", username: "", password: None, host: Some(Domain("localhost")), port: Some(8000), path: "/metadata.json", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) })]
[2021-04-06T12:59:05Z INFO stackable_agent::provider::states::pod::downloading_backoff] Backing of before retrying download of package test-service:0.1.0
[2021-04-06T12:59:25Z INFO stackable_agent::provider::states::pod::downloading] Looking for package: test-service:0.1.0 in known repositories
[2021-04-06T12:59:25Z ERROR stackable_agent::provider::states::pod::downloading] Error occurred trying to find package [test-service:0.1.0]: [Reqwest(reqwest::Error { kind: Request, url: Url { scheme: "http", username: "", password: None, host: Some(Domain("localhost")), port: Some(8000), path: "/metadata.json", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) })]
[2021-04-06T12:59:25Z INFO stackable_agent::provider::states::pod::downloading_backoff] Backing of before retrying download of package test-service:0.1.0
[2021-04-06T13:00:05Z INFO stackable_agent::provider::states::pod::downloading] Looking for package: test-service:0.1.0 in known repositories
[2021-04-06T13:00:05Z ERROR stackable_agent::provider::states::pod::downloading] Error occurred trying to find package [test-service:0.1.0]: [Reqwest(reqwest::Error { kind: Request, url: Url { scheme: "http", username: "", password: None, host: Some(Domain("localhost")), port: Some(8000), path: "/metadata.json", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) })]
[2021-04-06T13:00:05Z INFO stackable_agent::provider::states::pod::downloading_backoff] Backing of before retrying download of package test-service:0.1.0
[2021-04-06T13:01:25Z INFO stackable_agent::provider::states::pod::downloading] Looking for package: test-service:0.1.0 in known repositories

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority/high type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants