If you are getting this error when you run show discoveryissues on the switch or if you notice FPGA version mismatch detected. Running version: 0x10 Expected version:0x11 in APIC.
Here is the fix.
# dir bootflash
Copy the .bin code version into clipboard
setup-bootvars.sh <code-version>
reload
After reload, run the below commands.
/bin/check-fpga.sh FpGaDoWnGrAdE
/usr/sbin/chassis-power-cycle.sh