Russian officials say a gunman attacked a school in the city of Kazan and seven students, a teacher and a school worker were killed and 21 others were hospitalized with wounds Tuesday.