Application name requires alphanumeric character after a hyphen

Bug #1693588 reported by Billy Olsen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Doug Parrish

Bug Description

When deploying a charm and specifying the application name, any names must have an alpha character following a hyphen. This is not specified anywhere in the documentation nor is it clear why the limitation exists.

At a minimum the application name format should be documented.

description: updated
Revision history for this message
Doug Parrish (dparrish) wrote :

If it is the intention of the application designer to disallow name-9, then how about detailing this name limitation in at least 'juju help deploy' and wherever else an "word" is used to create an application, e.g. bundle.yaml docs.

Revision history for this message
John A Meinel (jameinel) wrote :

I believe the intent is to avoid confusion with charm versions (mysql-54) and unit names (mysql/5) with application names.

I agree that it should be well documented what valid names are. Specifically the error when trying to use an 'invalid' name should tell you (or give you further information to follow up) what a valid name would be.

Changed in juju:
importance: Undecided → Medium
status: New → Triaged
tags: added: bitesize usability
Revision history for this message
Doug Parrish (dparrish) wrote :
Revision history for this message
Billy Olsen (billy-olsen) wrote :

Since the pull-request has gone merged, I believe that this should actually be fix-committed rather than Triaged. It'd be helpful to know which release it will get released in.

Changed in juju:
status: Triaged → Fix Committed
Tim Penhey (thumper)
Changed in juju:
assignee: nobody → Doug Parrish (dparrish)
milestone: none → 2.3-alpha1
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.