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

Cloud demo fails on non-(product-demos) install (new bundle install) #160

Open
taruch opened this issue Jul 24, 2024 · 0 comments
Open

Cloud demo fails on non-(product-demos) install (new bundle install) #160

taruch opened this issue Jul 24, 2024 · 0 comments

Comments

@taruch
Copy link
Contributor

taruch commented Jul 24, 2024

Issue: The setup playbook for cloud runs and fails on deploying SUBMIT FEEDBACK due to a lack of a "Default execution environment"

"msg": "Request to /api/v2/execution_environments/?name=Default+execution+environment returned 0 items, expected 1",
"invocation": {
"module_args": {
"name": "SUBMIT FEEDBACK",
"execution_environment": "Default execution environment",
"job_type": "run",
"inventory": "Demo Inventory",
"project": "Ansible official demo project",
"playbook": "feedback.yml",
"survey_enabled": true,
"survey_spec": {
"name": "",
"description": "",
"spec": [
{
"question_name": "Name/Email/Contact",
"type": "text",
"variable": "email",
"required": true
},
{
"question_name": "Issue or Feedback",
"type": "textarea",
"variable": "feedback",
"required": true
}
]
},
"state": "present",
"notification_templates_started": [
"Telemetry"
],
"notification_templates_success": [
"Telemetry"
],
"notification_templates_error": [
"Telemetry"
],

Resolution: Copying the "Automation Hub Default execution environment" and naming it "Default execution environment" resolves the issue.

This could be resolved with an addition to the readme file for product-demos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant