ffi requires Ruby version >= 2.3. when building monasca-grafana

Bug #1882658 reported by Will Szumski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
New
Undecided
Unassigned

Bug Description

I'm using the train release. Whilst trying to build monasca-grafana image I am seeing the following failure in the build log:

  ERROR: Error installing fpm:
          ffi requires Ruby version >= 2.3.

This occurs on the line:

ERROR:kolla.common.utils.monasca-grafana:The command '/bin/sh -c gem install rake:"~>12" 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 ${monas
ca_grafana_build_path} && go run build.go setup && npm config set prefix /usr/local -g && npm install npm@6.x -g && /usr/local/bin/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

I am using openstack kayobe to build the image, but I don't think that is significant.

Revision history for this message
Will Szumski (willjs) wrote :
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.