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

error during the Jenkins Controller AMI build process #31

Open
afkhan2021 opened this issue May 8, 2024 · 1 comment
Open

error during the Jenkins Controller AMI build process #31

afkhan2021 opened this issue May 8, 2024 · 1 comment

Comments

@afkhan2021
Copy link

afkhan2021 commented May 8, 2024

Hi, I hit an error during the Jenkins Controller AMI build process. Any suggestions for fixing it?

 amazon-ebs.jenkins: TASK [jenkins-controller : Ensure EFS volume is mounted.] **********************
**amazon-ebs.jenkins: fatal: [default]: FAILED! => {"changed": false, "msg": "Error mounting /data: mount.nfs4: Failed to resolve server fs-0a6cc59623295b5df.efs.us-west-2.amazonaws.com: No address associated with hostname\n"}**
amazon-ebs.jenkins:
amazon-ebs.jenkins: PLAY RECAP *********************************************************************
amazon-ebs.jenkins: default                    : ok=11   changed=7    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0
amazon-ebs.jenkins:

==> amazon-ebs.jenkins: Provisioning step had errors: Running the cleanup provisioner, if present...
==> amazon-ebs.jenkins: Terminating the source AWS instance...
==> amazon-ebs.jenkins: Cleaning up any extra volumes...
==> amazon-ebs.jenkins: Deleting temporary security group...
==> amazon-ebs.jenkins: Deleting temporary keypair...
Build 'amazon-ebs.jenkins' errored after 3 minutes 43 seconds: Error executing Ansible: Non-zero exit status: exit status 2

==> Wait completed after 3 minutes 43 seconds

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

==> Builds finished but no artifacts were created.

@techiescamp
Copy link
Owner

@afkhan2021 Is the EFS valume available in the respective region?

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

2 participants