sensu-client image fails to build

Bug #1781434 reported by Martin André
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Critical
Martin André

Bug Description

A dep of sensu-plugins-dns was bumped and does not work with the ruby version we ship in the image:

INFO:kolla.common.utils.sensu-client:[SENSU-INSTALL] installing Sensu gem 'sensu-plugins-dns:~>1'
INFO:kolla.common.utils.sensu-client:ERROR: Error installing sensu-plugins-dns:
INFO:kolla.common.utils.sensu-client: public_suffix requires Ruby version >= 2.1.
INFO:kolla.common.utils.sensu-client:
INFO:kolla.common.utils.sensu-client:[SENSU-INSTALL] failed to install Sensu gem 'sensu-plugins-dns'
INFO:kolla.common.utils.sensu-client:[SENSU-INSTALL] you can run the sensu-install command again with --verbose for more info
INFO:kolla.common.utils.sensu-client:[SENSU-INSTALL] please take note of any failure messages above
INFO:kolla.common.utils.sensu-client:[SENSU-INSTALL] make sure you have build tools installed (e.g. gcc)
INFO:kolla.common.utils.sensu-client:[SENSU-INSTALL] trying to determine the Sensu plugin homepage for sensu-plugins-dns ...
INFO:kolla.common.utils.sensu-client:homepage: https://github.com/sensu-plugins/sensu-plugins-dns
INFO:kolla.common.utils.sensu-client:Removing intermediate container 1cb1906ecdd2
ERROR:kolla.common.utils.sensu-client:Error'd with the following message
ERROR:kolla.common.utils.sensu-client:The command '/bin/sh -c sensu-install --plugins ceph:"~>1",cpu-checks:"~>1",disk-checks:"~>2",dns:"~>1",docker:"~>3",elasticsearch:"~>1",filesystem-checks:"~>1",haproxy:"~>1",http:"~>1",io-checks:"~>1",load-checks:"~>3",memcached:"~>0",memory-checks:"~>1",mongodb:"~>0",mysql:"~>2",network-checks:"~>2",ntp:"~>1",openstack:"~>1",process-checks:"~>2",rabbitmq:"~>3",redis:"~>2",uptime-checks:"~>1",vmstats:"~>1"' returned a non-zero code: 2

http://logs.openstack.org/82/582182/1/check/kolla-build-centos-binary/683316b/logs/build/000_FAILED_sensu-client.txt.gz

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

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

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.openstack.org/582299
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=9f481aba248c92c91ffa945164e37a34bc0dbee6
Submitter: Zuul
Branch: master

commit 9f481aba248c92c91ffa945164e37a34bc0dbee6
Author: Martin André <email address hidden>
Date: Thu Jul 12 18:38:04 2018 +0200

    Pin dep for sensu-plugins-dns

    At least until the upstream gem is fixed.

    Change-Id: Id443727cb57389af8d733fd52bc90c35dbedbfc4
    Closes-Bug: #1781434

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 7.0.0.0b3

This issue was fixed in the openstack/kolla 7.0.0.0b3 development milestone.

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.