[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Cannot Add Nodes to District



On 30/07/14 11:37 -0400, Kevin Conaway wrote:
  I'm wrapping up Broker+Node install following the comprehensive
  deployment guide. Â I'm following the Post Install section right now
  and am trying to add my node host to a district I created
  Running
  oo-admin-ctl-district -c add-node -n ps-test -a

What is the output of oo-mco ping?  Do you see the node respond?

If the node is responding, verify that
/etc/openshift/resource_limits.conf on the node has node_profile set to
small (otherwise the district you are creating and adding the node to
needs to match this node profile).  You will need to restart
ruby193-mcollective on the node if updating this file (and wait for the
minutely cron job to run before the facts are updated).

If the node is not responding, then you need to verify the
mcollective configs on the node
(/opt/rh/ruby193/root/etc/mcollective/server.cfg), the broker
(/opt/rh/ruby193/root/etc/mcollective/client.cfg) use the same login
credentials as configured in activemq (/etc/activemq/activemq.xml) match
and that both the broker and node can talk to the activemq host.

--
Jason DeTiberus

  Returns
  {"_id"=>"53d90698ae257ddfb1000001",
  Â "uuid"=>"53d90698ae257ddfb1000001",
  Â "available_uids"=>"<6000 uids hidden>",
  Â "name"=>"ps-test",
  Â "platform"=>"linux",
  Â "gear_size"=>"small",
  Â "available_capacity"=>6000,
  Â "max_uid"=>6999,
  Â "max_capacity"=>6000,
  Â "active_servers_size"=>0,
  Â "updated_at"=>2014-07-30 14:52:08 UTC,
  Â "created_at"=>2014-07-30 14:52:08 UTC}
  ERROR OUTPUT:
  No available nodes for profile 'small'
  I see the following on the node host mcollective log:
  D, [2014-07-30T08:32:34.668572 #4322] DEBUG -- : runnerstats.rb:49:in
  `received' Incrementing total stat
  D, [2014-07-30T08:32:34.668724 #4322] DEBUG -- : pluginmanager.rb:83:in
  `[]' Returning cached plugin security_plugin with class
  MCollective::Security::Psk
  D, [2014-07-30T08:32:34.668877 #4322] DEBUG -- : runnerstats.rb:38:in
  `validated' Incrementing validated stat
  D, [2014-07-30T08:32:34.668977 #4322] DEBUG -- : pluginmanager.rb:83:in
  `[]' Returning cached plugin security_plugin with class
  MCollective::Security::Psk
  D, [2014-07-30T08:32:34.669118 #4322] DEBUG -- : pluginmanager.rb:83:in
  `[]' Returning cached plugin security_plugin with class
  MCollective::Security::Psk
  D, [2014-07-30T08:32:34.669245 #4322] DEBUG -- : base.rb:117:in `block
  (2 levels) in validate_filter?' Passing based on agent openshift
  D, [2014-07-30T08:32:34.669372 #4322] DEBUG -- : base.rb:153:in
  `validate_filter?' Message passed the filter checks
  D, [2014-07-30T08:32:34.669466 #4322] DEBUG -- : runnerstats.rb:26:in
  `passed' Incrementing passed stat
  D, [2014-07-30T08:32:34.669550 #4322] DEBUG -- : runner.rb:94:in
  `agentmsg' Handling message for agent 'discovery' on collective
  'mcollective'
  D, [2014-07-30T08:32:34.669632 #4322] DEBUG -- : agents.rb:119:in
  `dispatch' Dispatching a message to agent discovery
  D, [2014-07-30T08:32:34.669759 #4322] DEBUG -- : activemq.rb:329:in
  `receive' Waiting for a message from ActiveMQ
  D, [2014-07-30T08:32:34.669864 #4322] DEBUG -- : pluginmanager.rb:83:in
  `[]' Returning cached plugin discovery_agent with class
  MCollective::Agent::Discovery
  D, [2014-07-30T08:32:34.670109 #4322] DEBUG -- : pluginmanager.rb:83:in
  `[]' Returning cached plugin security_plugin with class
  MCollective::Security::Psk
  D, [2014-07-30T08:32:34.670216 #4322] DEBUG -- : pluginmanager.rb:83:in
  `[]' Returning cached plugin security_plugin with class
  MCollective::Security::Psk
  D, [2014-07-30T08:32:34.670390 #4322] DEBUG -- : base.rb:168:in
  `create_reply' Encoded a message for request
  68f5055f83cf51b5a632538121309737
  D, [2014-07-30T08:32:34.670511 #4322] DEBUG -- : pluginmanager.rb:83:in
  `[]' Returning cached plugin connector_plugin with class
  MCollective::Connector::Activemq
  D, [2014-07-30T08:32:34.670625 #4322] DEBUG -- : activemq.rb:362:in
  `publish' Sending a broadcast message to ActiveMQ target
  '/queue/mcollective.reply.ps-openshift-broker.eng.jiveland.com_30659'
  with headers '{"timestamp"=>"1406734354000",
  "expires"=>"1406734424000"}'
  D, [2014-07-30T08:32:34.670914 #4322] DEBUG -- : runnerstats.rb:56:in
  `block in sent' Incrementing replies stat
  If I try to add the node manually via the hostname (or IP), I get the
  following error
  /usr/sbin/oo-admin-ctl-district:215:in `block in <main>': undefined
  method `casecmp' for nil:NilClass (NoMethodError)
  from /usr/sbin/oo-admin-ctl-district:178:in `block in collate_errors'
  from /usr/sbin/oo-admin-ctl-district:176:in `each'
  from /usr/sbin/oo-admin-ctl-district:176:in `collate_errors'
  from /usr/sbin/oo-admin-ctl-district:213:in `<main>'

_______________________________________________
dev mailing list
dev lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]