-
Notifications
You must be signed in to change notification settings - Fork 324
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
Windows 使用PXD安装PolarDB-X报 '--initialize-insecure']' returned non-zero exit status 1. #201
Comments
@bchengwang It seems that you use an older image of xstore-tools.
|
现在程序一直卡在create gms node |
2024-02-21 17:50:59 /tools/xstore/current/venv/lib64/python3.6/site-packages/pymysql/_auth.py:8: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6. |
alert.log2024-02-21T09:51:04.452232Z 0 [Warning] [MY-011069] [Server] The syntax 'avoid_temporal_upgrade' is deprecated and will be removed in a future release. |
@bchengwang |
|
@bchengwang It seems gms is ready, please retry |
|
@bchengwang What's the final output of pxd commnad? |
(PolarDB) C:\Users\bcheng>pxd tryout
latest:Pulling from polardbx/polardbx-engine-2.0 latest:Pulling from polardbx/xstore-tools latest:Pulling from polardbx/polardbx-sql latest:Pulling from polardbx/polardbx-init latest:Pulling from polardbx/polardbx-cdc Traceback (most recent call last): |
@bchengwang login the gms container and run the following command:
|
@vettalwu |
@bchengwang Do you use docker for windows and what's your python version? |
Windows 11 家庭中文版 23H2 WslWSL 版本: 2.0.9.0 pip 软件包(PolarDB) C:\Users\bcheng>pip list asttokens 2.4.1 |
Windows 使用PXD安装报 '--initialize-insecure']' returned non-zero exit status 1.
环境
日志
2024-02-21 14:51:56 INFO:root:Begin to initialize...
2024-02-21 14:51:56 2024-02-21 06:51:56,948 - GalaxyEngine - INFO - (cwd=/data/mysql/data) execute command: /opt/galaxy_engine/bin/mysqld --defaults-file=/data/mysql/conf/my.cnf --loose-pod-name=pxc-tryout-dn-0-Cand-17179 --initialize-insecure
2024-02-21 14:52:11 Traceback (most recent call last):
2024-02-21 14:52:11 File "/tools/xstore/current/entrypoint.py", line 96, in
2024-02-21 14:52:11 _start()
2024-02-21 14:52:11 File "/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py", line 829, in call
2024-02-21 14:52:11 return self.main(*args, **kwargs)
2024-02-21 14:52:11 File "/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py", line 782, in main
2024-02-21 14:52:11 rv = self.invoke(ctx)
2024-02-21 14:52:11 File "/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py", line 1066, in invoke
2024-02-21 14:52:11 return ctx.invoke(self.callback, **ctx.params)
2024-02-21 14:52:11 File "/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py", line 610, in invoke
2024-02-21 14:52:11 return callback(*args, **kwargs)
2024-02-21 14:52:11 File "/tools/xstore/current/entrypoint.py", line 86, in _start
2024-02-21 14:52:11 engine.initialize()
2024-02-21 14:52:11 File "/tools/xstore/v1.0.0-1634524581.278688/core/engine/galaxy/engine.py", line 126, in initialize
2024-02-21 14:52:11 self._initialize_data()
2024-02-21 14:52:11 File "/tools/xstore/v1.0.0-1634524581.278688/core/engine/galaxy/engine.py", line 115, in _initialize_data
2024-02-21 14:52:11 cwd=self.path_data,
2024-02-21 14:52:11 File "/tools/xstore/v1.0.0-1634524581.278688/core/engine/engine.py", line 171, in check_run_process
2024-02-21 14:52:11 return subprocess.check_call(cmd, cwd=cwd, stdout=stdout, stderr=stderr, env=self.context.subprocess_envs())
2024-02-21 14:52:11 File "/usr/lib64/python3.6/subprocess.py", line 311, in check_call
2024-02-21 14:52:11 raise CalledProcessError(retcode, cmd)
2024-02-21 14:52:11 subprocess.CalledProcessError: Command '['/opt/galaxy_engine/bin/mysqld', '--defaults-file=/data/mysql/conf/my.cnf', '--loose-pod-name=pxc-tryout-dn-0-Cand-17179', '--initialize-insecure']' returned non-zero exit status 1.
alert.log
2024-02-21T06:51:57.287414Z 0 [Warning] [MY-011069] [Server] The syntax 'avoid_temporal_upgrade' is deprecated and will be removed in a future release.
2024-02-21T06:51:57.287461Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
2024-02-21T06:51:57.287563Z 0 [Warning] [MY-011069] [Server] The syntax '--log-bin-use-v1-row-events' is deprecated and will be removed in a future release.
2024-02-21T06:51:57.287697Z 0 [Warning] [MY-011069] [Server] The syntax '--master-info-file' is deprecated and will be removed in a future release.
2024-02-21T06:51:57.287742Z 0 [Warning] [MY-011069] [Server] The syntax '--relay-log-info-file' is deprecated and will be removed in a future release.
2024-02-21T06:51:57.287755Z 0 [Warning] [MY-011069] [Server] The syntax 'show_old_temporals' is deprecated and will be removed in a future release.
2024-02-21T06:51:57.287801Z 0 [Warning] [MY-010084] [Server] options --log-slow-admin-statements, --log-queries-not-using-indexes and --log-slow-slave-statements have no effect if --slow-query-log is not set
2024-02-21T06:51:57.287803Z 0 [Warning] [MY-010086] [Server] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2024-02-21T06:51:57.288459Z 0 [System] [MY-013169] [Server] /opt/galaxy_engine/bin/mysqld (mysqld 8.0.30) initializing of server in progress as process 8
2024-02-21T06:51:57.289331Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000
100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000
2024-02-21T06:52:05.767465Z 1 [Warning] [MY-011825] [InnoDB] [GTID INFO] Reading from undo log :
2024-02-21T06:52:08.579068Z 0 [Warning] [MY-000000] [Server] Plugin polarx_rpc reported: 'PolarX RPC disabled by database initialization.'
2024-02-21T06:52:08.579586Z 0 [Warning] [MY-011237] [Server] Plugin mysqlx reported: 'Startup failed with error "Galaxy X Protocol disabled when mysql initialize."'
2024-02-21T06:52:09.578178Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-02-21T06:52:09.797410Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_extra_max_connections=65535'.
2024-02-21T06:52:09.797899Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_galaxy_max_connections=4096'.
2024-02-21T06:52:09.798265Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_implicit_primary_key=1'.
2024-02-21T06:52:09.798580Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_innodb_doublewrite_pages=64'.
2024-02-21T06:52:09.798946Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_innodb_equal_gcn_visible=0'.
2024-02-21T06:52:09.799280Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_innodb_log_optimize_ddl=OFF'.
2024-02-21T06:52:09.799578Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_innodb_multi_blocks_enabled=ON'.
2024-02-21T06:52:09.799884Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_innodb_numa_interleave=ON'.
2024-02-21T06:52:09.800207Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_innodb_primary_flush_max_lsn_lag=122016116'.
2024-02-21T06:52:09.800558Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_innodb_replica_log_parse_buf_size=134217728'.
2024-02-21T06:52:09.800850Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_innodb_snapshot_update_gcn=1'.
2024-02-21T06:52:09.801177Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_log_sql_fifo=/data/mysql/run/mysql.fifo'.
2024-02-21T06:52:09.801479Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_persist_binlog_to_redo=OFF'.
2024-02-21T06:52:09.801774Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose_persist_binlog_to_redo_size_limit=1048576'.
2024-02-21T06:52:09.802127Z 0 [Warning] [MY-000067] [Server] unknown variable 'loose-pod-name=pxc-tryout-dn-0-Cand-15714'.
2024-02-21T06:52:09.829870Z 0 [ERROR] [MY-000000] [Server] PolarDB-X Engine cluster_info must be set when the server is running with --initialize(-insecure)
2024-02-21T06:52:09.830304Z 0 [ERROR] [MY-013236] [Server] The designated data directory /data/mysql/data/ is unusable. You can remove all files that the server added to it.
2024-02-21T06:52:09.830843Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-02-21T06:52:09.842248Z 0 [Warning] [MY-000000] [Server] Plugin polarx_rpc reported: 'polarx_rpc exit'
2024-02-21T06:52:10.990795Z 0 [System] [MY-010910] [Server] /opt/galaxy_engine/bin/mysqld: Shutdown complete (mysqld 8.0.30) Source distribution.
The text was updated successfully, but these errors were encountered: