-
Notifications
You must be signed in to change notification settings - Fork 26
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
--host-list not working #57
Comments
You are pointing to a file on your localhost which is not mounted inside the container. |
Reopening this to display a more appropriate error message on non existing file. |
Thanks @grafuls |
another option is to just pass a list of hostnames (separated by commas for example) in the CLI using the -H option, then you don't have to worry about whether the file exists or not. I should have thought of the reason for file not found though. Maybe you could document the use of -v option when passing --host-list? |
This can be closed, I use --host-list all the time now, I've updated ocp4_upi_baremetal documentation to get rid of unnecessary scripting on top of badfish and just use this feature instead! |
Your System Details
Lenovo ThinkPad T470
[bengland@localhost upi]$ podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/quads/badfish latest 6c3ff7c5d8f3 12 days ago 142 MB
Python Version:
whatever the container image is using
Operating System:
Fedora 31
Target System Type: (e.g. Dell, SuperMicro)
IPMI / Out-of-band Firmware Version: (_e.g. iDRAC 8 2.60.60.60)
Describe the bug
--host-list parameter does not work, always gets this:
However, if I drop --host-list masters.list and substitute a -H hostname, it works.
If this is not the correct format for the list, what is? Documentation doesn't say.
Expected Behavior
It should perform the requested action for each host in the input host list, or say why it couldn't.
I can workaround by doing 1 host at a time, but would be nice to have this feature.
The text was updated successfully, but these errors were encountered: