I'm not sure I follow. VLAN 2696 exists in multiple fabrics?
The way I understand it, MAAS detects VLAN 2696 and creates it. Then you try to create it, in the same fabric, and get the error above. In which case, instead of creating a new VLAN, you should update that VLAN with the information you have from networks.yaml.
If that's not the case, please provide API output explaining the situation.
As for the error message... ideally we should improve that, since it's very hard to use it programatically. I think what you could do is to catch any error, but then issue a GET request to see whether the VLAN was already there. That way we can improve the error message without breaking FCE, and you can improve the check when we have something better.
I'm not sure I follow. VLAN 2696 exists in multiple fabrics?
The way I understand it, MAAS detects VLAN 2696 and creates it. Then you try to create it, in the same fabric, and get the error above. In which case, instead of creating a new VLAN, you should update that VLAN with the information you have from networks.yaml.
If that's not the case, please provide API output explaining the situation.
As for the error message... ideally we should improve that, since it's very hard to use it programatically. I think what you could do is to catch any error, but then issue a GET request to see whether the VLAN was already there. That way we can improve the error message without breaking FCE, and you can improve the check when we have something better.