Description of problem: Use ansible to install origin multi-node env on ec2. The master service name has changed to 'origin-master'. so the debug.sh -->"systemctl show -p LoadState openshift-master" should also updated. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. use ansible install origin multi-node env on ec2 2. get debug.sh script from openshift-sdn repo wget https://raw.githubusercontent.com/openshift/openshift-sdn/master/hack/debug.sh 3. Add permission chmod +x debug.sh 3. run this script on master Actual results: step 3 return help message because 'LoadState=not found' # ./debug.sh Usage: [from master] ./debug.sh Gathers data on the master and then connects to each node via ssh [from any other machine] ./debug.sh MASTER-NAME Connects to MASTER-NAME via ssh and then connects to each node via ssh The machine you run from must be able to ssh to each other machine via ssh with no password. Expected results: since the service name has changed to 'origin-master' not 'openshift-master', so the script need to update to make this work. Additional info: When using ansible to setup env, the master service name is different, likes: origin --> origin-master ose --> openshift-master AEP --> atomic-openshift-master So better to update the script to match the correct name.
hm... I guess we just have to try all three names? Presumably this applies to the node service name as well. Is there anything else that changes?
yes, node service name also has changed to origin-node --> origin atomic-openshift-node --> AEP I did not find others changes for now.
Not yet merged, but try https://raw.githubusercontent.com/danwinship/openshift-sdn/f6926b19efceb0381f7165052c254544a6afe015/hack/debug.sh ?
fixed in git
Verified this bug with https://raw.githubusercontent.com/openshift/openshift-sdn/9677ed1046ac2f3aa224c393b385f70886796f27/hack/debug.sh