An investigation has begun into the storage of weapons for Ukraine's military near a residential area.