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
When configuring Hermes Daemon to use_ssl: True, Hermes has an error saying, local variable 'username' referenced before assignment
Steps to reproduce
Set messaging-hermes.use_ssl to True
Start the Daemon
Rucio Version
Daemons: 32.4.0
Additional Information
Operating System: OKD Cluster/Kubernetes
Bug is server side (in hermes daemon)
ActiveMQ/RabbitMQ is the broker with STOMP plugin
After looking through the hermes daemon code, it looks like in the function setup_activemq, the username variable is only assigned when use_ssl is False:
d-ylee
changed the title
Hermes: username not assigned when use_ssl: True
Hermes: username not assigned when use_ssl: True causes an error
Oct 26, 2023
Description
When configuring Hermes Daemon to
use_ssl: True
, Hermes has an error saying,local variable 'username' referenced before assignment
Steps to reproduce
messaging-hermes.use_ssl
to TrueRucio Version
Daemons: 32.4.0
Additional Information
After looking through the hermes daemon code, it looks like in the function
setup_activemq
, theusername
variable is only assigned whenuse_ssl
isFalse
:rucio/lib/rucio/daemons/hermes/hermes.py
Line 190 in d1c0fae
The only instance of
username
being assigned is here:rucio/lib/rucio/daemons/hermes/hermes.py
Lines 152 to 155 in d1c0fae
This doesn't happen when
use_ssl
isTrue
The text was updated successfully, but these errors were encountered: