kuberenets: node-exporter is not deployed

Bug #1716697 reported by Spyros Trigazis
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
Spyros Trigazis

Bug Description

After the containerization of kubernetes node-exporter for prometheus monitoring is not deployed because the directory /etc/kubernetes/manifests doesn't exist. It was created here [1].

[1] https://review.openstack.org/#/c/488443/8/magnum/drivers/common/templates/kubernetes/fragments/enable-kube-proxy-minion.sh

We just need to safely create the directory before we write the file.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

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

Changed in magnum:
assignee: nobody → Spyros Trigazis (strigazi)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/503566

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (stable/pike)

Reviewed: https://review.openstack.org/503566
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=feffcb2b4804cd83525b49c7000f45189a9b27a9
Submitter: Jenkins
Branch: stable/pike

commit feffcb2b4804cd83525b49c7000f45189a9b27a9
Author: Spyros Trigazis <email address hidden>
Date: Wed Sep 13 08:53:32 2017 +0000

    k8s: Fix node-exporter manifest

    When writing the node-exporter manifest, make sure that
    the directory exists.

    (Cherry-picked from fe6286e76fcba5dfdab8ee9fba7c1f19778cf905)
    Change-Id: I41be5c09890bd2c9a063d4942f03305ff690ec4b
    Closes-Bug: #1716697

tags: added: in-stable-pike
Changed in magnum:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/503565
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=fe6286e76fcba5dfdab8ee9fba7c1f19778cf905
Submitter: Jenkins
Branch: master

commit fe6286e76fcba5dfdab8ee9fba7c1f19778cf905
Author: Spyros Trigazis <email address hidden>
Date: Wed Sep 13 08:53:32 2017 +0000

    k8s: Fix node-exporter manifest

    When writing the node-exporter manifest, make sure that
    the directory exists.

    Change-Id: I41be5c09890bd2c9a063d4942f03305ff690ec4b
    Closes-Bug: #1716697

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 6.0.0

This issue was fixed in the openstack/magnum 6.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 5.0.2

This issue was fixed in the openstack/magnum 5.0.2 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.