← Back to team overview

fuel-dev team mailing list archive

Ruby 2.1: master node. Problem with iso building and potencial solutions

 

Hi all!

As many of you know we decide to move from Ruby 1.8.7 and 1.9.3 in master
node to Ruby 2.1 as system ruby. Also we convert all gems to packages
(required for docker).

But we have a problem with make iso process, which do not expect such a
variance of build process with 2 versions of Ruby: 1.8.7 and 2.1 in centos
mirror, because yum by default try to install newest version.

>From yesterday discussion with OSCI (Sergey, Dmitry) and Andrey Danin we
have 3 way to solve it:

   - exclude using yum installation of new ruby in make process for
   bootstrap process and also block it for CentOS provisioned nodes:
   - change yum calls in make scripts (
      http://paste.openstack.org/show/75007/);
      - use separate local package repository for new ruby and included it
      when run boostrap_admin_node.sh;
      - remove from package ruby 2.1 provider(ruby).
   - use new ruby(2.1) for master node and bootstrap centos images. Block
   Ruby for CentOS provisioned nodes:
      - change kickstart profile to select special version of ruby(1.8.7).
   - use 2.1 as system Ruby for master node and provisioned nodes(both for
   CentOS and Ubuntu) (need to fix compatibility with openstack puppet recipes)

Which way we should choose?

Additional links:

   - https://review.openstack.org/#/c/82045/ (in progress);
   -
   https://github.com/warpc/fuel-main/commit/fde8ca23cb5881de0b5afa8173ae113d0926dafd(in
progress);
   - http://paste.openstack.org/show/75007/

Follow ups