Skip to content

Conversation

@alesstimec
Copy link
Collaborator

Description

Changes the way JIMM dials the controller when adding a model. This is to achieve Juju 4 compatibility when adding a model - juju 4 has strong referential integrity, so atm JIMM fails to add cloud credentials for an external user, because that external user does not exist in controller's database. After this change, this PR should at least enable us to add credentials and a model.

Engineering checklist

  • Documentation updated
  • Covered by unit tests
  • Covered by integration tests

Test instructions

@alesstimec alesstimec requested a review from a team as a code owner October 29, 2025 10:37
Copy link
Contributor

@luci1900 luci1900 left a comment

Choose a reason for hiding this comment

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

Seems cleaner than granting permissions separately, but obviously incomplete.

Copy link
Contributor

@kian99 kian99 left a comment

Choose a reason for hiding this comment

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

I assume there's no test changes because this was already tested and we're just refactoring?

@SimoneDutto
Copy link
Contributor

out of scope for this pr: why don't we add a non-required workflow to run the integration test with juju 4 controller?

@alesstimec alesstimec force-pushed the dial-add-model-as-user branch from 246e402 to e0cbc02 Compare October 29, 2025 12:32
Changes the way JIMM dials the controller when adding a model.
@alesstimec alesstimec force-pushed the dial-add-model-as-user branch from e0cbc02 to 10e5904 Compare October 29, 2025 12:44
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.

4 participants