Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all articles
Browse latest Browse all 2770

Issues with Network Controller: Multiple errors

$
0
0

Hello!

I am currently trying to make a SDN test lab. So far I've been able to deploy NC, make VM's ping each other on a virtual network (vwire). I've also been able to present a VIP rule, so that I could have a web server on my VM's connected to my vwire, and that's it. Only web connections could go trough from the outside world. But now I'm trying to link those VM's to the outside world entirely. But I seem to have multiple issues and errors poping up, probably some components that didn't get installed during deployement? I used the procedures from Larry Zhang at Microsoft: https://blogs.technet.microsoft.com/larryexchange/2016/05/31/step-be-step-for-deploying-a-sdnv2-using-vmm-tp5-part-3/

Here's where I am right now. The output of the cmdlets 

 Get-NetworkControllerServer -ConnectionUri $connectionURI |ConvertTo-Json -Depth 8

gives me the following output (among others):

  "ConfigurationState":  {
                                                      "Status":  "Warning",
                                                      "DetailedInfo":  [
                                                                          {
                                                                              "Source":  "VirtualNetwork",
                                                                              "Message":  "Failed to configure the policies on the host device.",
                                                                              "Code":  "PolicyConfigurationFailure"
                                                                          },
                                                                          {
                                                                              "Source":  "VirtualSwitch",
                                                                              "Message":  "Multiple switches with VFP enabled, exists on the host, which is unsupported.",
                                                                              "Code":  "MultipleVfpEnabledSwitches"
                                                                          },
                                                                          {
                                                                              "Source":  "SoftwareLoadBalancerManager",
                                                                              "Message":  "Host is not Connected.",
                                                                              "Code":  "HostNotConnectedToController"
                                                                          }
                                                                       ],
                                                      "LastUpdatedTime":  "\/Date(1467659129673)\/"
                                                  },

For the message Multiple switches with VFP enabled, exists on the host, which is unsupported, there is only one logical switch deployed on each hosts, and it seems to be working so far, so I don't understand why I get this error. I do not understand the other messages tough.

On my network controller, I freqently get the error  Connection to device 3EBCFC92-2A53-4A0F-BAAB-F86ACEAD4E54 failed from process SDNCTLR, please see the Operational channel for more events related to this.

I get 3 different device numbers. I suppose they refer to SLB/MUX and/or gateways, as I have 3 devices that didn't peer with my physical switch. The rests peered like they were suppose to.

Also for the cmdlet  Get-SCNetworkGateway, I get the following output:

Service                                   : NC
Name                                      : NC
Description                               :
ConnectionString                          : serverurl=https://xx-stw-ts-nc04.xx.ca;SouthBoundIPAddress=10.12.104.54;servicename=NC-VMM-TP5
RunAsAccount                              : VMM domain
NVGRESupported                            : True
NVGREMultihopSupported                    : False
MaxRoutingDomainSupported                 : 50
MaxVSIDSupported                          : 55
MaxWNVPoliciesSupported                   : 99999999
MaxVPNConnectionSupported                 : 250
MaxVPNConnectionPerRoutingDomainSupported : 10
VPNEncryptionMethodsSupported             : DES, DES3, AES128, AES192, AES256
VPNIntegrityCheckMethodsSupported         : MD5, SHA1, SHA256, SHA384
VPNCipherTransformsSupported              : DES, DES3, AES128, AES192, AES256, GCMAES128, GCMAES192, GCMAES256
VPNAuthenticationTransformsSupported      : SHA256128, MD596, SHA196, GCMAES128, GCMAES192, GCMAES256
VPNPFSGroupsSupported                     : PFS1, PFS2, PFS2048, ECP256, ECP384, PFSMM, PFS24
VPNDHGroupsSupported                      : Group1, Group2, Group14, ECP256, ECP384, Group24
VPNProtocolSupported                      : IKEv2, GRE, L3, IPSec
VPNAuthenticationSupported                : PSKOnly
NATSupported                              : False
BGPSupported                              : True
VPNTrafficRegulationSupported             : False
NATTrafficRegulationSupported             : False
MeteringSupported                         : False
OutgoingNATRulesSupported                 : False
DeviceId                                  : 087BDC3D9C3028E089A68C404879471C14193F0D
Manufacturer                              : Microsoft
Model                                     : Microsoft Network Controller
VMNetworkGateways                         : {VNET3_Gateway, vnet4_Gateway, VNET2_Gateway}
GatewayConnections                        : {}
ConfigurationProvider                     : Microsoft Network Controller
ServerConnection                          : Microsoft.SystemCenter.VirtualMachineManager.Remoting.ServerConnection
ID                                        : 8f9a5e3c-5c26-4f02-8171-ab9c4bcc6755
IsViewOnly                                : False
ObjectType                                : NetworkGateway
MarkedForDeletion                         : False
IsFullyCached                             : True


Notably, I see that NAT is not supported (NATSupported: False), wich is what, I believe, enables Direct Routing. I might be wrong tough. But so far, I haven't been able to create a NAT connection. 

When I try to enable direct routing,  a VMNetworkGateway is created (not with NAT). And its always the same settings:

Name                   : VNET3_Gateway
Description            :
IPv4Address            : 10.254.254.2
IPv4Subnet             : 10.254.254.0/29
IPv6Address            :
IPv6Subnet             :
IPAddresses            : {10.254.254.2}
IPSubnets              : {10.254.254.0/29}
EnableBGP              : False
AutonomousSystemNumber :
EffectiveRoutes        : {}
VPNConnections         : {}
NATConnections         : {}
NetworkGateway         : NC
BGPPeers               : {}
VMNetwork              : VNET3
ServerConnection       : Microsoft.SystemCenter.VirtualMachineManager.Remoting.ServerConnection
ID                     : 8940686f-d87f-4563-b1cc-1506d6e15565
IsViewOnly             : False
ObjectType             : VMNetworkGateway
MarkedForDeletion      : False
IsFullyCached          : True


I don't know what to do with this. What is this ip adresse?  I certainly didn't configured it myself, wether in an ip pool or directly. Also I can't delete those gateways. I get this error

Remove-SCVMNetworkGateway : Network service threw an unhandled exception: 'An error occured.
System.ServiceModel.FaultException`1[Microsoft.Windows.Networking.NetworkController.Framework.Utilities.ControllerFault]: The creator of this fault did not
specify a Reason. (Fault Detail is equal to Message: The specified IP address range is in use and cannot be deleted without the force flag , Target: ,
InnerException: null).' (Error ID: 50125)

I don't really know what I did wrong or what I could do to fix the issues and make direct routing work. Do you know what could be wrong or what I could try? Feel free to ask for precisions!


Viewing all articles
Browse latest Browse all 2770

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>