Comments (23)
On the VMM server or the template for the VM's that run the network controller services?
from sdn.
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.
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.
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.
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.
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.
+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.
Install the VMM UR2 will fix this issue.
from sdn.
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.
Thanks! Three other fixes in here that have been kicking my butt for weeks.
from sdn.
If you get ""code": "InternalServerError"," when onboarding, see this discussion here: #85
from sdn.
Re-opened as issue is not fixed with SCVMM UR2
from sdn.
Please email [email protected] and someone will reach out.
from sdn.
@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.
I've got SCVMM UR2.1 installed with KB4015438 installed on the guests and still receiving the error.
from sdn.
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.
@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.
@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.
@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.
@MikeFrith - Have you deployed the KB 4010672. It has to be deployed on the host machines and the Network Controller VMs.
from sdn.
Any new progress on this issue to report?
from sdn.
I haven't encountered the issue anymore.
from sdn.
Thanks for the update, closing this issue.
from sdn.
Related Issues (20)
- Test-Rdma.ps1 system language issues
- Network endpoints created by CNI NAT plugin is not attached to container
- The property 'pscomputername' cannot be found on this object. Verify that the property exists. HOT 5
- How to configure PTP with Peer-To-Peer (P2P) clock
- VMMExpress - Deployment issue HOT 2
- if the kubernetes related scripts are no longer mantained?
- SLB deploy fails missing path for Certificate HOT 1
- MUX outbound nat ICMP Problem HOT 3
- Certificate HOT 1
- Loadbalancer Inbound Nat rules
- SDN Gateway services VMM
- LnetDynamicAllocationBlockedIfLessThanV6 HOT 1
- Mux outbound NAT performance issue (after reboot) HOT 2
- Placement failed for Service Deployment on Network Controller deployment HOT 1
- Hyper-V hosts cannot connect to NC HOT 7
- Is it possible to use the VMM SDN Script to deploy SLB and GW after the Network Controller Installation? HOT 2
- Trouble deploying NC HOT 6
- Outbound NAT VM Assignment Issue
- VirtualSwitch: The host is unreachable.
- hnsautomitigator2019 Memory Usage HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdn.