【 使用环境 】测试环境
【 OB or 其他组件 】
ob4.1
oms 4.1.0-ce
MariaDB 10.3.35(Anolis 8.8自带)
【 使用版本 】
【问题描述】OMS使用MariaDB存储元信息错误,是不支持MariaDB吗?文档上写支持mysql,支持什么版本呢5.7还是8.0?
【复现路径】
完整过程在附件里
简略过程如下:
安装过程中先报错:ERROR 1064 (42000) at line 1897: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'BEFORE `grade_id`' at line 1
然后报错:ERROR 1071 (42000) at line 1635: Specified key was too long; max key length is 3072 bytes
最终报错:requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8090): Max retries exceeded with url: /api/auth (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f49eb746d10>: Failed to establish a new connection: [Errno 111] Connection refused',))
#【结束】初始化失败,当前命令: python -m omsflow.scripts.units.oms_cluster_manager add_resource
【问题现象及影响】
【附件】
oms安装完整错误流程.txt (43.9 KB)