2014-02-12 1 views
1

내가 지구에 노드를 추가하기 위해 노력하고있어 : 내가 노드로 이동변경 : 왜 노드에 노드를 추가 할 수 없습니까?

[[email protected] ~]# oo-admin-ctl-district -c add-node -n small_district -i node1.example.com 
ERROR OUTPUT: 
Node with server identity: node1.example.com is of node profile '' and needs to be 'small'  to add to district 'small_district' 

그러나,이 작은 것을 모르는 것 같다 :

[[email protected] ~]# grep -i profile /etc/mcollective/facts.yaml 
node_profile: small 

내가 달릴 브로커 oo-diagnostics하고 있어요 :

[[email protected] ~]# oo-diagnostics 
FAIL: test_node_profiles_districts_from_broker 
     No node hosts found. Please install some, 
     or ensure the existing ones respond to 'mco ping'. 
     OpenShift cannot host gears without at least one node host responding. 

FAIL: run_script 
oo-accept-systems -w 2 had errors: 
--BEGIN OUTPUT-- 
FAIL: No node hosts responded. Run 'mco ping' and troubleshoot if this is unexpected. 

1 에러

그러나 mco ping은 아무런 문제를 보여줍니다 :

[[email protected] ~]# mco ping 
node1.example.com      time=106.82 ms 


---- ping statistics ---- 
1 replies max: 106.82 min: 106.82 avg: 106.82 

나는 같은 오류 메시지가 나열 https://lists.openshift.redhat.com/openshift-archives/users/2013-November/msg00006.html을 발견했다. 그러나, 나는 이미 스레드가 suggets /etc/mcollective/facts.yaml 모든 것을 가지고

지역에 추가되는 노드를 방지 할 수있는 것을
[[email protected] ~]# grep 'node_profile' /etc/mcollective/facts.yaml 
node_profile: small 

?

답변

0

문제는 노드 구성 오류입니다. https://bugzilla.redhat.com/show_bug.cgi?id=1064977이 문제를 일으킨 문서 문제를 해결해야합니다.

해결 업데이트하는 것이 었습니다 /etc/mcollective/server.cfg :

[[email protected] ~]# git diff --color /etc/mcollective/server.cfg.old /etc/mcollective/server.cfg 
diff --git a/etc/mcollective/server.cfg.old b/etc/mcollective/server.cfg 
index c614ed9..fff36c5 100644 
--- a/etc/mcollective/server.cfg.old 
+++ b/etc/mcollective/server.cfg 
@@ -22,4 +22,5 @@ plugin.activemq.pool.1.password = marionette 

# Facts 
factsource = yaml 
-plugin.yaml = /opt/rh/ruby193/root/etc/mcollective/facts.yaml 
+plugin.yaml = /etc/mcollective/facts.yaml 
관련 문제