Created attachment 916966 [details]
screenshot of "error" message.
There are a variety of problems that can result in failures when one tries to assign hosts to a deployment role in the installer. In all cases, the web ui responds by raising a popup window on the screen that says, "Unassigned hosts: <hostname1>, ..., <hostnameN>" (see screenshot in attachment).
There is no indication there was an actual error, and the only way to find out what happened is to peruse the Foreman log in /var/log/foreman/production.log.
Errors in this log are not always clearly delineated or easy to find. For example, at the moment I am seeing this error after deleting a deployment and creating a new one. In the log I see:
525400fea25a (Name has already been taken,IP address has already been taken,MAC address has already been taken)
525400380440 (Name has already been taken,IP address has already been taken,MAC address has already been taken)
525400fef618 (Name has already been taken,IP address has already been taken,MAC address has already been taken)
...but if I wasn't tailing the log at the time of this issue, those messages would be hard to find in the chatter that Foreman regularly logs. There is no "ERROR" prefix that could be used to find them.
Fundamentally, these errors should percolate to the web UI and should be displayed to the user. Anything else is going to result in an incredibly frustrating user experience.
Had an error and in addition to:
It also shows the reason:
Name has already been taken. The whole message looks as following:
Name has already been taken
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.