Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: can't run with official docker image #23

Open
weideguo opened this issue May 29, 2024 · 2 comments
Open

[Bug]: can't run with official docker image #23

weideguo opened this issue May 29, 2024 · 2 comments

Comments

@weideguo
Copy link

Describe the bug

Run with official docker image, but get failed.

Environment

docker image
oceanbase/oceanbase-ce:4.3.0

Fast Reproduce Steps(Required)

Steps to reproduce the behavior:

docker pull oceanbase/oceanbase-ce:4.3.0
docker run -p 2881:2881 --name oceanbase-ce -e MODE=mini -d oceanbase/oceanbase-ce:4.3.0

Actual Behavior

run docker logs --tail 20 -f oceanbase-ce, and got

+--------------+---------+------------------------+------------------------------------------+
Repository integrity check ok
Parameter check ok
Cluster status check ok
Initializes observer work home x
[ERROR] OBD-1002: Fail to init 127.0.0.1 home path: /root/ob is not empty.

Initializes obagent work home x
[ERROR] OBD-1002: Fail to init 127.0.0.1 home path: /root/obagent is not empty.

See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: 33b36f50-1d87-11ef-a58a-0242ac110003
If you want to view detailed obd logs, please run: obd display-trace 33b36f50-1d87-11ef-a58a-0242ac110003
/////////////////////// phase end: 44.454 s ///////////////////////
///////////////////////         STEP 5: Ob-deploy Create Tenant         ///////////////////////
Deploy "obcluster" is configured
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: 4d9a4aba-1d87-11ef-9e63-0242ac110003
If you want to view detailed obd logs, please run: obd display-trace 4d9a4aba-1d87-11ef-9e63-0242ac110003
deploy failed!

Additional context

try docker image oceanbase/oceanbase-ce:4.2.2, same thing happen

@hnwyllmm
Copy link
Contributor

hnwyllmm commented May 29, 2024

@LINxiansheng Please take a look


@Mr.Linplease take A look

@LINxiansheng
Copy link
Contributor

Emmmm, let me have a look.

The obd check the ob and obagent folder are not empty. But it is confused that the docker startup without mount any folder.
I try it with the same command while it starts successfully.
image

Maybe obd check folder logic take some mistakes.

@[email protected]
Mr.Gao, please take a look.

@hnwyllmm hnwyllmm transferred this issue from oceanbase/oceanbase Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants