Last active
November 18, 2017 18:22
-
-
Save lmilbaum/a31325d2fa84c0699f85038000dee0fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17:38:55 Started by user jenkins | |
17:38:55 Building in workspace /var/jenkins_home/jobs/packer/workspace | |
17:38:55 [workspace] $ /bin/packer build -debug /depy-backend/lift/hashicorp/packer/artifactory.json | |
17:38:55 Debug mode enabled. Builds will not be parallelized. | |
17:38:55 amazon-ebs output will be in this color. | |
17:38:55 | |
17:38:57 ==> amazon-ebs: Prevalidating AMI Name: depy-artifactory 1511019535 | |
17:39:01 ==> amazon-ebs: Pausing after run of step 'StepPreValidate'. Press enter to continue. amazon-ebs: Found Image ID: ami-c8b51fb1 | |
17:39:01 ==> amazon-ebs: Pausing after run of step 'StepSourceAMIInfo'. Press enter to continue. ==> amazon-ebs: Creating temporary keypair: packer_5a10540f-919c-8875-5227-2edc3f50c661 | |
17:39:01 amazon-ebs: Saving key for debug purposes: ec2_amazon-ebs.pem | |
17:39:01 ==> amazon-ebs: Pausing after run of step 'StepKeyPair'. Press enter to continue. ==> amazon-ebs: Creating temporary security group for this instance: packer_5a105415-c8cf-3d9e-268e-1a825ec7a710 | |
17:39:01 ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group... | |
17:39:02 ==> amazon-ebs: Pausing after run of step 'StepSecurityGroup'. Press enter to continue. ==> amazon-ebs: Pausing after run of step 'stepCleanupVolumes'. Press enter to continue. ==> amazon-ebs: Launching a source AWS instance... | |
17:39:02 ==> amazon-ebs: Adding tags to source instance | |
17:39:02 amazon-ebs: Adding tag: "Name": "Packer Builder" | |
17:39:03 amazon-ebs: Instance ID: i-053775cea7628e13b | |
17:39:03 ==> amazon-ebs: Waiting for instance (i-053775cea7628e13b) to become ready... | |
17:39:22 amazon-ebs: Public DNS: ec2-52-213-214-64.eu-west-1.compute.amazonaws.com | |
17:39:22 amazon-ebs: Public IP: 52.213.214.64 | |
17:39:22 amazon-ebs: Private IP: 10.0.0.15 | |
17:39:22 ==> amazon-ebs: Pausing after run of step 'StepRunSourceInstance'. Press enter to continue. ==> amazon-ebs: Pausing after run of step 'StepGetPassword'. Press enter to continue. ==> amazon-ebs: Waiting for SSH to become available... | |
17:39:43 ==> amazon-ebs: Connected to SSH! | |
17:39:43 ==> amazon-ebs: Pausing after run of step 'StepConnect'. Press enter to continue. ==> amazon-ebs: Provisioning with Ansible... | |
17:39:44 ==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i /tmp/packer-provisioner-ansible494575894 /depy-backend/lift/ansible/playbooks/artifactory.yml --private-key /tmp/ansible-key285423571 -vvvv --extra-vars env=dev cloud=aws component_name=artifactory-server platform=Ubuntu_16.04 ansible_python_interpreter=/usr/bin/python | |
17:39:44 amazon-ebs: ansible-playbook 2.4.1.0 | |
17:39:44 amazon-ebs: config file = /depy-backend/lift/ansible/ansible.cfg | |
17:39:44 amazon-ebs: configured module search path = [u'/depy-backend/lift/ansible/library'] | |
17:39:44 amazon-ebs: ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible | |
17:39:44 amazon-ebs: executable location = /usr/local/bin/ansible-playbook | |
17:39:44 amazon-ebs: python version = 2.7.13 (default, Jan 19 2017, 14:48:08) [GCC 6.3.0 20170118] | |
17:39:44 amazon-ebs: Using /depy-backend/lift/ansible/ansible.cfg as config file | |
17:39:44 amazon-ebs: setting up inventory plugins | |
17:39:44 amazon-ebs: Parsed /tmp/packer-provisioner-ansible494575894 inventory source with ini plugin | |
17:39:45 amazon-ebs: statically imported: /depy-backend/lift/ansible/roles/depy/infra/depy.spotinst/tasks/create.yml | |
17:39:45 amazon-ebs: statically imported: /depy-backend/lift/ansible/roles/depy/infra/depy.ondemand/tasks/aws.yml | |
17:39:45 amazon-ebs: statically imported: /depy-backend/lift/ansible/common/init.yml | |
17:39:45 amazon-ebs: statically imported: /depy-backend/lift/ansible/playbooks/../common/../common/include_list.yml | |
17:39:45 amazon-ebs: statically imported: /depy-backend/lift/ansible/roles/galaxy/geerlingguy.java/tasks/setup-RedHat.yml | |
17:39:45 amazon-ebs: statically imported: /depy-backend/lift/ansible/roles/galaxy/geerlingguy.java/tasks/setup-Debian.yml | |
17:39:45 amazon-ebs: statically imported: /depy-backend/lift/ansible/roles/galaxy/geerlingguy.java/tasks/setup-FreeBSD.yml | |
17:39:45 amazon-ebs: statically imported: /depy-backend/lift/ansible/common/bootstrap.yml | |
17:39:45 amazon-ebs: statically imported: /depy-backend/lift/ansible/playbooks/../common/../common/include_list.yml | |
17:39:45 amazon-ebs: statically imported: /depy-backend/lift/ansible/playbooks/../common/../common/swap.yml | |
17:39:45 amazon-ebs: statically imported: /depy-backend/lift/ansible/playbooks/../common/../common/java.yml | |
17:39:45 amazon-ebs: Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python2.7/dist-packages/ansible/plugins/callback/__init__.pyc | |
17:39:45 amazon-ebs: | |
17:39:45 amazon-ebs: PLAYBOOK: artifactory.yml ****************************************************** | |
17:39:45 amazon-ebs: 2 plays in /depy-backend/lift/ansible/playbooks/artifactory.yml | |
17:39:45 amazon-ebs: | |
17:39:45 amazon-ebs: PLAY [localhost] *************************************************************** | |
17:39:45 amazon-ebs: | |
17:39:45 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:39:45 amazon-ebs: task path: /depy-backend/lift/ansible/common/include_list.yml:3 | |
17:39:45 amazon-ebs: ok: [localhost] => { | |
17:39:45 amazon-ebs: "ansible_facts": { | |
17:39:45 amazon-ebs: "git_rtc": { | |
17:39:45 amazon-ebs: "active": false | |
17:39:45 amazon-ebs: }, | |
17:39:45 amazon-ebs: "integrations": { | |
17:39:45 amazon-ebs: "active": false | |
17:39:45 amazon-ebs: }, | |
17:39:45 amazon-ebs: "port_forwarding": { | |
17:39:45 amazon-ebs: "active": true | |
17:39:45 amazon-ebs: }, | |
17:39:45 amazon-ebs: "samples": { | |
17:39:45 amazon-ebs: "HelloWorld": false, | |
17:39:45 amazon-ebs: "JKEBanking": false, | |
17:39:45 amazon-ebs: "JPetStore": false | |
17:39:45 amazon-ebs: }, | |
17:39:45 amazon-ebs: "swap": { | |
17:39:45 amazon-ebs: "active": true | |
17:39:45 amazon-ebs: }, | |
17:39:45 amazon-ebs: "timezone": { | |
17:39:45 amazon-ebs: "active": true, | |
17:39:45 amazon-ebs: "name": "Asia/Jerusalem" | |
17:39:45 amazon-ebs: } | |
17:39:45 amazon-ebs: }, | |
17:39:46 amazon-ebs: "ansible_included_var_files": [ | |
17:39:46 amazon-ebs: "/root/.depy/dev/env.json" | |
17:39:46 amazon-ebs: ], | |
17:39:46 amazon-ebs: "changed": false, | |
17:39:46 amazon-ebs: "failed": false | |
17:39:46 amazon-ebs: } | |
17:39:46 amazon-ebs: | |
17:39:46 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:39:46 amazon-ebs: task path: /depy-backend/lift/ansible/common/include_list.yml:4 | |
17:39:46 amazon-ebs: ok: [localhost] => { | |
17:39:46 amazon-ebs: "ansible_facts": { | |
17:39:46 amazon-ebs: "admin": { | |
17:39:46 amazon-ebs: "email": "[email protected]", | |
17:39:46 amazon-ebs: "fullname": "Liora Milbaum", | |
17:39:46 amazon-ebs: "group": "liora", | |
17:39:46 amazon-ebs: "home": "/home/liora", | |
17:39:46 amazon-ebs: "keyname": "~/.ssh/id_rsa.pem", | |
17:39:46 amazon-ebs: "password": "0XajjaD5", | |
17:39:46 amazon-ebs: "private_key": [ | |
17:39:46 amazon-ebs: "-----BEGIN RSA PRIVATE KEY-----", | |
17:39:46 amazon-ebs: "MIIEpAIBAAKCAQEAp5Crzz/PpOHbrrf/2lUh2oYNocGj6oa7MumX6fc6N11RDG3R", | |
17:39:46 amazon-ebs: "xDT+E00TZfYWf0KS5pvYT7YVoDYbeQVOqrntdDqXUZoHJ2wQtoH/L1UM3kND74fX", | |
17:39:46 amazon-ebs: "tPP4LBsyM32lfH9ZXF6MXR4xMzp9NkGjISY/L47ji2gZ/6WqSxCIYa/X3kvhL0cT", | |
17:39:46 amazon-ebs: "uQkKKkBE+sD8r1fCPeVKDLVX4He1RvIGybKHsUhUXdBEFyMlWzI8XCFBFIPW0saW", | |
17:39:46 amazon-ebs: "P+K0cIFzstFgxxve1tQQ6rhyfSjbphhlq9y5qRXBakFsMFhEP2ozPVlPz3ifUnHh", | |
17:39:46 amazon-ebs: "0/mgepY0NaxGLpn8fl7JBa+H+J7u9bv7s/eKvQIDAQABAoIBACDmoxV6bgbt4fiY", | |
17:39:46 amazon-ebs: "YEA6Xv9NOvf70XeHJNKGUzG5PVEJnZRXK8zeqtSXWau3egtawwVMrFhaZDyk4xgM", | |
17:39:46 amazon-ebs: "From75zWtEdteuIesdlkBPsCNBigFIK/pXb+QEhIvr6leQzM5HrihaTy/K4WWeeB", | |
17:39:46 amazon-ebs: "U8p6fAWWhM8mjZRIrvs2L9EeecBHzFe/qx2TLHYJpRG9FduRblHSwt0kZjv4zyYf", | |
17:39:46 amazon-ebs: "Qoi3GV1CWBRiOPjoFTglXC1waMJOpByaZorAiNY9aZCVPCAU/6VX+sSlvbglmbxt", | |
17:39:46 amazon-ebs: "hygiuAOIC8naWph+efyuSpWc+LiSeTBtqKP1TfV/3cs6Vx1wdq9SPoPXN+oVcrnV", | |
17:39:46 amazon-ebs: "wT3yLnECgYEA3VdbhocBO10i0oHfAFDwtLFVm4XluvdFee7Eygqp9Usx5/kGRZrT", | |
17:39:46 amazon-ebs: "yCCir204nW1S1SE/7Zj1ga5YojtB+J9viiZ691KWS9SQih6uSajaQkEhUNexKnyD", | |
17:39:46 amazon-ebs: "w7VOR72VFEJLjEdK7NPSWBJbwHrEaL2Nqz/yf29xwqQGa42EH+BPXqsCgYEAwc2n", | |
17:39:46 amazon-ebs: "iRy84peEhHgLS2A/OgwugRcFBYwwf6SaPrx0W5AcNLcGrz51Hv6q1s4IG65dhZFo", | |
17:39:46 amazon-ebs: "Cd9dfW0gTq6Saqzc9TqpJwfFKF8oolbOtAz/wgE4LGqnFh32/UD410nSbjYidKCK", | |
17:39:46 amazon-ebs: "pWQksr8CwxYtm45XRtLQ6oe5R5KPL8kiO2eunDcCgYBBGgyliNfn6gDwAZrhsOzb", | |
17:39:46 amazon-ebs: "eL1BPSTQ1SHuNzhSZMiQiUlofWpG1r8rwc2X43wfcaRHY7w12iN7vRf8v4kr41kf", | |
17:39:46 amazon-ebs: "PSo1zGjAbQkGVvfUWoG3swhlistlP7JRweYAW9aZWtZ1sBJtje/0T5IFDxbt57Lf", | |
17:39:46 amazon-ebs: "h7N/n/vJ0AzDXaBa79LoeQKBgQCcww/4PXGfy7WaPUvNfZ3HA2F+c7NRKHN2XBuU", | |
17:39:46 amazon-ebs: "EXYBNlFKZp2WlOvB1Xc051Txpxno15QTIEUMFoAihNzUQt0702ZNtuBIZqiEn7j1", | |
17:39:46 amazon-ebs: "NOqP79KTQvXCUxyc/7gI1KLNGSbHtbBQVe/FUfIXAVKE2B9Kn23ztzMsbKU7nvL8", | |
17:39:46 amazon-ebs: "oEJCAwKBgQCvQfKmvbdJoJNbiA8lH5ZikDk24jiFQbOnksGJU+MkdynXh3n4Y/bl", | |
17:39:46 amazon-ebs: "6ZCMQ9ZhCl/5IEwJdb7P/TjSpCgP4ng9enbuYvcvrdvLFOX2o0Q2kzgqlfOebHpx", | |
17:39:46 amazon-ebs: "HCoV0pqvuyeK5VPt7Np6e8gy/LWhYsnkMvOBjl0gt/pQRZF3o/1aCQ==", | |
17:39:46 amazon-ebs: "-----END RSA PRIVATE KEY-----" | |
17:39:46 amazon-ebs: ], | |
17:39:46 amazon-ebs: "pubkey": [ | |
17:39:46 amazon-ebs: "-----BEGIN PUBLIC KEY-----", | |
17:39:46 amazon-ebs: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp5Crzz/PpOHbrrf/2lUh", | |
17:39:46 amazon-ebs: "2oYNocGj6oa7MumX6fc6N11RDG3RxDT+E00TZfYWf0KS5pvYT7YVoDYbeQVOqrnt", | |
17:39:47 amazon-ebs: "dDqXUZoHJ2wQtoH/L1UM3kND74fXtPP4LBsyM32lfH9ZXF6MXR4xMzp9NkGjISY/", | |
17:39:47 amazon-ebs: "L47ji2gZ/6WqSxCIYa/X3kvhL0cTuQkKKkBE+sD8r1fCPeVKDLVX4He1RvIGybKH", | |
17:39:47 amazon-ebs: "sUhUXdBEFyMlWzI8XCFBFIPW0saWP+K0cIFzstFgxxve1tQQ6rhyfSjbphhlq9y5", | |
17:39:47 amazon-ebs: "qRXBakFsMFhEP2ozPVlPz3ifUnHh0/mgepY0NaxGLpn8fl7JBa+H+J7u9bv7s/eK", | |
17:39:47 amazon-ebs: "vQIDAQAB", | |
17:39:47 amazon-ebs: "-----END PUBLIC KEY-----" | |
17:39:47 amazon-ebs: ], | |
17:39:47 amazon-ebs: "userid": "liora" | |
17:39:47 amazon-ebs: }, | |
17:39:47 amazon-ebs: "anonymous": { | |
17:39:47 amazon-ebs: "email": "", | |
17:39:47 amazon-ebs: "fullname": "", | |
17:39:47 amazon-ebs: "group": "anonymous", | |
17:39:47 amazon-ebs: "home": "", | |
17:39:47 amazon-ebs: "keyname": "", | |
17:39:47 amazon-ebs: "password": "", | |
17:39:47 amazon-ebs: "private_key": "", | |
17:39:47 amazon-ebs: "pubkey": "", | |
17:39:47 amazon-ebs: "userid": "anonymous" | |
17:39:47 amazon-ebs: }, | |
17:39:47 amazon-ebs: "build": { | |
17:39:47 amazon-ebs: "email": "", | |
17:39:47 amazon-ebs: "fullname": "Build User", | |
17:39:47 amazon-ebs: "group": "build", | |
17:39:47 amazon-ebs: "home": "/home/build", | |
17:39:47 amazon-ebs: "keyname": "", | |
17:39:47 amazon-ebs: "password": "build", | |
17:39:47 amazon-ebs: "private_key": "", | |
17:39:47 amazon-ebs: "pubkey": "", | |
17:39:47 amazon-ebs: "userid": "build" | |
17:39:47 amazon-ebs: }, | |
17:39:47 amazon-ebs: "git": { | |
17:39:47 amazon-ebs: "email": "", | |
17:39:47 amazon-ebs: "fullname": "git", | |
17:39:47 amazon-ebs: "group": "git", | |
17:39:47 amazon-ebs: "home": "", | |
17:39:47 amazon-ebs: "keyname": "~/.ssh/github_rsa", | |
17:39:47 amazon-ebs: "password": "git", | |
17:39:47 amazon-ebs: "private_key": "", | |
17:39:47 amazon-ebs: "pubkey": "", | |
17:39:47 amazon-ebs: "userid": "git" | |
17:39:47 amazon-ebs: }, | |
17:39:47 amazon-ebs: "id": "users", | |
17:39:47 amazon-ebs: "jenkins": { | |
17:39:47 amazon-ebs: "email": "", | |
17:39:47 amazon-ebs: "fullname": "Jenkins", | |
17:39:47 amazon-ebs: "group": "jenkins", | |
17:39:47 amazon-ebs: "home": "/var/lib/jenkins", | |
17:39:47 amazon-ebs: "keyname": "", | |
17:39:47 amazon-ebs: "password": "0XajjaD5", | |
17:39:47 amazon-ebs: "private_key": "", | |
17:39:47 amazon-ebs: "pubkey": "", | |
17:39:47 amazon-ebs: "userid": "jenkins" | |
17:39:47 amazon-ebs: }, | |
17:39:47 amazon-ebs: "user1": { | |
17:39:47 amazon-ebs: "email": "", | |
17:39:47 amazon-ebs: "fullname": "Sample User", | |
17:39:47 amazon-ebs: "group": "liora", | |
17:39:47 amazon-ebs: "home": "/home/liora", | |
17:39:47 amazon-ebs: "keyname": "", | |
17:39:47 amazon-ebs: "password": "liora", | |
17:39:47 amazon-ebs: "private_key": "", | |
17:39:47 amazon-ebs: "pubkey": "", | |
17:39:47 amazon-ebs: "userid": "liora" | |
17:39:47 amazon-ebs: }, | |
17:39:47 amazon-ebs: "windows_admin": { | |
17:39:47 amazon-ebs: "email": "", | |
17:39:47 amazon-ebs: "fullname": "Administrator", | |
17:39:47 amazon-ebs: "group": "Administrators", | |
17:39:47 amazon-ebs: "home": "", | |
17:39:47 amazon-ebs: "keyname": "", | |
17:39:47 amazon-ebs: "password": "0XajjaD5", | |
17:39:47 amazon-ebs: "private_key": "", | |
17:39:47 amazon-ebs: "pubkey": "", | |
17:39:47 amazon-ebs: "userid": "Administrator" | |
17:39:47 amazon-ebs: } | |
17:39:47 amazon-ebs: }, | |
17:39:47 amazon-ebs: "ansible_included_var_files": [ | |
17:39:47 amazon-ebs: "/root/.depy/dev/users.json" | |
17:39:47 amazon-ebs: ], | |
17:39:47 amazon-ebs: "changed": false, | |
17:39:47 amazon-ebs: "failed": false | |
17:39:47 amazon-ebs: } | |
17:39:47 amazon-ebs: | |
17:39:47 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:39:47 amazon-ebs: task path: /depy-backend/lift/ansible/common/include_list.yml:5 | |
17:39:47 amazon-ebs: ok: [localhost] => { | |
17:39:47 amazon-ebs: "ansible_facts": { | |
17:39:47 amazon-ebs: "artifactory_license_key": "cHJvZHVjdHM6CiAgYXJ0aWZhY3Rvcnk6CiAgICBwcm9kdWN0OiBaWGh3YVhKbGN6b2dNakF4TnkweE1TMHdOMVF3T0Rvek1qb3hPUzQwT1RCYUNtbGtPaUJoWmpreU4yUTNPUzFsTTJOaExUUmpaVE10WWpNM1pDMDVObVE0TmpneVpXVTVNamdLYjNkdVpYSTZJRXd1VFM1Q0xpMURiMjV6ZFd4MGFXNW5JRXgwWkM0S2NISnZjR1Z5ZEdsbGN6b2dlMzBLYzJsbmJtRjBkWEpsT2lCdWRXeHNDblJ5YVdGc09pQjBjblZsQ25SNWNHVTZJRlJTU1VGTUNuWmhiR2xrUm5KdmJUb2dNakF4TnkweE1DMHdPRlF3T0Rvek1qb3hPUzQwT1RCYUNnPT0KICAgIHNpZ25hdHVyZTogUFBLQURheVhaTzNBT2JHeEd4WEZVanRWR05EYjlCdDl2RmllTDFkVVZJNlVzbEUvT2J3MmZRbng4V05zclBKMTJrQ0VOazZ1WGtjb2pqRlN1MDRIOHA5eHZDNCtUZURMSUlWaStLWDd1Tzc0UXlJcTc2LzBpelR2NTBZZEI2djVoWGFXcTBjaFNLT015V1lnOEZsUXF1dG13eGZ1a2g1YmM2d000Vm1QZmNZU3BXcGNJa1dmdmxJN2pJMVZHWUlqSnpldTNzZFBnbUQ4T0tzVVdFUklFenV4SGR0KzRqNVB0bEFPSmhEQi83WlJGZW1tV1duOVZTRFQwSkdZSENrbTZ4SXV6dld2VldvLzBBRGw5TmFKcDBPMzU0RVVTME1zNXRTNVdJdFZCbWhlNlNLZ0RJcXpacUlrczlTOU9iTVU0b1ByUFUwOEF6NW1IdWZTTjlUcUN3PT0KdmVyc2lvbjogMQo=", | |
17:39:48 amazon-ebs: "id": "licenses" | |
17:39:48 amazon-ebs: }, | |
17:39:48 amazon-ebs: "ansible_included_var_files": [ | |
17:39:48 amazon-ebs: "/root/.depy/dev/licenses.json" | |
17:39:48 amazon-ebs: ], | |
17:39:48 amazon-ebs: "changed": false, | |
17:39:48 amazon-ebs: "failed": false | |
17:39:48 amazon-ebs: } | |
17:39:48 amazon-ebs: | |
17:39:48 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:39:48 amazon-ebs: task path: /depy-backend/lift/ansible/common/include_list.yml:6 | |
17:39:48 amazon-ebs: ok: [localhost] => { | |
17:39:48 amazon-ebs: "ansible_facts": { | |
17:39:48 amazon-ebs: "CloudFormation": { | |
17:39:48 amazon-ebs: "active": true | |
17:39:48 amazon-ebs: }, | |
17:39:48 amazon-ebs: "RHEL_6": { | |
17:39:48 amazon-ebs: "ami": "ami-58495d2c" | |
17:39:48 amazon-ebs: }, | |
17:39:48 amazon-ebs: "RHEL_7": { | |
17:39:48 amazon-ebs: "ami": "ami-308a5b49" | |
17:39:48 amazon-ebs: }, | |
17:39:48 amazon-ebs: "SLES_12": { | |
17:39:48 amazon-ebs: "ami": "ami-9186a1e2" | |
17:39:48 amazon-ebs: }, | |
17:39:48 amazon-ebs: "Ubuntu_14.04": { | |
17:39:48 amazon-ebs: "ami": "ami-55452e26" | |
17:39:48 amazon-ebs: }, | |
17:39:48 amazon-ebs: "Ubuntu_16.04": { | |
17:39:48 amazon-ebs: "ami": "ami-21abf052" | |
17:39:48 amazon-ebs: }, | |
17:39:48 amazon-ebs: "availabilityZones": [ | |
17:39:48 amazon-ebs: { | |
17:39:48 amazon-ebs: "name": "eu-west-1a", | |
17:39:48 amazon-ebs: "subnetIds": [ | |
17:39:48 amazon-ebs: "subnet-7cf03b25" | |
17:39:48 amazon-ebs: ] | |
17:39:48 amazon-ebs: }, | |
17:39:48 amazon-ebs: { | |
17:39:48 amazon-ebs: "name": "eu-west-1b", | |
17:39:48 amazon-ebs: "subnetIds": [ | |
17:39:48 amazon-ebs: "subnet-42ce9726" | |
17:39:48 amazon-ebs: ] | |
17:39:48 amazon-ebs: } | |
17:39:48 amazon-ebs: ], | |
17:39:48 amazon-ebs: "cloudwatch": { | |
17:39:48 amazon-ebs: "logs": { | |
17:39:48 amazon-ebs: "buffer_duration": 5000, | |
17:39:48 amazon-ebs: "datetime_format": "%b %d %H:%M:%S", | |
17:39:48 amazon-ebs: "encoding": "utf-8", | |
17:39:48 amazon-ebs: "file": "/var/log/syslog", | |
17:39:48 amazon-ebs: "initial_position": "start_of_file", | |
17:39:48 amazon-ebs: "log_group_name": "/var/log/syslog", | |
17:39:48 amazon-ebs: "log_stream_name": "hostname", | |
17:39:49 amazon-ebs: "name": "syslog" | |
17:39:49 amazon-ebs: }, | |
17:39:49 amazon-ebs: "profile": "default" | |
17:39:49 amazon-ebs: }, | |
17:39:49 amazon-ebs: "depy_cidr_ips": [], | |
17:39:49 amazon-ebs: "depy_vpc_id": "vpc-7dd90818", | |
17:39:49 amazon-ebs: "hosted_zone_id": "Z3ULTFKXQO4TEJ", | |
17:39:49 amazon-ebs: "iam_role": "depy", | |
17:39:49 amazon-ebs: "key": "~/.ssh/id_rsa.pem", | |
17:39:49 amazon-ebs: "key_name": "id_rsa", | |
17:39:49 amazon-ebs: "network_interface": "eth0", | |
17:39:49 amazon-ebs: "profile_name": "default", | |
17:39:49 amazon-ebs: "region": "eu-west-1", | |
17:39:49 amazon-ebs: "security_group_name": "depy", | |
17:39:49 amazon-ebs: "subnet_id": "subnet-7cf03b25", | |
17:39:49 amazon-ebs: "windows_2012R2": { | |
17:39:49 amazon-ebs: "ami": "ami-7cb35e05" | |
17:39:49 amazon-ebs: }, | |
17:39:49 amazon-ebs: "zone": "depy.io" | |
17:39:49 amazon-ebs: }, | |
17:39:49 amazon-ebs: "ansible_included_var_files": [ | |
17:39:49 amazon-ebs: "/root/.depy/dev/cloud/aws.json" | |
17:39:49 amazon-ebs: ], | |
17:39:49 amazon-ebs: "changed": false, | |
17:39:49 amazon-ebs: "failed": false | |
17:39:49 amazon-ebs: } | |
17:39:49 amazon-ebs: | |
17:39:49 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:39:49 amazon-ebs: task path: /depy-backend/lift/ansible/common/include_list.yml:7 | |
17:39:49 amazon-ebs: ok: [localhost] => { | |
17:39:49 amazon-ebs: "ansible_facts": { | |
17:39:49 amazon-ebs: "active": false, | |
17:39:49 amazon-ebs: "version": "5.5.2" | |
17:39:49 amazon-ebs: }, | |
17:39:49 amazon-ebs: "ansible_included_var_files": [ | |
17:39:49 amazon-ebs: "/root/.depy/dev/app/artifactory/infra.json" | |
17:39:49 amazon-ebs: ], | |
17:39:49 amazon-ebs: "changed": false, | |
17:39:49 amazon-ebs: "failed": false | |
17:39:49 amazon-ebs: } | |
17:39:49 amazon-ebs: | |
17:39:49 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:39:49 amazon-ebs: task path: /depy-backend/lift/ansible/common/include_list.yml:8 | |
17:39:49 amazon-ebs: ok: [localhost] => { | |
17:39:49 amazon-ebs: "ansible_facts": {}, | |
17:39:49 amazon-ebs: "ansible_included_var_files": [ | |
17:39:49 amazon-ebs: "/root/.depy/dev/app/artifactory/features.json" | |
17:39:49 amazon-ebs: ], | |
17:39:49 amazon-ebs: "changed": false, | |
17:39:49 amazon-ebs: "failed": false | |
17:39:49 amazon-ebs: } | |
17:39:49 amazon-ebs: | |
17:39:49 amazon-ebs: TASK [common/init | host group] ************************************************ | |
17:39:49 amazon-ebs: task path: /depy-backend/lift/ansible/common/init.yml:5 | |
17:39:49 amazon-ebs: ok: [localhost] => { | |
17:39:49 amazon-ebs: "ansible_facts": { | |
17:39:49 amazon-ebs: "host_group": "artifactory" | |
17:39:49 amazon-ebs: }, | |
17:39:49 amazon-ebs: "changed": false, | |
17:39:49 amazon-ebs: "failed": false | |
17:39:49 amazon-ebs: } | |
17:39:49 amazon-ebs: | |
17:39:49 amazon-ebs: TASK [common/init | platform] ************************************************** | |
17:39:49 amazon-ebs: task path: /depy-backend/lift/ansible/common/init.yml:8 | |
17:39:49 amazon-ebs: ok: [localhost] => { | |
17:39:49 amazon-ebs: "ansible_facts": { | |
17:39:49 amazon-ebs: "platform": "Ubuntu_16.04" | |
17:39:49 amazon-ebs: }, | |
17:39:49 amazon-ebs: "changed": false, | |
17:39:50 amazon-ebs: "failed": false | |
17:39:50 amazon-ebs: } | |
17:39:50 amazon-ebs: | |
17:39:50 amazon-ebs: TASK [common/init | ami] ******************************************************* | |
17:39:50 amazon-ebs: task path: /depy-backend/lift/ansible/common/init.yml:11 | |
17:39:50 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:50 amazon-ebs: ok: [localhost] => { | |
17:39:50 amazon-ebs: "ansible_facts": { | |
17:39:50 amazon-ebs: "ami": "ami-21abf052" | |
17:39:50 amazon-ebs: }, | |
17:39:50 amazon-ebs: "changed": false, | |
17:39:50 amazon-ebs: "failed": false | |
17:39:50 amazon-ebs: } | |
17:39:50 amazon-ebs: | |
17:39:50 amazon-ebs: TASK [common/init | imageid] *************************************************** | |
17:39:50 amazon-ebs: task path: /depy-backend/lift/ansible/common/init.yml:16 | |
17:39:50 amazon-ebs: skipping: [localhost] => { | |
17:39:50 amazon-ebs: "changed": false, | |
17:39:50 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:50 amazon-ebs: "skipped": true | |
17:39:50 amazon-ebs: } | |
17:39:50 amazon-ebs: | |
17:39:50 amazon-ebs: TASK [common/init | port] ****************************************************** | |
17:39:50 amazon-ebs: task path: /depy-backend/lift/ansible/common/init.yml:21 | |
17:39:50 amazon-ebs: skipping: [localhost] => { | |
17:39:50 amazon-ebs: "changed": false, | |
17:39:50 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:50 amazon-ebs: "skipped": true | |
17:39:50 amazon-ebs: } | |
17:39:50 amazon-ebs: | |
17:39:50 amazon-ebs: TASK [common/init | port] ****************************************************** | |
17:39:50 amazon-ebs: task path: /depy-backend/lift/ansible/common/init.yml:27 | |
17:39:50 amazon-ebs: skipping: [localhost] => { | |
17:39:50 amazon-ebs: "changed": false, | |
17:39:50 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:50 amazon-ebs: "skipped": true | |
17:39:50 amazon-ebs: } | |
17:39:50 amazon-ebs: | |
17:39:50 amazon-ebs: TASK [common/init | port] ****************************************************** | |
17:39:50 amazon-ebs: task path: /depy-backend/lift/ansible/common/init.yml:33 | |
17:39:50 amazon-ebs: ok: [localhost] => { | |
17:39:50 amazon-ebs: "ansible_facts": { | |
17:39:50 amazon-ebs: "port": "22" | |
17:39:50 amazon-ebs: }, | |
17:39:50 amazon-ebs: "changed": false, | |
17:39:50 amazon-ebs: "failed": false | |
17:39:50 amazon-ebs: } | |
17:39:50 amazon-ebs: META: ran handlers | |
17:39:50 amazon-ebs: | |
17:39:50 amazon-ebs: TASK [depy.infra : include_role] *********************************************** | |
17:39:50 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.infra/tasks/main.yml:4 | |
17:39:50 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:50 amazon-ebs: | |
17:39:50 amazon-ebs: TASK [depy.inventory : include_tasks] ****************************************** | |
17:39:50 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.inventory/tasks/main.yml:4 | |
17:39:50 amazon-ebs: included: /depy-backend/lift/ansible/roles/depy/infra/depy.inventory/tasks/main_aws.yml for localhost | |
17:39:50 amazon-ebs: | |
17:39:50 amazon-ebs: TASK [depy.inventory : Get artifactory-server facts] *************************** | |
17:39:50 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.inventory/tasks/main_aws.yml:4 | |
17:39:50 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:50 amazon-ebs: Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/cloud/amazon/ec2_instance_facts.py | |
17:39:50 amazon-ebs: <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root | |
17:39:50 amazon-ebs: <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1511019587.05-106381652489748 `" && echo ansible-tmp-1511019587.05-106381652489748="` echo $HOME/.ansible/tmp/ansible-tmp-1511019587.05-106381652489748 `" ) && sleep 0' | |
17:39:51 amazon-ebs: <127.0.0.1> PUT /tmp/tmpYfV_8i TO /root/.ansible/tmp/ansible-tmp-1511019587.05-106381652489748/ec2_instance_facts.py | |
17:39:51 amazon-ebs: <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1511019587.05-106381652489748/ /root/.ansible/tmp/ansible-tmp-1511019587.05-106381652489748/ec2_instance_facts.py && sleep 0' | |
17:39:51 amazon-ebs: <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1511019587.05-106381652489748/ec2_instance_facts.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1511019587.05-106381652489748/" > /dev/null 2>&1 && sleep 0' | |
17:39:51 amazon-ebs: ok: [localhost] => { | |
17:39:51 amazon-ebs: "changed": false, | |
17:39:51 amazon-ebs: "failed": false, | |
17:39:51 amazon-ebs: "instances": [], | |
17:39:51 amazon-ebs: "invocation": { | |
17:39:51 amazon-ebs: "module_args": { | |
17:39:51 amazon-ebs: "aws_access_key": null, | |
17:39:51 amazon-ebs: "aws_secret_key": null, | |
17:39:51 amazon-ebs: "ec2_url": null, | |
17:39:51 amazon-ebs: "filters": { | |
17:39:51 amazon-ebs: "instance-state-name": "running", | |
17:39:51 amazon-ebs: "tag:Environment": "dev", | |
17:39:51 amazon-ebs: "tag:Name": "artifactory-server" | |
17:39:51 amazon-ebs: }, | |
17:39:51 amazon-ebs: "instance_ids": [], | |
17:39:51 amazon-ebs: "profile": null, | |
17:39:51 amazon-ebs: "region": "eu-west-1", | |
17:39:51 amazon-ebs: "security_token": null, | |
17:39:51 amazon-ebs: "validate_certs": true | |
17:39:51 amazon-ebs: } | |
17:39:51 amazon-ebs: } | |
17:39:51 amazon-ebs: } | |
17:39:51 amazon-ebs: | |
17:39:51 amazon-ebs: TASK [depy.inventory : include_tasks] ****************************************** | |
17:39:51 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.inventory/tasks/main_aws.yml:13 | |
17:39:51 amazon-ebs: | |
17:39:51 amazon-ebs: TASK [depy.spotinst : set_fact] ************************************************ | |
17:39:51 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.spotinst/tasks/create.yml:3 | |
17:39:51 amazon-ebs: File lookup using /root/.depy/dev/cloud/spotinst.json as file | |
17:39:51 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:51 amazon-ebs: skipping: [localhost] => { | |
17:39:51 amazon-ebs: "changed": false, | |
17:39:51 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:51 amazon-ebs: "skipped": true | |
17:39:51 amazon-ebs: } | |
17:39:51 amazon-ebs: | |
17:39:51 amazon-ebs: TASK [depy.spotinst : template] ************************************************ | |
17:39:51 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.spotinst/tasks/create.yml:6 | |
17:39:51 amazon-ebs: File lookup using /root/.depy/dev/cloud/spotinst.json as file | |
17:39:51 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:51 amazon-ebs: skipping: [localhost] => { | |
17:39:51 amazon-ebs: "changed": false, | |
17:39:51 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:51 amazon-ebs: "skipped": true | |
17:39:51 amazon-ebs: } | |
17:39:51 amazon-ebs: | |
17:39:51 amazon-ebs: TASK [depy.spotinst : template] ************************************************ | |
17:39:51 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.spotinst/tasks/create.yml:10 | |
17:39:51 amazon-ebs: File lookup using /root/.depy/dev/cloud/spotinst.json as file | |
17:39:51 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:51 amazon-ebs: skipping: [localhost] => { | |
17:39:51 amazon-ebs: "changed": false, | |
17:39:51 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:51 amazon-ebs: "skipped": true | |
17:39:51 amazon-ebs: } | |
17:39:51 amazon-ebs: | |
17:39:51 amazon-ebs: TASK [depy.spotinst : Create Group artifactory] ******************************** | |
17:39:52 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.spotinst/tasks/create.yml:16 | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/spotinst.json as file | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:52 amazon-ebs: skipping: [localhost] => { | |
17:39:52 amazon-ebs: "changed": false, | |
17:39:52 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:52 amazon-ebs: "skipped": true | |
17:39:52 amazon-ebs: } | |
17:39:52 amazon-ebs: | |
17:39:52 amazon-ebs: TASK [depy.spotinst : Store Group Id] ****************************************** | |
17:39:52 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.spotinst/tasks/create.yml:28 | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/spotinst.json as file | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:52 amazon-ebs: skipping: [localhost] => { | |
17:39:52 amazon-ebs: "changed": false, | |
17:39:52 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:52 amazon-ebs: "skipped": true | |
17:39:52 amazon-ebs: } | |
17:39:52 amazon-ebs: | |
17:39:52 amazon-ebs: TASK [depy.spotinst : get Instance Ids] **************************************** | |
17:39:52 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.spotinst/tasks/create.yml:31 | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/spotinst.json as file | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:52 amazon-ebs: skipping: [localhost] => { | |
17:39:52 amazon-ebs: "changed": false, | |
17:39:52 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:52 amazon-ebs: "skipped": true | |
17:39:52 amazon-ebs: } | |
17:39:52 amazon-ebs: | |
17:39:52 amazon-ebs: TASK [depy.spotinst : include_tasks] ******************************************* | |
17:39:52 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.spotinst/tasks/create.yml:45 | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/spotinst.json as file | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:52 amazon-ebs: skipping: [localhost] => { | |
17:39:52 amazon-ebs: "changed": false, | |
17:39:52 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:52 amazon-ebs: "skipped": true | |
17:39:52 amazon-ebs: } | |
17:39:52 amazon-ebs: | |
17:39:52 amazon-ebs: TASK [depy.ondemand : aws | run ec2 instance] ********************************** | |
17:39:52 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.ondemand/tasks/aws.yml:4 | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/spotinst.json as file | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:52 amazon-ebs: skipping: [localhost] => { | |
17:39:52 amazon-ebs: "changed": false, | |
17:39:52 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:52 amazon-ebs: "skipped": true | |
17:39:52 amazon-ebs: } | |
17:39:52 amazon-ebs: | |
17:39:52 amazon-ebs: TASK [depy.ondemand : Make sure user data is executed] ************************* | |
17:39:52 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.ondemand/tasks/aws.yml:25 | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/spotinst.json as file | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:52 amazon-ebs: skipping: [localhost] => { | |
17:39:52 amazon-ebs: "changed": false, | |
17:39:52 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:52 amazon-ebs: "skipped": true | |
17:39:52 amazon-ebs: } | |
17:39:52 amazon-ebs: | |
17:39:52 amazon-ebs: TASK [depy.ondemand : aws | wait for ssh/WinRm to answer on all hosts] ********* | |
17:39:52 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.ondemand/tasks/aws.yml:32 | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/spotinst.json as file | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:52 amazon-ebs: skipping: [localhost] => { | |
17:39:52 amazon-ebs: "changed": false, | |
17:39:52 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:52 amazon-ebs: "skipped": true | |
17:39:52 amazon-ebs: } | |
17:39:52 amazon-ebs: | |
17:39:52 amazon-ebs: TASK [depy.ondemand : aws | Instnace Public IP] ******************************** | |
17:39:52 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.ondemand/tasks/aws.yml:39 | |
17:39:52 amazon-ebs: File lookup using /root/.depy/dev/cloud/spotinst.json as file | |
17:39:53 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:53 amazon-ebs: skipping: [localhost] => { | |
17:39:53 amazon-ebs: "changed": false, | |
17:39:53 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:53 amazon-ebs: "skipped": true | |
17:39:53 amazon-ebs: } | |
17:39:53 amazon-ebs: | |
17:39:53 amazon-ebs: TASK [depy.ondemand : aws | Instnace Public DNS Name] ************************** | |
17:39:53 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.ondemand/tasks/aws.yml:43 | |
17:39:53 amazon-ebs: File lookup using /root/.depy/dev/cloud/spotinst.json as file | |
17:39:53 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:53 amazon-ebs: skipping: [localhost] => { | |
17:39:53 amazon-ebs: "changed": false, | |
17:39:53 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:53 amazon-ebs: "skipped": true | |
17:39:53 amazon-ebs: } | |
17:39:53 amazon-ebs: | |
17:39:53 amazon-ebs: TASK [depy.ondemand : aws | add hosts to group] ******************************** | |
17:39:53 amazon-ebs: task path: /depy-backend/lift/ansible/roles/depy/infra/depy.ondemand/tasks/aws.yml:47 | |
17:39:53 amazon-ebs: File lookup using /root/.depy/dev/cloud/spotinst.json as file | |
17:39:53 amazon-ebs: File lookup using /root/.depy/dev/cloud/aws.json as file | |
17:39:53 amazon-ebs: skipping: [localhost] => { | |
17:39:53 amazon-ebs: "changed": false, | |
17:39:53 amazon-ebs: "skip_reason": "Conditional result was False", | |
17:39:53 amazon-ebs: "skipped": true | |
17:39:53 amazon-ebs: } | |
17:39:53 amazon-ebs: META: ran handlers | |
17:39:53 amazon-ebs: META: ran handlers | |
17:39:53 amazon-ebs: | |
17:39:53 amazon-ebs: PLAY [artifactory] ************************************************************* | |
17:39:53 amazon-ebs: | |
17:39:53 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:39:53 amazon-ebs: task path: /depy-backend/lift/ansible/common/include_list.yml:3 | |
17:39:53 amazon-ebs: ok: [artifactory] => { | |
17:39:53 amazon-ebs: "ansible_facts": { | |
17:39:53 amazon-ebs: "git_rtc": { | |
17:39:53 amazon-ebs: "active": false | |
17:39:53 amazon-ebs: }, | |
17:39:53 amazon-ebs: "integrations": { | |
17:39:53 amazon-ebs: "active": false | |
17:39:53 amazon-ebs: }, | |
17:39:53 amazon-ebs: "port_forwarding": { | |
17:39:53 amazon-ebs: "active": true | |
17:39:53 amazon-ebs: }, | |
17:39:53 amazon-ebs: "samples": { | |
17:39:53 amazon-ebs: "HelloWorld": false, | |
17:39:53 amazon-ebs: "JKEBanking": false, | |
17:39:53 amazon-ebs: "JPetStore": false | |
17:39:53 amazon-ebs: }, | |
17:39:53 amazon-ebs: "swap": { | |
17:39:53 amazon-ebs: "active": true | |
17:39:53 amazon-ebs: }, | |
17:39:53 amazon-ebs: "timezone": { | |
17:39:53 amazon-ebs: "active": true, | |
17:39:53 amazon-ebs: "name": "Asia/Jerusalem" | |
17:39:53 amazon-ebs: } | |
17:39:53 amazon-ebs: }, | |
17:39:53 amazon-ebs: "ansible_included_var_files": [ | |
17:39:53 amazon-ebs: "/root/.depy/dev/env.json" | |
17:39:53 amazon-ebs: ], | |
17:39:53 amazon-ebs: "changed": false, | |
17:39:53 amazon-ebs: "failed": false | |
17:39:53 amazon-ebs: } | |
17:39:53 amazon-ebs: | |
17:39:53 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:39:53 amazon-ebs: task path: /depy-backend/lift/ansible/common/include_list.yml:4 | |
17:39:53 amazon-ebs: ok: [artifactory] => { | |
17:39:53 amazon-ebs: "ansible_facts": { | |
17:39:53 amazon-ebs: "admin": { | |
17:39:53 amazon-ebs: "email": "[email protected]", | |
17:39:53 amazon-ebs: "fullname": "Liora Milbaum", | |
17:39:53 amazon-ebs: "group": "liora", | |
17:39:53 amazon-ebs: "home": "/home/liora", | |
17:39:53 amazon-ebs: "keyname": "~/.ssh/id_rsa.pem", | |
17:39:53 amazon-ebs: "password": "0XajjaD5", | |
17:39:53 amazon-ebs: "private_key": [ | |
17:39:53 amazon-ebs: "-----BEGIN RSA PRIVATE KEY-----", | |
17:39:53 amazon-ebs: "MIIEpAIBAAKCAQEAp5Crzz/PpOHbrrf/2lUh2oYNocGj6oa7MumX6fc6N11RDG3R", | |
17:39:53 amazon-ebs: "xDT+E00TZfYWf0KS5pvYT7YVoDYbeQVOqrntdDqXUZoHJ2wQtoH/L1UM3kND74fX", | |
17:39:53 amazon-ebs: "tPP4LBsyM32lfH9ZXF6MXR4xMzp9NkGjISY/L47ji2gZ/6WqSxCIYa/X3kvhL0cT", | |
17:39:53 amazon-ebs: "uQkKKkBE+sD8r1fCPeVKDLVX4He1RvIGybKHsUhUXdBEFyMlWzI8XCFBFIPW0saW", | |
17:39:53 amazon-ebs: "P+K0cIFzstFgxxve1tQQ6rhyfSjbphhlq9y5qRXBakFsMFhEP2ozPVlPz3ifUnHh", | |
17:39:53 amazon-ebs: "0/mgepY0NaxGLpn8fl7JBa+H+J7u9bv7s/eKvQIDAQABAoIBACDmoxV6bgbt4fiY", | |
17:39:53 amazon-ebs: "YEA6Xv9NOvf70XeHJNKGUzG5PVEJnZRXK8zeqtSXWau3egtawwVMrFhaZDyk4xgM", | |
17:39:53 amazon-ebs: "From75zWtEdteuIesdlkBPsCNBigFIK/pXb+QEhIvr6leQzM5HrihaTy/K4WWeeB", | |
17:39:53 amazon-ebs: "U8p6fAWWhM8mjZRIrvs2L9EeecBHzFe/qx2TLHYJpRG9FduRblHSwt0kZjv4zyYf", | |
17:39:53 amazon-ebs: "Qoi3GV1CWBRiOPjoFTglXC1waMJOpByaZorAiNY9aZCVPCAU/6VX+sSlvbglmbxt", | |
17:39:53 amazon-ebs: "hygiuAOIC8naWph+efyuSpWc+LiSeTBtqKP1TfV/3cs6Vx1wdq9SPoPXN+oVcrnV", | |
17:39:53 amazon-ebs: "wT3yLnECgYEA3VdbhocBO10i0oHfAFDwtLFVm4XluvdFee7Eygqp9Usx5/kGRZrT", | |
17:39:54 amazon-ebs: "yCCir204nW1S1SE/7Zj1ga5YojtB+J9viiZ691KWS9SQih6uSajaQkEhUNexKnyD", | |
17:39:54 amazon-ebs: "w7VOR72VFEJLjEdK7NPSWBJbwHrEaL2Nqz/yf29xwqQGa42EH+BPXqsCgYEAwc2n", | |
17:39:54 amazon-ebs: "iRy84peEhHgLS2A/OgwugRcFBYwwf6SaPrx0W5AcNLcGrz51Hv6q1s4IG65dhZFo", | |
17:39:54 amazon-ebs: "Cd9dfW0gTq6Saqzc9TqpJwfFKF8oolbOtAz/wgE4LGqnFh32/UD410nSbjYidKCK", | |
17:39:54 amazon-ebs: "pWQksr8CwxYtm45XRtLQ6oe5R5KPL8kiO2eunDcCgYBBGgyliNfn6gDwAZrhsOzb", | |
17:39:54 amazon-ebs: "eL1BPSTQ1SHuNzhSZMiQiUlofWpG1r8rwc2X43wfcaRHY7w12iN7vRf8v4kr41kf", | |
17:39:54 amazon-ebs: "PSo1zGjAbQkGVvfUWoG3swhlistlP7JRweYAW9aZWtZ1sBJtje/0T5IFDxbt57Lf", | |
17:39:54 amazon-ebs: "h7N/n/vJ0AzDXaBa79LoeQKBgQCcww/4PXGfy7WaPUvNfZ3HA2F+c7NRKHN2XBuU", | |
17:39:54 amazon-ebs: "EXYBNlFKZp2WlOvB1Xc051Txpxno15QTIEUMFoAihNzUQt0702ZNtuBIZqiEn7j1", | |
17:39:54 amazon-ebs: "NOqP79KTQvXCUxyc/7gI1KLNGSbHtbBQVe/FUfIXAVKE2B9Kn23ztzMsbKU7nvL8", | |
17:39:54 amazon-ebs: "oEJCAwKBgQCvQfKmvbdJoJNbiA8lH5ZikDk24jiFQbOnksGJU+MkdynXh3n4Y/bl", | |
17:39:54 amazon-ebs: "6ZCMQ9ZhCl/5IEwJdb7P/TjSpCgP4ng9enbuYvcvrdvLFOX2o0Q2kzgqlfOebHpx", | |
17:39:54 amazon-ebs: "HCoV0pqvuyeK5VPt7Np6e8gy/LWhYsnkMvOBjl0gt/pQRZF3o/1aCQ==", | |
17:39:54 amazon-ebs: "-----END RSA PRIVATE KEY-----" | |
17:39:54 amazon-ebs: ], | |
17:39:54 amazon-ebs: "pubkey": [ | |
17:39:54 amazon-ebs: "-----BEGIN PUBLIC KEY-----", | |
17:39:54 amazon-ebs: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp5Crzz/PpOHbrrf/2lUh", | |
17:39:54 amazon-ebs: "2oYNocGj6oa7MumX6fc6N11RDG3RxDT+E00TZfYWf0KS5pvYT7YVoDYbeQVOqrnt", | |
17:39:54 amazon-ebs: "dDqXUZoHJ2wQtoH/L1UM3kND74fXtPP4LBsyM32lfH9ZXF6MXR4xMzp9NkGjISY/", | |
17:39:54 amazon-ebs: "L47ji2gZ/6WqSxCIYa/X3kvhL0cTuQkKKkBE+sD8r1fCPeVKDLVX4He1RvIGybKH", | |
17:39:54 amazon-ebs: "sUhUXdBEFyMlWzI8XCFBFIPW0saWP+K0cIFzstFgxxve1tQQ6rhyfSjbphhlq9y5", | |
17:39:54 amazon-ebs: "qRXBakFsMFhEP2ozPVlPz3ifUnHh0/mgepY0NaxGLpn8fl7JBa+H+J7u9bv7s/eK", | |
17:39:54 amazon-ebs: "vQIDAQAB", | |
17:39:54 amazon-ebs: "-----END PUBLIC KEY-----" | |
17:39:54 amazon-ebs: ], | |
17:39:54 amazon-ebs: "userid": "liora" | |
17:39:54 amazon-ebs: }, | |
17:39:54 amazon-ebs: "anonymous": { | |
17:39:54 amazon-ebs: "email": "", | |
17:39:54 amazon-ebs: "fullname": "", | |
17:39:54 amazon-ebs: "group": "anonymous", | |
17:39:54 amazon-ebs: "home": "", | |
17:39:54 amazon-ebs: "keyname": "", | |
17:39:54 amazon-ebs: "password": "", | |
17:39:54 amazon-ebs: "private_key": "", | |
17:39:54 amazon-ebs: "pubkey": "", | |
17:39:54 amazon-ebs: "userid": "anonymous" | |
17:39:54 amazon-ebs: }, | |
17:39:54 amazon-ebs: "build": { | |
17:39:54 amazon-ebs: "email": "", | |
17:39:54 amazon-ebs: "fullname": "Build User", | |
17:39:54 amazon-ebs: "group": "build", | |
17:39:54 amazon-ebs: "home": "/home/build", | |
17:39:54 amazon-ebs: "keyname": "", | |
17:39:54 amazon-ebs: "password": "build", | |
17:39:54 amazon-ebs: "private_key": "", | |
17:39:54 amazon-ebs: "pubkey": "", | |
17:39:54 amazon-ebs: "userid": "build" | |
17:39:54 amazon-ebs: }, | |
17:39:54 amazon-ebs: "git": { | |
17:39:54 amazon-ebs: "email": "", | |
17:39:54 amazon-ebs: "fullname": "git", | |
17:39:54 amazon-ebs: "group": "git", | |
17:39:54 amazon-ebs: "home": "", | |
17:39:54 amazon-ebs: "keyname": "~/.ssh/github_rsa", | |
17:39:54 amazon-ebs: "password": "git", | |
17:39:54 amazon-ebs: "private_key": "", | |
17:39:54 amazon-ebs: "pubkey": "", | |
17:39:54 amazon-ebs: "userid": "git" | |
17:39:54 amazon-ebs: }, | |
17:39:54 amazon-ebs: "id": "users", | |
17:39:54 amazon-ebs: "jenkins": { | |
17:39:54 amazon-ebs: "email": "", | |
17:39:54 amazon-ebs: "fullname": "Jenkins", | |
17:39:54 amazon-ebs: "group": "jenkins", | |
17:39:54 amazon-ebs: "home": "/var/lib/jenkins", | |
17:39:54 amazon-ebs: "keyname": "", | |
17:39:54 amazon-ebs: "password": "0XajjaD5", | |
17:39:54 amazon-ebs: "private_key": "", | |
17:39:54 amazon-ebs: "pubkey": "", | |
17:39:54 amazon-ebs: "userid": "jenkins" | |
17:39:54 amazon-ebs: }, | |
17:39:54 amazon-ebs: "user1": { | |
17:39:54 amazon-ebs: "email": "", | |
17:39:54 amazon-ebs: "fullname": "Sample User", | |
17:39:54 amazon-ebs: "group": "liora", | |
17:39:54 amazon-ebs: "home": "/home/liora", | |
17:39:54 amazon-ebs: "keyname": "", | |
17:39:54 amazon-ebs: "password": "liora", | |
17:39:55 amazon-ebs: "private_key": "", | |
17:39:55 amazon-ebs: "pubkey": "", | |
17:39:55 amazon-ebs: "userid": "liora" | |
17:39:55 amazon-ebs: }, | |
17:39:55 amazon-ebs: "windows_admin": { | |
17:39:55 amazon-ebs: "email": "", | |
17:39:55 amazon-ebs: "fullname": "Administrator", | |
17:39:55 amazon-ebs: "group": "Administrators", | |
17:39:55 amazon-ebs: "home": "", | |
17:39:55 amazon-ebs: "keyname": "", | |
17:39:55 amazon-ebs: "password": "0XajjaD5", | |
17:39:55 amazon-ebs: "private_key": "", | |
17:39:55 amazon-ebs: "pubkey": "", | |
17:39:55 amazon-ebs: "userid": "Administrator" | |
17:39:55 amazon-ebs: } | |
17:39:55 amazon-ebs: }, | |
17:39:55 amazon-ebs: "ansible_included_var_files": [ | |
17:39:55 amazon-ebs: "/root/.depy/dev/users.json" | |
17:39:55 amazon-ebs: ], | |
17:39:55 amazon-ebs: "changed": false, | |
17:39:55 amazon-ebs: "failed": false | |
17:39:55 amazon-ebs: } | |
17:39:55 amazon-ebs: | |
17:39:55 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:39:55 amazon-ebs: task path: /depy-backend/lift/ansible/common/include_list.yml:5 | |
17:39:55 amazon-ebs: ok: [artifactory] => { | |
17:39:55 amazon-ebs: "ansible_facts": { | |
17:39:55 amazon-ebs: "artifactory_license_key": "cHJvZHVjdHM6CiAgYXJ0aWZhY3Rvcnk6CiAgICBwcm9kdWN0OiBaWGh3YVhKbGN6b2dNakF4TnkweE1TMHdOMVF3T0Rvek1qb3hPUzQwT1RCYUNtbGtPaUJoWmpreU4yUTNPUzFsTTJOaExUUmpaVE10WWpNM1pDMDVObVE0TmpneVpXVTVNamdLYjNkdVpYSTZJRXd1VFM1Q0xpMURiMjV6ZFd4MGFXNW5JRXgwWkM0S2NISnZjR1Z5ZEdsbGN6b2dlMzBLYzJsbmJtRjBkWEpsT2lCdWRXeHNDblJ5YVdGc09pQjBjblZsQ25SNWNHVTZJRlJTU1VGTUNuWmhiR2xrUm5KdmJUb2dNakF4TnkweE1DMHdPRlF3T0Rvek1qb3hPUzQwT1RCYUNnPT0KICAgIHNpZ25hdHVyZTogUFBLQURheVhaTzNBT2JHeEd4WEZVanRWR05EYjlCdDl2RmllTDFkVVZJNlVzbEUvT2J3MmZRbng4V05zclBKMTJrQ0VOazZ1WGtjb2pqRlN1MDRIOHA5eHZDNCtUZURMSUlWaStLWDd1Tzc0UXlJcTc2LzBpelR2NTBZZEI2djVoWGFXcTBjaFNLT015V1lnOEZsUXF1dG13eGZ1a2g1YmM2d000Vm1QZmNZU3BXcGNJa1dmdmxJN2pJMVZHWUlqSnpldTNzZFBnbUQ4T0tzVVdFUklFenV4SGR0KzRqNVB0bEFPSmhEQi83WlJGZW1tV1duOVZTRFQwSkdZSENrbTZ4SXV6dld2VldvLzBBRGw5TmFKcDBPMzU0RVVTME1zNXRTNVdJdFZCbWhlNlNLZ0RJcXpacUlrczlTOU9iTVU0b1ByUFUwOEF6NW1IdWZTTjlUcUN3PT0KdmVyc2lvbjogMQo=", | |
17:39:55 amazon-ebs: "id": "licenses" | |
17:39:55 amazon-ebs: }, | |
17:39:55 amazon-ebs: "ansible_included_var_files": [ | |
17:39:55 amazon-ebs: "/root/.depy/dev/licenses.json" | |
17:39:55 amazon-ebs: ], | |
17:39:55 amazon-ebs: "changed": false, | |
17:39:55 amazon-ebs: "failed": false | |
17:39:55 amazon-ebs: } | |
17:39:55 amazon-ebs: | |
17:39:55 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:39:55 amazon-ebs: task path: /depy-backend/lift/ansible/common/include_list.yml:6 | |
17:39:55 amazon-ebs: ok: [artifactory] => { | |
17:39:55 amazon-ebs: "ansible_facts": { | |
17:39:55 amazon-ebs: "CloudFormation": { | |
17:39:55 amazon-ebs: "active": true | |
17:39:55 amazon-ebs: }, | |
17:39:55 amazon-ebs: "RHEL_6": { | |
17:39:55 amazon-ebs: "ami": "ami-58495d2c" | |
17:39:55 amazon-ebs: }, | |
17:39:55 amazon-ebs: "RHEL_7": { | |
17:39:55 amazon-ebs: "ami": "ami-308a5b49" | |
17:39:55 amazon-ebs: }, | |
17:39:55 amazon-ebs: "SLES_12": { | |
17:39:55 amazon-ebs: "ami": "ami-9186a1e2" | |
17:39:55 amazon-ebs: }, | |
17:39:55 amazon-ebs: "Ubuntu_14.04": { | |
17:39:55 amazon-ebs: "ami": "ami-55452e26" | |
17:39:55 amazon-ebs: }, | |
17:39:55 amazon-ebs: "Ubuntu_16.04": { | |
17:39:55 amazon-ebs: "ami": "ami-21abf052" | |
17:39:55 amazon-ebs: }, | |
17:39:55 amazon-ebs: "availabilityZones": [ | |
17:39:55 amazon-ebs: { | |
17:39:55 amazon-ebs: "name": "eu-west-1a", | |
17:39:55 amazon-ebs: "subnetIds": [ | |
17:39:55 amazon-ebs: "subnet-7cf03b25" | |
17:39:55 amazon-ebs: ] | |
17:39:55 amazon-ebs: }, | |
17:39:55 amazon-ebs: { | |
17:39:55 amazon-ebs: "name": "eu-west-1b", | |
17:39:55 amazon-ebs: "subnetIds": [ | |
17:39:55 amazon-ebs: "subnet-42ce9726" | |
17:39:55 amazon-ebs: ] | |
17:39:55 amazon-ebs: } | |
17:39:55 amazon-ebs: ], | |
17:39:55 amazon-ebs: "cloudwatch": { | |
17:39:55 amazon-ebs: "logs": { | |
17:39:55 amazon-ebs: "buffer_duration": 5000, | |
17:39:55 amazon-ebs: "datetime_format": "%b %d %H:%M:%S", | |
17:39:55 amazon-ebs: "encoding": "utf-8", | |
17:39:55 amazon-ebs: "file": "/var/log/syslog", | |
17:39:55 amazon-ebs: "initial_position": "start_of_file", | |
17:39:55 amazon-ebs: "log_group_name": "/var/log/syslog", | |
17:39:55 amazon-ebs: "log_stream_name": "hostname", | |
17:39:55 amazon-ebs: "name": "syslog" | |
17:39:55 amazon-ebs: }, | |
17:39:55 amazon-ebs: "profile": "default" | |
17:39:55 amazon-ebs: }, | |
17:39:55 amazon-ebs: "depy_cidr_ips": [], | |
17:39:55 amazon-ebs: "depy_vpc_id": "vpc-7dd90818", | |
17:39:56 amazon-ebs: "hosted_zone_id": "Z3ULTFKXQO4TEJ", | |
17:39:56 amazon-ebs: "iam_role": "depy", | |
17:39:56 amazon-ebs: "key": "~/.ssh/id_rsa.pem", | |
17:39:56 amazon-ebs: "key_name": "id_rsa", | |
17:39:56 amazon-ebs: "network_interface": "eth0", | |
17:39:56 amazon-ebs: "profile_name": "default", | |
17:39:56 amazon-ebs: "region": "eu-west-1", | |
17:39:56 amazon-ebs: "security_group_name": "depy", | |
17:39:56 amazon-ebs: "subnet_id": "subnet-7cf03b25", | |
17:39:56 amazon-ebs: "windows_2012R2": { | |
17:39:56 amazon-ebs: "ami": "ami-7cb35e05" | |
17:39:56 amazon-ebs: }, | |
17:39:56 amazon-ebs: "zone": "depy.io" | |
17:39:56 amazon-ebs: }, | |
17:39:56 amazon-ebs: "ansible_included_var_files": [ | |
17:39:56 amazon-ebs: "/root/.depy/dev/cloud/aws.json" | |
17:39:56 amazon-ebs: ], | |
17:39:56 amazon-ebs: "changed": false, | |
17:39:56 amazon-ebs: "failed": false | |
17:39:56 amazon-ebs: } | |
17:39:56 amazon-ebs: | |
17:39:56 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:39:56 amazon-ebs: task path: /depy-backend/lift/ansible/common/include_list.yml:7 | |
17:39:56 amazon-ebs: ok: [artifactory] => { | |
17:39:56 amazon-ebs: "ansible_facts": { | |
17:39:56 amazon-ebs: "active": false, | |
17:39:56 amazon-ebs: "version": "5.5.2" | |
17:39:56 amazon-ebs: }, | |
17:39:56 amazon-ebs: "ansible_included_var_files": [ | |
17:39:56 amazon-ebs: "/root/.depy/dev/app/artifactory/infra.json" | |
17:39:56 amazon-ebs: ], | |
17:39:56 amazon-ebs: "changed": false, | |
17:39:56 amazon-ebs: "failed": false | |
17:39:56 amazon-ebs: } | |
17:39:56 amazon-ebs: | |
17:39:56 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:39:56 amazon-ebs: task path: /depy-backend/lift/ansible/common/include_list.yml:8 | |
17:39:56 amazon-ebs: ok: [artifactory] => { | |
17:39:56 amazon-ebs: "ansible_facts": {}, | |
17:39:56 amazon-ebs: "ansible_included_var_files": [ | |
17:39:56 amazon-ebs: "/root/.depy/dev/app/artifactory/features.json" | |
17:39:56 amazon-ebs: ], | |
17:39:56 amazon-ebs: "changed": false, | |
17:39:56 amazon-ebs: "failed": false | |
17:39:56 amazon-ebs: } | |
17:39:56 amazon-ebs: | |
17:39:56 amazon-ebs: TASK [cloud/os specific variables] ********************************************* | |
17:39:56 amazon-ebs: task path: /depy-backend/lift/ansible/common/bootstrap.yml:5 | |
17:39:56 amazon-ebs: ok: [artifactory] => { | |
17:39:56 amazon-ebs: "ansible_facts": { | |
17:39:56 amazon-ebs: "ansible_connection": "ssh", | |
17:39:56 amazon-ebs: "ansible_port": 22, | |
17:39:56 amazon-ebs: "ansible_user": "ubuntu" | |
17:39:56 amazon-ebs: }, | |
17:39:56 amazon-ebs: "ansible_included_var_files": [ | |
17:39:56 amazon-ebs: "/depy-backend/lift/ansible/group_vars/aws_Ubuntu_16.04.yml" | |
17:39:56 amazon-ebs: ], | |
17:39:56 amazon-ebs: "changed": false, | |
17:39:56 amazon-ebs: "failed": false | |
17:39:56 amazon-ebs: } | |
17:39:56 amazon-ebs: | |
17:39:56 amazon-ebs: TASK [common/bootstrap | Install python] *************************************** | |
17:39:56 amazon-ebs: task path: /depy-backend/lift/ansible/common/bootstrap.yml:8 | |
17:39:56 amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: ubuntu | |
17:39:56 amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o AddKeysToAgent=no -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/tmp/ansible-key285423571"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ubuntu -o ConnectTimeout=50 -tt 127.0.0.1 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-mzzbtuhfvdqiyiqewcxdpfvawiioqpcr; test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)'"'"'' | |
17:39:56 amazon-ebs: <127.0.0.1> (255, '', 'OpenSSH_7.4p1 Debian-10+deb9u1, OpenSSL 1.0.2l 25 May 2017\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: /root/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug2: resolving "127.0.0.1" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to 127.0.0.1 [127.0.0.1] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: connect to address 127.0.0.1 port 22: Connection refused\r\nssh: connect to host 127.0.0.1 port 22: Connection refused\r\n') | |
17:39:56 amazon-ebs: fatal: [artifactory]: UNREACHABLE! => { | |
17:39:56 amazon-ebs: "changed": false, | |
17:39:56 amazon-ebs: "msg": "Failed to connect to the host via ssh: OpenSSH_7.4p1 Debian-10+deb9u1, OpenSSL 1.0.2l 25 May 2017\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: /root/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug2: resolving \"127.0.0.1\" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to 127.0.0.1 [127.0.0.1] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: connect to address 127.0.0.1 port 22: Connection refused\r\nssh: connect to host 127.0.0.1 port 22: Connection refused\r\n", | |
17:39:56 amazon-ebs: "unreachable": true | |
17:39:56 amazon-ebs: } | |
17:39:56 amazon-ebs: | |
17:39:56 amazon-ebs: PLAY RECAP ********************************************************************* | |
17:39:56 amazon-ebs: artifactory : ok=7 changed=0 unreachable=1 failed=0 | |
17:39:56 amazon-ebs: localhost : ok=12 changed=0 unreachable=0 failed=0 | |
17:39:56 amazon-ebs: | |
17:39:56 ==> amazon-ebs: Pausing before cleanup of step 'StepConnect'. Press enter to continue. ==> amazon-ebs: Pausing before cleanup of step 'StepGetPassword'. Press enter to continue. ==> amazon-ebs: Pausing before cleanup of step 'StepRunSourceInstance'. Press enter to continue. ==> amazon-ebs: Terminating the source AWS instance... | |
17:40:48 ==> amazon-ebs: Pausing before cleanup of step 'stepCleanupVolumes'. Press enter to continue. ==> amazon-ebs: Cleaning up any extra volumes... | |
17:40:48 ==> amazon-ebs: No volumes to clean up, skipping | |
17:40:48 ==> amazon-ebs: Pausing before cleanup of step 'StepSecurityGroup'. Press enter to continue. ==> amazon-ebs: Deleting temporary security group... | |
17:40:48 ==> amazon-ebs: Pausing before cleanup of step 'StepKeyPair'. Press enter to continue. ==> amazon-ebs: Deleting temporary keypair... | |
17:40:48 ==> amazon-ebs: Pausing before cleanup of step 'StepSourceAMIInfo'. Press enter to continue. ==> amazon-ebs: Pausing before cleanup of step 'StepPreValidate'. Press enter to continue. Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 4 | |
17:40:49 | |
17:40:49 ==> Some builds didn't complete successfully and had errors: | |
17:40:49 --> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 4 | |
17:40:49 | |
17:40:49 ==> Builds finished but no artifacts were created. | |
17:40:50 Finished: FAILURE | |
17:40:50 Build step 'Packer' marked build as failure | |
17:40:50 Finished: FAILURE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17:26:27 Started by user jenkins | |
17:26:27 Building in workspace /var/jenkins_home/jobs/packer/workspace | |
17:26:27 [workspace] $ /bin/packer build -debug /depy-backend/lift/hashicorp/packer/artifactory.json | |
17:26:27 Debug mode enabled. Builds will not be parallelized. | |
17:26:28 amazon-ebs output will be in this color. | |
17:26:28 | |
17:26:30 ==> amazon-ebs: Prevalidating AMI Name: depy-artifactory 1511018787 | |
17:26:34 ==> amazon-ebs: Pausing after run of step 'StepPreValidate'. Press enter to continue. amazon-ebs: Found Image ID: ami-c8b51fb1 | |
17:26:34 ==> amazon-ebs: Pausing after run of step 'StepSourceAMIInfo'. Press enter to continue. ==> amazon-ebs: Creating temporary keypair: packer_5a105124-b398-c076-6e16-c9d755276219 | |
17:26:34 amazon-ebs: Saving key for debug purposes: ec2_amazon-ebs.pem | |
17:26:34 ==> amazon-ebs: Pausing after run of step 'StepKeyPair'. Press enter to continue. ==> amazon-ebs: Creating temporary security group for this instance: packer_5a10512a-e840-ba4d-c820-7266faddd0ff | |
17:26:34 ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group... | |
17:26:35 ==> amazon-ebs: Pausing after run of step 'StepSecurityGroup'. Press enter to continue. ==> amazon-ebs: Pausing after run of step 'stepCleanupVolumes'. Press enter to continue. ==> amazon-ebs: Launching a source AWS instance... | |
17:26:35 ==> amazon-ebs: Adding tags to source instance | |
17:26:35 amazon-ebs: Adding tag: "Name": "Packer Builder" | |
17:26:35 amazon-ebs: Instance ID: i-09f86978b1fafec3b | |
17:26:35 ==> amazon-ebs: Waiting for instance (i-09f86978b1fafec3b) to become ready... | |
17:26:53 amazon-ebs: Public DNS: ec2-34-249-199-233.eu-west-1.compute.amazonaws.com | |
17:26:53 amazon-ebs: Public IP: 34.249.199.233 | |
17:26:53 amazon-ebs: Private IP: 10.0.0.120 | |
17:26:53 ==> amazon-ebs: Pausing after run of step 'StepRunSourceInstance'. Press enter to continue. ==> amazon-ebs: Pausing after run of step 'StepGetPassword'. Press enter to continue. ==> amazon-ebs: Waiting for SSH to become available... | |
17:27:06 ==> amazon-ebs: Connected to SSH! | |
17:27:06 ==> amazon-ebs: Pausing after run of step 'StepConnect'. Press enter to continue. ==> amazon-ebs: Provisioning with Ansible... | |
17:27:07 ==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i /tmp/packer-provisioner-ansible706939717 /depy-backend/lift/ansible/playbooks/artifactory.yml --private-key /tmp/ansible-key552780798 --extra-vars env=dev cloud=aws component_name=artifactory-server platform=Ubuntu_16.04 ansible_python_interpreter=/usr/bin/python | |
17:27:08 amazon-ebs: | |
17:27:08 amazon-ebs: PLAY [localhost] *************************************************************** | |
17:27:08 amazon-ebs: | |
17:27:08 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:27:08 amazon-ebs: ok: [localhost] | |
17:27:08 amazon-ebs: | |
17:27:08 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:27:08 amazon-ebs: ok: [localhost] | |
17:27:08 amazon-ebs: | |
17:27:08 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:27:08 amazon-ebs: ok: [localhost] | |
17:27:08 amazon-ebs: | |
17:27:08 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:27:08 amazon-ebs: ok: [localhost] | |
17:27:08 amazon-ebs: | |
17:27:08 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:27:08 amazon-ebs: ok: [localhost] | |
17:27:08 amazon-ebs: | |
17:27:08 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:27:08 amazon-ebs: ok: [localhost] | |
17:27:08 amazon-ebs: | |
17:27:08 amazon-ebs: TASK [common/init | host group] ************************************************ | |
17:27:08 amazon-ebs: ok: [localhost] | |
17:27:08 amazon-ebs: | |
17:27:08 amazon-ebs: TASK [common/init | platform] ************************************************** | |
17:27:08 amazon-ebs: ok: [localhost] | |
17:27:08 amazon-ebs: | |
17:27:08 amazon-ebs: TASK [common/init | ami] ******************************************************* | |
17:27:08 amazon-ebs: ok: [localhost] | |
17:27:08 amazon-ebs: | |
17:27:08 amazon-ebs: TASK [common/init | imageid] *************************************************** | |
17:27:08 amazon-ebs: skipping: [localhost] | |
17:27:09 amazon-ebs: | |
17:27:09 amazon-ebs: TASK [common/init | port] ****************************************************** | |
17:27:09 amazon-ebs: skipping: [localhost] | |
17:27:09 amazon-ebs: | |
17:27:09 amazon-ebs: TASK [common/init | port] ****************************************************** | |
17:27:09 amazon-ebs: skipping: [localhost] | |
17:27:09 amazon-ebs: | |
17:27:09 amazon-ebs: TASK [common/init | port] ****************************************************** | |
17:27:09 amazon-ebs: ok: [localhost] | |
17:27:09 amazon-ebs: | |
17:27:09 amazon-ebs: TASK [depy.infra : include_role] *********************************************** | |
17:27:09 amazon-ebs: | |
17:27:09 amazon-ebs: TASK [depy.inventory : include_tasks] ****************************************** | |
17:27:09 amazon-ebs: included: /depy-backend/lift/ansible/roles/depy/infra/depy.inventory/tasks/main_aws.yml for localhost | |
17:27:09 amazon-ebs: | |
17:27:09 amazon-ebs: TASK [depy.inventory : Get artifactory-server facts] *************************** | |
17:27:10 amazon-ebs: ok: [localhost] | |
17:27:10 amazon-ebs: | |
17:27:10 amazon-ebs: TASK [depy.inventory : include_tasks] ****************************************** | |
17:27:10 amazon-ebs: | |
17:27:10 amazon-ebs: TASK [depy.spotinst : set_fact] ************************************************ | |
17:27:10 amazon-ebs: skipping: [localhost] | |
17:27:10 amazon-ebs: | |
17:27:10 amazon-ebs: TASK [depy.spotinst : template] ************************************************ | |
17:27:10 amazon-ebs: skipping: [localhost] | |
17:27:10 amazon-ebs: | |
17:27:10 amazon-ebs: TASK [depy.spotinst : template] ************************************************ | |
17:27:10 amazon-ebs: skipping: [localhost] | |
17:27:10 amazon-ebs: | |
17:27:10 amazon-ebs: TASK [depy.spotinst : Create Group artifactory] ******************************** | |
17:27:10 amazon-ebs: skipping: [localhost] | |
17:27:10 amazon-ebs: | |
17:27:10 amazon-ebs: TASK [depy.spotinst : Store Group Id] ****************************************** | |
17:27:10 amazon-ebs: skipping: [localhost] | |
17:27:10 amazon-ebs: | |
17:27:10 amazon-ebs: TASK [depy.spotinst : get Instance Ids] **************************************** | |
17:27:10 amazon-ebs: skipping: [localhost] | |
17:27:10 amazon-ebs: | |
17:27:10 amazon-ebs: TASK [depy.spotinst : include_tasks] ******************************************* | |
17:27:10 amazon-ebs: skipping: [localhost] | |
17:27:10 amazon-ebs: | |
17:27:10 amazon-ebs: TASK [depy.ondemand : aws | run ec2 instance] ********************************** | |
17:27:10 amazon-ebs: skipping: [localhost] | |
17:27:10 amazon-ebs: | |
17:27:10 amazon-ebs: TASK [depy.ondemand : Make sure user data is executed] ************************* | |
17:27:10 amazon-ebs: skipping: [localhost] | |
17:27:10 amazon-ebs: | |
17:27:10 amazon-ebs: TASK [depy.ondemand : aws | wait for ssh/WinRm to answer on all hosts] ********* | |
17:27:10 amazon-ebs: skipping: [localhost] | |
17:27:10 amazon-ebs: | |
17:27:10 amazon-ebs: TASK [depy.ondemand : aws | Instnace Public IP] ******************************** | |
17:27:11 amazon-ebs: skipping: [localhost] | |
17:27:11 amazon-ebs: | |
17:27:11 amazon-ebs: TASK [depy.ondemand : aws | Instnace Public DNS Name] ************************** | |
17:27:11 amazon-ebs: skipping: [localhost] | |
17:27:11 amazon-ebs: | |
17:27:11 amazon-ebs: TASK [depy.ondemand : aws | add hosts to group] ******************************** | |
17:27:11 amazon-ebs: skipping: [localhost] | |
17:27:11 amazon-ebs: | |
17:27:11 amazon-ebs: PLAY [artifactory] ************************************************************* | |
17:27:11 amazon-ebs: | |
17:27:11 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:27:11 amazon-ebs: ok: [artifactory] | |
17:27:11 amazon-ebs: | |
17:27:11 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:27:11 amazon-ebs: ok: [artifactory] | |
17:27:11 amazon-ebs: | |
17:27:11 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:27:11 amazon-ebs: ok: [artifactory] | |
17:27:11 amazon-ebs: | |
17:27:11 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:27:11 amazon-ebs: ok: [artifactory] | |
17:27:11 amazon-ebs: | |
17:27:11 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:27:11 amazon-ebs: ok: [artifactory] | |
17:27:11 amazon-ebs: | |
17:27:11 amazon-ebs: TASK [include_vars] ************************************************************ | |
17:27:11 amazon-ebs: ok: [artifactory] | |
17:27:11 amazon-ebs: | |
17:27:11 amazon-ebs: TASK [cloud/os specific variables] ********************************************* | |
17:27:11 amazon-ebs: ok: [artifactory] | |
17:27:11 amazon-ebs: | |
17:27:11 amazon-ebs: TASK [common/bootstrap | Install python] *************************************** | |
17:27:12 amazon-ebs: fatal: [artifactory]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host 127.0.0.1 port 22: Connection refused\r\n", "unreachable": true} | |
17:27:12 amazon-ebs: | |
17:27:12 amazon-ebs: PLAY RECAP ********************************************************************* | |
17:27:12 amazon-ebs: artifactory : ok=7 changed=0 unreachable=1 failed=0 | |
17:27:12 amazon-ebs: localhost : ok=12 changed=0 unreachable=0 failed=0 | |
17:27:12 amazon-ebs: | |
17:27:12 ==> amazon-ebs: Pausing before cleanup of step 'StepConnect'. Press enter to continue. ==> amazon-ebs: Pausing before cleanup of step 'StepGetPassword'. Press enter to continue. ==> amazon-ebs: Pausing before cleanup of step 'StepRunSourceInstance'. Press enter to continue. ==> amazon-ebs: Terminating the source AWS instance... | |
17:27:57 ==> amazon-ebs: Pausing before cleanup of step 'stepCleanupVolumes'. Press enter to continue. ==> amazon-ebs: Cleaning up any extra volumes... | |
17:27:57 ==> amazon-ebs: No volumes to clean up, skipping | |
17:27:57 ==> amazon-ebs: Pausing before cleanup of step 'StepSecurityGroup'. Press enter to continue. ==> amazon-ebs: Deleting temporary security group... | |
17:27:57 ==> amazon-ebs: Pausing before cleanup of step 'StepKeyPair'. Press enter to continue. ==> amazon-ebs: Deleting temporary keypair... | |
17:27:57 ==> amazon-ebs: Pausing before cleanup of step 'StepSourceAMIInfo'. Press enter to continue. ==> amazon-ebs: Pausing before cleanup of step 'StepPreValidate'. Press enter to continue. Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 4 | |
17:27:57 | |
17:27:57 ==> Some builds didn't complete successfully and had errors: | |
17:27:57 --> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 4 | |
17:27:57 | |
17:27:57 ==> Builds finished but no artifacts were created. | |
17:27:59 Finished: FAILURE | |
17:27:59 Build step 'Packer' marked build as failure | |
17:27:59 Finished: FAILURE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20:19:30 Started by user jenkins | |
20:19:30 [EnvInject] - Loading node environment variables. | |
20:19:30 Building in workspace /var/jenkins_home/jobs/packer/workspace | |
20:19:30 [EnvInject] - Executing scripts and injecting environment variables after the SCM step. | |
20:19:30 [EnvInject] - Injecting as environment variables the properties content | |
20:19:30 PACKER_LOG=1 | |
20:19:30 | |
20:19:30 [EnvInject] - Variables injected successfully. | |
20:19:31 [workspace] $ /bin/packer build -debug /depy-backend/lift/hashicorp/packer/artifactory.json | |
20:19:31 2017/11/18 20:19:31 [INFO] Packer version: 1.1.2 | |
20:19:31 2017/11/18 20:19:31 Packer Target OS/Arch: linux amd64 | |
20:19:31 2017/11/18 20:19:31 Built with Go Version: go1.9 | |
20:19:31 2017/11/18 20:19:31 Detected home directory from env var: /root | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for alicloud-ecs | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for docker | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for profitbricks | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for triton | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for vmware-iso | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for amazon-ebs | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for hyperv-vmcx | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for oracle-oci | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for virtualbox-iso | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for amazon-instance | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for digitalocean | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for parallels-pvm | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for vmware-vmx | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for amazon-chroot | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for azure-arm | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for hyperv-iso | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for null | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for openstack | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for file | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for lxc | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for lxd | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for qemu | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for virtualbox-ovf | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for amazon-ebsvolume | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for oneandone | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for amazon-ebssurrogate | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for cloudstack | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for googlecompute | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for parallels-iso | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for ansible | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for file | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for salt-masterless | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for shell-local | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for windows-shell | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for ansible-local | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for powershell | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for puppet-masterless | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for shell | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for windows-restart | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for converge | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for chef-client | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for chef-solo | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for puppet-server | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for vsphere | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for vsphere-template | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for artifice | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for atlas | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for googlecompute-export | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for vagrant | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for vagrant-cloud | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for checksum | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for manifest | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for docker-save | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for shell-local | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for docker-tag | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for alicloud-import | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for amazon-import | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for compress | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for docker-import | |
20:19:31 2017/11/18 20:19:31 Using internal plugin for docker-push | |
20:19:31 2017/11/18 20:19:31 Detected home directory from env var: /root | |
20:19:31 2017/11/18 20:19:31 Attempting to open config file: /root/.packerconfig | |
20:19:31 2017/11/18 20:19:31 [WARN] Config file doesn't exist: /root/.packerconfig | |
20:19:31 2017/11/18 20:19:31 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[docker:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker triton:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton amazon-ebs:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs azure-arm:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm openstack:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack profitbricks:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks oracle-oci:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci hyperv-iso:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso qemu:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu virtualbox-iso:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso hyperv-vmcx:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx vmware-vmx:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx null:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null amazon-chroot:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot virtualbox-ovf:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf amazon-ebssurrogate:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate parallels-iso:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso vmware-iso:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-instance:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance digitalocean:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean file:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file lxd:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd googlecompute:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute oneandone:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone cloudstack:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack alicloud-ecs:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs parallels-pvm:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm lxc:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc amazon-ebsvolume:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume] PostProcessors:map[manifest:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest docker-save:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save atlas:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vagrant:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant docker-tag:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag amazon-import:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import compress:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress docker-push:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push googlecompute-export:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export docker-import:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import artifice:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice vsphere-template:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template vagrant-cloud:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud checksum:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum shell-local:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local alicloud-import:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import vsphere:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere] Provisioners:map[file:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file puppet-masterless:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless shell:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell converge:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge puppet-server:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible salt-masterless:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless ansible-local:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local windows-restart:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart chef-client:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client chef-solo:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo shell-local:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-shell:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell powershell:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell]} | |
20:19:32 2017/11/18 20:19:31 Detected home directory from env var: /root | |
20:19:32 2017/11/18 20:19:31 Detected home directory from env var: /root | |
20:19:32 2017/11/18 20:19:31 Setting cache directory: /var/jenkins_home/jobs/packer/workspace/packer_cache | |
20:19:32 2017/11/18 20:19:31 Loading builder: amazon-ebs | |
20:19:32 2017/11/18 20:19:31 Plugin could not be found. Checking same directory as executable. | |
20:19:32 2017/11/18 20:19:31 Current exe path: /bin/packer | |
20:19:32 2017/11/18 20:19:31 Creating plugin client for path: /bin/packer | |
20:19:32 2017/11/18 20:19:31 Starting plugin: /bin/packer []string{"/bin/packer", "plugin", "packer-builder-amazon-ebs"} | |
20:19:32 2017/11/18 20:19:31 Waiting for RPC address for: /bin/packer | |
20:19:32 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 [INFO] Packer version: 1.1.2 | |
20:19:32 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Packer Target OS/Arch: linux amd64 | |
20:19:32 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Built with Go Version: go1.9 | |
20:19:32 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Detected home directory from env var: /root | |
20:19:32 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Attempting to open config file: /root/.packerconfig | |
20:19:32 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 [WARN] Config file doesn't exist: /root/.packerconfig | |
20:19:32 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
20:19:32 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Detected home directory from env var: /root | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Detected home directory from env var: /root | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Setting cache directory: /var/jenkins_home/jobs/packer/workspace/packer_cache | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 args: []string{"packer-builder-amazon-ebs"} | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Plugin minimum port: 10000 | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Plugin maximum port: 25000 | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Plugin address: unix /tmp/packer-plugin998890461 | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Waiting for connection... | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Serving a plugin connection... | |
20:19:33 2017/11/18 20:19:31 Loading provisioner: ansible | |
20:19:33 2017/11/18 20:19:31 Plugin could not be found. Checking same directory as executable. | |
20:19:33 2017/11/18 20:19:31 Current exe path: /bin/packer | |
20:19:33 2017/11/18 20:19:31 Creating plugin client for path: /bin/packer | |
20:19:33 2017/11/18 20:19:31 Starting plugin: /bin/packer []string{"/bin/packer", "plugin", "packer-provisioner-ansible"} | |
20:19:33 2017/11/18 20:19:31 Waiting for RPC address for: /bin/packer | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 [INFO] Packer version: 1.1.2 | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Packer Target OS/Arch: linux amd64 | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Built with Go Version: go1.9 | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Detected home directory from env var: /root | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Attempting to open config file: /root/.packerconfig | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 [WARN] Config file doesn't exist: /root/.packerconfig | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Detected home directory from env var: /root | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Detected home directory from env var: /root | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Setting cache directory: /var/jenkins_home/jobs/packer/workspace/packer_cache | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 args: []string{"packer-provisioner-ansible"} | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Plugin minimum port: 10000 | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Plugin maximum port: 25000 | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Plugin address: unix /tmp/packer-plugin815958688 | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Waiting for connection... | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Serving a plugin connection... | |
20:19:33 2017/11/18 20:19:31 ui: Debug mode enabled. Builds will not be parallelized. | |
20:19:33 2017/11/18 20:19:31 ui: amazon-ebs output will be in this color. | |
20:19:33 2017/11/18 20:19:31 ui: | |
20:19:33 2017/11/18 20:19:31 Build debug mode: true | |
20:19:33 2017/11/18 20:19:31 Force build: false | |
20:19:33 2017/11/18 20:19:31 On error: | |
20:19:33 2017/11/18 20:19:31 Preparing build: amazon-ebs | |
20:19:33 Debug mode enabled. Builds will not be parallelized. | |
20:19:33 amazon-ebs output will be in this color. | |
20:19:33 | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Error getting region from metadata service, probably because we're not running on AWS. RequestError: send request failed | |
20:19:33 2017/11/18 20:19:31 packer: caused by: Get http://169.254.169.254/latest/meta-data/placement/availability-zone: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Found region eu-west-1 | |
20:19:33 2017/11/18 20:19:31 packer: 2017/11/18 20:19:31 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:true PackerForce:false PackerOnError: PackerUserVars:map[]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName: RawRegion: SecretKey: SkipValidation:false Token: session:0xc42005e600} AMIConfig:{AMIName:depy-artifactory 1511029171 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[] AMIENASupport:false AMISriovNetSupport:false AMIForceDeregister:false AMIForceDeleteSnapshot:false AMIEncryptBootVolume:false AMIKmsKeyId: AMIRegionKMSKeyIDs:map[] SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:true AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.micro RunTags:map[] SourceAmi: SourceAmiFilter:{Filters:map[0xc420468d30:0xc420468d50 0xc420468d70:0xc420468d90 0xc420468db0:0xc420468dd0] Owners:[0xc420468e50] MostRecent:true} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] TemporarySGSourceCidr:0.0.0.0/0 SubnetId:subnet-7cf03b25 TemporaryKeyPairName:packer_5a1079b3-551d-17dc-7ce8-0b2e63df581a UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId:vpc-7dd90818 InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ubuntu SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgentForwarding:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionAgentAuth:false SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp SSHProxyHost: SSHProxyPort:0 SSHProxyUsername: SSHProxyPassword: WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0xc5f0e0] UserVariables:map[] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/depy-backend/lift/hashicorp/packer/artifactory.json}} | |
20:19:34 2017/11/18 20:19:32 packer: 2017/11/18 20:19:32 ansible-playbook version: 2.4.1.0 | |
20:19:34 2017/11/18 20:19:32 Debug enabled, so waiting for build to finish: amazon-ebs | |
20:19:34 2017/11/18 20:19:32 Starting build run: amazon-ebs | |
20:19:34 2017/11/18 20:19:32 Running builder: amazon-ebs | |
20:19:34 2017/11/18 20:19:32 [INFO] (telemetry) Starting builder amazon-ebs | |
20:19:34 2017/11/18 20:19:32 packer: 2017/11/18 20:19:32 [INFO] Finding AZ and VpcId for the given subnet 'subnet-7cf03b25' | |
20:19:34 2017/11/18 20:19:33 packer: 2017/11/18 20:19:33 [INFO] AvailabilityZone found: 'eu-west-1a' | |
20:19:34 2017/11/18 20:19:33 ui: ==> amazon-ebs: Prevalidating AMI Name: depy-artifactory 1511029171 | |
20:19:34 ==> amazon-ebs: Prevalidating AMI Name: depy-artifactory 1511029171 | |
20:19:34 2017/11/18 20:19:33 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepPreValidate'. Press enter to continue. | |
20:19:34 2017/11/18 20:19:33 packer: 2017/11/18 20:19:33 Using AMI Filters { | |
20:19:34 2017/11/18 20:19:33 packer: Filters: [{ | |
20:19:34 2017/11/18 20:19:33 packer: Name: "root-device-type", | |
20:19:34 2017/11/18 20:19:33 packer: Values: ["ebs"] | |
20:19:34 2017/11/18 20:19:33 packer: },{ | |
20:19:34 2017/11/18 20:19:33 packer: Name: "virtualization-type", | |
20:19:34 2017/11/18 20:19:33 packer: Values: ["hvm"] | |
20:19:34 2017/11/18 20:19:33 packer: },{ | |
20:19:34 2017/11/18 20:19:33 packer: Name: "name", | |
20:19:34 2017/11/18 20:19:33 packer: Values: ["ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*"] | |
20:19:34 2017/11/18 20:19:33 packer: }], | |
20:19:34 2017/11/18 20:19:33 packer: Owners: ["099720109477"] | |
20:19:34 2017/11/18 20:19:33 packer: } | |
20:19:37 ==> amazon-ebs: Pausing after run of step 'StepPreValidate'. Press enter to continue. 2017/11/18 20:19:37 ui: amazon-ebs: Found Image ID: ami-c8b51fb1 | |
20:19:37 amazon-ebs: Found Image ID: ami-c8b51fb1 | |
20:19:37 2017/11/18 20:19:37 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepSourceAMIInfo'. Press enter to continue. | |
20:19:37 2017/11/18 20:19:37 ui: ==> amazon-ebs: Creating temporary keypair: packer_5a1079b3-551d-17dc-7ce8-0b2e63df581a | |
20:19:37 ==> amazon-ebs: Pausing after run of step 'StepSourceAMIInfo'. Press enter to continue. ==> amazon-ebs: Creating temporary keypair: packer_5a1079b3-551d-17dc-7ce8-0b2e63df581a | |
20:19:37 2017/11/18 20:19:37 ui: amazon-ebs: Saving key for debug purposes: ec2_amazon-ebs.pem | |
20:19:37 amazon-ebs: Saving key for debug purposes: ec2_amazon-ebs.pem | |
20:19:37 2017/11/18 20:19:37 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepKeyPair'. Press enter to continue. | |
20:19:37 2017/11/18 20:19:37 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5a1079b9-6958-aa02-8ae0-7ee94d02869e | |
20:19:37 ==> amazon-ebs: Pausing after run of step 'StepKeyPair'. Press enter to continue. ==> amazon-ebs: Creating temporary security group for this instance: packer_5a1079b9-6958-aa02-8ae0-7ee94d02869e | |
20:19:37 2017/11/18 20:19:37 ui: ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group... | |
20:19:37 ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group... | |
20:19:37 2017/11/18 20:19:37 packer: 2017/11/18 20:19:37 [DEBUG] Waiting for temporary security group: sg-3b19a140 | |
20:19:38 2017/11/18 20:19:38 packer: 2017/11/18 20:19:38 [DEBUG] Found security group sg-3b19a140 | |
20:19:38 2017/11/18 20:19:38 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepSecurityGroup'. Press enter to continue. | |
20:19:38 2017/11/18 20:19:38 ui: ask: ==> amazon-ebs: Pausing after run of step 'stepCleanupVolumes'. Press enter to continue. | |
20:19:38 2017/11/18 20:19:38 ui: ==> amazon-ebs: Launching a source AWS instance... | |
20:19:38 2017/11/18 20:19:38 ui: ==> amazon-ebs: Adding tags to source instance | |
20:19:38 ==> amazon-ebs: Pausing after run of step 'StepSecurityGroup'. Press enter to continue. ==> amazon-ebs: Pausing after run of step 'stepCleanupVolumes'. Press enter to continue. ==> amazon-ebs: Launching a source AWS instance... | |
20:19:38 2017/11/18 20:19:38 ui: amazon-ebs: Adding tag: "Name": "Packer Builder" | |
20:19:38 ==> amazon-ebs: Adding tags to source instance | |
20:19:38 amazon-ebs: Adding tag: "Name": "Packer Builder" | |
20:19:39 2017/11/18 20:19:39 ui: amazon-ebs: Instance ID: i-0f7dc898bca853a9f | |
20:19:39 amazon-ebs: Instance ID: i-0f7dc898bca853a9f | |
20:19:39 2017/11/18 20:19:39 ui: ==> amazon-ebs: Waiting for instance (i-0f7dc898bca853a9f) to become ready... | |
20:19:39 ==> amazon-ebs: Waiting for instance (i-0f7dc898bca853a9f) to become ready... | |
20:19:39 2017/11/18 20:19:39 packer: 2017/11/18 20:19:39 Waiting for state to become: running | |
20:19:39 2017/11/18 20:19:39 packer: 2017/11/18 20:19:39 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS) | |
20:19:39 2017/11/18 20:19:39 packer: 2017/11/18 20:19:39 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS) | |
20:20:00 amazon-ebs: Public DNS: ec2-34-241-199-100.eu-west-1.compute.amazonaws.com | |
20:20:00 amazon-ebs: Public IP: 34.241.199.100 | |
20:20:00 2017/11/18 20:20:00 ui: amazon-ebs: Public DNS: ec2-34-241-199-100.eu-west-1.compute.amazonaws.com | |
20:20:00 2017/11/18 20:20:00 ui: amazon-ebs: Public IP: 34.241.199.100 | |
20:20:00 2017/11/18 20:20:00 ui: amazon-ebs: Private IP: 10.0.0.124 | |
20:20:00 2017/11/18 20:20:00 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepRunSourceInstance'. Press enter to continue. | |
20:20:00 2017/11/18 20:20:00 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepGetPassword'. Press enter to continue. | |
20:20:00 2017/11/18 20:20:00 packer: 2017/11/18 20:20:00 [INFO] Not using winrm communicator, skipping get password... | |
20:20:00 amazon-ebs: Private IP: 10.0.0.124 | |
20:20:00 ==> amazon-ebs: Pausing after run of step 'StepRunSourceInstance'. Press enter to continue. ==> amazon-ebs: Pausing after run of step 'StepGetPassword'. Press enter to continue. ==> amazon-ebs: Waiting for SSH to become available... | |
20:20:00 2017/11/18 20:20:00 packer: 2017/11/18 20:20:00 [INFO] Waiting for SSH, up to timeout: 5m0s | |
20:20:00 2017/11/18 20:20:00 ui: ==> amazon-ebs: Waiting for SSH to become available... | |
20:20:12 2017/11/18 20:20:12 packer: 2017/11/18 20:20:12 [INFO] Attempting SSH connection... | |
20:20:12 2017/11/18 20:20:12 packer: 2017/11/18 20:20:12 reconnecting to TCP connection for SSH | |
20:20:12 2017/11/18 20:20:12 packer: 2017/11/18 20:20:12 handshaking with SSH | |
20:20:12 2017/11/18 20:20:12 packer: 2017/11/18 20:20:12 handshake complete! | |
20:20:12 2017/11/18 20:20:12 packer: 2017/11/18 20:20:12 [INFO] no local agent socket, will not connect agent | |
20:20:12 2017/11/18 20:20:12 ui: ==> amazon-ebs: Connected to SSH! | |
20:20:12 ==> amazon-ebs: Connected to SSH! | |
20:20:12 2017/11/18 20:20:12 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepConnect'. Press enter to continue. | |
20:20:12 2017/11/18 20:20:12 packer: 2017/11/18 20:20:12 Running the provision hook | |
20:20:12 2017/11/18 20:20:12 [INFO] (telemetry) Starting provisioner ansible | |
20:20:12 2017/11/18 20:20:12 ui: ==> amazon-ebs: Provisioning with Ansible... | |
20:20:12 ==> amazon-ebs: Pausing after run of step 'StepConnect'. Press enter to continue. ==> amazon-ebs: Provisioning with Ansible... | |
20:20:12 2017/11/18 20:20:12 packer: 2017/11/18 20:20:12 SSH proxy: serving on 127.0.0.1:39139 | |
20:20:12 2017/11/18 20:20:12 ui: ==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i /tmp/packer-provisioner-ansible137992402 /depy-backend/lift/ansible/playbooks/artifactory.yml --private-key /tmp/ansible-key025935231 --extra-vars env=dev cloud=aws component_name=artifactory-server platform=Ubuntu_16.04 | |
20:20:13 ==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i /tmp/packer-provisioner-ansible137992402 /depy-backend/lift/ansible/playbooks/artifactory.yml --private-key /tmp/ansible-key025935231 --extra-vars env=dev cloud=aws component_name=artifactory-server platform=Ubuntu_16.04 | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: | |
20:20:14 amazon-ebs: | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: PLAY [localhost] *************************************************************** | |
20:20:14 amazon-ebs: PLAY [localhost] *************************************************************** | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: | |
20:20:14 amazon-ebs: | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:14 amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: ok: [localhost] | |
20:20:14 amazon-ebs: ok: [localhost] | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: | |
20:20:14 amazon-ebs: | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:14 amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: ok: [localhost] | |
20:20:14 amazon-ebs: ok: [localhost] | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: | |
20:20:14 amazon-ebs: | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:14 amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: ok: [localhost] | |
20:20:14 amazon-ebs: ok: [localhost] | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: | |
20:20:14 amazon-ebs: | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:14 amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:14 amazon-ebs: ok: [localhost] | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: ok: [localhost] | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: | |
20:20:14 amazon-ebs: | |
20:20:14 2017/11/18 20:20:14 ui: amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:15 amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:15 amazon-ebs: ok: [localhost] | |
20:20:15 2017/11/18 20:20:14 ui: amazon-ebs: ok: [localhost] | |
20:20:15 2017/11/18 20:20:14 ui: amazon-ebs: | |
20:20:15 amazon-ebs: | |
20:20:15 2017/11/18 20:20:14 ui: amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:15 amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:15 2017/11/18 20:20:14 ui: amazon-ebs: ok: [localhost] | |
20:20:15 amazon-ebs: ok: [localhost] | |
20:20:15 2017/11/18 20:20:14 ui: amazon-ebs: | |
20:20:15 amazon-ebs: | |
20:20:15 2017/11/18 20:20:14 ui: amazon-ebs: TASK [common/init | host group] ************************************************ | |
20:20:15 amazon-ebs: TASK [common/init | host group] ************************************************ | |
20:20:15 amazon-ebs: ok: [localhost] | |
20:20:15 2017/11/18 20:20:14 ui: amazon-ebs: ok: [localhost] | |
20:20:15 2017/11/18 20:20:14 ui: amazon-ebs: | |
20:20:15 amazon-ebs: | |
20:20:15 2017/11/18 20:20:14 ui: amazon-ebs: TASK [common/init | platform] ************************************************** | |
20:20:15 amazon-ebs: TASK [common/init | platform] ************************************************** | |
20:20:15 2017/11/18 20:20:14 ui: amazon-ebs: ok: [localhost] | |
20:20:15 amazon-ebs: ok: [localhost] | |
20:20:15 2017/11/18 20:20:14 ui: amazon-ebs: | |
20:20:15 amazon-ebs: | |
20:20:15 2017/11/18 20:20:14 ui: amazon-ebs: TASK [common/init | ami] ******************************************************* | |
20:20:15 amazon-ebs: TASK [common/init | ami] ******************************************************* | |
20:20:15 2017/11/18 20:20:14 ui: amazon-ebs: ok: [localhost] | |
20:20:15 amazon-ebs: ok: [localhost] | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: | |
20:20:15 amazon-ebs: | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: TASK [common/init | imageid] *************************************************** | |
20:20:15 amazon-ebs: TASK [common/init | imageid] *************************************************** | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: skipping: [localhost] | |
20:20:15 amazon-ebs: skipping: [localhost] | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: | |
20:20:15 amazon-ebs: | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: TASK [common/init | port] ****************************************************** | |
20:20:15 amazon-ebs: TASK [common/init | port] ****************************************************** | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: skipping: [localhost] | |
20:20:15 amazon-ebs: skipping: [localhost] | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: | |
20:20:15 amazon-ebs: | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: TASK [common/init | port] ****************************************************** | |
20:20:15 amazon-ebs: TASK [common/init | port] ****************************************************** | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: skipping: [localhost] | |
20:20:15 amazon-ebs: skipping: [localhost] | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: | |
20:20:15 amazon-ebs: | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: TASK [common/init | port] ****************************************************** | |
20:20:15 amazon-ebs: TASK [common/init | port] ****************************************************** | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: ok: [localhost] | |
20:20:15 amazon-ebs: ok: [localhost] | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: | |
20:20:15 amazon-ebs: | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: TASK [depy.infra : include_role] *********************************************** | |
20:20:15 amazon-ebs: TASK [depy.infra : include_role] *********************************************** | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: | |
20:20:15 amazon-ebs: | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: TASK [depy.inventory : include_tasks] ****************************************** | |
20:20:15 amazon-ebs: TASK [depy.inventory : include_tasks] ****************************************** | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: included: /depy-backend/lift/ansible/roles/depy/infra/depy.inventory/tasks/main_aws.yml for localhost | |
20:20:15 amazon-ebs: included: /depy-backend/lift/ansible/roles/depy/infra/depy.inventory/tasks/main_aws.yml for localhost | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: | |
20:20:15 amazon-ebs: | |
20:20:15 2017/11/18 20:20:15 ui: amazon-ebs: TASK [depy.inventory : Get artifactory-server facts] *************************** | |
20:20:15 amazon-ebs: TASK [depy.inventory : Get artifactory-server facts] *************************** | |
20:20:16 2017/11/18 20:20:16 ui: amazon-ebs: ok: [localhost] | |
20:20:16 amazon-ebs: ok: [localhost] | |
20:20:16 2017/11/18 20:20:16 ui: amazon-ebs: | |
20:20:16 amazon-ebs: | |
20:20:16 2017/11/18 20:20:16 ui: amazon-ebs: TASK [depy.inventory : include_tasks] ****************************************** | |
20:20:16 amazon-ebs: TASK [depy.inventory : include_tasks] ****************************************** | |
20:20:16 2017/11/18 20:20:16 ui: amazon-ebs: | |
20:20:16 amazon-ebs: | |
20:20:17 2017/11/18 20:20:16 ui: amazon-ebs: TASK [depy.spotinst : set_fact] ************************************************ | |
20:20:17 amazon-ebs: TASK [depy.spotinst : set_fact] ************************************************ | |
20:20:17 2017/11/18 20:20:16 ui: amazon-ebs: skipping: [localhost] | |
20:20:17 amazon-ebs: skipping: [localhost] | |
20:20:17 2017/11/18 20:20:16 ui: amazon-ebs: | |
20:20:17 amazon-ebs: | |
20:20:17 2017/11/18 20:20:16 ui: amazon-ebs: TASK [depy.spotinst : template] ************************************************ | |
20:20:17 amazon-ebs: TASK [depy.spotinst : template] ************************************************ | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: skipping: [localhost] | |
20:20:17 amazon-ebs: skipping: [localhost] | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: | |
20:20:17 amazon-ebs: | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: TASK [depy.spotinst : template] ************************************************ | |
20:20:17 amazon-ebs: TASK [depy.spotinst : template] ************************************************ | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: skipping: [localhost] | |
20:20:17 amazon-ebs: skipping: [localhost] | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: | |
20:20:17 amazon-ebs: | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: TASK [depy.spotinst : Create Group artifactory] ******************************** | |
20:20:17 amazon-ebs: TASK [depy.spotinst : Create Group artifactory] ******************************** | |
20:20:17 amazon-ebs: skipping: [localhost] | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: skipping: [localhost] | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: | |
20:20:17 amazon-ebs: | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: TASK [depy.spotinst : Store Group Id] ****************************************** | |
20:20:17 amazon-ebs: TASK [depy.spotinst : Store Group Id] ****************************************** | |
20:20:17 amazon-ebs: skipping: [localhost] | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: skipping: [localhost] | |
20:20:17 amazon-ebs: | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: TASK [depy.spotinst : get Instance Ids] **************************************** | |
20:20:17 amazon-ebs: TASK [depy.spotinst : get Instance Ids] **************************************** | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: skipping: [localhost] | |
20:20:17 amazon-ebs: skipping: [localhost] | |
20:20:17 amazon-ebs: | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: TASK [depy.spotinst : include_tasks] ******************************************* | |
20:20:17 amazon-ebs: TASK [depy.spotinst : include_tasks] ******************************************* | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: skipping: [localhost] | |
20:20:17 amazon-ebs: skipping: [localhost] | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: | |
20:20:17 amazon-ebs: | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: TASK [depy.ondemand : aws | run ec2 instance] ********************************** | |
20:20:17 amazon-ebs: TASK [depy.ondemand : aws | run ec2 instance] ********************************** | |
20:20:17 amazon-ebs: skipping: [localhost] | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: skipping: [localhost] | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: | |
20:20:17 amazon-ebs: | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: TASK [depy.ondemand : Make sure user data is executed] ************************* | |
20:20:17 amazon-ebs: TASK [depy.ondemand : Make sure user data is executed] ************************* | |
20:20:17 2017/11/18 20:20:17 ui: amazon-ebs: skipping: [localhost] | |
20:20:17 amazon-ebs: skipping: [localhost] | |
20:20:17 amazon-ebs: | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: TASK [depy.ondemand : aws | wait for ssh/WinRm to answer on all hosts] ********* | |
20:20:18 amazon-ebs: TASK [depy.ondemand : aws | wait for ssh/WinRm to answer on all hosts] ********* | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: skipping: [localhost] | |
20:20:18 amazon-ebs: skipping: [localhost] | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: | |
20:20:18 amazon-ebs: | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: TASK [depy.ondemand : aws | Instnace Public IP] ******************************** | |
20:20:18 amazon-ebs: TASK [depy.ondemand : aws | Instnace Public IP] ******************************** | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: skipping: [localhost] | |
20:20:18 amazon-ebs: skipping: [localhost] | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: | |
20:20:18 amazon-ebs: | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: TASK [depy.ondemand : aws | Instnace Public DNS Name] ************************** | |
20:20:18 amazon-ebs: TASK [depy.ondemand : aws | Instnace Public DNS Name] ************************** | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: skipping: [localhost] | |
20:20:18 amazon-ebs: skipping: [localhost] | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: | |
20:20:18 amazon-ebs: | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: TASK [depy.ondemand : aws | add hosts to group] ******************************** | |
20:20:18 amazon-ebs: TASK [depy.ondemand : aws | add hosts to group] ******************************** | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: skipping: [localhost] | |
20:20:18 amazon-ebs: skipping: [localhost] | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: | |
20:20:18 amazon-ebs: | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: PLAY [artifactory] ************************************************************* | |
20:20:18 amazon-ebs: PLAY [artifactory] ************************************************************* | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: | |
20:20:18 amazon-ebs: | |
20:20:18 2017/11/18 20:20:17 ui: amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:18 amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:18 amazon-ebs: ok: [artifactory] | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: ok: [artifactory] | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: | |
20:20:18 amazon-ebs: | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:18 amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: ok: [artifactory] | |
20:20:18 amazon-ebs: ok: [artifactory] | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: | |
20:20:18 amazon-ebs: | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:18 amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: ok: [artifactory] | |
20:20:18 amazon-ebs: ok: [artifactory] | |
20:20:18 amazon-ebs: | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:18 amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: ok: [artifactory] | |
20:20:18 amazon-ebs: ok: [artifactory] | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: | |
20:20:18 amazon-ebs: | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:18 amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: ok: [artifactory] | |
20:20:18 amazon-ebs: ok: [artifactory] | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: | |
20:20:18 amazon-ebs: | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:18 amazon-ebs: TASK [include_vars] ************************************************************ | |
20:20:18 2017/11/18 20:20:18 ui: amazon-ebs: ok: [artifactory] | |
20:20:18 amazon-ebs: ok: [artifactory] | |
20:20:19 2017/11/18 20:20:18 ui: amazon-ebs: | |
20:20:19 amazon-ebs: | |
20:20:19 2017/11/18 20:20:18 ui: amazon-ebs: TASK [cloud/os specific variables] ********************************************* | |
20:20:19 amazon-ebs: TASK [cloud/os specific variables] ********************************************* | |
20:20:19 2017/11/18 20:20:18 ui: amazon-ebs: ok: [artifactory] | |
20:20:19 amazon-ebs: ok: [artifactory] | |
20:20:19 2017/11/18 20:20:18 ui: amazon-ebs: | |
20:20:19 amazon-ebs: | |
20:20:19 2017/11/18 20:20:18 ui: amazon-ebs: TASK [common/bootstrap | Install python] *************************************** | |
20:20:19 amazon-ebs: TASK [common/bootstrap | Install python] *************************************** | |
20:20:19 2017/11/18 20:20:18 ui: amazon-ebs: fatal: [artifactory]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host 127.0.0.1 port 22: Connection refused\r\n", "unreachable": true} | |
20:20:19 amazon-ebs: fatal: [artifactory]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host 127.0.0.1 port 22: Connection refused\r\n", "unreachable": true} | |
20:20:19 2017/11/18 20:20:18 ui: amazon-ebs: | |
20:20:19 amazon-ebs: | |
20:20:19 2017/11/18 20:20:18 ui: amazon-ebs: PLAY RECAP ********************************************************************* | |
20:20:19 amazon-ebs: PLAY RECAP ********************************************************************* | |
20:20:19 2017/11/18 20:20:18 ui: amazon-ebs: artifactory : ok=7 changed=0 unreachable=1 failed=0 | |
20:20:19 amazon-ebs: artifactory : ok=7 changed=0 unreachable=1 failed=0 | |
20:20:19 2017/11/18 20:20:18 ui: amazon-ebs: localhost : ok=12 changed=0 unreachable=0 failed=0 | |
20:20:19 amazon-ebs: localhost : ok=12 changed=0 unreachable=0 failed=0 | |
20:20:19 2017/11/18 20:20:18 ui: amazon-ebs: | |
20:20:19 amazon-ebs: | |
20:20:19 2017/11/18 20:20:18 packer: 2017/11/18 20:20:18 shutting down the SSH proxy | |
20:20:19 2017/11/18 20:20:18 [INFO] (telemetry) ending ansible | |
20:20:19 2017/11/18 20:20:18 [INFO] (telemetry) found error: Error executing Ansible: Non-zero exit status: exit status 4 | |
20:20:19 2017/11/18 20:20:18 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepConnect'. Press enter to continue. | |
20:20:19 2017/11/18 20:20:18 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepGetPassword'. Press enter to continue. | |
20:20:19 2017/11/18 20:20:18 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepRunSourceInstance'. Press enter to continue. | |
20:20:19 2017/11/18 20:20:18 ui: ==> amazon-ebs: Terminating the source AWS instance... | |
20:20:19 ==> amazon-ebs: Pausing before cleanup of step 'StepConnect'. Press enter to continue. ==> amazon-ebs: Pausing before cleanup of step 'StepGetPassword'. Press enter to continue. ==> amazon-ebs: Pausing before cleanup of step 'StepRunSourceInstance'. Press enter to continue. ==> amazon-ebs: Terminating the source AWS instance... | |
20:20:19 2017/11/18 20:20:19 packer: 2017/11/18 20:20:19 Waiting for state to become: terminated | |
20:20:19 2017/11/18 20:20:19 packer: 2017/11/18 20:20:19 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS) | |
20:20:19 2017/11/18 20:20:19 packer: 2017/11/18 20:20:19 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS) | |
20:21:10 2017/11/18 20:21:10 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'stepCleanupVolumes'. Press enter to continue. | |
20:21:10 2017/11/18 20:21:10 ui: ==> amazon-ebs: Cleaning up any extra volumes... | |
20:21:10 ==> amazon-ebs: Pausing before cleanup of step 'stepCleanupVolumes'. Press enter to continue. ==> amazon-ebs: Cleaning up any extra volumes... | |
20:21:10 2017/11/18 20:21:10 ui: ==> amazon-ebs: No volumes to clean up, skipping | |
20:21:11 2017/11/18 20:21:10 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepSecurityGroup'. Press enter to continue. | |
20:21:11 ==> amazon-ebs: No volumes to clean up, skipping | |
20:21:11 2017/11/18 20:21:10 ui: ==> amazon-ebs: Deleting temporary security group... | |
20:21:11 ==> amazon-ebs: Pausing before cleanup of step 'StepSecurityGroup'. Press enter to continue. ==> amazon-ebs: Deleting temporary security group... | |
20:21:11 2017/11/18 20:21:11 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepKeyPair'. Press enter to continue. | |
20:21:11 2017/11/18 20:21:11 ui: ==> amazon-ebs: Deleting temporary keypair... | |
20:21:11 ==> amazon-ebs: Pausing before cleanup of step 'StepKeyPair'. Press enter to continue. ==> amazon-ebs: Deleting temporary keypair... | |
20:21:11 2017/11/18 20:21:11 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepSourceAMIInfo'. Press enter to continue. | |
20:21:11 2017/11/18 20:21:11 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepPreValidate'. Press enter to continue. | |
20:21:11 2017/11/18 20:21:11 [INFO] (telemetry) ending amazon-ebs | |
20:21:11 2017/11/18 20:21:11 [INFO] (telemetry) found error: Error executing Ansible: Non-zero exit status: exit status 4 | |
20:21:11 ==> amazon-ebs: Pausing before cleanup of step 'StepSourceAMIInfo'. Press enter to continue. ==> amazon-ebs: Pausing before cleanup of step 'StepPreValidate'. Press enter to continue. Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 4 | |
20:21:11 | |
20:21:11 2017/11/18 20:21:11 ui error: Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 4 | |
20:21:11 2017/11/18 20:21:11 Waiting on builds to complete... | |
20:21:11 2017/11/18 20:21:11 Builds completed. Waiting on interrupt barrier... | |
20:21:11 2017/11/18 20:21:11 machine readable: error-count []string{"1"} | |
20:21:11 2017/11/18 20:21:11 ui error: | |
20:21:11 ==> Some builds didn't complete successfully and had errors: | |
20:21:11 2017/11/18 20:21:11 machine readable: amazon-ebs,error []string{"Error executing Ansible: Non-zero exit status: exit status 4"} | |
20:21:11 2017/11/18 20:21:11 ui error: --> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 4 | |
20:21:11 2017/11/18 20:21:11 ui: | |
20:21:11 ==> Builds finished but no artifacts were created. | |
20:21:11 2017/11/18 20:21:11 [INFO] (telemetry) Finalizing. | |
20:21:11 ==> Some builds didn't complete successfully and had errors: | |
20:21:11 --> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 4 | |
20:21:11 | |
20:21:11 ==> Builds finished but no artifacts were created. | |
20:21:12 2017/11/18 20:21:12 waiting for all plugin processes to complete... | |
20:21:12 2017/11/18 20:21:12 /bin/packer: plugin process exited | |
20:21:12 2017/11/18 20:21:12 /bin/packer: plugin process exited | |
20:21:12 Finished: FAILURE | |
20:21:12 Build step 'Packer' marked build as failure | |
20:21:12 Finished: FAILURE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
connection: local | |
gather_facts: False | |
vars: | |
app: artifactory | |
versions: "{{ lookup('file', '../../conf/ver/app/{{ app }}/versions.json') | from_json }}" | |
components: "{{ lookup('file', '~/.depy/{{ env }}/app/{{ app }}/components.json') | from_json }}" | |
iaas: "{{ lookup('file', '~/.depy/{{ env }}/cloud/{{ cloud }}.json') | from_json }}" | |
spotinst: "{{ lookup('file', '~/.depy/{{ env }}/cloud/spotinst.json') | from_json }}" | |
pre_tasks: | |
- import_tasks: "../common/init.yml" | |
roles: | |
- depy.infra | |
- hosts: artifactory | |
gather_facts: False | |
vars: | |
app: artifactory | |
versions: "{{ lookup('file', '../../conf/ver/app/{{ app }}/versions.json') | from_json }}" | |
components: "{{ lookup('file', '~/.depy/{{ env }}/app/{{ app }}/components.json') | from_json }}" | |
iaas: "{{ lookup('file', '~/.depy/{{ env }}/cloud/{{ cloud }}.json') | from_json }}" | |
pre_tasks: | |
- import_tasks: "../common/bootstrap.yml" | |
roles: | |
- depy.artifactory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"builders": [ | |
{ | |
"type": "amazon-ebs", | |
"source_ami_filter": { | |
"filters": { | |
"virtualization-type": "hvm", | |
"name": "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*", | |
"root-device-type": "ebs" | |
}, | |
"owners": [ | |
"099720109477" | |
], | |
"most_recent": true | |
}, | |
"vpc_id": "vpc-7dd90818", | |
"subnet_id": "subnet-7cf03b25", | |
"instance_type": "t2.micro", | |
"ssh_username": "ubuntu", | |
"ami_name": "depy-artifactory {{timestamp}}", | |
"associate_public_ip_address": "true" | |
} | |
], | |
"provisioners": [ | |
{ | |
"type": "ansible", | |
"playbook_file": "/depy-backend/lift/ansible/playbooks/artifactory.yml", | |
"user": "ubuntu", | |
"ansible_env_vars": [ | |
"ANSIBLE_CONFIG=/depy-backend/lift/ansible/ansible.cfg", | |
"ANSIBLE_SSH_ARGS='-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o AddKeysToAgent=no'" | |
], | |
"extra_arguments": [ | |
"--extra-vars", | |
"env=dev cloud=aws component_name=artifactory-server platform=Ubuntu_16.04 ansible_python_interpreter=/usr/bin/python" | |
], | |
"host_alias": "artifactory" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment