The small set of failures
A gas storage heater fails in a handful of recognisable ways, and the symptom narrows the part quickly.
Pilot and thermocouple. The thermocouple proves the flame to the gas valve. When it weakens, the pilot lights, holds while you hold the button, and dies the moment you release.
Flame sensor and ignition. Electronic-ignition units use a hot-surface igniter and a flame sensor. A sensor coated in oxide reports no flame when there is one, and the unit locks out on a code.
The burner. Dust, rust scale and spider webs in the burner tubes give a lazy yellow flame, a rumble, or a smell of unburnt gas at start-up. Cleaning restores a blue flame and stops the sooting.
Gas valve and supply. A failing valve, a partly closed supply or a regulator problem shows as a weak flame or no flow. Gas pressure is measured, not guessed.
Why the flue is checked every time
A heater that lights reliably and vents badly is a worse outcome than one that refuses to light: carbon monoxide has no smell. So the draft, the flue connections, the clearances and the combustion air supply are reviewed on any gas repair, not only when the customer mentions a smell.
When it is not the heater
If a second gas appliance is also failing, the problem is upstream of the heater — the line, the valve or the meter — and the utility is the first call. That gets established before parts are ordered.