找回密码
 注册
查看: 96|回复: 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'
1 F5 n0 J4 [9 V  Z) l2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task Traceback (most recent call last):1 w/ y, K( V9 ?
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& a6 g7 f6 n5 C( R
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     task(self, context)) ~$ z% ]2 ~# _  o& v1 P, z
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
$ _: i; W+ _' K2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     storage_users.register_storage_use(CONF.instances_path, CONF.host)
! B- \1 [! K$ |: @6 c2025-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; U0 P; P& L1 }
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     return do_register_storage_use(storage_path, hostname)4 o% y; U: k# o3 ]5 W
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
' h# w+ A5 {! s- M  M0 C2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     with lock(name, lock_file_prefix, external, lock_path,
) }4 u- X  n3 g4 N3 `" v% V2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/contextlib.py", line 119, in __enter__' b0 }$ G1 d4 y
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     return next(self.gen)
6 n8 J+ [8 l* @# s. e/ W% n: `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 319, in lock, |  {7 B2 U( d6 f
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     gotten = ext_lock.acquire(delay=delay, blocking=blocking)& N% `' t" G; n5 m# j. }& y
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& @0 ?* C9 l# ^! H" P# y! X
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     self._do_open()" `1 [1 i, [0 h7 P  \8 z
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
3 t3 H* e# X& k$ J2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     made_basedir = _ensure_tree(basedir)
  R: m& O3 [* N1 b2025-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
+ K4 j  U2 l3 K- c& j2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     os.makedirs(path)0 ^2 J# ~& ]4 a( G3 h
2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/os.py", line 225, in makedirs
& c5 G) p& H- j2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task     mkdir(name, mode)% K, h. g2 [  P$ a% k! |
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'
7 ]' E( D6 r5 ]" E2 D2025-03-05 14:10:22.894 1107 ERROR oslo_service.periodic_task
$ A, K9 ^" T  p3 m/ x1 q, O" `: X$ ]1 B( V  U1 T: x
5 p8 R  @) ?& }/ |" Y. L7 M- T  H

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-3-5 15:00:03 | 显示全部楼层
[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log ; h" X/ D( a- X. S5 i  ]
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# t6 y, D, g: E5 ]. S' L
2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task     os.makedirs(path)
0 K- z3 {# ]- v2 P2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task   File "/usr/lib64/python3.9/os.py", line 225, in makedirs
% l9 j5 {  F! p/ r3 K9 L8 v% m2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task     mkdir(name, mode)
- r  H1 m" A$ \: o$ }; Q) ]3 s/ i2025-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'9 N8 M" [3 T& M3 J7 A
2025-03-05 14:06:52.365 1123 ERROR oslo_service.periodic_task 7 X# ~" `( U( k# U% Y0 p% o
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.; ~7 b; m4 C% g: b1 f# t
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.
' }" z, n! _2 k7 {: @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.( l$ `2 W0 i! g) i' i
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.$ ]+ C, m1 e! G2 D
- P- |. ]; e/ r. g/ k2 W) w/ 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.
+ ?, V( o5 _% _
" M0 |( f- B8 O; Y/ a7 O2025-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.
' e4 j9 Q( w8 }7 N+ y; e3 }3 W2025-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.
( E' g, K4 S; _0 X4 F, D2025-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." d+ L1 _) ]) q+ i2 b- T
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.
+ e; I) E) {7 i, f2025-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.4 t" B3 o) [( q/ n
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.
$ i3 K$ P% n& Y  G) {3 B% G2 e2025-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.
6 t4 z! z) H0 S9 T# K2025-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.
5 Y- Y& Y" g# \6 a6 v2025-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.2 }* S2 C" i3 E# \* a
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.3 ^0 L. X3 N' {- y% R5 \
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.
* @1 g  Z0 L8 R) Q4 D- x9 a( X2025-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.
$ x% e% m2 p8 _& L# c; f2025-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.) a: k# W: d7 H- ~
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.
% M$ K! ]' r2 Y! K4 _' @4 t" ~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.; U# F! N3 S5 T
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.
/ E- Z9 J$ U: P7 \. O2025-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.# p3 v/ b. o6 a
2025-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.
2 R. l5 y5 W! K$ w0 x2025-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.7 y$ v0 {& T, A/ e4 N+ {
^C
: c/ B7 Z" W( K: j# s2 I  t) {) z2 K7 [% }" p6 i
那就按照告警进行目录创建:- f& ?4 n! j0 u( a
[root@compute1 ~]# mkdir /usr/lib/python3.9/site-packages/instances/locks
, m( j' `# _- O9 Y+ C; ~- |
. ?5 ~) ~1 }& H  H重启nova-compute服务
- o5 M6 s" `% W[root@compute1 ~]# systemctl restart  openstack-nova-compute.service $ \1 t- U* J% h( f

' J+ S. d- b3 N1 }( E7 R6 W, i: k! T( I- G& h, T& @
[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log
! i# D/ P6 m7 m: V8 X9 l2 {+ j' X( S; Z  N2 ^# i/ M4 X2 {6 k
</capabilities>
) {4 H( n4 B. ^1 q) K& O) O
& o: _9 f/ N: Q- f1 f1 W+ |# h2025-03-05 14:31:58.411 2046 INFO nova.virt.libvirt.host [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Secure Boot support detected
" M' h& @1 ?* U1 Y/ u2025-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
3 c2 i. j& v. G5 I2025-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 host2 N+ y' T( I; g& }% U2 m
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.
0 g% Q" i. g6 i, E2025-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
, [6 U! o9 c  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.7 Z: M3 N2 o& p
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.: }. X. j0 T$ i
  _) \5 I# v& w' f6 K+ U  q

$ j0 ^4 Z* E7 f( ~$ e6 z# b3 f' t8 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.
7 g$ v4 N0 W0 |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.- F# S2 A3 M5 V- z
9 a; x0 Z0 J) W' T( H- \
: o' f( k$ f3 T( Z( Y6 h
似乎没有告警了。
, p: r- Z& u! {# D$ u- J6 ^2 l6 @; [5 L0 C9 K+ f, z7 F' ~
[root@compute1 ~]# tail -f /var/log/nova/nova-compute.log
% u; G& v; f2 g/ M* o: c2 q/ J8 W' ]2 |) O0 B; M% d# v' j
2025-03-05 14:31:58.411 2046 INFO nova.virt.libvirt.host [None req-e0e5d816-6718-400a-9dd7-8fe2e0e0b19a - - - - - -] Secure Boot support detected$ r3 T1 i) f4 B& ?2 K* y
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& H9 }5 F0 K: S
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
. ?6 L5 M* ]3 |# @4 v2025-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.5 X2 H( S( R- {! a
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 SEV5 M" D( c& A1 X) E; q
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.! K( m8 Y9 R: u
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 L# c/ H' Q% u/ j
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.
" _( [/ M0 O+ L) Q0 ~1 @6 z, f2025-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 e# v: u6 C) Z1 f5 V$ K2025-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 01:00 , Processed in 0.024944 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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