Skip to content

error during the Jenkins Controller AMI build process #31

Open
@afkhan2021

Description

@afkhan2021

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions