-
Notifications
You must be signed in to change notification settings - Fork 15
Packet Install Failure #144
Description
Using Ubuntu VM, created Ubuntu running Packet Server
After setting up install, and running the install program, the following occurs:
root@t3:~/digitalrebar/deploy# ./run-in-system.sh --deploy-admin=local --access=HOST --wl-docker-swarm --admin-ip=$IPA
Overriding DEPLOY_ADMIN with local
Overriding ACCESS with HOST
Overriding ADMIN_IP with 147.75.203.123/31
cat: compose/tag: No such file or directory
WARNING: ******************************
WARNING: Changing tags can be dangerous
WARNING: ******************************
Device IP = 147.75.203.123/31
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and
make sure become_method is 'sudo' (default).
This feature will be removed in a
future release. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
PLAY [Install Digital Rebar by RackN 2015] *************************************
TASK [setup] *******************************************************************
ok: [147.75.203.123]
TASK [debug] *******************************************************************
skipping: [147.75.203.123]
TASK [Check RAM to prevent low memory bring up issues] *************************
skipping: [147.75.203.123]
TASK [Update repos] ************************************************************
skipping: [147.75.203.123]
TASK [Install EPEL [SLOW]] *****************************************************
skipping: [147.75.203.123] => (item=[])
TASK [Install Prereqs [SLOW]] **************************************************
skipping: [147.75.203.123] => (item=[])
TASK [Install Provisioner Prereqs [SLOW]] **************************************
skipping: [147.75.203.123] => (item=[])
TASK [Install Provisioner ruby-gems for CentOS/RedHat 6] ***********************
skipping: [147.75.203.123] => (item=[])
TASK [gem install kvm slaves] **************************************************
skipping: [147.75.203.123]
TASK [Silly flush of iptables] *************************************************
skipping: [147.75.203.123]
TASK [Update repos (was not working from apt:)] ********************************
skipping: [147.75.203.123]
TASK [Install Prereqs [SLOW]] **************************************************
skipping: [147.75.203.123] => (item=[])
TASK [Install Provisioner Prereqs [SLOW]] **************************************
skipping: [147.75.203.123] => (item=[])
TASK [Provisioner gem install kvm slaves] **************************************
skipping: [147.75.203.123]
TASK [stop apparmor] ***********************************************************
skipping: [147.75.203.123]
TASK [remove apparmor] *********************************************************
skipping: [147.75.203.123]
TASK [Add python2.7 repo] ******************************************************
changed: [147.75.203.123]
TASK [Update repos (was not working from apt:)] ********************************
changed: [147.75.203.123]
[WARNING]: Consider using 'become', 'become_method', and 'become_user' rather
than running sudo
TASK [Update python [SLOW]] ****************************************************
changed: [147.75.203.123]
**TASK [Install Prereqs [SLOW]] ******************************************************
fatal: [147.75.203.123]: FAILED! => {"failed": true, "msg": "The conditional check 'ansible_os_family == "Debian" and ansible_lsb.major_release == "14"' failed. The error was: cannot import name _unicode\n\nThe error appears to have been in '/root/digitalrebar/deploy/tasks/base.yml': line 14, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n when: ansible_os_family == "Debian" and ansible_lsb.major_release == "15"\n - include: base-ubuntu1404.yml\n ^ here\n"}
NO MORE HOSTS LEFT *************************************************************
[WARNING]: Could not create retry file 'digitalrebar.retry'. [Errno 2]
No such file or directory: ''
PLAY RECAP *********************************************************************
147.75.203.123 : ok=4 changed=3 unreachable=0 failed=1
No DHCP continer requested
=== HELPFUL COMMANDS ===
repeat Ansible run: ansible-playbook -i /tmp/run-in-hosts.8800 --extra-vars "{
"dr_access_mode": "HOST", "dr_external_ip": "147.75.203.123/31",
"dr_tag": "latest",
"dr_classifiers": [ ],
"dr_services": [ "--ntp" , "--revproxy" , "--chef" , "--dns" , "--webproxy" , "--dns-mgmt" ],
"dr_workloads": [ "ux" , "docker-swarm" ]
}" digitalrebar.yml --connection=local
Digital Rebar UI https://147.75.203.123 (for RackN UX try https://147.75.203.123/ux/ )
root@t3:~/digitalrebar/deploy#
Will attempt again, but error has already occurred in multiple instances.