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

Raise error if a group and host is created with the same name #4680

Closed
AlanCoding opened this issue Sep 7, 2019 · 1 comment
Closed

Raise error if a group and host is created with the same name #4680

AlanCoding opened this issue Sep 7, 2019 · 1 comment

Comments

@AlanCoding
Copy link
Member

ISSUE TYPE
  • Feature Idea
SUMMARY

Create an inventory, inside that inventory create a host with name "foo". Then create a group with name "foo".

This breaks playbooks.

We should prevent the creation of the group with name "foo" because a host by that name exists, and return a 400 error message with details in this case.

Related #3384

@kdelee
Copy link
Member

kdelee commented Jul 6, 2020

verified, tried it a few ways:

  • made group first, tried to add host to inventory or in the group itself, both denied saying a group already has the name
  • made the host first, tried to add the group and got an error saying a host already existed.

closing as verified, thanks!

@kdelee kdelee closed this as completed Jul 6, 2020
@kdelee kdelee self-assigned this Jul 6, 2020
ryanpetrello pushed a commit to ryanpetrello/awx that referenced this issue Nov 11, 2020
…lations

(More) UI translation strings for release_3.8.0 branch
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

5 participants