an influential aerospace strategist and operations adviser at the pentagon before his appointment to nasa , ekstrom had a reputation for surliness matched only by his incontestable dedication to whatever mission was at hand .