Issue with curtin while trying to autoinstall Ubuntu 20.04 focal

Hi,

I was trying to auto install Ubuntu 20.04 focal on my server, but its failing because of curtin

2020-12-18 12:01:43,545 ERROR root:39 finish: subiquity/InstallProgress/install: FAIL: Command '['systemd-cat', '--level-prefix=false', '--identifier=curtin_log.2209', '/snap/subiquity/2099/usr/bin/python3', '-m', 'curtin', '--showtrace', '-c', '/var/log/installer/subiquity-curtin-install.conf', 'install']' returned non-zero exit status 3.

tried looking for answer but it didn’t help.

Here is the content of the user-data file we are using

#cloud-config
password: atomic
ssh_pwauth: True
chpasswd:
  list: |
     root:password
  expire: False
# reporting:
#  central:
#   type: rsyslog
#   destination: '@aaaaa'
runcmd:
  - "wget 'http://abc:1111/svc/log/41?msg=runcmd&severity=info'"
autoinstall:
  version: 1
  identity:
    username: 'aaa'
    hostname: '<%= node.metadata["hostname"] || node.hostname %>'
    password: '$ewcwecw/aaaaa'
  refresh-installer:
    update: yes
  ssh:
    authorized-keys:
      - 'ssh-rsa eeqewfwvwwvXdzE7ksg9FB52pL3QtB2DwzGpHUTTboilue7aT3XX4EojmCa7XJQyzX7s/q/ZBpUAhjXmz+avOLrm1HtS8FZQqB6FypDIxjcyffwfwrrfwrfwfwfwwUFKL1h0G+/sKfqwK8Oai3QYDq8OQ620UgfpyLh8FdlMRthuaeVH5dvPXACxbxXVuBo2PxzXtZkUvWe1E7VL2FzQg2yZEkjSMvBAkRrbWS6Dy4ox2rEsuz77HdVcurmSPTWzrU9XjUPoliAcwewwvwrvlmHlvP4iNQetS5kWdGNYB+nliSt7scD7YMF+3XE3aOad0YzqJ6oD1GpjVShIFpfimK7/hX2TrnWiutMEOdAZmCYrDSHClMjUlbpcZ7LPgBZfCQ3Q0JWelHTUKkbuUmh6PLN69GcCQvvJd8JH8+gytH3+h+exHo9YxDhO7SnfWc0C1JkW46+hnjvdSx3sxKthY0aN8dRtqYVtDRBx1ePRQ1G9JqGpJiWrKdopxP4T82uAt/z/687TIOSSHN5HCPz2pawDMdyp93m1Z3jz7wE1B9o40iJtFN9+I4Qj36XdiktcFhvTWa5XoTyx+TDYu7sbf1GXQ== openpgp:0x738B28BD'
  apt:
    sources:
      puppetlabs-pc1:
        source: 'deb http://apt.puppetlabs.com $RELEASE puppet6'
        keyid: 'wwefew'
      davvvw:
        source: 'deb https://qfqfqfq $RELEASE main'
        keyid: 'qefeqfef'

    packages:
     - apt-transport-https
     - ca-certificates
     - iptables
     - puppet-agent
     - wget

  late-commands:
    - 'wget <%= log_url("preseed end") %>'
    - 'wget <%= file_url("os_boot") %> -O /target/usr/local/bin/razor_postinstall.sh'
    - 'chmod +x /target/usr/local/bin/razor_postinstall.sh'
    - 'curtin in-target --target=/target -- /target/usr/local/bin/razor_postinstall.sh'

  error-commands:
    - "wget 'http://abc:1111/svc/log/41?msg=error&severity=info'"
    - logger -n abc -t razor-task -p user.notice -f /var/log/installer

Sorry for the late reply. You’ll need to look into the files in /var/log/installer or /var/crash to figure out why it is failing.

I have installed it but unable to update it using auto update.

@amanshah Did you ever figure this out? I’m having the same issue… Only on 20.04.3.

1 Like

I also have the same issue. Can anyone please help?

1 Like