找回密码
 注册
查看: 98|回复: 1

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2025-3-5 15:00:02 | 显示全部楼层 |阅读模式
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'9 ~2 A* Y" H. D' V' f! q; J# z
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task Traceback (most recent call last):2 S" M; u: O0 H$ O
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+ ]* D" C3 j" Z, Y
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     task(self, context)
  I+ x" P$ Z: O. [7 E3 N) \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' \7 j8 I, F& H
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     storage_users.register_storage_use(CONF.instances_path, CONF.host)0 E+ M' M- ~, o
2025-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
  O9 U- W5 ~$ V' J2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     return do_register_storage_use(storage_path, hostname): v$ j5 z/ E0 M" [) e5 ^
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
+ M! x9 j: S' I5 R" |* b2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     with lock(name, lock_file_prefix, external, lock_path,8 I# i& _0 w/ a" ~) \6 Z
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/contextlib.py", line 119, in __enter__
1 ?0 j' n0 P! g' b0 C$ h' x2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     return next(self.gen)
: `9 d, K- K. z& O' 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
# y# ^  Y" X. d, A/ L# _2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     gotten = ext_lock.acquire(delay=delay, blocking=blocking)
* l! `2 C% ?3 e* k; N5 g- 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 144, in acquire1 }7 k; ~7 n5 L$ F: L$ B& k
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     self._do_open()/ k2 R- `+ M( X! T9 r; m9 F# v
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_open6 x! Q8 S5 E" s) j. `
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     made_basedir = _ensure_tree(basedir)7 D/ \4 N8 K; Q: i# 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_tree6 x0 m3 [- R7 L
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     os.makedirs(path)
, B3 X% Y6 N& I2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/os.py", line 225, in makedirs6 O+ G; Y1 X) z2 L8 w7 x
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     mkdir(name, mode)1 k$ k* g, Q2 p# U" |0 A
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'6 L& L4 j+ W; u1 ~  u1 B
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task 5 g% ?! I. O1 e
3 g# J! A0 l/ i) n. |2 e
, I1 {5 u) M+ k' m

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-3-5 15:00:03 | 显示全部楼层
[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log
2 }' |: I: r$ g/ i8 e2025-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
' e- z2 d& a8 |5 Z3 r: A2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task     os.makedirs(path)
. d/ q- B* H+ W/ Z6 t; z2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/os.py", line 225, in makedirs" z; s! z. f8 ~, Y
2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task     mkdir(name, mode)
4 O- Z% n8 c* ]# l/ {+ D2025-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'7 ^& d/ E& Q- `9 H8 \% ~9 P& @
2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task ; F! i) v& |4 g  j- M9 l
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.
- M0 I2 u- w- q7 _9 q, |% M2025-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.
+ R+ _; W& J0 _; R' O) s2025-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.
* w' {5 ]) `( e2025-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.. ^5 @, n4 w# V: ^$ x6 {% M  z% T

* B0 I7 }8 F, r8 \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.# K, e5 W& y  M) F  N% |3 J

5 W$ n$ m8 Z: a1 o$ C6 C7 ~# v, N2025-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.
2 t5 t$ g# [: A  f7 q2025-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.5 }8 ~0 P4 D. U( a# N4 m
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.& P( l* Z6 l2 d1 m
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.* P9 t* o. w3 e; ?9 W/ I
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.
  c. U! B# l/ h* p- a( R( L2025-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.( ~  E8 f' D( ^! L* v
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.
. ?! n6 E5 o7 s3 P% B2025-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.0 R7 ~. `. ]! t4 y* O  z( w& h
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.
. u! Q0 v% {' h  _+ H# v# x2025-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.
: t( S8 Z' t9 ~3 y8 d2025-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.
1 A8 Z3 \6 }! ]7 P: 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.
  S5 R) \2 U2 z/ D5 h2 z, F- t8 j" Q* `! O2025-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.
& R1 f5 h" p7 M' A* k+ X2025-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.
- S& n3 }) y+ w' S- f% ~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.! K0 C' d6 k2 F6 A+ f- @% D
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.5 x; G, e! t* B7 Q& o: A7 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.
" {3 m; w! }+ k2025-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" f, Y6 K; O8 F
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.
) ?( O) E& t4 l# A  \^C
) j+ V1 B+ m) a" A! e& V% Q1 d9 T
; F1 d- d3 p0 F, q2 m那就按照告警进行目录创建:
/ a6 y* H9 ^8 q2 ^; y' h[root@compute1 ~]# mkdir /usr/lib/python3.9/site-packages/instances/locks
5 s8 |0 C8 R3 V) P4 ]6 R; `6 p- W. r0 o, b
重启nova-compute服务' ~1 S1 v# x/ ~# a& N+ u3 Q- s" M, p
[root@compute1 ~]# systemctl restart  openstack-nova-compute.service * Y) H) ^) }  K' p% O; E

8 [3 ?4 _  H. H) _
; Q( w9 O9 S) J5 {1 j6 s6 d. u[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log - F2 b! t& P) Q$ o( f5 N

$ t1 [- ]. G' l, U+ ], X4 p/ R</capabilities>
- b, h/ C/ r+ X5 k/ V: ~  }
( {% o1 Q( j/ c& m- K2025-03-05 14:31:58.411 2046 INFO nova.virt.libvirt.host [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Secure Boot support detected) }  l* z0 W4 |: a
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  W1 P6 u" W5 ]5 q# p  P* e
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+ r: C% M% [' m, Z& f' ~4 O
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.
& _: [' M( J! M: I& ?& e& k" x0 _3 b% m2025-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
& R( j% s# p% H( M; a6 D3 E! }; Q5 y- U2025-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.
7 S- r* P1 d# K2025-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.* W! D1 f" {7 K8 {) @+ X' u+ ]# N

3 a- Y* y6 G4 [, ?8 D: `4 A6 p" H' ?- p/ A1 V0 P
$ V; z; `7 K$ H$ u
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.2 d+ {* r& k& ~  P4 s# y
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.
- X! X6 O& H2 q1 M! G' A, v" P6 E

7 i* R0 n$ k* A1 G  \% Y/ |似乎没有告警了。+ Y6 |' u$ p: u4 r; ^4 \2 H0 x6 b4 ?

. e0 e$ c! n! l5 Y$ c[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log & J2 `* R. Y& C; W, S$ Z% a
0 `+ Q# h  r. q6 k, S% }
2025-03-05 14:31:58.411 2046 INFO nova.virt.libvirt.host [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Secure Boot support detected
. B$ L9 Y0 Z+ [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
, s3 X4 ?& B* t5 Y, p0 \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
$ i- e- Y/ e3 {  _: |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.
( q: p; H8 y( _$ \7 _$ t& R6 G! X2025-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
; l4 \+ _* U) T  d* ^& ]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.
2 i; U/ d  d2 ^9 m3 G2025-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.' D' k/ g/ K/ o4 P% L* }# R+ w  O
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.
! w1 p5 w& y0 ]; j, E2025-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.
, W" m! Y3 ^" O! u2 R- Z  I2025-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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 02:05 , Processed in 0.016838 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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