HAProxy marks swift backends as down because xinetd didn't start swiftcheck service

Bug #1462142 reported by Artem Panchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Artem Panchenko
6.0.x
Invalid
Undecided
Unassigned

Bug Description

After successful deployment BVT failed while checking HAProxy back-ends:

AssertionError: HAProxy back-ends are DOWN. {'exit_code': 0, 'stderr': [], 'stdout': ['swift node-4 Status: DOWN/L4CON Sessions: 0 Rate: 0 \n', 'swift node-5 Status: DOWN/L4CON Sessions: 0 Rate: 0 \n']}

Swift back-end was marked as DOWN on non-primary controllers, because 'swiftcheck' service didn't run on it. According to puppet logs 'xinetd' service was reloaded before 'swiftcheck 49001/tcp' line was added to /etc/services file (node-4):

http://paste.openstack.org/show/264129/

<27>Jun 4 19:29:00 node-4 xinetd[10557]: service/protocol combination not in /etc/services: swiftcheck/tcp

Steps to reproduce:

            1. Create cluster: CentOS, NovaVlan
            2. Add 3 nodes with controller roles
            3. Add 2 nodes with compute roles
            4. Set up cluster to use Network VLAN manager with 8 networks
            5. Deploy the cluster
            6. Check HAProxy back ends

Expected result:

- all back-ends are UP

Actual result:

- back-ends for Swift are DOWN on some controllers

Fuel version info (6.1 build #507): http://paste.openstack.org/show/264127/

Diagnostic snapshot is attached.

Tags: puppet staging
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :
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/188621

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Artem Panchenko (apanchenko-8)
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/188621
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=907e1b99b31c7c88955ec5edc50efba5d9e5342c
Submitter: Jenkins
Branch: master

commit 907e1b99b31c7c88955ec5edc50efba5d9e5342c
Author: Artem Panchenko <email address hidden>
Date: Fri Jun 5 01:55:38 2015 +0300

    Reserve 49001/tcp port before starting swiftcheck

    Require adding of '49001/tcp' port as reserved for swiftcheck
    service to '/etc/services' before configuring it under xinetd.

    Change-Id: Ia01959d205d186ce2e21afec9673df0fd6d94736
    Closes-bug: #1462142

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

Related fix proposed to branch: master
Review: https://review.openstack.org/188704

Changed in fuel:
importance: High → Critical
tags: added: staging
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (master)

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

commit 506e2840dabcb96b564e8a8f3d32a36bd31c6264
Author: Vladimir Kuklin <email address hidden>
Date: Fri Jun 5 11:41:34 2015 +0300

    Fix service order for galera check xinetd

    Otherwise galeracheck will not work if /etc/services
    is not edited before xinetd service is declared

    Change-Id: Ia336f722e8e9f8aa6e6d25cc7e5bed9081d02c39
    Related-bug: #1462142

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

verified 521 iso

Changed in fuel:
status: Fix Committed → 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.