The life of an astronaut seems glamorous: riding a rocket where few have gone before. But it’s not all glory.