nsxedge-testlb> get load-balancer <LB-UUID> status
24304: Internal Error: Query LB Engine Failed.
nsxedge-testlb> get load-balancer <LB-UUID> diagnosis
Checking
Action : checking system
Result : passed
Action : checking crash
Result : passed
Action : checking daemon status
Result : passed
Action : checking configuration
Result : not_found_in_db: LbCurrentMsg <<<<<<<<<<<
2024-05-26T14:04:01.042Z <nsxedge-testlb>NSX 60279 LOAD-BALANCER [nsx@6876 comp="nsx-edge" subcomp="lb" s2comp="lb" level="ERROR" errorCode="EDG9999999"] [xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxb648] init_by_lua error: error loading module 'ruleset' from file '/config/vmware/edge/lb/etc/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxb648/ruleset.lua':#012#011.../lb/etc/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxb648/ruleset.lua:62: invalid escape sequence near '"rspirep ^Location:'#012stack traceback:#012#011[C]: at 0x735bd2bf0630#012#011[C]: in function 'require'#012#011init_by_lua:3: in main chunk
the old configuration would be cleared, and the new configuration with the invalid LB rule tries to load but fails.