VMware Networking Community
maulermark
Contributor
Contributor

Can't delete NSX hardware gateway device

I've been experimenting with adding a hardware gateway device to NSX 6.4.1.  I had an old NSX supported H3C/HPE 5930 switch lying around that I attached to my datacenter spine switch with access to NSX.

I was able to add the switch to NSX in Service Definitions/Hardware Devices, but now I cannot delete it.

NSX_HW_Gateway_Error.JPG

I can see it on all three of my NSX controllers as well but the controllers only have "show" access and no way to delete it.

nsx-controller # show hardware-gateway-agent hardware-gateway

UUID                            e3a18ea5-b943-47a5-81c3-b03a8a39ea11

Ip

Instance Id

Connected                       false

Physical Master                 false

Bfd Enabled                     false

Bfd Probe Interval              300

Session Id                      0

Certificate                     -----BEGIN CERTIFICATE-----

MIIC9DCCAdwCAQEwDQYJKoZIhvcNAQELBQAwQjELMAkGA1UEBhMCVVMxCzAJBgNV

BAgMAkNBMQ0wCwYDVQQHDARPbml4MRcwFQYDVQQDDA53d3cudm13YXJlLmNvbTAe

Fw0xNTA5MjQwMDUwMzhaFw0xNjA5MjMwMDUwMzhaMD4xCzAJBgNVBAYTAlVTMQsw

CQYDVQQIDAJDQTENMAsGA1UEBwwET25peDETMBEGA1UEAwwKd3d3LmhwLmNvbTCC

ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANwzx5ajhB9kvYC8MY7a1Wpp

VahrAQeE9JB4WzDea6u9m49LGAyGiy83KNAUsAj8dnPm5AdQgn3BszSKiSt4sJiY

AL8b1uk6tKs78N0g+ZFoAcyLiQK2ALtvcLSEyf5iY+QZiVZhzc2MNWFm/ZJ/RaMF

7fHxVAwNf4iEOGqboWKb9FgrZw+Tpf7vbuQ2Cvr3ihxme9R9vZcH8vT3xv6KDIea

3snNokbwHiOh2r4PdIu6FceY/OdgBnlna43u1HhC+66IyZv4WgVg2hHZXBlSkoRh

Ow8+0uJuXNMThls0L631B7xh24ZKENHUm209urZQuInIqHg9IexgDg5rAC+rgCcC

AwEAATANBgkqhkiG9w0BAQsFAAOCAQEAbEZeILXIDbrLkFPFOXYfj+VZKMD3BrFK

q1lu0QASeT2Xvqqp+5WzQSJqUIwRN8L3nmIfIlozDb2WSJOhdGE394YtA+wA6w47

p2A1YAoD4JSZwi2IW/Ij72uFTjmUfS5/JPo/JPjCuBCcx3CkAnupY/HGNf6ff8C1

shUsaLq+g2DY1KpO3SwbJ9dkfDzlEQdeB4vYmyR0KpnhBeInQ4Haq4BEJifqwyJ9

5ixu909mGI10h/E7neNBY3XGoy7/TeSe8UCVy3HdksaArQ4VL7kopovKViSo0JSd

15h0dtn1vsn1fe+hGHtMgcFOOdGz4BdQniKR0/sSgA7ISV7QSg9bPA==

-----END CERTIFICATE-----

nsx-controller #

I've redeployed two of my three controllers but they just seem to sync up again after redeploying the new ones.

I have the support logs that I've downloaded from a controller that I can reference if someone can point me to the right log file.

Can someone tell me where to delete this configuration on the controllers/manager?

0 Kudos
2 Replies
RaymundoEC
VMware Employee
VMware Employee

The only way is touching DB but that is the GSS way only : (

+vRay
0 Kudos
mdac
Enthusiast
Enthusiast

Hi maulermark,

I believe I've run into this once in the past. It was due to a bug where the TOR UUID is mismatched between NSX Manager and the control cluster. Unfortunately, as Raymundo mentioned, DB cleanup is required to remove the hardware gateway. It would probably be best to open an SR with VMware GSS to have a look at the required tables.

Regards,

Mike

My blog: https://vswitchzero.com Follow me on Twitter: @vswitchzero
0 Kudos