Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3123 Define Bigtop 1.5.0 release BOM
  3. BIGTOP-3356

Add CentOS 8 support to the Docker provisioner

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • docker, provisioner
    • None

    Description

      1. The puppet package provided by puppetlabs installs the puppet command into /opt/puppetlabs/bin, so we have to append it to the container's PATH environment variable. Without that, provisioner fails with a "command not found" error.

      2. puppet module install installs a module to /etc/puppetlabs/code/environments/production/modules by default in the case of puppetlabs' one (https://puppet.com/docs/puppet/5.5/modules_installing.html#concept-5452). So we have to add it to the --modulepath option in docker-hadoop.sh. Without that, provisioner fails with the following error.

      Error: Evaluation Error: Unknown function: 'any2array'. (file: /bigtop-home/bigtop-deploy/puppet/manifests/bigtop_repo.pp, line: 20, column: 25) on node 31aac35f86a7.bigtop.apache.org
      

      3. Provisioner copies hiera.yaml to /etc/puppet in the container via docker-compose, but it's not included in Hiera's lookup path (https://puppet.com/docs/puppet/5.5/hiera_automatic.html#puppet_lookup). We have to specify the --hiera_config option explicitly when running puppet apply. Without that, it fails with the following error.

      Error: Function lookup() did not find a value for the name 'bigtop::hadoop_head_node'
      

      Attachments

        Activity

          People

            sekikn Kengo Seki
            sekikn Kengo Seki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 50m
                2h 50m