haproxy reload fails due to missing namespace

Bug #1306005 reported by Vladimir Kuklin on 2014-04-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
High
Vladimir Kuklin
4.1.x
High
Vladimir Kuklin
5.0.x
High
Vladimir Kuklin

Bug Description

In some HA deployments we can see this error message:

(/Stage[main]/Openstack::Ha::Mysqld/Openstack::Ha::Haproxy_service[mysqld]/Exec[haproxy reload for mysqld]/returns) change from notrun to 0 failed: export OCF_ROOT="/usr/lib/ocf"; ip netns exec haproxy /usr/lib/ocf/resource.d/mirantis/ns_haproxy reload returned 255 instead of one of [0,]

this happens due to pacemaker puppet provider returning immediately instead of waiting for haproxy to start on the particular node.

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

Changed in fuel:
status: Triaged → In Progress

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

commit 0b81ad101d8652d54b059e47379260713c19012d
Author: Vladimir Kuklin <email address hidden>
Date: Thu Apr 10 19:32:27 2014 +0400

    Add haproxy reload workaround

    Increase sleep time and retries amount
    Also grep for netns

    Change-Id: I247623f5e41c635bfa9b82869157fb56d625c19c
    Closes-bug:#1306005

Changed in fuel:
status: In Progress → Fix Committed
Anastasia Palkina (apalkina) wrote :

Verified on ISO #101
"build_id": "2014-04-14_01-00-26",
"mirantis": "yes",
"build_number": "101",
"nailgun_sha": "61410bcf3201cd737e68ece8ab15313acc746476",
"production": "dev",
"ostf_sha": "118c955085ea7829f3a34decd38d63554b74451c",
"fuelmain_sha": "ddc94c52c267f0276cbd8485d6e704aea05b23a5",
"astute_sha": "401bc474b1d8cebb8ba70b3b6154107e08fd725d",
"release": "5.0",
"fuellib_sha": "101f3645ead182bc47024ff7568b04554de06bba"

Changed in fuel:
status: Fix Committed → Fix Released
Andrew Woodward (xarses) on 2014-04-16
tags: added: backports-4.1.1
Changed in fuel:
status: Fix Released → In Progress
status: In Progress → Confirmed
Changed in fuel:
milestone: 5.0 → 4.1.1

Reviewed: https://review.openstack.org/96842
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=41344cd92715a3086b3fe30373920e8b8d6e786a
Submitter: Jenkins
Branch: stable/4.1

commit 41344cd92715a3086b3fe30373920e8b8d6e786a
Author: Vladimir Kuklin <email address hidden>
Date: Thu Apr 10 19:32:27 2014 +0400

    Add haproxy reload workaround

    Increase sleep time and retries amount
    Also grep for netns

    Change-Id: I247623f5e41c635bfa9b82869157fb56d625c19c
    Closes-bug:#1306005

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers