Nodes can't connect to rabbitmq on Fuel node if you use non eth0 as admin interface

Bug #1457559 reported by Aleksandr Didenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Aleksandr Didenko
6.1.x
Fix Committed
High
Aleksandr Didenko
7.0.x
Invalid
High
Rodion Tikunov
8.0.x
Invalid
High
Rodion Tikunov

Bug Description

In nailgun::host we declare nailgun::iptables class without parameters. So admin_iface parameter of nailgun::iptables defaults to eth0 thus blocking rabbitmq ports from real Fuel admin network:

 18 9 536 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 multiport ports 4369,5672,15672,61613 /* 040 rabbitmq_admin */

How to reproduce: deploy Fuel with admin network which is not on eth0, bootstrap node, try to deploy any role on it (or run "mco ping" on Fuel node, it won't see anybody except master).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/184817

Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/184817
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=b6e2b88bc73c01c0cffb536b29b2ce5c90a854b9
Submitter: Jenkins
Branch: master

commit b6e2b88bc73c01c0cffb536b29b2ce5c90a854b9
Author: Aleksandr Didenko <email address hidden>
Date: Thu May 21 11:31:15 2015 -0500

    Fix eth0 hardcode for Nailgun iptables

    Pass actual admin interface into nailgun::iptables class.

    Change-Id: Ib2fa6ff4c9c685004fb87add89c199b192cee5c7
    Closes-bug: #1457559

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Alex Schultz (alex-schultz) wrote :

This seems to still be a problem in 7.

http://pastebin.com/BFcunxfm

User had admin interface on eth1 which is in the rules but connections were still being blocked.

tags: added: area-library
Revision history for this message
Rodion Tikunov (rtikunov) wrote :

Can not reproduce in 8.0

Revision history for this message
Rodion Tikunov (rtikunov) wrote :

Can not reproduce in 7.0 too.

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.