AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / computer / 问题

问题[openstack](computer)

Martin Hope
Bilal Yahya
Asked: 2021-05-18 05:06:08 +0800 CST

Openstack Heat 安装 [错误:所有热机都停机。]

  • 5

我已经在 Ubuntu 20.04 上成功安装了 OpenStack Victoria。使用本指南https://docs.openstack.org/heat/victoria/install/install-ubuntu.html安装热量 并使用相同的指南进行验证后

#openstack orchestration service list

我明白了

ERROR: All heat engines are down.

这些是日志

2021-05-17 12:46:19.045 277441 ERROR heat-engine   File "/usr/lib/python3/dist-packages/heat/common/pluginutils.py", line 23, in log_fail_msg
2021-05-17 12:46:19.045 277441 ERROR heat-engine     {'module_name': entrypoint.module,
2021-05-17 12:46:19.045 277441 ERROR heat-engine AttributeError: 'EntryPoint' object has no attribute 'module'
2021-05-17 12:46:19.045 277441 ERROR heat-engine
2021-05-17 12:46:22.500 277447 INFO keyring.backend [-] Loading KWallet
2021-05-17 12:46:22.507 277447 INFO keyring.backend [-] Loading SecretService
2021-05-17 12:46:22.509 277447 INFO keyring.backend [-] Loading Windows
2021-05-17 12:46:22.510 277447 INFO keyring.backend [-] Loading chainer
2021-05-17 12:46:22.511 277447 INFO keyring.backend [-] Loading macOS
2021-05-17 12:46:22.626 277447 CRITICAL heat-engine [-] Unhandled error: AttributeError: 'EntryPoint' object has no attribute 'module'
2021-05-17 12:46:22.626 277447 ERROR heat-engine Traceback (most recent call last):
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3/dist-packages/stevedore/extension.py", line 221, in _load_plugins
2021-05-17 12:46:22.626 277447 ERROR heat-engine     ext = self._load_one_plugin(ep,
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3/dist-packages/stevedore/enabled.py", line 77, in _load_one_plugin
2021-05-17 12:46:22.626 277447 ERROR heat-engine     ext = super(EnabledExtensionManager, self)._load_one_plugin(
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3/dist-packages/stevedore/extension.py", line 255, in _load_one_plugin
2021-05-17 12:46:22.626 277447 ERROR heat-engine     plugin = ep.load()
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
2021-05-17 12:46:22.626 277447 ERROR heat-engine     module = import_module(match.group('module'))
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
2021-05-17 12:46:22.626 277447 ERROR heat-engine     return _bootstrap._gcd_import(name[level:], package, level)
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "<frozen importlib._bootstrap_external>", line 783, in exec_module
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3/dist-packages/heat/engine/clients/os/zun.py", line 16, in <module>
2021-05-17 12:46:22.626 277447 ERROR heat-engine     from zunclient import client as zun_client
2021-05-17 12:46:22.626 277447 ERROR heat-engine ModuleNotFoundError: No module named 'zunclient'
2021-05-17 12:46:22.626 277447 ERROR heat-engine
2021-05-17 12:46:22.626 277447 ERROR heat-engine During handling of the above exception, another exception occurred:
2021-05-17 12:46:22.626 277447 ERROR heat-engine
2021-05-17 12:46:22.626 277447 ERROR heat-engine Traceback (most recent call last):
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/bin/heat-engine", line 10, in <module>
2021-05-17 12:46:22.626 277447 ERROR heat-engine     sys.exit(main())
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3/dist-packages/heat/cmd/engine.py", line 90, in main
2021-05-17 12:46:22.626 277447 ERROR heat-engine     launcher = launch_engine()
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3/dist-packages/heat/cmd/engine.py", line 79, in launch_engine
2021-05-17 12:46:22.626 277447 ERROR heat-engine     srv = engine.EngineService(CONF.host, rpc_api.ENGINE_TOPIC)
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3/dist-packages/heat/engine/service.py", line 359, in __init__
2021-05-17 12:46:22.626 277447 ERROR heat-engine     resources.initialise()
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3/dist-packages/heat/engine/resources/__init__.py", line 65, in initialise
2021-05-17 12:46:22.626 277447 ERROR heat-engine     clients.initialise()
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3/dist-packages/heat/engine/clients/__init__.py", line 125, in initialise
2021-05-17 12:46:22.626 277447 ERROR heat-engine     _mgr = enabled.EnabledExtensionManager(
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3/dist-packages/stevedore/enabled.py", line 65, in __init__
2021-05-17 12:46:22.626 277447 ERROR heat-engine     super(EnabledExtensionManager, self).__init__(
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3/dist-packages/stevedore/extension.py", line 133, in __init__
2021-05-17 12:46:22.626 277447 ERROR heat-engine     extensions = self._load_plugins(invoke_on_load,
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3/dist-packages/stevedore/extension.py", line 233, in _load_plugins
2021-05-17 12:46:22.626 277447 ERROR heat-engine     self._on_load_failure_callback(self, ep, err)
2021-05-17 12:46:22.626 277447 ERROR heat-engine   File "/usr/lib/python3/dist-packages/heat/common/pluginutils.py", line 23, in log_fail_msg
2021-05-17 12:46:22.626 277447 ERROR heat-engine     {'module_name': entrypoint.module,
2021-05-17 12:46:22.626 277447 ERROR heat-engine AttributeError: 'EntryPoint' object has no attribute 'module' 



root@controller:~# tail -f /var/log/heat/heat-api.log
2021-05-17 09:41:21.586 243980 INFO eventlet.wsgi.server [-] (243980) wsgi starting up on http://0.0.0.0:8004
2021-05-17 09:41:21.587 243958 INFO heat.common.wsgi [-] Started child 243981
2021-05-17 09:41:21.591 243981 INFO eventlet.wsgi.server [-] (243981) wsgi starting up on http://0.0.0.0:8004
2021-05-17 09:41:21.591 243958 INFO heat.common.wsgi [-] Started child 243982
2021-05-17 09:41:21.597 243982 INFO eventlet.wsgi.server [-] (243982) wsgi starting up on http://0.0.0.0:8004
2021-05-17 09:41:21.598 243958 INFO heat.common.wsgi [-] Started child 243983
2021-05-17 09:41:21.602 243983 INFO eventlet.wsgi.server [-] (243983) wsgi starting up on http://0.0.0.0:8004
2021-05-17 09:41:41.116 243976 INFO heat.common.wsgi [req-2c13678b-8127-4aac-86ee-10ffb9af8a8c admin admin - default default] Processing request: GET /v1/219c35c909e74a73b538c4875d826825/services
2021-05-17 09:42:41.168 243976 ERROR heat.common.wsgi [req-2c13678b-8127-4aac-86ee-10ffb9af8a8c admin admin - default default] Returning 503 to user: The server is currently unavailable. Please try again at a later time.: webob.exc.HTTPServiceUnavailable: All heat engines are down.
2021-05-17 09:42:41.176 243976 INFO eventlet.wsgi.server [req-2c13678b-8127-4aac-86ee-10ffb9af8a8c admin admin - default default] 127.0.0.1 - - [17/May/2021 09:42:41] "GET /v1/219c35c909e74a73b538c4875d826825/services HTTP/1.1" 503 455 61.362854```


Please if you need anything else let me know, thanks.
ubuntu openstack
  • 2 个回答
  • 162 Views
Martin Hope
Val
Asked: 2019-06-29 08:34:38 +0800 CST

OpenStack 上的 Kubernetes CSI 向节点添加了错误的 nodeid 注释

  • 5

我正在尝试在我的Kubernetes集群(安装在OpenStack 实例)。

一切正常(PV、PVC 和实际 Cinder 卷创建得很好)但是当csi-attacher尝试将我的 Cinder 卷附加到我的节点时,它失败了:

Error processing "csi-0c1aee9c7e99bc90a586541a4bb7974e38978dc3a2c441a1ad1413d7435d886c": failed to attach: rpc error: code = Unknown desc = failed to attach 445d9931-9e32-48b5-b765-209a4526691f volume to i-0031336c compute: Resource not found

请注意,卷 ID 是正确的:

> cinder list | grep 445d9931-9e32-48b5-b765-209a4526691f
| 445d9931-9e32-48b5-b765-209a4526691f | available | pvc-788eb00a-99bc-11e9-b7dc-fa163eb3415c | 1    | classic     | false    |                                      |

我的节点不是i-0031336c实际的 UUID:

> nova list | grep worker03-dev
| 9d7cd2bb-a365-4276-86ed-f4884132c361 | worker03-dev     | ACTIVE | -          | Running     | Ext-Net=<redacted>    |

我不知道为什么,但是有些东西(我在 CSI 方面还不是很专家)正在向我的节点添加一个 ID 错误的注释:

> kubectl get node worker03-dev.node.consul -o yaml | grep nodeid
    csi.volume.kubernetes.io/nodeid: '{"cinder.csi.openstack.org":"i-0031336c"}'

从主机查询 OpenStack API 时,它也会返回正确的 UUID:

root@worker03-dev ~ # curl -s 169.254.169.254/openstack/latest/meta_data.json | jq '.uuid'
"9d7cd2bb-a365-4276-86ed-f4884132c361"

我有什么完全不对的地方吗?

我运行这些 CSI 容器:

image: quay.io/k8scsi/csi-attacher:v1.1.1
image: quay.io/k8scsi/csi-provisioner:v1.0.1
image: quay.io/k8scsi/csi-snapshotter:v1.0.1
image: quay.io/k8scsi/csi-node-driver-registrar:v1.1.0
image: docker.io/k8scloudprovider/cinder-csi-plugin:latest

(我从v1.0.1所有k8scsi容器开始,但尝试升级其中一些但没有成功)

kubernetes openstack
  • 1 个回答
  • 265 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Vickel Firefox 不再允许粘贴到 WhatsApp 网页中? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve