-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Debugging in progress, trying to find root cause of the issue mentioned in [1]. Findings: - `virsh inject-nmi` called directly on machine from check-machines (bypasing javascript) **works fine** - with recent changes, the flow reaches cockpit.spawn() reliably (logging proves that) To simplify debugging, following temporar changes are made: - the `onSendNMI()` on-click handler calls LIBVIRT_PROVIDER.SENDNMI_VM() directly - to bypass redux middleware - to demonstrate the issue, I replaced `virsh` call by simple `touch` command (see SENDNMI_VM() in libvirt.es6) - cockpit.spawn() call is reached (based on logging) - the `touch` is not actually executed. **Why??** `window.debugging='all'` is set (config.es6), showing that cockpit.spawn() hangs - `send control` is passed - no `recv control` is received In addition to the hardcoded call simplification made just for debugging, I've further simplified middleware code around getVirtProvider() - no need for such complexity after avoiding external provider API. [1] #6722
- Loading branch information
1 parent
a399aa6
commit a1fb0a6
Showing
6 changed files
with
152 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters