Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PE console fails to run task from environment starting with a digit or contain an uppercase letter #58

Open
bastelfreak opened this issue Sep 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@bastelfreak
Copy link

bastelfreak commented Sep 26, 2024

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:

2024-09-26_20-41
2024-09-26_20-50

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

@bastelfreak bastelfreak added the bug Something isn't working label Sep 26, 2024
@bastelfreak bastelfreak changed the title PE console fails to run task from environment starting with a digit PE console fails to run task from environment starting with a digit or uppercase letter Oct 2, 2024
@bastelfreak
Copy link
Author

bastelfreak commented Oct 2, 2024

it also fails when the branch contains an uppercase letter

2024-10-02_16-37
2024-10-02_16-23
2024-10-02_16-41

@bastelfreak bastelfreak changed the title PE console fails to run task from environment starting with a digit or uppercase letter PE console fails to run task from environment starting with a digit or contain an uppercase letter Oct 2, 2024
@bastelfreak
Copy link
Author

support ticket #01247425

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant