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

helpernode playbook run fails when running it subsequently #502

Closed
yussufsh opened this issue Nov 27, 2023 · 0 comments · Fixed by #503
Closed

helpernode playbook run fails when running it subsequently #502

yussufsh opened this issue Nov 27, 2023 · 0 comments · Fixed by #503

Comments

@yussufsh
Copy link
Contributor

While changing the trigger for running helpernode on change of worker count the playbook fails. As we are masking the named and haproxy service manually in automation the helpernode fails to use it.

Error:

module.install.null_resource.config (remote-exec):^[[0m ^[[0mTASK [Starting services] *******************************************************
module.install.null_resource.config (remote-exec):^[[0m ^[[0m^[[0;31mfailed: [192.168.25.32] (item=named) => {"ansible_loop_var": "item", "changed": false, "item": "named", "msg": "Unable to enable service named: Failed to enable unit: Unit file /etc/systemd/system/named.service is masked.\n"}^[[0m
module.install.null_resource.config (remote-exec):^[[0m ^[[0m^[[0;31mfailed: [192.168.25.32] (item=haproxy) => {"ansible_loop_var": "item", "changed": false, "item": "haproxy", "msg": "Unable to enable service haproxy: Failed to enable unit: Unit file /etc/systemd/system/haproxy.service is masked.\n"}^[[0m

Resolution: Use helpernode dhcp.dns to set to something other than bastion IP. In this case haproxy and named won't be running on bastion.

yussufsh added a commit to yussufsh/ocp4-upi-powervs that referenced this issue Nov 27, 2023
Fixes ocp-power-automation#502

Signed-off-by: Yussuf Shaikh <yussuf.shaikh1@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant