我需要你的帮助,我们正在运行一个基于 openstack 框架 (Rocky) 构建的平台。最近我们决定在我们的平台上安装 Aodh 服务,以便使用 Heat 实现自动扩展。我们的基础架构在集群中运行 mysql/percona-cluster,在添加 aodh 和 MySQL 之间的关系后,aodh charm 进入等待状态而不是活动状态。我们尝试在运行单个 mysql 节点的演示环境中部署 aodh,在添加所有相关关系后,部署成功进入活动状态。我们认为这可能是 ha-cluster 的问题,但我们在日志中没有看到任何指向此问题来源的内容。
Openstack版本:Openstack Rocky
Ubuntu 版本:18.04
JUJU 状态:
单位 工作量 代理 机器 公网地址 端口 消息
aodh/4* 等待空闲 93 10.10.2.2 8042/tcp‘shared-db’不完整
JUJU 日志:
tracer: ++ queue handler hooks/relations/mysql-shared/requires.py:16:joined 2020-12-26 21:57:41 INFO juju-log shared-db:157: Invoking reactive handler: hooks/relations/mysql-shared/requires.py:16:joined 2020-12-26 21:57:42 DEBUG juju-log shared-db:157: tracer: set flag shared-db.connected 2020-12-26 21:57:42 DEBUG juju-log shared-db:157: tracer> tracer: main dispatch loop, 4 handlers queued tracer: ++ queue handler hooks/relations/tls-certificates/requires.py:109:broken:certificates tracer: ++ queue handler reactive/aodh_handlers.py:45:setup_amqp_req tracer: ++ queue handler reactive/aodh_handlers.py:55:setup_database tracer: ++ queue handler reactive/aodh_handlers.py:64:setup_endpoint 2020-12-26 21:57:42 INFO juju-log shared-db:157: Invoking reactive handler: reactive/aodh_handlers.py:45:setup_amqp_req 2020-12-26 21:57:43 INFO juju-log shared-db:157: Invoking reactive handler: reactive/aodh_handlers.py:55:setup_database 2020-12-26 21:57:44 INFO juju-log shared-db:157: Invoking reactive handler: reactive/aodh_handlers.py:64:setup_endpoint 2020-12-26 21:57:46 WARNING juju-log shared-db:157: configure_ssl method is DEPRECATED, please use configure_tls instead. 2020-12-26 21:57:46 INFO juju-log shared-db:157: Invoking reactive handler: hooks/relations/tls-certificates/requires.py:109:broken:certificates 2020-12-26 21:57:46 DEBUG juju-log shared-db:157: Running _assess_status() 2020-12-26 21:57:52 INFO juju-log shared-db:157: Reactive main running for hook shared-db-relation-changed 2020-12-26 21:57:52 DEBUG juju-log shared-db:157: tracer> tracer: starting handler dispatch, 41 flags set tracer: set flag amqp.available tracer: set flag amqp.connected tracer: set flag aodh-installed tracer: set flag charm.installed tracer: set flag charms.openstack.do-default-certificates.available tracer: set flag charms.openstack.do-default-cluster.available tracer: set flag charms.openstack.do-default-upgrade-charm tracer: set flag config.default.action-managed-upgrade tracer: set flag config.default.debug tracer: set flag config.default.dns-ha tracer: set flag config.default.haproxy-client-timeout tracer: set flag config.default.haproxy-connect-timeout tracer: set flag config.default.haproxy-queue-timeout tracer: set flag config.default.haproxy-server-timeout tracer: set flag config.default.os-admin-hostname tracer: set flag config.default.os-admin-network tracer: set flag config.default.os-internal-hostname tracer: set flag config.default.os-internal-network tracer: set flag config.default.os-public-hostname tracer: set flag config.default.os-public-network tracer: set flag config.default.region tracer: set flag config.default.ssl_ca tracer: set flag config.default.ssl_cert tracer: set flag config.default.ssl_key tracer: set flag config.default.use-policyd-override tracer: set flag config.default.use-syslog tracer: set flag config.default.vip tracer: set flag config.default.vip_cidr tracer: set flag config.default.vip_iface tracer: set flag config.default.worker-multiplier tracer: set flag config.set.openstack-origin tracer: set flag config.set.region tracer: set flag config.set.use-internal-endpoints tracer: set flag config.set.vip_cidr tracer: set flag config.set.vip_iface tracer: set flag haproxy.stat.password tracer: set flag identity-service.available tracer: set flag identity-service.available.auth tracer: set flag identity-service.connected tracer: set flag shared-db.connected tracer: set flag ssl.enabled 2020-12-26 21:57:53 DEBUG juju-log shared-db:157: tracer> tracer: hooks phase, 1 handlers queued tracer: ++ queue handler hooks/relations/mysql-shared/requires.py:20:changed