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

Re: Cannot Add Nodes to District



oo-admin-ctl-district -c create -n ps-test -p small
Successfully created district: 53d90698ae257ddfb1000001

{"_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}


On Wed, Jul 30, 2014 at 11:42 AM, N. Harrison Ripps <hripps redhat com> wrote:

> On Jul 30, 2014, at 11:37, Kevin Conaway <kevin conaway gmail com> 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
>
> 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'

Huh. What command did you use to create the 'ps-test' district?

>
> 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>'

Interesting; that may be a straight up bug.

>
>
> _______________________________________________
> 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]