易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 97|回复: 1
收起左侧

查看nova-compute日志 Error during ComputeManager._run_image_cache_manager_pass: Perm

[复制链接]
发表于 2025-3-5 15:00:02 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task [None req-aebf9c60-4510-48d3-89b7-b8faeed1f2b3 - - - - - -] Error during ComputeManager._run_image_cache_manager_pass: PermissionError: [Errno 13] Permission denied: b'/usr/lib/python3.9/site-packages/instances/locks'
! y( Y0 X7 R, u1 W* M! w2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task Traceback (most recent call last):* v* R. o* ~- T7 K3 v2 v
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib/python3.9/site-packages/oslo_service/periodic_task.py", line 216, in run_periodic_tasks4 h7 i+ Y% W* \. b% Z
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     task(self, context)' l" l+ b* T( a$ y) g1 e' L, a$ c& e
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib/python3.9/site-packages/nova/compute/manager.py", line 11139, in _run_image_cache_manager_pass
/ n7 P5 W$ ~  q  z2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     storage_users.register_storage_use(CONF.instances_path, CONF.host)
! x& G6 y9 H9 J7 c9 ?. r! S2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib/python3.9/site-packages/nova/virt/storage_users.py", line 72, in register_storage_use9 ^+ H/ W; U/ s/ g6 N
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     return do_register_storage_use(storage_path, hostname)* r* ?% h: k$ }- T# i, N1 v3 {, B
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib/python3.9/site-packages/oslo_concurrency/lockutils.py", line 405, in inner( M3 r) i" D. V# Z
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     with lock(name, lock_file_prefix, external, lock_path,
# o0 S* X" J/ p; J( b+ s2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/contextlib.py", line 119, in __enter__
3 K, J7 D: ~" |; r$ b2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     return next(self.gen)
( T5 T% @8 Z- G: s; D' m2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib/python3.9/site-packages/oslo_concurrency/lockutils.py", line 319, in lock
: P1 u9 X/ ]+ ^* i9 t6 h0 J; u2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     gotten = ext_lock.acquire(delay=delay, blocking=blocking)9 a0 I# u6 v7 y3 g7 G
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib/python3.9/site-packages/fasteners/process_lock.py", line 144, in acquire
* o; @9 C, U. ]: D6 t# d2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     self._do_open()
" f5 K6 `! e' z2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib/python3.9/site-packages/fasteners/process_lock.py", line 106, in _do_open
' k$ ^1 y% V  ^2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     made_basedir = _ensure_tree(basedir)  i* f0 a& ^  [6 U
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib/python3.9/site-packages/fasteners/process_lock.py", line 43, in _ensure_tree
/ }4 ]( M& o7 K5 N2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     os.makedirs(path)2 Q: t, \# i5 T: D# j) Q/ v+ t
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/os.py", line 225, in makedirs
+ y5 Z2 A( T6 j  P' u1 r  v( _2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     mkdir(name, mode)) z' j) J: B- i: F0 S6 C, ?( h6 R4 `! n
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task PermissionError: [Errno 13] Permission denied: b'/usr/lib/python3.9/site-packages/instances/locks'
4 z9 p% o5 d( M6 L  [# a2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task
" M- p( w9 V, L) B5 a; T
* e4 G3 t' @0 q8 B4 r- @" t& e2 i. `5 u- k0 s/ n: H; C
 楼主| 发表于 2025-3-5 15:00:03 | 显示全部楼层
[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log - C: B: |* _7 J! h: W3 v' s
2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task   File "/usr/lib/python3.9/site-packages/fasteners/process_lock.py", line 43, in _ensure_tree& j' A1 A/ {( @6 o9 {
2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task     os.makedirs(path); W* Z2 @) Z8 b. P
2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/os.py", line 225, in makedirs0 Q7 \- t3 F/ }" b1 [, q
2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task     mkdir(name, mode)
! b- D' V% x% C2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task PermissionError: [Errno 13] Permission denied: b'/usr/lib/python3.9/site-packages/instances/locks'
1 w  d2 {8 p6 j- S: X$ w' N2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task 3 g1 V) W8 R% @( v) x/ u/ V" g, i
2025-03-05 14:07:38.901 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
/ g8 D' E6 `8 K, D) J" x  e1 n3 h1 K( e2025-03-05 14:08:38.883 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
% ^3 y3 t1 f. p( P, X2025-03-05 14:09:39.868 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
4 f% ^' S% h) x) j/ |* y; y2025-03-05 14:10:41.877 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.! I+ H" B3 l9 d* W1 t9 C
; Z0 F) m$ T$ ?1 f
2025-03-05 14:11:43.882 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.7 {+ s' W* ^* x1 k8 R1 p
' G' z- k: g% S/ a5 f6 A% _7 w! l
2025-03-05 14:12:44.868 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
6 t. D! H: h" U3 X( m2 n. h2025-03-05 14:13:45.896 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
( q- V6 z7 d, X2025-03-05 14:14:45.794 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.% R# m' a, k, x. p7 l
2025-03-05 14:15:47.838 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported., x% ]; }+ Y1 t7 ^" {' k4 R& {
2025-03-05 14:16:49.875 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.3 g/ ^# L1 e6 ]8 Q& H: o
2025-03-05 14:17:49.864 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
  v6 e8 n* P" h6 M0 f5 }7 \1 ]2025-03-05 14:18:51.847 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.2 U# A# L' M8 a  r. x; S
2025-03-05 14:19:52.898 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.* X& L" r4 E' b: j1 k* m8 ?
2025-03-05 14:20:53.881 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
4 E7 E3 b6 g8 f- m3 |6 |1 b2025-03-05 14:21:55.879 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.' Q' k/ t9 V# N. j) a
2025-03-05 14:22:57.808 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
8 G/ }0 G0 x5 u' e, M) K2025-03-05 14:23:58.853 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
  I4 G% r$ M, v" L1 c2025-03-05 14:24:58.863 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.( p9 G1 s- H: {0 o) c& C( r
2025-03-05 14:25:59.828 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
6 T0 Z2 S1 G4 I) R& J2025-03-05 14:26:59.887 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.9 |5 F9 l# X9 U$ T1 Q! I
2025-03-05 14:27:59.857 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
3 H5 ?8 T$ b5 x+ u. F2025-03-05 14:29:00.858 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
! Q% u% B  e' A8 T1 _5 C4 I) T2025-03-05 14:30:01.855 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.$ P% T, }1 l: y& {
2025-03-05 14:31:02.817 1123 WARNING nova.virt.libvirt.driver [None req-b959761f-1eee-40af-9bbe-d39413d1cd7a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.* V! u6 @9 y" @7 V# Z
^C% K$ n; ?3 o, s, b9 E
( t. n) j# z/ C* @" n( |
那就按照告警进行目录创建:
8 `: F) {! J( L) Q& i7 s7 Q[root@compute1 ~]# mkdir /usr/lib/python3.9/site-packages/instances/locks
) W4 ~, N1 o- i: D  k  \' ]* Q4 s$ P) j: d
重启nova-compute服务
0 `; V2 `& q5 u  j( ^5 r[root@compute1 ~]# systemctl restart  openstack-nova-compute.service ! W: c; ^' }( J: s( h

6 L- e8 C4 t: g  I- J$ y6 s& f, m. R6 b
[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log   |2 Q9 k5 n! p0 S
1 t1 e, J. {" F" D" s: z0 |# y
</capabilities>
$ }4 f, t' e! P; f% D
7 n+ Q1 _4 b2 c' @: z8 h2025-03-05 14:31:58.411 2046 INFO nova.virt.libvirt.host [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Secure Boot support detected$ B! F7 ^% e* ^/ `! y; Q. K: L
2025-03-05 14:31:58.449 2046 INFO nova.virt.node [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Determined node identity c69275ba-d220-4745-9152-1fc5f78a98b2 from /usr/lib/python3.9/site-packages/compute_id9 ^1 H, |  F6 L; ]9 j) _
2025-03-05 14:31:58.507 2046 INFO nova.compute.manager [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Looking for unclaimed instances stuck in BUILDING status for nodes managed by this host
8 ~) K# w8 o( u% O1 k9 _2025-03-05 14:31:59.043 2046 WARNING nova.virt.libvirt.driver [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.3 D/ c8 _) f- c9 m
2025-03-05 14:31:59.216 2046 INFO nova.virt.libvirt.host [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] kernel doesn't support AMD SEV1 Y& v' i2 O% r+ o
2025-03-05 14:32:58.061 2046 WARNING nova.virt.libvirt.driver [None req-0ba4a2c2-2088-4cd5-83c5-62b7de1ca1d8 - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.- I& E) N5 E- W3 n9 q
2025-03-05 14:33:59.112 2046 WARNING nova.virt.libvirt.driver [None req-0ba4a2c2-2088-4cd5-83c5-62b7de1ca1d8 - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.0 A. l. K: X" p( r* q' ?
/ `1 V7 w8 k: {* F1 f- J- U4 T# Z

) _- |3 j' C# S) |0 x2 V4 z6 V0 o& \3 E. u, I
2025-03-05 14:35:01.092 2046 WARNING nova.virt.libvirt.driver [None req-0ba4a2c2-2088-4cd5-83c5-62b7de1ca1d8 - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported." x- F% G2 B  Y- o' r
2025-03-05 14:36:02.139 2046 WARNING nova.virt.libvirt.driver [None req-0ba4a2c2-2088-4cd5-83c5-62b7de1ca1d8 - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
" R' m) `1 b* E/ s" U9 c
( u1 m: B- V8 N1 Y
& b' E$ \! O+ i  R, A& |( ?似乎没有告警了。" q3 o7 l' N& W! }3 w+ C

- W- \9 J& X/ n% r( v[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log / r5 j. ?, N; p8 i% w9 `; k

# n; z' d6 Q1 ?7 S0 e8 M0 _" l2025-03-05 14:31:58.411 2046 INFO nova.virt.libvirt.host [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Secure Boot support detected
7 k+ d; j4 Q" n  p. E' ~2025-03-05 14:31:58.449 2046 INFO nova.virt.node [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Determined node identity c69275ba-d220-4745-9152-1fc5f78a98b2 from /usr/lib/python3.9/site-packages/compute_id6 j) m$ _; `8 U/ W7 {
2025-03-05 14:31:58.507 2046 INFO nova.compute.manager [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Looking for unclaimed instances stuck in BUILDING status for nodes managed by this host
9 C" d: S- B  F$ k4 V* ^! e, W2025-03-05 14:31:59.043 2046 WARNING nova.virt.libvirt.driver [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.: r) u7 I- A8 Y' l: F* X5 ?& u
2025-03-05 14:31:59.216 2046 INFO nova.virt.libvirt.host [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] kernel doesn't support AMD SEV
/ P! u5 ]7 E- B0 M9 u7 d& S* I2025-03-05 14:32:58.061 2046 WARNING nova.virt.libvirt.driver [None req-0ba4a2c2-2088-4cd5-83c5-62b7de1ca1d8 - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
9 n6 w* c5 _  Y3 j2025-03-05 14:33:59.112 2046 WARNING nova.virt.libvirt.driver [None req-0ba4a2c2-2088-4cd5-83c5-62b7de1ca1d8 - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.9 |9 k0 ^# v9 f& ?# f3 s) W6 T
2025-03-05 14:35:01.092 2046 WARNING nova.virt.libvirt.driver [None req-0ba4a2c2-2088-4cd5-83c5-62b7de1ca1d8 - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
3 a/ o& ?- \+ G2025-03-05 14:36:02.139 2046 WARNING nova.virt.libvirt.driver [None req-0ba4a2c2-2088-4cd5-83c5-62b7de1ca1d8 - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.7 K! i" ?# \* W, A& r" E5 m, j5 F
2025-03-05 14:37:04.091 2046 WARNING nova.virt.libvirt.driver [None req-0ba4a2c2-2088-4cd5-83c5-62b7de1ca1d8 - - - - - -] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 点击这里给我发消息

GMT+8, 2026-4-10 16:25 , Processed in 0.041254 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

快速回复 返回顶部 返回列表