Description

MAC query fails with type exception "expected TAC::String, got NoneType"

Symptoms

Internal error: Aos::Scotch::VniIndex.systemVlan:index type: Tac::TypeExecption("expected TAC::String, got NonoType: None")

 

 

Solution

This is a known bug in Apstra 5.0.0 and 5.0.1 version. The bug id is AOS-50112.

 

MAC querying might have crashed because it added all the systems to the index, although some systems might lack system_id if their deploy_mode is not deployed. Therefore, it led to KeyError as None (system_id) is not a valid value for the "Tac::String" field.

 

The error message can primarily occurs when there are not deployed leaf devices. 

 

For workaround, there are 2 options available:

 

A) Upgrade to 5.1.0, this is preferred method

 

OR

 

B) Make sure any leaf device where virtual networks are stretched must be in deployment mode deploy with SN assigned. If the user cannot have all leaf in deploy mode deploy, then upgrading to 5.1.0 is the only option.

Modification History

2025-01-03 : Article Created

2026:04:08 : Rectified affected version details mentioned : Deepak