Namespace: mmul-it

Hi @dbrennand, many thanks for your answer.

I’m unable to import new versions of the role because my GitHub projects are under https://github.com/mmul-it/ and if I try to import, by a GitHub action or by hand I get a 500:

$ ansible-galaxy role import --token $GTOKEN --branch main mmul-it kpa_generator
ERROR! None (HTTP Code: 500, Message: Internal Server Error)

If I instead try to use the actual role namespace which is mmul I get:

$ ansible-galaxy role import --token $GTOKEN --branch main mmul kpa_generator
Successfully submitted import request 2152258394498257967616849651627835768
Starting import: task_id=2152258394498257967616849651627835768, pulp_id=019e8288-15ed-7704-9e46-27e3f875c178

==== PARAMETERS ====
importer username: rascasoft
matched user: rascasoft id:4599
github_user: mmul
github_repo: kpa_generator
github_reference: main
alternate_clone_url: None
alternate_namespace_name: None
alternate_role_name: None

==== CHECK FOR MATCHING ROLE(S) ====
user:mmul repo:kpa_generator did not match any existing roles

===== CLONING REPO =====
cloning https://github.com/mmul/kpa_generator ...
cloning failed: Cloning into '/tmp/tmp_hug85ut/kpa_generator'...
fatal: could not read Username for 'https://github.com': terminal prompts disabled

Because I don’t own GitHub mmul and my sources are under mmul-it.

So creating mmul_it with the underscore would not solve the problem. In the past I always used just mmul, but then I deleted the role namespace mmul-it and everything broke. The id was 4753 and I deleted it via:

$ curl -H "Authorization: token $GTOKEN" -X DELETE https://galaxy.ansible.com/api/v1/namespaces/4735/

My need is just to import sources from https://github.com/mmul-it/kpa_generator into mmul.

Is there a way to solve this? In the past, at some point, we solved it (see Unable to import roles anymore: namespace different from github organization - #19 by rascasoft), but in the end I feel like it was because of the existence of the mmul-it namespace role.

Can you help me fix this?

Many thanks!

Raoul