New molecule version wants a specific namespace/role_name format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
With molecule being bumped to 3.5.1 in order to solve #1943170, there's apparently a new format check embedded:
ERROR Computed fully qualified role name of OpenStack.
Please edit meta/main.yml and assure we can correctly determine full role name:
galaxy_info:
role_name: my_name # if absent directory name hosting role is used instead
namespace: my_galaxy_namespace # if absent, author is used instead
Namespace: https:/
Role: https:/
Example:
https:/
Apparently, we "just" need to inject "namespace: openstack" in the galaxy_info dict, for all the roles:
"""
Namespace names in Galaxy are limited to lowercase word characters (i.e., a-z, 0-9) and ‘_’, must have a minimum length of 2 characters, and cannot start with an ‘_’. No other characters are allowed, including ‘.’, ‘-‘, and space.
"""
OpenStack isn't valid with this limitation.
2 solutions:
- either change the value of "author" and change it to lowercase
- or inject "namespace: openstack"
This will affect all the repositories running molecule with a CamelCase author and now namespace.