IBM-Cloud / ibmcloud-image-builder

ibmcloud-image-builder
Apache License 2.0
10 stars 8 forks source link

Issue in centos image generation #93

Open YathendraPrasad opened 3 years ago

YathendraPrasad commented 3 years ago

What's the issue?

System Under Test/Environment

Steps to reproduce the issue

  1. make build-all
YathendraPrasad commented 3 years ago

Error Log :

==> qemu: Executing Ansible: ansible-playbook -e packer_build_name=qemu -e packer_builder_type=qemu -e packer_http_addr=10.0.2.2:8114 --ssh-extra-args '-o IdentitiesOnly=yes' -e ansible_ssh_private_key_file=/tmp/ansible-key201182752 -i /tmp/packer-provisioner-ansible263575807 /ibmcloud-image-builder/img/centos-7-base/ansible/playbook.yml
    qemu:
    qemu: PLAY [play Hello World] ********************************************************
    qemu:
    qemu: TASK [Gathering Facts] *********************************************************
    qemu: fatal: [default]: FAILED! => {"msg": "Timeout (12s) waiting for privilege escalation prompt: "}
    qemu:
    qemu: PLAY RECAP *********************************************************************
    qemu: default                    : ok=0    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0
    qemu:
==> qemu: Provisioning step had errors: Running the cleanup provisioner, if present...
==> qemu: Deleting output directory...
Build 'qemu' errored: Error executing Ansible: Non-zero exit status: exit status 2

==> Some builds didn't complete successfully and had errors:
--> qemu: Error executing Ansible: Non-zero exit status: exit status 2

==> Builds finished but no artifacts were created.
make[1]: *** [Makefile:39: build-image] Error 1
make[1]: Leaving directory '/root/ibmcloud-image-builder'
make: *** [Makefile:30: centos-7-base] Error 2