juju add-credential allows spaces in credential name

Bug #1816826 reported by Achilleas Anagnostopoulos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Achilleas Anagnostopoulos

Bug Description

When running juju add-credential in interactive mode, the user is allowed to enter spaces when typing the credential name. This causes issues when attempting to bootstrap a controller (see: https://bugs.launchpad.net/juju/+bug/1702538).

This is a followup bug for #1702538; fixing #1702538 will allow us to return an error to the user instead of having the cli panic. On the cli side of things we should ensure that the cli does not allow users to create invalid credential names in the first place.

Tags: bitesize
tags: added: bitesize
Changed in juju:
status: New → Triaged
importance: Undecided → High
Changed in juju:
status: Triaged → In Progress
Changed in juju:
milestone: none → 2.5.2
Revision history for this message
Achilleas Anagnostopoulos (achilleasa) wrote :
Changed in juju:
status: In Progress → Fix Committed
Revision history for this message
John A Meinel (jameinel) wrote :
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.