check_rabbitmq.py ValueError: can't have unbuffered text I/O
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack RabbitMQ Server Charm |
Fix Released
|
High
|
Unassigned |
Bug Description
On upgrade to cs:rabbitmq-
Once that was fixed, then I got:
/usr/local/
Traceback (most recent call last):
File "/usr/local/
options.ssl_ca)
File "/usr/local/
sys.stdout = os.fdopen(
File "/usr/lib/
return io.open(fd, *args, **kwargs)
ValueError: can't have unbuffered text I/O
Changed in charm-rabbitmq-server: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in charm-rabbitmq-server: | |
milestone: | none → 18.11 |
Changed in charm-rabbitmq-server: | |
assignee: | Alex Kavanagh (ajkavanagh) → nobody |
Changed in charm-rabbitmq-server: | |
status: | Fix Committed → Fix Released |
the lack of python3-amqp is because in the config-changed hook:
if rabbit. archive_ upgrade_ available( ):
rabbit. cluster_ wait()
rabbit. install_ or_upgrade_ packages( )
# Avoid packge upgrade collissions
# Stopping and attempting to start rabbitmqs at the same time leads to
# failed restarts
This unfortunately means if we change the var PACKAGES in rabbit_utils.py in a charm upgrade, nothing triggers the installs.