Drain your water heater and flush it out. If you can find NSF approved chlorine powder (well supply websites) the rest of the procedure will be easy. If not purchase pellets. No matter which chlorine you purchase you will also need a Miracle Grow applicator or equivalent. Fill it with powder according to the instructions/recommendations per gallon treated on the chlorine container. Install the MG applicator between your fill port hose bib and water source filter (this is assuming you do not have a large diameter fill port). Turn on the water and fill your fresh water tank. After the tank is full flush this water through the water heater and all lines. Let it sit for a day, drain system completely and repeat. After you have repeated the process flush the system until all traces of odor are gone. Your water should be fresh and sparkling. If you have the large diameter fill port (similar to a gas tank neck) purchase the pellets, fill the tank and then drop in the appropriate number of pellets. Use a respirator and watch out for splash back. When the chlorine hits the water there may be a little bit or lots of off gassing. Follow the previous instructions. You can grind the pellets up in to a powder but it is not recommended unless you have a good quality respirator, rubber gloves and some sort of hazmat suit/ skin protection. I have used my old fishing rain gear as a hazmat suit. The pellets will work in a MG applicator but you may not get the optimum amount of chlorine to sufficiently shock your system. If this is the case you will just be repeating the process more times for the preferred end result.
Good Luck,
Randy
p.s.
If you have any RV mounted water filters, after the fresh water hose connection, remove them prior to shocking the system and throw them away. Also remove and throw them away prior to storage. You should always start each trip with a new filter. Old or not regularly maintained water filters cause more fresh water taste and odor issues than you can imagine.