apache / apache/cloudberry

[Bug] on openEuler 22.03 (LTS-SP4) system, cloudberrydb-1.6.0 install with source code ,error occured when gpinitsystem

Open
#620 13 comments 0 reactions 1 assignee Claimed by @Baowen648 View on GitHub
type: Pipeline
Dominant language
C
Stars
1.4k
Forks
247
Avg merge
4d 3h
Merged PRs (30d)
39

Description

### Cloudberry Database version

cloudberrydb-1.6.0

### What happened

20240906:18:23:28:112430 gpinitsystem:cloudberrydb1:gpadmin-[INFO]:-No errors generated from parallel processes
20240906:18:23:28:112430 gpinitsystem:cloudberrydb1:gpadmin-[INFO]:-Restarting the CloudberryDB instance in production mode
Traceback (most recent call last):
File "/usr/local/cloudberrydb/bin/gpstop", line 9, in
from gppylib.mainUtils import *
File "/usr/local/cloudberrydb/lib/python/gppylib/mainUtils.py", line 31, in
from gppylib.commands import gp, unix
File "/usr/local/cloudberrydb/lib/python/gppylib/commands/gp.py", line 22, in
from gppylib.db import dbconn
File "/usr/local/cloudberrydb/lib/python/gppylib/db/dbconn.py", line 15, in
from gppylib.commands.unix import UserId
File "/usr/local/cloudberrydb/lib/python/gppylib/commands/unix.py", line 17, in
from gppylib.commands.base import *
File "/usr/local/cloudberrydb/lib/python/gppylib/commands/base.py", line 32, in
from pg import DB
File "/usr/local/lib/python3.9/site-packages/pg/__init__.py", line 3
async,
^
SyntaxError: invalid syntax
20240906:18:23:28:112430 gpinitsystem:cloudberrydb1:gpadmin-[FATAL]:-Error from CloudberryDB instance shutdown, check log files Script Exiting!

![cbdb1 6 0+openruler22 03 initsystem error](https://github.com/user-attachments/assets/15881bb1-ab2d-4077-9a41-968e89d662f6)

### What you think should happen instead

_No response_

### How to reproduce

The err is the same as 1.5.4 with rpm/source . now 1.6.0rpm is repaired,but 1.6.0 install with source code is still same error

### Operating System

openEuler 22.03 (LTS-SP4)

### Anything else

_No response_

### Are you willing to submit PR?

- [X] Yes, I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://cloudberrydb.org/community/coc).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.