Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

failed to shutdown container: failure in a Windows system call: The interface is unknown. (0x6b5)]

オープン
#1,768 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
docker, go

調査の方向性

まず mcr.microsoft.com/windows:ltsc2019 コンテナーのシャットダウンを再現し、Docker、Hyper-V、Windows Event のログでエラー 0x800706B5 を確認します。hcs::System::Shutdown と waitBackground 周辺の hcsshim/libcontainerd のシャットダウンパスを追跡します。原因を特定し、このエラーでコンテナーが停止しないようにできれば完了です。

索引モデルが issue の本文から書いたものです。

説明

For some time I'm facing strange Windows container (running mcr.microsoft.com/windows:ltsc2019) stops on three different machines.
Windows Event shows:
docker:

failed to shutdown container, and subsequent terminate also failed [container=ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a module=libcontainerd namespace=moby error=container ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a encountered an error during hcs::System::waitBackground: failure in a Windows system call: The interface is unknown. (0x6b5)]


failed to shutdown container [namespace=moby container=ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a error=container ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a encountered an error during hcs::System::Shutdown: failure in a Windows system call: The interface is unknown. (0x6b5)
[Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]
[Event Detail: onecore\vm\compute\management\orchestration\vmhostedcontainer\vmhostedcontainerorchestrator.cpp(567)\vmcomputeagent.exe!00007FF60911BD91: (caller: 00007FF6090F81EC) Exception(740) tid(1504) 800706B5 The interface is unknown.
    CallContext:[\Bridge_ProcessMessage\ComputeSystemManager_Shutdown\VmHostedContainer_Shutdown] 
 Provider: 00000000-0000-0000-0000-000000000000]: subsequent terminate failed container ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a encountered an error during hcs::System::waitBackground: failure in a Windows system call: The interface is unknown. (0x6b5) process=init module=libcontainerd]


sending event [container=ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a event=exit event-info={ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a init 2520 4294967295 2023-05-09 20:55:20.6206041 +0200 CEST m=+107305.494057601 false failed to shutdown container: container ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a encountered an error during hcs::System::Shutdown: failure in a Windows system call: The interface is unknown. (0x6b5)
[Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]
[Event Detail: onecore\vm\compute\management\orchestration\vmhostedcontainer\vmhostedcontainerorchestrator.cpp(567)\vmcomputeagent.exe!00007FF60911BD91: (caller: 00007FF6090F81EC) Exception(740) tid(1504) 800706B5 The interface is unknown.
    CallContext:[\Bridge_ProcessMessage\ComputeSystemManager_Shutdown\VmHostedContainer_Shutdown] 
 Provider: 00000000-0000-0000-0000-000000000000]: subsequent terminate failed container ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a encountered an error during hcs::System::waitBackground: failure in a Windows system call: The interface is unknown. (0x6b5)} module=libcontainerd namespace=moby]

Immediately before that I see Hyper-V-VmSwitch, Hyper-V-Worker, Hyper-V-Compute messages:

[ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a] Queue process notification 65536 / 0x00000000, process ID 2520


[ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a] Query process notification, process ID 2520, result 0x00000000, notification 65536 / 0x00000000


NIC 96E4A63C-1656-4575-82A0-75A5574181B9--AC72BF8D-E1DC-4CCF-A3E9-A1CC0C7D58EC successfully disconnected from port .


The operation 'Delete' succeeded on nic 96E4A63C-1656-4575-82A0-75A5574181B9--AC72BF8D-E1DC-4CCF-A3E9-A1CC0C7D58EC (Friendly Name: ).


'ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a' was turned off. (Virtual machine ID 96E4A63C-1656-4575-82A0-75A5574181B9)


[ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a] Queue system notification: 1 / 0x800706B5


[ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a] Shut down compute system, result 0x800706B5


[ce28727851a80e47f95efb0052302bd0b5e3a99693e727ab4c8a79120462825a] Query compute system notification, result 0x00000000, notification 1 / 0x800706B5

It results as a stopped container. I'm able to manually start it again without any errors.

主要言語
Go
スター
694
フォーク
304
平均マージ
1日 22時間
マージ済み PR(30日)
31

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/hcsshim のほかの issue

microsoft/hcsshim の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。