易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 90|回复: 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'
, |5 T9 n$ W2 V, v8 l5 e* y+ A2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task Traceback (most recent call last):) y+ k. ^) a' @8 o. f
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_tasks
- x# r" W& d7 o& m/ W2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     task(self, context)
' |% d: k9 o' \5 R! e3 Y8 I! z+ B2025-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_pass7 ?6 K9 X% s9 w: B! f& c
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     storage_users.register_storage_use(CONF.instances_path, CONF.host)
. Y6 g$ c) t1 S" T. l6 c6 {, V2025-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_use
# f  @$ a% s( R/ H  I4 S  s2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     return do_register_storage_use(storage_path, hostname)
/ ~8 X) G" ~7 G+ |2 p  {( }5 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 405, in inner3 \: t$ X+ y5 ?9 n
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     with lock(name, lock_file_prefix, external, lock_path,
- F' d2 W! p. l% A2 ]3 t2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/contextlib.py", line 119, in __enter__
% ]+ T9 h- |& n4 {$ l  l0 j" X) a2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     return next(self.gen)
" I; i  h+ y/ i( C; i/ ?4 p2025-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 lock8 o. C2 f0 ~! h6 b- [; x! ~4 }
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     gotten = ext_lock.acquire(delay=delay, blocking=blocking)
  x: r) i' o. 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 acquire4 ?7 j3 I" K& @7 Q" B- H7 q8 k
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     self._do_open()% e" o( r  }( D: Z- [1 ~# 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 106, in _do_open) c  D$ u5 v2 |$ x0 h# H7 z# x
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     made_basedir = _ensure_tree(basedir)# `) e( M+ k& G; s0 V5 r# _
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/ i# D2 M9 B5 }( N; l# q
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     os.makedirs(path)
! a6 G2 a: r4 L3 l/ l+ S* C2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/os.py", line 225, in makedirs
6 {! q7 ~1 d* n  `0 a& G& Q2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     mkdir(name, mode)0 s! q7 s: k+ j+ ?% o
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'- ^% k2 c0 C4 N% \. Z2 L
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task ( M) z7 H6 J( r3 i8 X
7 j4 S$ y4 f! |3 W, y; \

; j* |3 B) `! a; G+ S8 O
 楼主| 发表于 2025-3-5 15:00:03 | 显示全部楼层
[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log
9 l. ]1 }0 N  C3 A+ r* N# p2025-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_tree8 t! Q  K7 U% r. A3 p( `" r6 A/ q
2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task     os.makedirs(path)" E; I! h2 a% c$ [* V5 f* ~
2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/os.py", line 225, in makedirs
, T3 `' \* z& a- a0 R9 p7 D2 g9 V# d2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task     mkdir(name, mode)
% f  U) k  `2 }. K2025-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'
# y' m$ @  u( t( |! x4 A2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task
  |5 P0 G0 D( t6 e3 D  K2 [; O2025-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.9 d  T- A4 L1 b" {' f# e; X
2025-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.
( x$ F+ Z! J7 y/ J$ w$ N! Q2025-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.# f  S. Z7 \" O; U$ d
2025-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.
, C0 e2 ?" ^# R% Z8 d) ?- k0 r( s( r! U* W8 Q+ P
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.9 U% @4 u" d% M" T2 Z# X- o& w; K/ X

8 ]. `' N' |' N( |5 q2025-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.
  D4 U% b4 Q6 O- L" U3 Z( C4 a2025-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.. x, U4 t1 k, @, _. Y! a# @
2025-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.
5 [. P9 W, H$ n6 r2025-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.
0 K* n- }+ o) V; R. w2025-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.
2 {/ |& F4 o+ p6 q. q' _1 E2025-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.
7 a9 u3 k! R/ |  m  E6 H8 n' i2025-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., d3 `8 M* }) G+ O) B5 m
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.
1 \9 A! k# g2 B7 N* ]- L! y# F2025-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.
9 g# y6 E+ O5 l$ |( ?6 u; C2025-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.
5 K: x0 ~. j) V2025-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.
# _. R7 z' b9 U7 t5 o2025-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.
0 k& g: s5 y9 G% ]6 A$ A2025-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.; o9 t' X  S) ]
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.0 e7 }' D/ b- t4 P* F7 ?
2025-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.& L% G: f: q8 ?" h. E2 n( A
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.
/ ~; a, N" z8 O4 x7 h2025-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.
/ f3 F. v9 b+ s# d* w+ b2025-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.% v& t, W. g7 J/ w& y7 _& r, O
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.
* i: q5 L$ b8 R4 D! g% d^C. X2 [+ J1 ?  F: _) K7 c

4 V0 `$ m( D; }7 _' R5 v那就按照告警进行目录创建:! m& C+ k! `1 ]# b3 I9 F& e
[root@compute1 ~]# mkdir /usr/lib/python3.9/site-packages/instances/locks
7 r! M0 P+ T$ W1 F2 S2 q; p" [: Z. `9 F* ^0 Z2 o7 m% h: u* W
重启nova-compute服务
+ n' K3 G0 |, p4 m0 R! o[root@compute1 ~]# systemctl restart  openstack-nova-compute.service , o; E2 C% R( J7 S2 Z

& [' @2 l' Y  ?8 X# x% s) ?% ]4 x( A5 Q) S9 w
[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log
) A. H1 U: a& @% j+ V
1 E  B2 E. S; ]+ c' M* l. Z</capabilities>
! Q' W9 n" ~0 }$ o+ l8 p; k" Q
+ d5 r4 b8 M2 e, Y' ?2025-03-05 14:31:58.411 2046 INFO nova.virt.libvirt.host [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Secure Boot support detected
9 T. @7 g1 p+ W1 d: {, c  t2025-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_id
6 v/ |9 ^; p! M2025-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
' }* E" F$ R' U% A+ c1 j2025-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.' a- Y. B: P$ Z  e' f
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
0 B2 Q* v8 N% k+ n" r, Y6 f0 t2025-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.
" ]0 n! f$ r$ g3 @4 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.
& p- m/ `) n! F6 G: v: |. s& [. [# z  J% k

7 ?/ o0 ^  b% x. C; a4 P
6 h# u$ A+ g- n8 Z) k3 t, S9 ^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.- Q" Q! E! S( ^  n+ E+ j8 ?" Q
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.
4 E2 c& G  r2 d  b8 T% Q$ k+ t0 K& M4 I2 z% p1 H

4 _/ U$ ?0 d/ [$ t; |似乎没有告警了。
3 Q2 t7 G! J1 I* G9 u% t" `
( z% L) ]+ }/ f7 f/ M$ d, O[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log
* m! @7 h$ w0 Q- g" e. {; o
7 u0 Z# Y* s4 T  ?5 z' Q* c& L4 L2025-03-05 14:31:58.411 2046 INFO nova.virt.libvirt.host [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Secure Boot support detected, w. b8 c. \/ A* }. q
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_id
' e& g5 m# \0 u6 e3 \' m9 P( q2 r2025-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
! ^7 ^3 p- F0 ?; [; ?2 V6 H2025-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.' N+ y0 l9 s# J; ]- d
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 SEV4 F8 }) Q" k- L+ E8 }& Y
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.3 y7 U4 m" n' ^8 ?5 I
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.
1 `3 m7 o% {1 _* X, C& V* t2025-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.% ]/ G0 h* L/ }. e) O. f' Z
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.
3 R1 S- p& b* U( T( x2025-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|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 19:57 , Processed in 0.059795 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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