-
Notifications
You must be signed in to change notification settings - Fork 113
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
Revert "Add set -e to all the entrypoint scripts" #83
Conversation
Shouldn't we just revert the change to add |
We have always been ignoring errors from the iptables commands(on master nodes). Revert this while we figure out a way to eliminate them altogether. This reverts commit 7e7eb9a.
I actually think iptables commands should be removed. They aren’t needed in the cluster. These should just be documented as network requirements for this image instead. |
I’m Ok merging this as a quick fix first but would like to follow up on removal |
4d409ea
to
8123ac4
Compare
ya, i suspect we dont need them at all also but want to make sure @hardys doesn't rely on them in his patch to move ironic to the bootstrap node before removing them. |
Build FAILURE, see build http://10.8.144.11:8080/job/dev-tools/963/ |
Build FAILURE, see build http://10.8.144.11:8080/job/dev-tools/964/ |
Ironic had to work on the provisioning host at least to get this far |
Build SUCCESS, see build http://10.8.144.11:8080/job/dev-tools/967/ |
Note we do need some iptables rules for both the bootstrap VM and cluster case (I set some in the startironic.sh script but removing these may mean more rules are needed there cc @stbenjam ) Then on the cluster we need something to set rules that enable IPA access to the ironic/inspector API, tftp, http etc so that will need to happen somewhere else if we remove from the container images, cc @imain ) |
Also note we should consider re adding the set -e for the conductor start script, or explicitly check to ensure the dB sync worked, otherwise the systemd service on the bootstrap VM looks active, but can be failed in the case where mariadb isn't ready and the sync silently fails, we then start the conductor anyway |
Update inspection configuration to enable fast-track
(updated to revert)
We have always been ignoring errors from the iptables
commands(on master nodes). Revert this while we figure
out a way to eliminate them altogether.
This reverts commit 7e7eb9a.