Newton: oslo.messaging Bad address when CONFIG_AMQP_ENABLE_SSL=y

Bug #1675804 reported by Grelaud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Medium
Andy McCrae

Bug Description

Newton 14.1.1

Ceilometer-collector.log
ERROR oslo_messaging.notify.listener File "/usr/lib/python2.7/ssl.py", line 272, in write
ERROR oslo_messaging.notify.listener return self._sslobj.write(data)
ERROR oslo_messaging.notify.listener error: [Errno 14] Bad address

See bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1423593

version of oslo.messaging in newton: oslo.messaging-5.10.1

It seems that is solved in version 5.18 and in ocata.

I patched amqpdriver.py (/openstack/venvs/ceilometer-14.1.1/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py) and no more Bad address for me.

Ceilometer-collector is now functionnal.

Revision history for this message
Grelaud (fabrice-grelaud) wrote :
Changed in openstack-ansible:
assignee: nobody → Andy McCrae (andrew-mccrae)
Revision history for this message
Andy McCrae (andrew-mccrae) wrote :

In OSA we consume the upper-constraints and requirements from the requirements repository itself (for stable/newton in this case).

That means we'll have to wait for https://review.openstack.org/#/c/440206/ to land and for upper constraints in requirements to change to point to the new version of oslo.messaging.

Once that happens all the OSA roles will consume the newer version of oslo.messaging.

I'm surprised that ocata is working though - since the bump in requirements hasn't moved above 5.17.1 (which doesn't include that fix from what I can tell).

I'll keep this open to track the progress of those changes.

Revision history for this message
Grelaud (fabrice-grelaud) wrote :

I understand we have to wait for newton. Notice this issue only on my ceilometer-collector service. So i just patched amqpdriver.py for that service only. Don't want to break my OSA environment.
Ceilometer can work now.

For ocata, seems ok:
https://review.openstack.org/#/c/440205/1
https://github.com/openstack/oslo.messaging/blob/stable/ocata/oslo_messaging/_drivers/amqpdriver.py

Thanks.

Changed in openstack-ansible:
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Andy McCrae (andrew-mccrae) wrote :

Following up on old bugs - since this merged (ages ago) Closing this as fix released.

Changed in openstack-ansible:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.