VM 작동 중지: /vm/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/domains를 읽지 못했습니다. 이 도메인이 이미 정리되었습니까?

VM 작동 중지: /vm/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/domains를 읽지 못했습니다. 이 도메인이 이미 정리되었습니까?

내 xcp-ng 서버에 문제가 있으며 Linux xcp-ng 4.19.0+1에서 xcp 센터 20.04.01을 사용하고 있습니다. 문제가 발생하기 전에 업데이트와 같은 작업을 수행하지 않았으며 몇 달 이후로 모든 것이 잘 작동했습니다.

아직 할 수 있는 일은 다음과 같습니다.

  • xcp 센터 및 SSH를 통해 서버에 연결
  • 모든 서버 및 스냅샷 보기
  • 가상 머신 시작 또는 중지

그러나 다음과 같은 몇 가지 문제에 직면해 있습니다.

  • '성능' 탭에 데이터가 표시되지 않습니다.
  • VM 실행 콘솔에 아무 것도 표시되지 않습니다.
  • 시작된 VM이 IP에 응답하지 않습니다.
  • VM 탭이 회색으로 표시됨

나는 다음을 시도했습니다.

  • 로그를 분석하고 성공하지 못한 채 오류를 검색합니다.
  • xe-toolstack-restart
  • VM 다시 시작
  • 전체 서버 다시 시작

누구든지 이러한 문제를 해결하기 위한 단계를 제공할 수 있습니까?

고양이 /var/log/xensource.log | grep 오류

Aug 31 18:24:59 xcp-ng xenopsd-xc: [error||19 |Async.VM.start R:ffffffffffff|xenops] Failed to read /vm/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/domains: has this domain already been cleaned up?
Aug 31 18:24:59 xcp-ng xenopsd-xc: [ info||19 |Async.VM.start R:ffffffffffff|xenops] VM = xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx; Hardware Assisted Paging will be enabled. Use platform/hap=(true|false) to override
Aug 31 18:25:00 xcp-ng xapi: [error||1249 HTTPS x.x.x.x->|Async.VM.start R:ffffffffffff|sql] Duplicate key in set or map: table task; field other_config; ref OpaqueRef:yyyyyyyy-xxxx-qqqq-xxxx-yyyyyyyyyyyy; key debug_info:cancel_points_seen
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] event.from D:dddddddddddd failed with exception Server_error(SESSION_INVALID, [ OpaqueRef:yyyyyyyy-xxxx-yyyy-xxxx-yyyyyyyyyyyy ])
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] Raised Server_error(SESSION_INVALID, [ OpaqueRef:yyyyyyyy-xxxx-yyyy-xxxx-yyyyyyyyyyyy ])
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] 1/13 xapi Raised at file ocaml/xapi/xapi_event.ml, line 434
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] 2/13 xapi Called from file ocaml/xapi/xapi_event.ml, line 606
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] 3/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] 4/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] 5/13 xapi Called from file ocaml/xapi/xapi_event.ml, line 587
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] 6/13 xapi Called from file ocaml/xapi/xapi_event.ml, line 698
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] 7/13 xapi Called from file ocaml/xapi/rbac.ml, line 223
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] 8/13 xapi Called from file ocaml/xapi/rbac.ml, line 231
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] 9/13 xapi Called from file ocaml/xapi/server_helpers.ml, line 103
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] 10/13 xapi Called from file ocaml/xapi/server_helpers.ml, line 121
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] 11/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] 12/13 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace] 13/13 xapi Called from file lib/backtrace.ml, line 177
Aug 31 18:25:00 xcp-ng xapi: [error||1247 /var/lib/xcp/xapi||backtrace]
Aug 31 18:25:00 xcp-ng xapi: [error||511 ||backtrace] Raised Server_error(SESSION_INVALID, [ OpaqueRef:yyyyyyyy-xxxx-yyyy-xxxx-yyyyyyyyyyyy ])
Aug 31 18:25:00 xcp-ng xapi: [error||511 ||backtrace] 1/4 xapi Raised at file ocaml/xapi-client/client.ml, line 7
Aug 31 18:25:00 xcp-ng xapi: [error||511 ||backtrace] 2/4 xapi Called from file ocaml/xapi-client/client.ml, line 19
Aug 31 18:25:00 xcp-ng xapi: [error||511 ||backtrace] 3/4 xapi Called from file ocaml/xapi-client/client.ml, line 3956
Aug 31 18:25:00 xcp-ng xapi: [error||511 ||backtrace] 4/4 xapi Called from file ocaml/xapi/xapi_xenops.ml, line 3071
Aug 31 18:25:00 xcp-ng xapi: [error||511 ||backtrace]
Aug 31 18:25:00 xcp-ng xapi: [error||1353 /var/lib/xcp/xapi||backtrace] session_check D:eeeeeeeeeeee failed with exception Server_error(SESSION_INVALID, [ OpaqueRef:yyyyyyyy-xxxx-yyyy-xxxx-yyyyyyyyyyyy ])
Aug 31 18:25:00 xcp-ng xapi: [error||1353 /var/lib/xcp/xapi||backtrace] Raised Server_error(SESSION_INVALID, [ OpaqueRef:yyyyyyyy-xxxx-yyyy-xxxx-yyyyyyyyyyyy ])
Aug 31 18:25:00 xcp-ng xapi: [error||1353 /var/lib/xcp/xapi||backtrace] 1/6 xapi Raised at file ocaml/xapi/session_check.ml, line 63
Aug 31 18:25:00 xcp-ng xapi: [error||1353 /var/lib/xcp/xapi||backtrace] 2/6 xapi Called from file ocaml/xapi/server_helpers.ml, line 100
Aug 31 18:25:00 xcp-ng xapi: [error||1353 /var/lib/xcp/xapi||backtrace] 3/6 xapi Called from file ocaml/xapi/server_helpers.ml, line 121
Aug 31 18:25:00 xcp-ng xapi: [error||1353 /var/lib/xcp/xapi||backtrace] 4/6 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Aug 31 18:25:00 xcp-ng xapi: [error||1353 /var/lib/xcp/xapi||backtrace] 5/6 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
Aug 31 18:25:00 xcp-ng xapi: [error||1353 /var/lib/xcp/xapi||backtrace] 6/6 xapi Called from file lib/backtrace.ml, line 177
Aug 31 18:25:00 xcp-ng xapi: [error||1353 /var/lib/xcp/xapi||backtrace]
Aug 31 18:25:00 xcp-ng xapi: [debug||511 ||helpers] Helpers.call_api_functions failed to logout: Server_error(SESSION_INVALID, [ OpaqueRef:yyyyyyyy-xxxx-yyyy-xxxx-yyyyyyyyyyyy ]) (ignoring)
Aug 31 18:25:00 xcp-ng xapi: [error||511 ||xenops] events_from_xapi: missing from the cache: [ yyyyyyyy-xxxx-yyyy-xxxx-zzzzzzzzzzzz ]
[18:25 xcp-ng log]#

[업데이트] dmesg에서 다음을 찾았습니다.

[    4.217516] Call Trace:
[    4.217518]  <IRQ>
[    4.217521]  dump_stack+0x5a/0x73
[    4.217524]  report_bad_irq+0x30/0xc0
[    4.217525]  note_interrupt+0x208/0x260
[    4.217526]  handle_irq_event_percpu+0x51/0x70
[    4.217528]  handle_irq_event+0x36/0x60
[    4.217528]  handle_fasteoi_irq+0x78/0x130
[    4.217529]  generic_handle_irq+0x24/0x30
[    4.217532]  evtchn_fifo_handle_events+0x180/0x1a0
[    4.217534]  __xen_evtchn_do_upcall+0x5f/0xb0
[    4.217534]  xen_evtchn_do_upcall+0x27/0x50
[    4.217536]  xen_do_hypervisor_callback+0x29/0x40
[    4.217537]  </IRQ>
[    4.217538] RIP: e030:xen_hypercall_sched_op+0xa/0x20
[    4.217539] Code: 51 41 53 b8 1c 00 00 00 0f 05 41 5b 59 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 51 41 53 b8 1d 00 00 00 0f 05 <41> 5b 59 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc
[    4.217540] RSP: e02b:ffffffff82003e58 EFLAGS: 00000246
[    4.217541] RAX: 0000000000000000 RBX: ffffffff82011740 RCX: ffffffff810013aa
[    4.217541] RDX: ffffffff8203d250 RSI: 0000000000000000 RDI: 0000000000000001
[    4.217542] RBP: 0000000000000000 R08: 0000000000000008 R09: 00000000fc9e909a
[    4.217542] R10: 0000000000007ff0 R11: 0000000000000246 R12: 0000000000000000
[    4.217542] R13: 0000000000000000 R14: ffffffff82011740 R15: ffffffff82011740
[    4.217543]  ? xen_hypercall_sched_op+0xa/0x20
[    4.217545]  ? xen_safe_halt+0xc/0x20
[    4.217546]  ? default_idle+0x1a/0x140
[    4.217547]  ? do_idle+0x1ea/0x260
[    4.217548]  ? cpu_startup_entry+0x6f/0x80
[    4.217550]  ? start_kernel+0x558/0x578
[    4.217551]  ? set_init_arg+0x55/0x55
[    4.217552]  ? xen_start_kernel+0x599/0x5a3
[    4.217552] handlers:
[    4.217581] [<00000000d7be1930>] tis_int_handler
[    4.217655] Disabling IRQ #45

BSD vm에 연결될 수 있는 것 같습니다. 내 이더넷 컨트롤러는 ntel Corporation Ethernet Controller 10G X550T입니다.

관련 정보