当前位置:   article > 正文

关于openEuler22.03LTS SP3尝试kolla安装容器版openstack(随手记)

关于openEuler22.03LTS SP3尝试kolla安装容器版openstack(随手记)

遇到的问题太多了…………当然主要还是我自己能力太差了。

  1. 首先,官方的文档显示支持的操作系统有penEuler 22.03 LTS版本的,但注意:官方没有提供直接可用的容器镜像
    官方仅提供RockyDebianUbuntu。CentOS可以使用Rocky镜像尝试,但我目前还没有尝试。
  2. 可以尝试使用Rocky 9版的容器镜像搭建,但是ansible执行到rabbitmq容器拉活时会失败

以下是错误日志

# ansible报错
RUNNING HANDLER [rabbitmq : Waiting for rabbitmq to start] ********************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["docker", "exec", "rabbitmq", "rabbitmqctl", "wait", "--timeout", "60", "/var/lib/rabbitmq/mnesia/rabbitmq.pid"], "delta": "0:01:03.693724", "end": "2024-05-02 00:11:34.853491", "msg": "non-zero return code", "rc": 75, "start": "2024-05-02 00:10:31.159767", "stderr": "Error: operation wait on node rabbit@localhost timed out. Timeout value used: 60000", "stderr_lines": ["Error: operation wait on node rabbit@localhost timed out. Timeout value used: 60000"], "stdout": "Waiting for pid file '/var/lib/rabbitmq/mnesia/rabbitmq.pid' to appear", "stdout_lines": ["Waiting for pid file '/var/lib/rabbitmq/mnesia/rabbitmq.pid' to appear"]}
  • 1
  • 2
  • 3
#dockerlog
(venv) [root@localhost ~]# docker logs 7319
+ sudo -E kolla_set_configs
INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
INFO:__main__:Validating config file
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__main__:Copying service configuration files
INFO:__main__:Copying /var/lib/kolla/config_files/rabbitmq-env.conf to /etc/rabbitmq/rabbitmq-env.conf
INFO:__main__:Setting permission for /etc/rabbitmq/rabbitmq-env.conf
INFO:__main__:Copying /var/lib/kolla/config_files/rabbitmq.conf to /etc/rabbitmq/rabbitmq.conf
INFO:__main__:Setting permission for /etc/rabbitmq/rabbitmq.conf
INFO:__main__:Copying /var/lib/kolla/config_files/erl_inetrc to /etc/rabbitmq/erl_inetrc
INFO:__main__:Setting permission for /etc/rabbitmq/erl_inetrc
INFO:__main__:Copying /var/lib/kolla/config_files/advanced.config to /etc/rabbitmq/advanced.config
INFO:__main__:Setting permission for /etc/rabbitmq/advanced.config
INFO:__main__:Copying /var/lib/kolla/config_files/definitions.json to /etc/rabbitmq/definitions.json
INFO:__main__:Setting permission for /etc/rabbitmq/definitions.json
INFO:__main__:Deleting /etc/rabbitmq/enabled_plugins
INFO:__main__:Copying /var/lib/kolla/config_files/enabled_plugins to /etc/rabbitmq/enabled_plugins
INFO:__main__:Setting permission for /etc/rabbitmq/enabled_plugins
INFO:__main__:Writing out command to execute
INFO:__main__:Setting permission for /var/lib/rabbitmq
INFO:__main__:Setting permission for /var/lib/rabbitmq/.erlang.cookie
++ cat /run_command
+ CMD=/usr/sbin/rabbitmq-server
+ ARGS=
+ sudo kolla_copy_cacerts
+ [[ ! -n '' ]]
+ . kolla_extend_start
++ : /var/log/kolla/rabbitmq
++ [[ -n '' ]]
++ [[ ! -d /var/log/kolla/rabbitmq ]]
++ mkdir -p /var/log/kolla/rabbitmq
+++ stat -c %a /var/log/kolla/rabbitmq
++ [[ 2755 != \7\5\5 ]]
++ chmod 755 /var/log/kolla/rabbitmq
Running command: '/usr/sbin/rabbitmq-server'
+ echo 'Running command: '\''/usr/sbin/rabbitmq-server'\'''
+ exec /usr/sbin/rabbitmq-server
2024-05-02 00:10:38.621854+08:00 [info] <0.222.0> Feature flags: list of feature flags found:
2024-05-02 00:10:38.655267+08:00 [info] <0.222.0> Feature flags:   [ ] classic_mirrored_queue_version
2024-05-02 00:10:38.655496+08:00 [info] <0.222.0> Feature flags:   [ ] classic_queue_type_delivery_support
2024-05-02 00:10:38.656139+08:00 [info] <0.222.0> Feature flags:   [ ] implicit_default_bindings
2024-05-02 00:10:38.656754+08:00 [info] <0.222.0> Feature flags:   [ ] maintenance_mode_status
2024-05-02 00:10:38.657182+08:00 [info] <0.222.0> Feature flags:   [ ] quorum_queue
2024-05-02 00:10:38.657378+08:00 [info] <0.222.0> Feature flags:   [ ] stream_queue
2024-05-02 00:10:38.657553+08:00 [info] <0.222.0> Feature flags:   [ ] user_limits
2024-05-02 00:10:38.658043+08:00 [info] <0.222.0> Feature flags:   [ ] virtual_host_metadata
2024-05-02 00:10:38.658409+08:00 [info] <0.222.0> Feature flags: feature flag states written to disk: yes
2024-05-02 00:10:39.605293+08:00 [notice] <0.44.0> Application syslog exited with reason: stopped
2024-05-02 00:10:39.605513+08:00 [notice] <0.222.0> Logging: switching to configured handler(s); following messages may not be visible in this log output

  ##  ##      RabbitMQ 3.10.25
  ##  ##
  ##########  Copyright (c) 2007-2023 VMware, Inc. or its affiliates.
  ######  ##
  ##########  Licensed under the MPL 2.0. Website: https://rabbitmq.com

  Erlang:      25.3.2.9 [jit]
  TLS Library: OpenSSL - OpenSSL 1.1.1k  25 Mar 2021
  Release series support status: out of support

  Doc guides:  https://rabbitmq.com/documentation.html
  Support:     https://rabbitmq.com/contact.html
  Tutorials:   https://rabbitmq.com/getstarted.html
  Monitoring:  https://rabbitmq.com/monitoring.html

  Logs: /var/log/kolla/rabbitmq/rabbit@localhost.log
        /var/log/kolla/rabbitmq/rabbit@localhost_upgrade.log
        <stdout>

  Config file(s): /etc/rabbitmq/advanced.config
                  /etc/rabbitmq/rabbitmq.conf

  Starting broker... completed with 3 plugins.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  1. openEuler的官网,中文版document已经把所有关于openstack的内容移除,并指向一个新的网址。不过这个网址是错误,无法访问的
  2. openEuler的官网,英文版document还有openstack搭建的文档,不过没有使用kolla一键部署的。kolla一键部署目前我只看到,显示只到queen版,同时没有官方的文档…………

目前先记录到这,浪费了一晚上的时间TuT

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/541558
推荐阅读
相关标签
  

闽ICP备14008679号