-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the Bug
Hi, I've two environments deployed, 1_0_0 and peadm. After going to #/orchestration/tasks/create
=> selecting the environment and then the task, I get an error:
This is reproducible for all tasks in this environment. It works if I select the peadm environment. I don't know if this is actually related to the environment starting with a digit, but it's reproducible. It's fine to run the task via the CLI:
root@pe ~ # puppet task --environment 1_0_0 run service action=status name=pe-puppetserver --nodes $(hostname -f)
Starting job ...
Note: The task will run only on permitted nodes.
New job ID: 2
Nodes: 1
Started on pe ...
Finished on node pe
status : running
enabled : true
Job completed. 1/1 nodes succeeded.
Duration: 1 sec
root@pe ~ #
It's only a problem in the PE console.
Expected Behavior
Environments starting with a digit should be supported by the PE console.
Steps to Reproduce
- Install PE 2021.7.9 or 2023.8.0
- deploy environment starting with a digit
- try to run a task via the PE console
Environment
- PE 2021.7.9 / 2023.8.0
- EL8
Additional Context
- according to the docs, environments are allowed to start with a digit: https://www.puppet.com/docs/puppet/7/environments_creating#env_structure & https://www.puppet.com/docs/puppet/7/lang_reserved.html#environment-names
- It doesn't matter if a production environment is present or not
- I would have analyzed the code, but the git repo is private and not accessible for partners
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working