monasca-grafana fails to build due to rake 13.0 release

Bug #1845647 reported by Mark Goddard
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Critical
Mark Goddard
Rocky
Fix Committed
Critical
Mark Goddard
Stein
Fix Committed
Critical
Mark Goddard
Train
Fix Released
Critical
Mark Goddard

Bug Description

The monasca-grafana image started failing today with the following:

INFO:kolla.common.utils.monasca-grafana:Step 12/15 : RUN gem install rake fpm && curl -sSL -o /tmp/monasca-grafana.tgz ${monasca_grafana_url} && mkdir -p ${monasca_grafana_build_path} && tar --strip 1 -xvf /tmp/monasca-grafana.tgz -C ${monasca_grafana_build_path} && rm -f /tmp/monasca-grafana.tgz && cd ${monasca_grafana_build_path} && go run build.go setup && npm install && go run build.go build package && mv ${monasca_grafana_build_path}/dist /grafana_pkgs && rm -rf /grafana
INFO:kolla.common.utils.monasca-grafana: ---> Running in 49de73c11d0b
INFO:kolla.common.utils.monasca-grafana:ERROR: Error installing rake:
INFO:kolla.common.utils.monasca-grafana: rake requires Ruby version >= 2.2.
INFO:kolla.common.utils.monasca-grafana:
INFO:kolla.common.utils.monasca-grafana:Building native extensions. This could take a while...
INFO:kolla.common.utils.monasca-grafana:Successfully installed json-1.8.6
INFO:kolla.common.utils.monasca-grafana:Successfully installed cabin-0.9.0
INFO:kolla.common.utils.monasca-grafana:Successfully installed backports-3.15.0
INFO:kolla.common.utils.monasca-grafana:Successfully installed arr-pm-0.0.10
INFO:kolla.common.utils.monasca-grafana:Successfully installed clamp-1.0.1
INFO:kolla.common.utils.monasca-grafana:Building native extensions. This could take a while...
INFO:kolla.common.utils.monasca-grafana:Successfully installed ffi-1.11.1
INFO:kolla.common.utils.monasca-grafana:Successfully installed childprocess-0.9.0
INFO:kolla.common.utils.monasca-grafana:Successfully installed io-like-0.3.0
INFO:kolla.common.utils.monasca-grafana:Successfully installed ruby-xz-0.2.3
INFO:kolla.common.utils.monasca-grafana:Successfully installed stud-0.0.23
INFO:kolla.common.utils.monasca-grafana:Successfully installed mustache-0.99.8
INFO:kolla.common.utils.monasca-grafana:Successfully installed insist-1.0.0
INFO:kolla.common.utils.monasca-grafana:Successfully installed dotenv-2.7.5
INFO:kolla.common.utils.monasca-grafana:Successfully installed pleaserun-0.0.30
INFO:kolla.common.utils.monasca-grafana:Successfully installed fpm-1.11.0
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for json-1.8.6
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for json-1.8.6
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for cabin-0.9.0
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for cabin-0.9.0
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for backports-3.15.0
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for backports-3.15.0
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for arr-pm-0.0.10
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for arr-pm-0.0.10
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for clamp-1.0.1
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for clamp-1.0.1
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for ffi-1.11.1
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for ffi-1.11.1
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for childprocess-0.9.0
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for childprocess-0.9.0
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for io-like-0.3.0
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for io-like-0.3.0
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for ruby-xz-0.2.3
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for ruby-xz-0.2.3
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for stud-0.0.23
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for stud-0.0.23
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for mustache-0.99.8
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for mustache-0.99.8
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for insist-1.0.0
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for insist-1.0.0
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for dotenv-2.7.5
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for dotenv-2.7.5
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for pleaserun-0.0.30
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for pleaserun-0.0.30
INFO:kolla.common.utils.monasca-grafana:Parsing documentation for fpm-1.11.0
INFO:kolla.common.utils.monasca-grafana:Installing ri documentation for fpm-1.11.0
INFO:kolla.common.utils.monasca-grafana:15 gems installed
INFO:kolla.common.utils.monasca-grafana:Removing intermediate container 49de73c11d0b
ERROR:kolla.common.utils.monasca-grafana:Error'd with the following message
ERROR:kolla.common.utils.monasca-grafana:The command '/bin/sh -c gem install rake fpm && curl -sSL -o /tmp/monasca-grafana.tgz ${monasca_grafana_url} && mkdir -p ${monasca_grafana_build_path} && tar --strip 1 -xvf /tmp/monasca-grafana.tgz -C ${monasca_grafana_build_path} && rm -f /tmp/monasca-grafana.tgz && cd ${monasca_grafana_build_path} && go run build.go setup && npm install && go run build.go build package && mv ${monasca_grafana_build_path}/dist /grafana_pkgs && rm -rf /grafana' returned a non-zero code: 1

Example: https://afc07e007a9738bcb4c4-ca4b089b4b338eb03b97f6a00e3061e2.ssl.cf1.rackcdn.com/685302/1/check/kolla-build-centos-binary/494921b/kolla/build/000_FAILED_monasca-grafana.txt.gz

Mark Goddard (mgoddard)
Changed in kolla:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

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

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

Reviewed: https://review.opendev.org/685348
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=a0712ceef3d6c20cdd79417dcff10525c527fb3d
Submitter: Zuul
Branch: master

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

    Fix 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.

    Change-Id: Id9a76f459aff016fbc920370c0a3ec58e0397fcb
    Closes-Bug: #1845647

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

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

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

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

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

Reviewed: https://review.opendev.org/685410
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=b847daea68a358652414018297afb44a540b1c79
Submitter: Zuul
Branch: stable/stein

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

    Fix 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.

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

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 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)

tags: added: in-stable-queens
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 9.0.0.0rc1

This issue was fixed in the openstack/kolla 9.0.0.0rc1 release candidate.

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.

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

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

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.