The problem is because `nodehm.cons` were NULL… I have no idea why does it work 
for MN but not for SN.

Problem solved, Thanks!

On 24 March 2017 at 08:14:05, banuchka (tyrche...@gmail.com) wrote:

It is empty on SN

xcat-sn1.x...@systmain1.xlan:/$ nodelist backup1 console.method
backup1: console.method:

and correct on MN

xcat-mn1.x...@systmain1.xlan:/$ nodelist backup1 console.method
backup1: console.method: ipmi

I’ve changed it via API and now all works… on SN great! So the trouble 
somewhere in between `makeconfluentcfg` and xCAT :)

On 23 March 2017 at 22:38:09, Jarrod Johnson (jjohns...@lenovo.com) wrote:

nodelist <noderange> console.method

 

On the MN v. SN

 

From: banuchka [mailto:tyrche...@gmail.com]  
Sent: Thursday, March 23, 2017 5:50 PM
To: xCAT Users Mailing list; Jarrod Johnson
Subject: RE: [xcat-user] Confluent(1.4.0 and current master) is on the Service 
Node

 

Im not sure but in the peace of code inside confluent/consoleserver.py in 'def 
_connect_backend(self):’ on MN section 

 

        try:

            self._console = plugin.handle_path(

                self._plugin_path.format(self.node),

                "create", self.cfgmgr)

        except exc.NotImplementedException:

            self._console = None

        except:

            _tracelog.log(traceback.format_exc(), ltype=log.DataTypes.event,

                          event=log.Events.stacktrace)

 

is ok, but on SN

 

        try:

            self._console = plugin.handle_path(

                self._plugin_path.format(self.node),

                "create", self.cfgmgr)

        except exc.NotImplementedException:

                print("Except Here”)                                       
<================

                        self._console = None

        except:

            _tracelog.log(traceback.format_exc(), ltype=log.DataTypes.event,

                          event=log.Events.stacktrace)

 

On 23 March 2017 at 21:13:22, banuchka (tyrche...@gmail.com) wrote:

Sure, i did that steps with certificates, users before write a question.

 

But if i try to use 'confetty node' locally confluent dosnt asks me about 
user/password and i can use console_(on MN). It writes console log 
files(console output) in /var/log/confluent/consoles/node aswell(only MN).

So looks like confluent on SN doesnt try to activate sol at all...

-- 
banuchka

On 23 March 2017 at 21:03:30, Jarrod Johnson (jjohns...@lenovo.com) wrote:

Ok, I produced the behavior, there’s something that needs to be done…

[root@odin confluent]# cp /etc/xcat/cert/server-cred.pem 
/etc/confluent/privkey.pem

[root@odin confluent]# cp /etc/xcat/cert/server-cred.pem 
/etc/confluent/srvcert.pem

 

On the SN and MN, do those copies.

 

The problem is that confluent by default doesn’t have a TLS key set up.  The 
above copy ‘borrows’ xCAT’s server key.

 

Then it’ll prompt you, now the issue is you’ll have to make confluent users, 
which are required for remote usage.

 

For example:

Confetty create /users/myname password=SomeThing

 

On both MN and SN (sorry that isn’t done automatically).

 

Then in your .bashrc, you’ll *probably* want to set the following:

Export CONFLUENT_USER=myname

CONFLUENT_PASSPHRASE=SomeThing

 

Otherwise it’ll prompt every time.

 

From: Anton Turetsky [mailto:tyrche...@gmail.com]  
Sent: Thursday, March 23, 2017 4:46 PM
To: xCAT Users Mailing list; Jarrod Johnson
Subject: RE: [xcat-user] Confluent(1.4.0 and current master) is on the Service 
Node

 

In case if set xcat-sn1 node as conserver by default for all nodes itll 
populate SN with all nodes. Ok. But all of them dont work...

In that case confluent service may be:

- stopped

- not installed

On Mn, but no differences at all.

 

Just in case if ill install/start confluent on MN and give it a chance to 
makeconfig - all consoles works well.

 

-- 
Anton Turetsky

On 23 March 2017 at 20:38:52, Jarrod Johnson (jjohns...@lenovo.com) wrote:

Interesting that backup1 ended up in both places, should only be in one…

 

I’ll double check the confluent.pm to see if there’s something blatantly odd 
about the farming out of confluentcfg..

 

From: banuchka [mailto:tyrche...@gmail.com]  
Sent: Thursday, March 23, 2017 4:26 PM
To: xCAT Users Mailing list; Jarrod Johnson
Subject: Re: [xcat-user] Confluent(1.4.0 and current master) is on the Service 
Node

 

MN

xcat-mn1.x...@systmain1.xlan:~$ nodelist

backup1

pbackup1

pbackup2

pbackup3

systmain1

 

SN

xcat-sn1.x...@systmain1.xlan:~$ nodelist

backup1

 

On 23 March 2017 at 19:56:24, Jarrod Johnson (jjohns...@lenovo.com) wrote:

Hello, can you do ‘nodelist’ on the MN and the SN?

 

From: Anton Turetsky [mailto:tyrche...@gmail.com]  
Sent: Thursday, March 23, 2017 3:46 PM
To: xcat-user@lists.sourceforge.net
Subject: [xcat-user] Confluent(1.4.0 and current master) is on the Service Node

 

Hi,

 

Maybe someone could help me to answer a question: is it ok that confluent 
server doesnt work as a conserver for node/noderange on service node?

 

Service node is correct im using it as a consoleserver long time, all 
communications between mn and sn are correct.

But...

When i try to use it with confluent, for example for one node: confetty 
testnode1 i can see nothing.

Makeconfluentcfg is ok, it did the config on both MN & SN, but confetty works 
perfect only on MN.

Testnode1 is a valid server for SN's confluent config.

From my point of view SN didnt try to connect to servers SOL at all, maybe I 
wrong.

 

Thank you.

-- 
Anton Turetsky

------------------------------------------------------------------------------  
Check out the vibrant tech community on one of the world's most  
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot_______________________________________________  
xCAT-user mailing list  
xCAT-user@lists.sourceforge.net  
https://lists.sourceforge.net/lists/listinfo/xcat-user

-- 
banuchka

-- 
banuchka

-- 
banuchka
-- 
banuchka
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to