You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2021. It is now read-only.
I started Operator and while creation of POD, It showed following error (Below is excerpt of POD logs)
+ base=1000
++ cat /etc/hostname
++ grep -o '[^-]*$'
+ index=0
++ expr 1000 + 0
+ /entrypoint.sh --server_id=1000 --datadir=/var/lib/mysql --gtid_mode=ON --log-bin --binlog_checksum=NONE --enforce_gtid_consistency=ON --log-slave-updates=ON --binlog-format=ROW --master-info-repository=TABLE --relay-log-info-repository=TABLE --transaction-write-set-extraction=XXHASH64 --relay-log=mysql-0-relay-bin --report-host=mysql-0.mysql --log-error-verbosity=3
[Entrypoint] MySQL Docker Image 8.0.20-1.1.16
2020-06-23T07:04:09.422913Z 0 [Warning] [MY-010122] [Server] One can only use the --user switch if running as root
2020-06-23T07:04:09.423530Z 0 [Note] [MY-010163] [Server] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=mysql-0-bin' to avoid this problem.
2020-06-23T07:04:09.430443Z 0 [Note] [MY-010747] [Server] Plugin 'FEDERATED' is disabled.
2020-06-23T07:04:09.431929Z 0 [Note] [MY-010733] [Server] Shutting down plugin 'MyISAM'
2020-06-23T07:04:09.432074Z 0 [Note] [MY-010733] [Server] Shutting down plugin 'CSV'
sed: couldn't open temporary file /etc/seduRpjvl: Permission denied
If we check entrypoint.sh code it has following code excerpt
if [ -n "$MYSQL_LOG_CONSOLE" ] || [ -n "console" ]; then
# Don't touch bind-mounted config files
if ! cat /proc/1/mounts | grep "etc/my.cnf"; then
**sed -i 's/^log-error=/#&/' /etc/my.cnf**
fi
fi
As sed is doing inline change, it will not work containers dont allow to create files, I dont know if its working for someone.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is this a BUG REPORT or FEATURE REQUEST?
Yes
Choose one: BUG REPORT or FEATURE REQUEST
Versions
MySQL Operator Version:
Environment:
kubectl version
): 1.17.3 and 1.11.1 (tried on both)uname -a
): 3.10.0-1062.1.2.el7.x86_64What happened?
I started Operator and while creation of POD, It showed following error (Below is excerpt of POD logs)
If we check entrypoint.sh code it has following code excerpt
As sed is doing inline change, it will not work containers dont allow to create files, I dont know if its working for someone.
The text was updated successfully, but these errors were encountered: