ubuntu fluentd image unbuildable on rocky and older - old ruby

Bug #1845705 reported by Radosław Piliszek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Critical
Unassigned
Pike
Fix Released
Critical
Mark Goddard
Queens
Fix Released
Critical
Unassigned
Rocky
Fix Released
Critical
Mark Goddard

Bug Description

Error installing fluent-plugin-elasticsearch:
faraday requires Ruby version >= 2.3.

Changed in kolla:
importance: Undecided → Critical
status: New → Triaged
milestone: none → 7.0.5
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

but xenial has ruby 2.3...

Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

and hey, it's rocky so it's bionic with 2.5

I found out the source of confusion: rocky still uses td-agent 2 for xenial - it provides its own old ruby version :-(

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

Reviewed: https://review.opendev.org/685411
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=74fc8ba940c27fd706716161a3cd66e26e34510e
Submitter: Zuul
Branch: stable/rocky

commit 74fc8ba940c27fd706716161a3cd66e26e34510e
Author: Mark Goddard <email address hidden>
Date: Fri Sep 27 14:12:55 2019 +0100

    Fix monasca-grafana, fluentd and sensu images

    1. monasca-grafana - pin rake to <13

    Rake 13.0.0 (released today) depends on Ruby 2.2, but CentOS 7 only
    provides Ruby 2.0.

    This change pins rake in the monasca-grafana image to versions earlier
    than 13.0.0.

    2. fluentd on Ubuntu - pin faraday to <0.16

    Rocky and earlier only.

    Faraday 0.16.x depends on Ruby 2.3+, but td-agent on Ubuntu uses its own
    old version of Ruby.

    This change pins faraday in the Ubuntu and Debian fluentd images to
    versions earlier than 0.16.

    3. sensu-client: Pin minitest Ruby gem on CentOS

    This was originally in change I1afd2d50c0dc2de6d305b56bd5f9182745fee843
    on master and stable/stein.

    (cherry picked from commit 305312f1070e80ba849f8c4feb00ad02196b8306)

    Change-Id: Id9a76f459aff016fbc920370c0a3ec58e0397fcb
    Closes-Bug: #1845647
    Closes-Bug: #1845705
    Closes-bug: #1845843
    (cherry picked from commit a0712ceef3d6c20cdd79417dcff10525c527fb3d)

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

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

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

Fix proposed to branch: stable/pike
Review: https://review.opendev.org/685908

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

Reviewed: https://review.opendev.org/685738
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=33e170d3b5a2f4cf5896da1f96bc8c133ee3c388
Submitter: Zuul
Branch: stable/queens

commit 33e170d3b5a2f4cf5896da1f96bc8c133ee3c388
Author: Mark Goddard <email address hidden>
Date: Fri Sep 27 14:12:55 2019 +0100

    Fix fluentd and sensu images

    1. fluentd on Ubuntu - pin faraday to <0.16

    Rocky and earlier only.

    Faraday 0.16.x depends on Ruby 2.3+, but td-agent on Ubuntu uses its own
    old version of Ruby.

    This change pins faraday in the Ubuntu and Debian fluentd images to
    versions earlier than 0.16.

    2. sensu-client: Pin minitest Ruby gem on CentOS

    This was originally in change I1afd2d50c0dc2de6d305b56bd5f9182745fee843
    on master and stable/stein.

    (cherry picked from commit 305312f1070e80ba849f8c4feb00ad02196b8306)

    Change-Id: Id9a76f459aff016fbc920370c0a3ec58e0397fcb
    Closes-Bug: #1845647
    Closes-Bug: #1845705
    Closes-bug: #1845843
    (cherry picked from commit a0712ceef3d6c20cdd79417dcff10525c527fb3d)

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

Reviewed: https://review.opendev.org/685908
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=093fc1dda0788223a91c08e65ce8623789cebe8f
Submitter: Zuul
Branch: stable/pike

commit 093fc1dda0788223a91c08e65ce8623789cebe8f
Author: Mark Goddard <email address hidden>
Date: Fri Sep 27 14:12:55 2019 +0100

    Fix fluentd image

    fluentd - pin faraday to <0.16

    Rocky and earlier only.

    Faraday 0.16.x depends on Ruby 2.3+, but td-agent on Ubuntu uses its own
    old version of Ruby.

    This change pins faraday in the Ubuntu and Debian fluentd images to
    versions earlier than 0.16.

    Change-Id: Id9a76f459aff016fbc920370c0a3ec58e0397fcb
    Closes-Bug: #1845705
    (cherry picked from commit a0712ceef3d6c20cdd79417dcff10525c527fb3d)

Mark Goddard (mgoddard)
Changed in kolla:
status: Triaged → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla pike-eol

This issue was fixed in the openstack/kolla pike-eol release.

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

This issue was fixed in the openstack/kolla 6.2.4 release.

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

This issue was fixed in the openstack/kolla 7.1.0 release.

Changed in kolla:
status: Fix Committed → Fix Released
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.