You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Currently, if we create a role without a password, and then we try to use this role to login, it will cause the yb-tserver process to crash. This happens regardless of the value of the `LOGIN` attribute.
The correct behavior is:
- If the role is allowed to login, then it should return an authentication error saying that the provided password is invalid
- If the role is not allowed to login, it should return an authentication error saying that the user is not allowed to login
Test Plan: New unit tests
Reviewers: oleg, bogdan
Reviewed By: bogdan
Subscribers: yql
Differential Revision: https://phabricator.dev.yugabyte.com/D8460
May 11 21:40:49 shaydb1 yb-tserver[12142]: F0512 01:40:49.321228 6278 ql_value.h:90] Check failed: pb.BOOST_PP_CAT(has_, BOOST_PP_CAT(st
ring, value))() Value:
May 11 21:40:49 shaydb1 yb-tserver[12142]: Fatal failure details written to /usr/scratch/yugabyte/data0/yb-data/tserver/logs/yb-tserver.F
ATAL.details.2020-05-12T01_40_49.pid12142.txt
May 11 21:40:49 shaydb1 yb-tserver[12142]: F20200512 01:40:49 ../../src/yb/common/ql_value.h:90] Check failed: pb.BOOST_PP_CAT(has, BOOS
T_PP_CAT(string, _value))() Value:
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff8333ef22c yb::LogFatalHandlerSink::send()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff8325da346 google::LogMessage::SendToLog()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff8325d77aa google::LogMessage::Flush()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff8325da879 google::LogMessageFatal::~LogMessageFatal()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83dc9c73d yb::QLValue::string_value()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83dc96918 yb::cqlserver::CQLProcessor::ProcessResult()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83dc98308 yb::cqlserver::CQLProcessor::StatementExecuted()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83caf5fab yb::ql::Executor::StatementExecuted()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83caf6d2b yb::ql::Executor::FlushAsync()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83cafca68 yb::ql::Executor::ProcessAsyncResults()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff834c44948 yb::rpc::(anonymous namespace)::Worker::Execute()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83347d4af yb::Thread::SuperviseThread()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff82dcb7694 start_thread
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff82d3f441d __clone
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ (nil) (unknown)
May 11 21:40:49 shaydb1 yb-tserver[12142]: *** Check failure stack trace: ***
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff8333ed611 yb::(anonymous namespace)::DumpStackTraceAndExit()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff8325d7c5d google::LogMessage::Fail()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff8325d9dcd google::LogMessage::SendToLog()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff8325d77aa google::LogMessage::Flush()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff8325da879 google::LogMessageFatal::~LogMessageFatal()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83dc9c73d yb::QLValue::string_value()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83dc96918 yb::cqlserver::CQLProcessor::ProcessResult()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83dc98308 yb::cqlserver::CQLProcessor::StatementExecuted()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83caf5fab yb::ql::Executor::StatementExecuted()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83caf6d2b yb::ql::Executor::FlushAsync()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83cafca68 yb::ql::Executor::ProcessAsyncResults()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff834c44948 yb::rpc::(anonymous namespace)::Worker::Execute()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff83347d4af yb::Thread::SuperviseThread()
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff82dcb7694 start_thread
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ 0x7ff82d3f441d __clone
May 11 21:40:49 shaydb1 yb-tserver[12142]: @ (nil) (unknown)
May 11 21:40:50 shaydb1 systemd[1]: yugabyte-tserver.service: Main process exited, code=killed, status=6/ABRT
The text was updated successfully, but these errors were encountered: