enable_telemetry=false in undercloud.conf doesn't set notification_driver to noop

Bug #1838828 reported by David Hill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Alex Schultz

Bug Description

setting enable_telemetry=false in undercloud.conf and running 'openstack undercloud install' doesn't set notification_driver to noop as it is hardcoded to messaging in the puppet template file.

description: updated
Changed in tripleo:
importance: Undecided → High
status: New → Confirmed
Changed in tripleo:
milestone: none → train-3
status: Confirmed → Triaged
assignee: nobody → Alex Schultz (alex-schultz)
tags: added: stein-backport-potential
tags: added: rocky-backport-potentia
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.opendev.org/674639

Changed in tripleo:
status: Triaged → In Progress
tags: added: rocky-backport-potential
removed: rocky-backport-potentia
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.opendev.org/674639
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=0faa33a6b07f711054ebd8deeaad34a1704745b6
Submitter: Zuul
Branch: master

commit 0faa33a6b07f711054ebd8deeaad34a1704745b6
Author: Alex Schultz <email address hidden>
Date: Mon Aug 5 09:49:57 2019 -0600

    Disable telemetry if it's not enabled

    The disable-telemetry.yaml environment is used to disable all the
    telemetry services and to disable the notification drivers. Since we
    didn't have this by default, notifications were still being sent to
    the undercloud rabbitmq and never consumed.

    Change-Id: I53eab2c41c80f5dafff9824bf3086e1d9a369e22
    Closes-Bug: #1838828

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/675114

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/675116

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (stable/stein)

Reviewed: https://review.opendev.org/675114
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=d5edfc3aeab96958cc7e5bac2184dd24a3aed037
Submitter: Zuul
Branch: stable/stein

commit d5edfc3aeab96958cc7e5bac2184dd24a3aed037
Author: Alex Schultz <email address hidden>
Date: Mon Aug 5 09:49:57 2019 -0600

    Disable telemetry if it's not enabled

    The disable-telemetry.yaml environment is used to disable all the
    telemetry services and to disable the notification drivers. Since we
    didn't have this by default, notifications were still being sent to
    the undercloud rabbitmq and never consumed.

    Conflicts:
     tripleoclient/tests/v1/undercloud/test_install_upgrade.py

    Change-Id: I53eab2c41c80f5dafff9824bf3086e1d9a369e22
    Closes-Bug: #1838828
    (cherry picked from commit 0faa33a6b07f711054ebd8deeaad34a1704745b6)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (stable/rocky)

Reviewed: https://review.opendev.org/675116
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=2e0b581f728c4d744793e96bf85954fab98f75fa
Submitter: Zuul
Branch: stable/rocky

commit 2e0b581f728c4d744793e96bf85954fab98f75fa
Author: Alex Schultz <email address hidden>
Date: Mon Aug 5 09:49:57 2019 -0600

    Disable telemetry if it's not enabled

    The disable-telemetry.yaml environment is used to disable all the
    telemetry services and to disable the notification drivers. Since we
    didn't have this by default, notifications were still being sent to
    the undercloud rabbitmq and never consumed.

    Conflicts:
     tripleoclient/tests/v1/undercloud/test_undercloud.py

    Change-Id: I53eab2c41c80f5dafff9824bf3086e1d9a369e22
    Closes-Bug: #1838828
    (cherry picked from commit 0faa33a6b07f711054ebd8deeaad34a1704745b6)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (stable/rocky)

Reviewed: https://review.opendev.org/674160
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=8b6d68d13fab7cf28388d7e48f2b89be2c8932e8
Submitter: Zuul
Branch: stable/rocky

commit 8b6d68d13fab7cf28388d7e48f2b89be2c8932e8
Author: David Hill <email address hidden>
Date: Thu Aug 1 22:52:59 2019 -0400

    Set notification driver to noop when enable_telemetry=false

    Actually, enable_telemetry=false doesn't do anything because
    the notification_drivers values are hardcoded to messaging.
    This commit changes this behavior by setting notification_drivers
    to noop if enable_telemetry is set to false.

    Change-Id: I75441352c29b0421358fc0c87f8708355e7fbb2a
    Closes-bug: #1838828
    Co-Authored-By: Alex Schultz <email address hidden>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to instack-undercloud (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/676821

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (stable/queens)

Reviewed: https://review.opendev.org/676821
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=3e1125cc7266afb938965d07f1c4341cde685e0a
Submitter: Zuul
Branch: stable/queens

commit 3e1125cc7266afb938965d07f1c4341cde685e0a
Author: David Hill <email address hidden>
Date: Thu Aug 1 22:52:59 2019 -0400

    Set notification driver to noop when enable_telemetry=false

    Actually, enable_telemetry=false doesn't do anything because
    the notification_drivers values are hardcoded to messaging.
    This commit changes this behavior by setting notification_drivers
    to noop if enable_telemetry is set to false.

    Conflicts:
     elements/puppet-stack-config/puppet-stack-config.yaml.template

    Change-Id: I75441352c29b0421358fc0c87f8708355e7fbb2a
    Closes-bug: #1838828
    Co-Authored-By: Alex Schultz <email address hidden>
    (cherry picked from commit 8b6d68d13fab7cf28388d7e48f2b89be2c8932e8)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 11.5.1

This issue was fixed in the openstack/python-tripleoclient 11.5.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/instack-undercloud 9.5.1

This issue was fixed in the openstack/instack-undercloud 9.5.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 10.7.1

This issue was fixed in the openstack/python-tripleoclient 10.7.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/instack-undercloud 8.4.9

This issue was fixed in the openstack/instack-undercloud 8.4.9 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 12.2.0

This issue was fixed in the openstack/python-tripleoclient 12.2.0 release.

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.