Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Registry Dependency Bug #57

Closed
krisdb2009 opened this issue Mar 25, 2021 · 0 comments
Closed

Remote Registry Dependency Bug #57

krisdb2009 opened this issue Mar 25, 2021 · 0 comments
Labels
todo Something to work on in the future. wontfix This will not be worked on.

Comments

@krisdb2009
Copy link
Member

Describe the bug
Super Grate is not supposed to be dependant on the "Remote Registry" service.
Turns out, the WaitForProcessExit needs the Remote Registry to be enabled in order to work.

To Reproduce
Steps to reproduce the behavior:

  1. Disable remote registry on target PC.
  2. Start a migration.

Logs

[VERBOSE]<17.17.33> Waiting for scanstate to finish...
[ERROR]<17.17.33> Couldn't connect to remote machine.
[VERBOSE]<17.17.34> ERROR
   at System.Diagnostics.NtProcessManager.GetProcessInfos(String machineName, Boolean isRemoteMachine)
   at System.Diagnostics.Process.GetProcesses(String machineName)
   at System.Diagnostics.Process.GetProcessesByName(String processName, String machineName)
   at SuperGrate.Remote.<>c__DisplayClass2_0.<<WaitForProcessExit>b__0>d.MoveNext()
[ERROR]<17.17.34> Couldn't get process information from performance counter.
[VERBOSE]<17.17.34> ERROR
   at System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib library)
   at System.Diagnostics.NtProcessManager.GetProcessInfos(String machineName, Boolean isRemoteMachine)
[ERROR]<17.17.34> Failed to check if scanstate is still running.

Additional context

One solution might be to just add this behavior to the documentation instead of re-programming the process "watchdog".
To be determined.

@krisdb2009 krisdb2009 added the bug There is a issue or error with Super Grate. label Mar 25, 2021
@krisdb2009 krisdb2009 added wontfix This will not be worked on. todo Something to work on in the future. and removed bug There is a issue or error with Super Grate. labels Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
todo Something to work on in the future. wontfix This will not be worked on.
Development

No branches or pull requests

1 participant