No and No.
CIA Director Petraeus does not answer to Secretary of Defense Panetta. Petraeus’ boss is Director of National Intelligence James Clapper, who reports to the President.
However, either the DNI or his Principle Deputy must be a commissioned military officer.