Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-49131

Python base programs will not work on RHEL 8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 6.0.2, 6.0.3, 6.0.4, 6.0.5
    • None
    • None
    • Untriaged
    • Centos 64-bit
    • 1
    • No

    Description

      Problem
      With Couchbase Server 6.0.2 support was added for RHEL 8. Unfortunately in RHEL 8 Python is not installed by default. Further more the version of Python to use is decided by the user. Couchbase Server 6.0.X relays on the system Python and that version being 2. This issue is summed up well in the RHEL blog. This means the following commands will not work:

      • couchbase-cli
      • cbrestore
      • cbbackup
      • cbstats
      • mcstats
      • Any other python scripts

      The problem for Couchabse Server is that the workaround mentioned in the blog might not work for everyone. For example if a use has a script that does not follow PEP8 standard and relies on the system python pointing to Python3

      Furthermore our install does not depend on Python2, (I think it looks for a command called Python)

      Expectation
      For the python script to work out of the box on RHEL 8

      Suggested Fix

      1. Update the documentation linking the RedHat blog
      2. Update the installer to relay on python2 (even with this change the steps in the blog will have to be followed)

      Note
      This only affects 6.0.2, 6.0.3, 6.0.4, and 6.0.5. Couchbase Server 6.5.0 and newer contains its own version of Python.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              pvarley Patrick Varley (Inactive)
              pvarley Patrick Varley (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty