allow libvirtd log_filters to be configured via tripleo

Bug #1840140 reported by Martin Schuppert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Martin Schuppert

Bug Description

Right now there is no parameter to configure libvirtd log filters.

This is to track to add one.

Revision history for this message
Martin Schuppert (mschuppert) wrote :
Changed in tripleo:
assignee: nobody → Martin Schuppert (mschuppert)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/676399
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=71516f2816aa9705bbe74533957557269094fd32
Submitter: Zuul
Branch: master

commit 71516f2816aa9705bbe74533957557269094fd32
Author: Martin Schuppert <email address hidden>
Date: Wed Aug 14 14:05:30 2019 +0200

    Adds LibvirtLogFilters to define a libvirtd filter

    LibvirtLogFilters to select a different logging level for a given
    category log outputs, as specified in https://libvirt.org/logging.html .
    Default:

    '1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util'

    Depends-On: Ic48afe856ae60654d6cebf627b12509881933c59
    Change-Id: I85b09ddeb61b2f3563f81eb423e8f05b18fe984a
    Closes-Bug: 1840140

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

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

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

In current master, we also have the following parameter configured for libvirt logging.
~~~
nova::compute::libvirt::log_outputs: "3:syslog:libvirtd"
~~~

Does it make sense to introduce a parameter to make this configurable as we do for log_filter?

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

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

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

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

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

Reviewed: https://review.opendev.org/678743
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=78d16ded1e06b872b1ebda1c0f67ceebf53b665a
Submitter: Zuul
Branch: stable/stein

commit 78d16ded1e06b872b1ebda1c0f67ceebf53b665a
Author: Martin Schuppert <email address hidden>
Date: Wed Aug 14 14:05:30 2019 +0200

    Adds LibvirtLogFilters to define a libvirtd filter

    LibvirtLogFilters to select a different logging level for a given
    category log outputs, as specified in https://libvirt.org/logging.html .
    Default:

    '1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util'

    Conflicts:
          deployment/nova/nova-libvirt-container-puppet.yaml

    Depends-On: Ic48afe856ae60654d6cebf627b12509881933c59
    Change-Id: I85b09ddeb61b2f3563f81eb423e8f05b18fe984a
    Closes-Bug: 1840140
    (cherry picked from commit 71516f2816aa9705bbe74533957557269094fd32)

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

Reviewed: https://review.opendev.org/678748
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=beb1e8f67a098c7ed3912edbb6db4353abee675f
Submitter: Zuul
Branch: stable/rocky

commit beb1e8f67a098c7ed3912edbb6db4353abee675f
Author: Martin Schuppert <email address hidden>
Date: Wed Aug 14 14:05:30 2019 +0200

    Adds LibvirtLogFilters to define a libvirtd filter

    LibvirtLogFilters to select a different logging level for a given
    category log outputs, as specified in https://libvirt.org/logging.html .
    Default:

    '1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util'

    Conflicts:
          deployment/nova/nova-libvirt-container-puppet.yaml

    Removed the conflict, as this file is not present in Rocky
    release and corresponding changes are done in
    puppet/services/nova-libvirt.yaml file.

    Depends-On: Ic48afe856ae60654d6cebf627b12509881933c59
    Change-Id: I85b09ddeb61b2f3563f81eb423e8f05b18fe984a
    Closes-Bug: 1840140
    (cherry picked from commit 71516f2816aa9705bbe74533957557269094fd32)
    (cherry picked from commit 78d16ded1e06b872b1ebda1c0f67ceebf53b665a)

tags: added: in-stable-rocky
tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/queens)

Reviewed: https://review.opendev.org/678780
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=2b22127dbf786dc41d0f2cf2d894f72294c2bddc
Submitter: Zuul
Branch: stable/queens

commit 2b22127dbf786dc41d0f2cf2d894f72294c2bddc
Author: Martin Schuppert <email address hidden>
Date: Wed Aug 14 14:05:30 2019 +0200

    Adds LibvirtLogFilters to define a libvirtd filter

    LibvirtLogFilters to select a different logging level for a given
    category log outputs, as specified in https://libvirt.org/logging.html .
    Default:

    '1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util'

    Conflicts:
          deployment/nova/nova-libvirt-container-puppet.yaml

    Removed the conflict, as this file is not present in Queens
    release and corresponding changes are done in
    puppet/services/nova-libvirt.yaml file.

    Depends-On: Ic48afe856ae60654d6cebf627b12509881933c59
    Change-Id: I85b09ddeb61b2f3563f81eb423e8f05b18fe984a
    Closes-Bug: 1840140
    (cherry picked from commit 71516f2816aa9705bbe74533957557269094fd32)
    (cherry picked from commit 78d16ded1e06b872b1ebda1c0f67ceebf53b665a)
    (cherry picked from commit beb1e8f67a098c7ed3912edbb6db4353abee675f)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.6.1

This issue was fixed in the openstack/tripleo-heat-templates 10.6.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.4.1

This issue was fixed in the openstack/tripleo-heat-templates 9.4.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.4.1

This issue was fixed in the openstack/tripleo-heat-templates 8.4.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.2.0

This issue was fixed in the openstack/tripleo-heat-templates 11.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.