Closed sdodson closed 8 years ago
This is currently calling setup when all of the checks inside of setup_required() return 0 I'm not sure why that's happening.
This is currently calling setup when all of the checks inside of setup_required() return 0 I'm not sure why that's happening.
setup_required returns 0 to indicate that setup is required, because that value is a process exit status, not a boolean, so it has to be this way for the code later on to make sense:
if ! setup_required; then
echo "SDN setup not required."
@danwinship and @marun
This seems to be the minimum amount of change necessary to run reliably in a container. I tried looking at #166 but it failed to compile so that led me to believe it's probably not something we'd consider including in Origin 1.1 release.
Do you think it's possible to get this in 1.1? My goal is to deliver containerized installs that can run on RHEL Atomic for Origin 1.1 / OSE 3.1.
Rebased and squashed commits. Does this seem like a workable solution until the setup is re-written in golang?
For use in an origin-node image that's built atop openshift/origin. The systemd service that starts the node container is Restart=always and is responsible for starting the node again after docker has been restarted.