You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm trying to create a host and pass an owner to the host module, host creation fails with
Found no results while searching for users with login="The owners name"
Turns out the module does not want the owners name (as you would expect), but the owners login instead.
But owner != login. The naming of the module is off here.
The documentation gives no indication that the login should be used here.
So either the property should be renamed to "login", or enhanced to find the appropriate login for the owner with the given name on its own. Or at the very least it should be mentionned in the docs.
SUMMARY
When I'm trying to create a host and pass an owner to the host module, host creation fails with
Turns out the module does not want the owners name (as you would expect), but the owners login instead.
But owner != login. The naming of the module is off here.
The documentation gives no indication that the login should be used here.
So either the property should be renamed to "login", or enhanced to find the appropriate login for the owner with the given name on its own. Or at the very least it should be mentionned in the docs.
Which way to go from here?
ISSUE TYPE
ANSIBLE VERSION
COLLECTION VERSION
KATELLO/FOREMAN VERSION
This is on a dockerized foreman without katello. Version is 2.2.0-develop
STEPS TO REPRODUCE
Create a host, give
owner: Your Name
and fail.Create a host, give
owner: your.name@work
and succeed.EXPECTED RESULTS
I expected the host to be created.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: