Can you supply the curtin command and config files maas sent via cloud-init? IN particular the part-0001 script.
I've seen in other bugs related to curtin install that maas does not appear to have the curtin verbose debug output; that also seems to be missing here as well.
Based on the cloud-init log, it appears that curtin made it at least to the extract stage which would have already configured the reporter and sent these events back to maas; so I'd like to see those events from maas attached here.
Lastly, it appears that the dd image was corrupt, tar/gzip complain here:
Jun 9 15:49:07 dexterous-jamison cloud-init[1187]: gzip: stdin: invalid compressed data--crc error
Jun 9 15:50:22 dexterous-jamison cloud-init[1187]: tar: Child returned status 1
Jun 9 15:50:22 dexterous-jamison cloud-init[1187]: tar: Error is not recoverable: exiting now
which likely means the image is corrupt which prevented the in-target hook execution from working:
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: /usr/bin/env: 'python': No such file or directory
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Unexpected error while running command.
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Command: ['/tmp/tmpj_9jbwi6/target/curtin/finalize']
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Exit code: 127
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Reason: -
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Stdout: ''
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Stderr: ''
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Installation failed with exception: Unexpected error while running command.
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Command: ['curtin', 'hook']
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Exit code: 3
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Reason: -
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Stdout: b"/usr/bin/env: 'python': No such file or directory\nUnexpected error while running command.\nCommand: ['/tmp/tmpj_9jbwi6/target/curtin/finalize']\nExit code: 127\nReason: -\nStdout: ''\nStderr: ''\n"
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Stderr: ''
Can you supply the curtin command and config files maas sent via cloud-init? IN particular the part-0001 script.
I've seen in other bugs related to curtin install that maas does not appear to have the curtin verbose debug output; that also seems to be missing here as well.
Based on the cloud-init log, it appears that curtin made it at least to the extract stage which would have already configured the reporter and sent these events back to maas; so I'd like to see those events from maas attached here.
Lastly, it appears that the dd image was corrupt, tar/gzip complain here:
Jun 9 15:49:07 dexterous-jamison cloud-init[1187]: gzip: stdin: invalid compressed data--crc error
Jun 9 15:50:22 dexterous-jamison cloud-init[1187]: tar: Child returned status 1
Jun 9 15:50:22 dexterous-jamison cloud-init[1187]: tar: Error is not recoverable: exiting now
which likely means the image is corrupt which prevented the in-target hook execution from working:
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: /usr/bin/env: 'python': No such file or directory tmpj_9jbwi6/ target/ curtin/ finalize' ] nUnexpected error while running command.\nCommand: ['/tmp/ tmpj_9jbwi6/ target/ curtin/ finalize' ]\nExit code: 127\nReason: -\nStdout: ''\nStderr: ''\n"
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Unexpected error while running command.
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Command: ['/tmp/
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Exit code: 127
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Reason: -
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Stdout: ''
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Stderr: ''
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Installation failed with exception: Unexpected error while running command.
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Command: ['curtin', 'hook']
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Exit code: 3
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Reason: -
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Stdout: b"/usr/bin/env: 'python': No such file or directory\
Jun 9 15:50:32 dexterous-jamison cloud-init[1187]: Stderr: ''