Giter Site home page Giter Site logo

Comments (6)

chenjacken avatar chenjacken commented on June 6, 2024

host node5节点pod完整日志:
host_node5.log

from cloudpods.

swordqiu avatar swordqiu commented on June 6, 2024

看到有下面报错,感觉是缺少 prettytable 这个python包,导致调用 ceph 客户端失败了。

可以在宿主机执行 ceph -s,看是否有缺少包的报错,把缺少的python包安装一下。

[error 2023-10-03 11:43:43 hostinfo.(*SHostInfo).PutHostOnline(hostinfo.go:1541)] Host sys error: map[isolated_devices:[{isolated_devices GPU 05:00.0 use kernel driver ast, skip it 2023-10-03 11:43:42.994314942 +0000 UTC m=+4.704237455}] storages:[{storages 5a312f0f-2ffb-4f04-80bb-226e41fd45e0 HWCloud-ceph check storage accessible failed: output: stderr "Traceback (most recent call last):\n File "/usr/bin/ceph", line 136, in \n from ceph_daemon import admin_socket, DaemonWatcher, Termsize\n File "/usr/lib/python2.7/site-packages/ceph_daemon.py", line 21, in \n from prettytable import PrettyTable, HEADER\nImportError: No module named prettytable\n": exit status 1 2023-10-03 11:43:43.170621912 +0000 UTC m=+4.880544456}]]

from cloudpods.

chenjacken avatar chenjacken commented on June 6, 2024

看到有下面报错,感觉是缺少 prettytable 这个python包,导致调用 ceph 客户端失败了。

可以在宿主机执行 ceph -s,看是否有缺少包的报错,把缺少的python包安装一下。

[error 2023-10-03 11:43:43 hostinfo.(*SHostInfo).PutHostOnline(hostinfo.go:1541)] Host sys error: map[isolated_devices:[{isolated_devices GPU 05:00.0 use kernel driver ast, skip it 2023-10-03 11:43:42.994314942 +0000 UTC m=+4.704237455}] storages:[{storages 5a312f0f-2ffb-4f04-80bb-226e41fd45e0 HWCloud-ceph check storage accessible failed: output: stderr "Traceback (most recent call last):\n File "/usr/bin/ceph", line 136, in \n from ceph_daemon import admin_socket, DaemonWatcher, Termsize\n File "/usr/lib/python2.7/site-packages/ceph_daemon.py", line 21, in \n from prettytable import PrettyTable, HEADER\nImportError: No module named prettytable\n": exit status 1 2023-10-03 11:43:43.170621912 +0000 UTC m=+4.880544456}]]

[root@node5 ~]# ceph -s
Traceback (most recent call last):
File "/usr/bin/ceph", line 136, in
from ceph_daemon import admin_socket, DaemonWatcher, Termsize
File "/usr/lib/python2.7/site-packages/ceph_daemon.py", line 21, in
from prettytable import PrettyTable, HEADER
ImportError: No module named prettytable
[root@node5 ~]# cat /etc/os-release
NAME="Kylin Linux Advanced Server"
VERSION="V10 (Sword)"
ID="kylin"
VERSION_ID="V10"
PRETTY_NAME="Kylin Linux Advanced Server V10 (Sword)"
ANSI_COLOR="0;31"

[root@node5 ~]#
+++++++
是呢,是缺少了这个包。是因为麒麟的系统,之前的步骤导致出错吗?centos都没问题。

from cloudpods.

swordqiu avatar swordqiu commented on June 6, 2024

收到,请按这个思路排查。

我们也看下是不是麒麟的安装步骤把这个包省略了。

from cloudpods.

swordqiu avatar swordqiu commented on June 6, 2024

@zhasm 验证一下是不是麒麟的安装步骤会把 prettytable 忽略安装

from cloudpods.

chenjacken avatar chenjacken commented on June 6, 2024

收到,请按这个思路排查。

我们也看下是不是麒麟的安装步骤把这个包省略了。

安装上prettytable模块,所在节点的虚拟机能启动成功了。
host重启过程看到有一个error信息:
[error 2023-10-03 14:43:02 guestman.(*SKVMGuestInstance).StartMonitor(qemu-kvm.go:792)] Guest c87b367c-3c68-48d9-89ee-7fbf00ebb100 start monitor failed, can't get qmp monitor port or monitor path

from cloudpods.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.