Credential name rejected

Bug #1671915 reported by Brad Crittenden
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Anastasia

Bug Description

When attempting to add a Google credential using the valid USSO user <email address hidden>, the GUI gets the following error from the API call:

Unable to add credential bad request: "cloudcred-google_rick-harding+guibot@external_bac-gce-2017-03" is not a valid cloudcred tag

The error is coming from names.ParseCloudCredentialTag

Revision history for this message
Anastasia (anastasia-macmood) wrote :

According to https://github.com/juju/names/blob/v2/cloudcredential.go#L16, "+" is not a valid symbol for cloud credential name. We need to update that.

Changed in juju:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.2-beta1
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Part1, PR against juju/names: https://github.com/juju/names/pull/78

Changed in juju:
status: Triaged → In Progress
assignee: nobody → Anastasia (anastasia-macmood)
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Part 2, PR against develop (2.2), juju/names dependencies update to include change from Part 1: https://github.com/juju/juju/pull/7135

Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.