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連接伺服器
  • 查看所有伺服器和快照
  • 啟動或停止虛擬機

但是,我面臨一些問題:

  • “效能”標籤未顯示任何資料。
  • 用於運行虛擬機器的控制台沒有顯示任何內容。
  • 已啟動的虛擬機器不回應 IP。
  • VM 選項卡呈灰色

我嘗試過了 :

  • 分析日誌並尋找錯誤,但沒有成功
  • xe-toolstack-重新啟動
  • 重新啟動虛擬機
  • 重新啟動整個伺服器

誰能提供解決這些問題的步驟?

貓 /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 虛擬機器。我的乙太網路控制器是 ntel Corporation 乙太網路控制器 10G X550T

相關內容