SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 64591: Microservices fail to connect to RabbitMQ and generate "Error on AMQP... PLAIN login refused...invalid credentials" after you install Hot Fix F7N001

DetailsHotfixAboutRate It

After you install Hot Fix F7N001, you might experience the following issues:

  • You lose the ability to add additional nodes to the RabbitMQ cluster.
  • You cannot convert a non-clustered RabbitMQ into a clustered RabbitMQ.
  • Some microservices might fail to start and show the following error message in their logs:
    2019-08-06 11:20:00.000 [error] <0.8681.0> Error on AMQP connection <0.8681.0> (10.0.0.1:33704 -> 10.0.0.1:5671, state: starting):
    PLAIN login refused: user 'sasclient' - invalid credentials

To regain the RabbitMQ abilities, you must perform the following steps:

  1. Stop RabbitMQ on all nodes, taking note of the order in which they are stopped.
  2. Move the RabbitMQ database on all nodes:
    SHORTNAME=$(hostname -s)
    LONGNAME=$(hostname -f)
    cd /opt/sas/viya/config/var/lib/rabbitmq-server/mnesia
    mv "rabbit@$LONGNAME" "rabbit@$SHORTNAME"
  1. Restart RabbitMQ on all nodes, starting the nodes in reverse order.

If you continue to see the AMQP connection error, reset the password using the sas-rabbitmq-acc-admin change_passwd utility as described in Change the Administrative User Password for SAS Message Broker section of SAS® Viya® 3.4 for Linux: Deployment Guide.

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS ViyaLinux for x643.43.4Viya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.