Red Hat Bugzilla – Bug 1265979
[networking_83]Failed to filter 'openshift-master' when using debug tool to gather information for origin and AEP
Last modified: 2015-11-23 16:16:59 EST
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):
Steps to Reproduce:
1. use ansible install origin multi-node env on ec2
2. get debug.sh script from openshift-sdn repo
3. Add permission
chmod +x debug.sh
3. run this script on master
step 3 return help message because 'LoadState=not found'
Gathers data on the master and then connects to each node via ssh
[from any other machine]
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.
since the service name has changed to 'origin-master' not 'openshift-master', so the script need to update to make this work.
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