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
More Helpful Error Message on api/v2/inventories Endpoint #5744
Comments
ryanpetrello
added a commit
to kldavis52/awx
that referenced
this issue
Aug 25, 2020
ryanpetrello
added a commit
to kldavis52/awx
that referenced
this issue
Aug 25, 2020
see: ansible#5744 Co-Authored-By: kldavis52 <kyle.linnard.davis@gmail.com>
ryanpetrello
added a commit
to kldavis52/awx
that referenced
this issue
Aug 25, 2020
see: ansible#5744 Co-Authored-By: kldavis52 <kyle.linnard.davis@gmail.com>
chrismeyersfsu
pushed a commit
to chrismeyersfsu/awx
that referenced
this issue
Aug 27, 2020
see: ansible#5744 Co-Authored-By: kldavis52 <kyle.linnard.davis@gmail.com>
mabashian
pushed a commit
to mabashian/awx
that referenced
this issue
Aug 31, 2020
see: ansible#5744 Co-Authored-By: kldavis52 <kyle.linnard.davis@gmail.com>
elyezer
pushed a commit
to ryanpetrello/awx
that referenced
this issue
Sep 1, 2020
see: ansible#5744 Co-Authored-By: kldavis52 <kyle.linnard.davis@gmail.com>
Verified on 3.8.0- this now returns the clean error message |
AlanCoding
pushed a commit
to AlanCoding/awx
that referenced
this issue
Sep 10, 2020
see: ansible#5744 Co-Authored-By: kldavis52 <kyle.linnard.davis@gmail.com>
AlanCoding
pushed a commit
to AlanCoding/awx
that referenced
this issue
Apr 26, 2022
…associateHybridInstance [Backport] Prevent disassociate hybrid instance
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ISSUE TYPE
SUMMARY
When trying to change a regular inventory into a "smart" inventory, the
PUT
andPATCH
both error out (as they should), but the error message is not very informative. Please see screenshots below for both PUT and PATCH errors:It would be nice if the error was something more along the lines of
'You cannot turn a regular inventory into a "smart" inventory.'
ENVIRONMENT
STEPS TO REPRODUCE
Navigate to a pre-existing regular inventory endpoint via
api/v2/inventories/[id]
, then try toPUT
orPATCH
to try to make it into a "smart" inventory:EXPECTED RESULTS
An error message that tells the user that a regular inventory can't be turned into a smart inventory.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: