vitessio / vitess

Vitess is a database clustering system for horizontal scaling of MySQL.
http://vitess.io
Apache License 2.0
18.45k stars 2.09k forks source link

cp: cannot stat '/vt/bin/mysqlctld': No such file or directory #9455

Open droslean opened 2 years ago

droslean commented 2 years ago
NAME                                           READY   STATUS                  RESTARTS   AGE
my-db-etcd-ef78da7d-1                          1/1     Running                 0          7d15h
my-db-etcd-ef78da7d-2                          1/1     Running                 0          7d15h
my-db-etcd-ef78da7d-3                          1/1     Running                 0          7d15h
my-db-vttablet-zone1-1407048482-bd9db5f2       0/3     Init:CrashLoopBackOff   5          4m19s
my-db-vttablet-zone1-1563904368-16ebd7f6       0/3     Init:CrashLoopBackOff   5          4m12s
my-db-zone1-vtctld-0de28170-b5cb8894b-k8znj    1/1     Running                 0          6m20s
my-db-zone1-vtgate-6926eeba-5db759d8c6-q8p5n   1/1     Running                 0          6m20s
vitess-operator-6dff974b75-zdvzz               1/1     Running                 0          7d15h
$ kubectl logs ginbits-db-vttablet-zone1-1563904368-16ebd7f6 -c init-vt-root
+ mkdir -p /mnt/vt/bin
+ cp --no-clobber /vt/bin/mysqlctld /mnt/vt/bin/
cp: cannot stat '/vt/bin/mysqlctld': No such file or directory

I am using vitess operator image: planetscale/vitess-operator:latest

Cluster config images:

...
spec:
  images:
    vtctld: vitess/lite:latest
    vtgate: vitess/lite:latest
    vttablet: vitess/lite:latest
    vtbackup: vitess/lite:latest
...
lasantharanjana commented 2 years ago

@droslean Was the above resolved? What was the action plan? Please advise.

droslean commented 2 years ago

@lasantharanjana The issue still stands. I am not aware of any solutions.

lasantharanjana commented 2 years ago

@lasantharanjana The issue still stands. I am not aware of any solutions.

Hope the below is the same issue that I'm facing on IBM Cloud. Please review.

`+ cd /vt/vtdataroot ++ find . -mindepth 2 -maxdepth 2 -path './vt_*/my.cnf' ERROR: logging before flag.Parse: E0116 20:16:41.944803 1 syslogger.go:149] can't connect to syslog I0116 20:16:41.955701 1 mysqlctld.go:76] mycnf file (/vt/vtdataroot/vt_2469782763/my.cnf) doesn't exist, initializing ERROR: logging before flag.Parse: E0116 20:16:41.623900 1 syslogger.go:149] can't connect to syslog

Appreciate the inputs.

droslean commented 2 years ago

@lasantharanjana Your problem is not related to this issue.

lasantharanjana commented 2 years ago

@droslean Thank you for the quick response. Please note that I'm a newbie on the Vitess. I would highly appreciate if you can give me any direction or a workaround on the issue that I'm facing. Please advise. Thanks.

droslean commented 2 years ago

@lasantharanjana Please open a new issue

mattlord commented 2 years ago

@droslean Thank you for the quick response. Please note that I'm a newbie on the Vitess. I would highly appreciate if you can give me any direction or a workaround on the issue that I'm facing. Please advise. Thanks.

Hi @lasantharanjana!

GitHub issues is not the appropriate place for support like questions. You should instead join the Vitess slack, where there are channels for getting help on various topics. Thanks!

https://vitess.io/community/