Port metrics are not enabled

Bug #1794291 reported by Lucian Petrut on 2018-09-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-win
Undecided
Unassigned

Bug Description

At the moment, port metrics are not enabled. The reason is that we're using the wrong switch port WMI class.

This issue went more or less unnoticed, especially due to the fact that we're currently ignoring the according WMI method return code.

Reviewed: https://review.openstack.org/605067
Committed: https://git.openstack.org/cgit/openstack/os-win/commit/?id=865c1cfaa0e6984b87fe1a0c45cbe611f85a4a3b
Submitter: Zuul
Branch: master

commit 865c1cfaa0e6984b87fe1a0c45cbe611f85a4a3b
Author: Lucian Petrut <email address hidden>
Date: Tue Sep 25 15:44:25 2018 +0300

    Fix port metrics

    At the moment, port metrics are not enabled. The reason is that we're
    using the wrong switch port WMI class.

    This issue went more or less unnoticed, especially due to the fact that
    we're currently ignoring the according WMI method return code.

    This change ensures that port metrics are properly enabled and that an
    exception will be raised when failing to do so.

    Closes-Bug: #1794291

    Change-Id: I8086e7dd9e134749760b05469f5b2c8bcfdcdbde

Changed in os-win:
status: New → Fix Released

Reviewed: https://review.openstack.org/607548
Committed: https://git.openstack.org/cgit/openstack/os-win/commit/?id=77c6d80b57391e6c0851ec170e77860195b0dc6d
Submitter: Zuul
Branch: stable/rocky

commit 77c6d80b57391e6c0851ec170e77860195b0dc6d
Author: Lucian Petrut <email address hidden>
Date: Tue Sep 25 15:44:25 2018 +0300

    Fix port metrics

    At the moment, port metrics are not enabled. The reason is that we're
    using the wrong switch port WMI class.

    This issue went more or less unnoticed, especially due to the fact that
    we're currently ignoring the according WMI method return code.

    This change ensures that port metrics are properly enabled and that an
    exception will be raised when failing to do so.

    Closes-Bug: #1794291

    Change-Id: I8086e7dd9e134749760b05469f5b2c8bcfdcdbde
    (cherry picked from commit 865c1cfaa0e6984b87fe1a0c45cbe611f85a4a3b)

tags: added: in-stable-rocky

Reviewed: https://review.openstack.org/607863
Committed: https://git.openstack.org/cgit/openstack/os-win/commit/?id=ec37c647adb1452d8f9562ef7b18154859a8382a
Submitter: Zuul
Branch: stable/queens

commit ec37c647adb1452d8f9562ef7b18154859a8382a
Author: Lucian Petrut <email address hidden>
Date: Tue Sep 25 15:44:25 2018 +0300

    Fix port metrics

    At the moment, port metrics are not enabled. The reason is that we're
    using the wrong switch port WMI class.

    This issue went more or less unnoticed, especially due to the fact that
    we're currently ignoring the according WMI method return code.

    This change ensures that port metrics are properly enabled and that an
    exception will be raised when failing to do so.

    Closes-Bug: #1794291

    Change-Id: I8086e7dd9e134749760b05469f5b2c8bcfdcdbde
    (cherry picked from commit 865c1cfaa0e6984b87fe1a0c45cbe611f85a4a3b)
    (cherry picked from commit 77c6d80b57391e6c0851ec170e77860195b0dc6d)

tags: added: in-stable-queens

This issue was fixed in the openstack/os-win 4.1.0 release.

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

Other bug subscribers