Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign non-empty client_id to username #475

Closed
wants to merge 1 commit into from

Conversation

babakks
Copy link
Member

@babakks babakks commented Apr 30, 2024

Description

While QA-ing the rc0.12.0, we noticed an error complaining about empty username field. Actually, when the client_id is already assigned, the username has to be empty, and there should be no error. In this PR, username is assigned to the client_id value, whenever the client_id is not empty.

Fixes:

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Environment

  • Juju controller version: 3.5-rc1

  • Terraform version: 1.8.2-dev

Copy link
Member

@hmlanigan hmlanigan left a comment

Choose a reason for hiding this comment

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

This is actually a juju 3.5 bug, not a terraform 0.12.0 bug.

Putting in the username is a workaround which may have unintended consequences. I need to investigate.

@hmlanigan
Copy link
Member

The plan is to fix this in juju 3.5.1 apis, then once released pull into the next terraform release. 3.5.1 is planned for 10-Jun.

The juju pr to fix is: juju/juju#17309

@hmlanigan hmlanigan closed this May 3, 2024
@babakks babakks deleted the css-8358/fix-empty-username branch May 3, 2024 17:39
@hmlanigan hmlanigan mentioned this pull request Jun 7, 2024
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.

2 participants