Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in centos image generation #93

Open
YathendraPrasad opened this issue Sep 9, 2021 · 1 comment
Open

Issue in centos image generation #93

YathendraPrasad opened this issue Sep 9, 2021 · 1 comment

Comments

@YathendraPrasad
Copy link

What's the issue?

  • Issue in centos base and docker image creation

System Under Test/Environment

  • Centos 8

Steps to reproduce the issue

  1. make build-all
@YathendraPrasad
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant