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

Unexpected 'inventory deleted' error on template survey launch #8910

Closed
natman opened this issue Dec 15, 2020 · 8 comments
Closed

Unexpected 'inventory deleted' error on template survey launch #8910

natman opened this issue Dec 15, 2020 · 8 comments

Comments

@natman
Copy link

natman commented Dec 15, 2020

ISSUE TYPE
  • Bug Report
SUMMARY

Impossible to launch a template because of deleted inventory.

ENVIRONMENT
  • AWX version: 16.0.0
  • AWX install method: docker on linux
  • Ansible version: 2.9.15
  • Operating System: centos 7
  • Web Browser: firefox
STEPS TO REPRODUCE
launch the survey of a template and fill the vars, atvthe final step of the survey, awx complains that the inventory is deleted. We cannot go further and it is Impossible to launch the template
EXPECTED RESULTS

The wanted inventory to be available and the template to launch.

ACTUAL RESULTS

Inventory deleted whatever is the inventory.

ADDITIONAL INFORMATION

I tried several inventories and several templates.
I previously upgraded from a full functional 15.0.1 awx.

@jakemcdermott jakemcdermott changed the title inventory deleted Unexpected 'inventory deleted' error on template survey launch Dec 15, 2020
@mabashian
Copy link
Member

@natman Can you provide us with a little more information about how the job template was configured so that we can reproduce? I'm mostly interested in what fields are being prompted at launch. Is inventory prompted at launch and/or is there a default inventory set on the job template?

If possible, can you post a screenshot or gif of the error you're seeing?

@natman
Copy link
Author

natman commented Dec 16, 2020

image
Sélection_012
Sélection_019
Sélection_014
Sélection_015
Sélection_016
Sélection_018

@natman
Copy link
Author

natman commented Dec 16, 2020

no prompted inventory set, therefore, I tried with a prompted inventory, with or without it the result is the same.

@jakemcdermott
Copy link
Contributor

possibly related: #8933

@Chaos-Work
Copy link

I am experiencing the same issue on 16.0.0; however, I noticed that the "Some of the previous step(s) have errors" error only happens when the previous steps have default values. If I manually select something different then re-select the default values, that error goes away and the play runs just fine.

The inventory deleted message never goes away, though.

@mabashian
Copy link
Member

@natman @Chaos-Work I'm having trouble reproducing this on the latest devel. I suspect @jakemcdermott is right that #8933 might be related. A fix for that went in here: #9028 which would mean a fix went in in AWX 17.0.0 (I think). Are you all still seeing this bug on versions greater than 17.0.0?

@mabashian
Copy link
Member

@tiagodread @one-t @akus062381 I suspect this bug was fixed when we fixed #9028

@akus062381
Copy link
Member

I also tested this, cannot reproduce. We already have coverage.

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

No branches or pull requests

8 participants