Deployment of cluster with Zabbix failed with Duplicate declaration: Sysctl::Value[net.ipv4.ip_local_reserved_ports] is already declared in file /etc/puppet/modules/zabbix/manifests/monitoring/rabbitmq_mon.pp:38

Bug #1393407 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Oleksiy Molchanov
5.1.x
Fix Committed
High
Oleksiy Molchanov
6.0.x
Fix Released
High
Oleksiy Molchanov

Bug Description

{

    "build_id": "2014-11-15_22-00-23",
    "ostf_sha": "82465a94eed4eff1fc8d8e1f2fb7e9993c22f068",
    "build_number": "109",
    "auth_required": true,
    "api": "1.0",
    "nailgun_sha": "7d44bf3a8ad50b2408fc3bf907f0e32276f7f907",
    "production": "docker",
    "fuelmain_sha": "137d944d4a658e0358349db0daa2b9bc21ae8218",
    "astute_sha": "8e05026cf17aeb92e2fb028b3b95ba34803508ed",
    "feature_groups": [
        "experimental",
        "mirantis"
    ],
    "release": "6.0",
    "release_versions": {
        "2014.2-6.0": {
            "VERSION": {
                "build_id": "2014-11-15_22-00-23",
                "ostf_sha": "82465a94eed4eff1fc8d8e1f2fb7e9993c22f068",
                "build_number": "109",
                "api": "1.0",
                "nailgun_sha": "7d44bf3a8ad50b2408fc3bf907f0e32276f7f907",
                "production": "docker",
                "fuelmain_sha": "137d944d4a658e0358349db0daa2b9bc21ae8218",
                "astute_sha": "8e05026cf17aeb92e2fb028b3b95ba34803508ed",
                "feature_groups": [
                    "mirantis"
                ],
                "release": "6.0",
                "fuellib_sha": "4c080377d5d1f4397a257e26c836055889fa3138"
            }
        }
    },
    "fuellib_sha": "4c080377d5d1f4397a257e26c836055889fa3138"

}

Steps:
1. Create next cluster - CentOS, Simple, Flat nova-network, Zabbix, 1 controller, 1 compute, 1 zabbix-server node
2. Deploy cluster

Expected - deployment was successful
Actual - deployment failed with errors on controller (node-2):
2014-11-17 11:12:48 ERR

Duplicate declaration: Sysctl::Value[net.ipv4.ip_local_reserved_ports] is already declared in file /etc/puppet/modules/zabbix/manifests/monitoring/rabbitmq_mon.pp:38; cannot redeclare at /etc/puppet/modules/openstack/manifests/reserved_ports.pp:20 on node node-2.test.domain.local

Logs are attached

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Oleksiy Molchanov (omolchanov)
Changed in fuel:
status: New → Confirmed
tags: added: low-hanging-fruit
Changed in fuel:
assignee: Oleksiy Molchanov (omolchanov) → Bartlomiej Piotrowski (bpiotrowski)
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/134939

Changed in fuel:
assignee: Bartlomiej Piotrowski (bpiotrowski) → Oleksiy Molchanov (omolchanov)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/5.1)

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/134941

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/134947

Changed in fuel:
assignee: Oleksiy Molchanov (omolchanov) → Bartlomiej Piotrowski (bpiotrowski)
Changed in fuel:
assignee: Bartlomiej Piotrowski (bpiotrowski) → Oleksiy Molchanov (omolchanov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Oleksiy Molchanov (<email address hidden>) on branch: master
Review: https://review.openstack.org/134979
Reason: Accidentally pushed to review

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

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

commit 76b2d666f6272dfbfdabcc252d55d98be8a1f900
Author: Oleksiy Molchanov <email address hidden>
Date: Mon Nov 17 15:43:15 2014 +0200

    Remove 55672 from reserved ports

    Remove rabbitmq 55672 from reserved ports
    as it is not being used in rabbitmq v3.0+

    Change-Id: Ie18b6a838358192f6cd0ed9c07d5de66002da684
    Closes-Bug: 1393407

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Can we get this backported to 5.1.1 please?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/5.1)

Reviewed: https://review.openstack.org/134941
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=e9df595f3e6705c7750edd3cdc8c212ff72d6e25
Submitter: Jenkins
Branch: stable/5.1

commit e9df595f3e6705c7750edd3cdc8c212ff72d6e25
Author: Oleksiy Molchanov <email address hidden>
Date: Mon Nov 17 15:43:15 2014 +0200

    Remove 55672 from reserved ports

    Remove rabbitmq 55672 from reserved ports
    as it is not being used in rabbitmq v3.0+
    and change 55672 to 15672 in zabbix files

    Change-Id: Ie18b6a838358192f6cd0ed9c07d5de66002da684
    Closes-Bug: 1393407
    (cherry picked from commit 76b2d666f6272dfbfdabcc252d55d98be8a1f900)

Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #122 for 6.0

"build_id": "2014-11-20_22-01-01", "ostf_sha": "8be702d5cafcb78ac1d93e5fc27d9272cce4773e", "build_number": "122", "auth_required": true, "api": "1.0", "nailgun_sha": "e4c59607c852f1b3761ef06c9c348994c98a7269", "production": "docker", "fuelmain_sha": "3a6833b3e5223c8eacadb1a0a22600813419e9a9", "astute_sha": "46d23177f9c0e53fb7a4729f394d9841b1bae338", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-11-20_22-01-01", "ostf_sha": "8be702d5cafcb78ac1d93e5fc27d9272cce4773e", "build_number": "122", "api": "1.0", "nailgun_sha": "e4c59607c852f1b3761ef06c9c348994c98a7269", "production": "docker", "fuelmain_sha": "3a6833b3e5223c8eacadb1a0a22600813419e9a9", "astute_sha": "46d23177f9c0e53fb7a4729f394d9841b1bae338", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "666c40d0f5c0bb3dbeaa02b7ba62d038453bae0f"}}}, "fuellib_sha": "666c40d0f5c0bb3dbeaa02b7ba62d038453bae0f"

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Bogdan Dobrelya (<email address hidden>) on branch: master
Review: https://review.openstack.org/134947
Reason: was addressed by https://review.openstack.org/134939

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.