galaxyproject / galaxyproject/cloudlaunch

Incorrect credentials use for healthcheck when multiple saved credentials exist for the same cloud

Open
#115 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
42
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Steps to recreate:

1. Save two sets of credentials for an OpenStack cloud, each in a different project (say projectA, and projectB).
2. Set credentials for projectA as default
3. Launch an instance using projectB credentials.

Expected:
The health check will use the non-default projectB credentials and healthcheck should succeed.

Actual:
The health check uses the default projectA credentials, and the healthcheck status says unknown. Should it say deleted instead?

Possible solutions:
We don't have an association between a deployment and a set of credentials. We could add an optional relationship to credentials.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.