GithubHelp home page GithubHelp logo

Comments (23)

WouterLS avatar WouterLS commented on August 24, 2024 1

On the VMM server or the template for the VM's that run the network controller services?

from sdn.

micros01 avatar micros01 commented on August 24, 2024

Hi, have the same problem. Though I'm not using the script but trying to manually add the Gateway service through VMM. Tried reinstalling everything but still same error. Still haven't been able to find out why but this stops us from continuing are tests :-/

Cannot find any info anywhere about this error???

from sdn.

drk9999 avatar drk9999 commented on August 24, 2024

This happens only with the Jan. windows server update. Back to RTM to the second update in December and you will be fine.

from sdn.

micros01 avatar micros01 commented on August 24, 2024

Hi, have now redeployed everything and skipped the Januari update on the VMM server. Trying to add Gateway to NetworkController now gives this error (at step "Associate VM with a fabric role" instead...
Anybody, help??

Error (50125)
Network service threw an unhandled exception: '{
"error": {
"code": "InternalServerError",
"message": "An error occured.",
"innerError": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Microsoft.Windows.Networking.NetworkController.RestApi.GetNetworkInterfacesOperation.SanitizeNetworkInterface(NetworkInterface networkInterface)\r\n at Microsoft.Windows.Networking.NetworkController.RestApi.GetNetworkInterfaceOperation.Execute()"
}
}'

Recommended Action
Work with the network service vendor to fix the problem.

from sdn.

drk9999 avatar drk9999 commented on August 24, 2024

No on the VMM server it doesn't matter. Don't use images for the VMs that have the update applied. Also not applied on Hyper-V hosts.

I'm not sure which VMs can't have it applied, but when I reverted to deploying the VMs from an earlier VHDX, the error went away.

from sdn.

c0dybrown avatar c0dybrown commented on August 24, 2024

the problem is in the fabric app on the network controller itself I am pretty sure

The way I normally fix MS problems caused by an update is to get the old version of the files affected and replace them. In this case, I am pretty sure the affected files are located at:

c:\ProgramData\Microsoft\Service Fabric\NCE-NCVM03.mydomain.com\Fabric\work\Applications\NetworkController_App0\SDNAPI.Code.10.1.10

on the NC VM that your REST DNS entry points to (in my case, NCVM03). If someone would be so kind as to post the contents of this folder on a working instance on a onedrive share or something, that would be very helpful.

If you Bing search the names of some of the files in that folder, you can see that they were "upgraded" in each cumulative update. You might think this scenario would be tested before releasing this "upgrade"?

Maybe one of the few devs working on Microsoft's official SDN can either fix the problem in Microsoft.NetworkController.RestApi.dll (comment out the delete or something) or email me the network controller app VS project so I can fix it

EDIT:
Who is Rishi Sinha? Can he fix it please? Thanks

from sdn.

billmclaren avatar billmclaren commented on August 24, 2024

+1. Just bumped into the same error.

"VirtualServer is being used by Gateway resource and cannot be deleted. Delete the dependent resource first and then retry."

Thanks for the pointers.

from sdn.

nnamuhcs avatar nnamuhcs commented on August 24, 2024

Install the VMM UR2 will fix this issue.

from sdn.

nnamuhcs avatar nnamuhcs commented on August 24, 2024

You can get the update from here - https://support.microsoft.com/en-us/help/3209586/update-rollup-2-for-system-center-2016-virtual-machine-manager

from sdn.

billmclaren avatar billmclaren commented on August 24, 2024

Thanks! Three other fixes in here that have been kicking my butt for weeks.

from sdn.

micros01 avatar micros01 commented on August 24, 2024

If you get ""code": "InternalServerError"," when onboarding, see this discussion here: #85

from sdn.

JMesser81 avatar JMesser81 commented on August 24, 2024

Re-opened as issue is not fixed with SCVMM UR2

from sdn.

JMesser81 avatar JMesser81 commented on August 24, 2024

Please email [email protected] and someone will reach out.

from sdn.

c0dybrown avatar c0dybrown commented on August 24, 2024

@JMesser81 Thanks for the response.

Has anyone tested this with SCVMM UR2.1?
https://support.microsoft.com/en-us/help/4011491/update-rollup-2-1-for-system-center-2016-virtual-machine-manager

And/or with KB4013429/KB4015438 installed on Server 2016 guests?
https://support.microsoft.com/en-us/help/4015438

I spent several days messing around with this and don't want to set the whole environment up again if it still doesn't work, thanks.

from sdn.

MikeFrith avatar MikeFrith commented on August 24, 2024

I've got SCVMM UR2.1 installed with KB4015438 installed on the guests and still receiving the error.

from sdn.

JMesser81 avatar JMesser81 commented on August 24, 2024

Sorry for the delay in responding, here. This issue should have been fixed in Windows Server 2016 beginning with the January update (KB4010672). I recommend you install latest monthly update (most recent as of today) https://support.microsoft.com/en-us/help/4016635 .

from sdn.

JMesser81 avatar JMesser81 commented on August 24, 2024

@MikeFrith @WouterLS @c0dybrown - Is this issue fixed with recent updates or are you still hitting the same problem? If a different message is encountered, let's close this issue and re-open a new one.

Also - we just found a bug where a VM Network cannot be deleted due to a "VirtualSubnetInUse" error message. This occurs when a stale Gateway connection fails over to a backup Gateway VM. The original Gateway connection on the previously active Gateway VM is not properly cleaned up.

from sdn.

c0dybrown avatar c0dybrown commented on August 24, 2024

@JMesser81 thanks for your support. I tried updating all hosts involved in deployment to KB4015438 (March) with SCVMM UR2.1 and still saw the error. I have not tried with KB4016635. I will not try again until Server 2016 build 1703 is released.

from sdn.

MikeFrith avatar MikeFrith commented on August 24, 2024

@JMesser81 I encountered this problem initially with a fully patched image. The only way I could get it to deploy correctly was to roll the image back to RTM.

from sdn.

AnirbanPaul avatar AnirbanPaul commented on August 24, 2024

@MikeFrith - Have you deployed the KB 4010672. It has to be deployed on the host machines and the Network Controller VMs.

from sdn.

kallie-b avatar kallie-b commented on August 24, 2024

Any new progress on this issue to report?

from sdn.

WouterLS avatar WouterLS commented on August 24, 2024

I haven't encountered the issue anymore.

from sdn.

grcusanz avatar grcusanz commented on August 24, 2024

Thanks for the update, closing this issue.

from sdn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.