Qubinode / qubinode-installer

An easy to set up OpenShift development kit powered by Red Hat Ansible.
https://qubinode-installer.readthedocs.io/en/latest/
GNU General Public License v3.0
86 stars 26 forks source link

[BUG] Deploying rhel product failed on task configure ssh public key #376

Closed flyemsafe closed 3 years ago

flyemsafe commented 3 years ago
TASK [deploy-kvm-vm : configure ssh public key] ***********************************************************************
Sunday 25 April 2021  13:04:09 -0400 (0:00:11.269)       0:03:44.464 ********** 
fatal: [localhost]: FAILED! => changed=true 
  cmd:
  - /usr/local/bin/qubi-virt-customize
  - -a
  - /var/lib/libvirt/images/qbn-rhel8-_vda.qcow2
  - --ssh-inject
  - admin:file:/home/admin/.ssh/id_rsa.pub
  delta: '0:00:14.608147'
  end: '2021-04-25 13:04:24.909660'
  msg: non-zero return code
  rc: 1
  start: '2021-04-25 13:04:10.301513'
  stderr: |-
    virt-customize: error: ssh-inject: the user admin does not exist on the
    guest

    If reporting bugs, run virt-customize with debugging enabled and include
    the complete output:

      virt-customize -v -x [...]
  stderr_lines: <omitted>
  stdout: |-
    [   0.0] Examining the guest ...
    [  10.5] Setting a random seed
    [  10.5] SSH key inject: admin
  stdout_lines: <omitted>

PLAY RECAP ************************************************************************************************************
localhost                  : ok=35   changed=19   unreachable=0    failed=1    skipped=28   rescued=0    ignored=0