What 8 flashes means
Power off failure: the control detected a flame signal when it shouldn't.
Likely causes
- Pilot not going out when the knob is off
- Thermopile still hot
Safe first checks
- Turn the knob to OFF and look through the viewport. If there's no pilot flame, wait 10 minutes and relight following the label.
When to stop
If a pilot flame is still there with the knob OFF, turn the main gas supply off and call a qualified technician; the gas control needs replacing.
Checked against: A.O. Smith Residential Standard Gas Water Heater Service Handbook: diagnostic flash codes. Codes can differ by model and year, so confirm with your owner's manual.