Witnesses provided a description of a vehicle and officers found it nearby, arresting three male suspects, police said in a news release.
Nobody was injured in the shooting, but police laid 15 charges against a 21-year-old including possessing and discharging a weapon, as well as possessing cocaine, OxyContin and other drugs.
That man was scheduled to appear in court on Tuesday.
Another 21-year-old man faces one charge of drug possession. The third suspect was not charged.
The Ottawa police guns and gangs unit continues to investigate.
Anyone with information regarding this investigation is asked to call police at 613-236-1222, ext. 5050. Anonymous tips can be submitted by calling Crime Stoppers toll-free at 1-800-222-8477 (TIPS).