IBM / CAST

CAST can enhance the system management of cluster-wide resources. It consists of the open source tools: cluster system management (CSM) and burst buffer.
Eclipse Public License 1.0
27 stars 34 forks source link

For bbcmd OPEN_SERVER message to bbproxy, fix bbproxy connecting via SSL to named #1006

Closed meahoibm closed 3 years ago

meahoibm commented 3 years ago

Tested under bbrobot fvt and now works. Improved ansible processing for updating burst buffer RPMs. Track AUTHENTICATE message in logs. LOG SSL_errror if it occurs on SSL_accept, SSL_connect, etc.

When processing OPEN_SERVER from bbcmd, bbproxy sleeps one second after SSL_connect to give SSL (re)negotiation to complete before sending AUTHENTICATE message to bbserver. The SSL protocol and the application use the same socket for read/write. The sleep(1) gives the open SSL protocol engine time to complete any hand shake between bbproxy and bbserver.

Fix rare exception for a null pointer in connect.cc when a connection object is not returned because connect failed.