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
- Update the documentation linking the RedHat blog
- 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.