易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 89|回复: 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'0 i! m  ?7 Q8 T; z- [  V
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task Traceback (most recent call last):
' O) D* q( u) W5 }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; _0 C8 j8 B+ {0 [2 F) _2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     task(self, context)
% n( f! W" h: o( t- q9 i  b9 ~7 [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
" S. }3 w. B! e. e( t2 d2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     storage_users.register_storage_use(CONF.instances_path, CONF.host)
; a9 k& K9 _, y# Z% H- t2025-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_use3 g( V8 r8 E, B7 T
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     return do_register_storage_use(storage_path, hostname)( l$ R) F( T6 F4 p
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
/ ~- z0 z/ j, }" F# S/ s2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     with lock(name, lock_file_prefix, external, lock_path,
, T. H4 J) ~5 f+ s; g4 M$ H$ x) L2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/contextlib.py", line 119, in __enter__9 Q4 @- g) {6 {/ \  v
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     return next(self.gen)
" S  b5 ?' L5 A1 S5 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 lock
. _0 j( V# }7 Y: v7 i; {5 L2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     gotten = ext_lock.acquire(delay=delay, blocking=blocking)) G" [& x* ^  l6 b# x
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% t) y& O, j% u( ?3 }, y
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     self._do_open()
" M/ ~: A& v% s2025-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
; D2 y. }6 Q1 o, O2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     made_basedir = _ensure_tree(basedir)$ O8 ?# ?+ Q% H1 t' o" Q
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_tree3 u" S. m  h- y0 b
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     os.makedirs(path)! K, V% v" ^. X( M# E; [  i9 I3 L0 u
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/os.py", line 225, in makedirs
2 l' z7 t/ c3 n# V2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     mkdir(name, mode)' m( \) ~/ |4 j0 J4 {
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'
% G7 A( W- e4 R, ^3 Z/ L% h8 ^0 F7 B2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task : B# o6 v3 F1 H2 ?! H) G
3 L' h8 Q: r& c' E0 w! n

  l3 }  \  U; T2 |8 G
 楼主| 发表于 2025-3-5 15:00:03 | 显示全部楼层
[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log
8 w! }* k2 O6 p" O2025-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
1 ?3 ^6 R' Q! s; o6 M# h- o( H' T  H2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task     os.makedirs(path)7 N- c  m- g6 ]2 |
2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/os.py", line 225, in makedirs$ W( z. k2 v1 P' D" Y9 A
2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task     mkdir(name, mode)( o, y. G8 _3 w+ J; p4 }
2025-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'
3 ]4 \/ o+ H0 ?- g2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task 8 F# z$ t# Y; M! f. ]
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.
! l% T  [3 j7 I* L/ a2025-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.  |7 ^' T" r; b2 g# _
2025-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.
8 C# M; T- R4 H* @3 N2025-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., B. Q1 x: `6 e  {, v) ]
% |6 {2 n& `3 ?4 B: K" @
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.
4 ?% @: I& r, Z+ {& M& e% v/ D, w
" f" X* j7 u, X6 f+ y' M1 U2025-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.' P6 u4 }! h. b- R$ d
2025-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.
! ?- G" G; a# c! L7 x* C3 ?7 z2025-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.
. [7 G/ [7 a8 P6 u2025-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.& G+ g7 a* P+ N' T4 G
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.
- V; n& K- h: p$ w# U2025-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.
4 J  f+ \  T" U2025-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.
7 Z. H- l& }0 O$ M2 O" t2025-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 Z* s7 s% i5 s
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., V8 p) |5 b+ ^4 d( }9 g: r
2025-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.
/ b! r9 D8 N$ R2025-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.
4 M  U0 U9 q* q% J2025-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 v- O  e+ z+ c: {  e4 ]8 s
2025-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.% o( ]2 V" ^2 v6 O) 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.; j5 i$ d( y7 v+ s; I- n; R
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.1 a! ^% R+ I. e: U0 x
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.4 `/ E& G0 {5 ?  W, |4 o' C
2025-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.
+ i% R5 i/ R$ G1 p( Q2025-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.
+ A# e9 y/ ?$ A$ o8 D3 \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.
8 C1 z9 m6 v+ O1 ^8 ?^C
! O) C: w; i( H5 g+ D5 \( Y2 ^# Z0 P, r/ \9 v6 e3 X) M: V9 z6 C( b6 s
那就按照告警进行目录创建:5 c2 K" f* m& J) b2 R$ G  K1 N
[root@compute1 ~]# mkdir /usr/lib/python3.9/site-packages/instances/locks8 _+ t3 F4 |1 k+ h8 T+ j, V

. j7 E2 ?. A) I重启nova-compute服务" i) z# q& Q0 E- E
[root@compute1 ~]# systemctl restart  openstack-nova-compute.service 7 o2 k- o5 q1 Q2 g% l! u

  x9 w6 ^7 ^! t1 v1 ]0 p& E9 F( j4 p& B, C
[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log
4 P+ d, R" A8 i; \$ o
4 B  D6 w. _9 M- h</capabilities>
/ ?) ?8 M$ N- D6 }
( j0 H: o: M( u3 R2025-03-05 14:31:58.411 2046 INFO nova.virt.libvirt.host [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Secure Boot support detected. A: s& b+ Q# u# 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_id
- z3 e) r6 o8 Q, O1 s/ {7 ]$ w3 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
0 B* u' d3 ^7 `3 P4 E) @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 t/ e* H& [8 d/ j* P
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 SEV8 U" I- W/ l4 \! J& U: C" c9 X2 r& }
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.6 h4 l  A* R. K2 R
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.$ m/ Q% u5 h* N& _$ U

* o2 p7 y' P* o5 C6 w
& |- X8 C5 n; ?; O3 k& q7 q0 @) I  M! Q9 ?+ h# l8 Q7 ?
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./ D: g* ?  y% \: O' N
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.( d1 S2 {4 [/ {, G% ?) F" f" s  S
" }/ X7 N% h9 [8 R% G4 B
  J7 h! F9 ]: e+ j7 L! [$ L
似乎没有告警了。+ F9 k- q3 n9 G6 O% n

$ D* v0 @2 A4 @6 G' e4 S7 H[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log
- }/ W, ^1 M) R! L4 g8 S; A9 b9 G' s8 F4 `& D$ b8 \8 O8 \
2025-03-05 14:31:58.411 2046 INFO nova.virt.libvirt.host [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Secure Boot support detected
# j& i% L" v3 ~  p+ _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
8 i1 I, v$ ^. P* S6 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
4 e/ f+ V+ i9 A9 D1 @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.
# u! K. D( `: c, |' S0 o2025-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; ~  e" K* W, \+ i
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.1 D: P( N- U. B! p2 @/ ]
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.
! Y" f% y6 y2 {1 C- K2025-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.2 Q0 F0 o3 ?' \* E& b! s4 t: v
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." B5 G: [% u$ M9 p; d9 r
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|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 19:53 , Processed in 0.053228 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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