Using rigify, Automatic weights parenting fails
To make Rigify work properly you need to enable running python scripts or scripted expressions. When opening your file click on Reload Trusted button on the top of blender screen.