Advertisement
MR612

vagrant provision error

Oct 27th, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.68 KB | None | 0 0
  1. mahdi@ThinkPad-Edge-E530:~/devstack/devstack$ vagrant provision
  2. ==> default: [vagrant-hostsupdater] Checking for host entries
  3. ==> default: Running provisioner: shell...
  4.     default: Running: inline script
  5. ==> default: stdin: is not a tty
  6. ==> default:
  7. ==> default: PLAY [all] ********************************************************************
  8. ==> default:
  9. ==> default: GATHERING FACTS ***************************************************************
  10. ==> default: ok: [localhost]
  11. ==> default:
  12. ==> default: TASK: [{{role}} | Create application user] ************************************
  13. ==> default: ok: [localhost]
  14. ==> default:
  15. ==> default: TASK: [{{role}} | Create edx_ansible app and venv dir] ************************
  16. ==> default: ok: [localhost] => (item=/edx/app/edx_ansible)
  17. ==> default: ok: [localhost] => (item=/edx/var/edx_ansible)
  18. ==> default: ok: [localhost] => (item=/edx/app/edx_ansible/venvs)
  19. ==> default:
  20. ==> default: TASK: [{{role}} | Install a bunch of system packages on which edx_ansible relies] ***
  21. ==> default: failed: [localhost] => (item=python-pip,python-apt,libmysqlclient-dev,git-core,build-essential,python-dev,libxml2-dev,libxslt1-dev,curl,python-yaml,python-mysqldb) => {"failed": true, "item": "python-pip,python-apt,libmysqlclient-dev,git-core,build-essential,python-dev,libxml2-dev,libxslt1-dev,curl,python-yaml,python-mysqldb", "parsed": false}
  22. ==> default: BECOME-SUCCESS-mkvmrkiybpcjutgjwujmawwyyojbutaq
  23. ==> default: Traceback (most recent call last):
  24. ==> default:   File "/root/.ansible/tmp/ansible-tmp-1477621383.9-99101368881222/apt", line 2257, in <module>
  25. ==> default:     main()
  26. ==> default:   File "/root/.ansible/tmp/ansible-tmp-1477621383.9-99101368881222/apt", line 553, in main
  27. ==> default:     cache = apt.Cache()
  28. ==> default:   File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__
  29. ==> default:     self.open(progress)
  30. ==> default:   File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 145, in open
  31. ==> default:     self._cache = apt_pkg.Cache(progress)
  32. ==> default: SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/repo.mysql.com_apt_ubuntu_dists_precise_mysql-5.6_binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.
  33. ==> default:
  34. ==> default: FATAL: all hosts have already failed -- aborting
  35. ==> default:
  36. ==> default: PLAY RECAP ********************************************************************
  37. ==> default: INFO:ansible.callback_plugins.task_timing:{{role}} | Install a bunch of system packages on which edx_ansible relies -------- 2.28s
  38. ==> default: INFO:ansible.callback_plugins.task_timing:{{role}} | Create edx_ansible app and venv dir ----------------------------------- 0.22s
  39. ==> default: INFO:ansible.callback_plugins.task_timing:{{role}} | Create application user ----------------------------------------------- 0.13s
  40. ==> default: INFO:ansible.callback_plugins.task_timing:
  41. ==> default: Playbook run_role finished: 2016-10-28 02:23:06.168982, 3 total tasks.  0:00:03.111492 elapsed.
  42. ==> default:            to retry, use: --limit @/root/run_role.retry
  43. ==> default:
  44. ==> default: localhost                  : ok=3    changed=0    unreachable=0    failed=1  
  45. ==> default:
  46. ==> default: PLAY [Configure instance(s)] **************************************************
  47. ==> default:
  48. ==> default:
  49. ==> default: GATHERING FACTS ***************************************************************
  50. ==> default: ok: [localhost]
  51. ==> default:
  52. ==> default: TASK: [server_utils | Install ubuntu system packages] *************************
  53. ==> default: failed: [localhost] => (item=ack-grep,mosh,curl,tree,screen,tmux,curl,vim-tiny,dnsutils,inetutils-telnet,netcat) => {"failed": true, "item": "ack-grep,mosh,curl,tree,screen,tmux,curl,vim-tiny,dnsutils,inetutils-telnet,netcat", "parsed": false}
  54. ==> default: BECOME-SUCCESS-irlcxsokevtopsvnmwdfghjenwfqybfo
  55. ==> default: Traceback (most recent call last):
  56. ==> default:   File "/root/.ansible/tmp/ansible-tmp-1477621389.1-61448952615339/apt", line 2257, in <module>
  57. ==> default:     main()
  58. ==> default:   File "/root/.ansible/tmp/ansible-tmp-1477621389.1-61448952615339/apt", line 553, in main
  59. ==> default:     cache = apt.Cache()
  60. ==> default:   File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__
  61. ==> default:     self.open(progress)
  62. ==> default:   File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 145, in open
  63. ==> default:     self._cache = apt_pkg.Cache(progress)
  64. ==> default: SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/repo.mysql.com_apt_ubuntu_dists_precise_mysql-5.6_binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.
  65. ==> default:
  66. ==> default: FATAL: all hosts have already failed -- aborting
  67. ==> default:
  68. ==> default: PLAY RECAP ********************************************************************
  69. ==> default: INFO:ansible.callback_plugins.task_timing:server_utils | Install ubuntu system packages ------------------------------------ 2.21s
  70. ==> default: INFO:ansible.callback_plugins.task_timing:
  71. ==> default: Playbook vagrant-devstack finished: 2016-10-28 02:23:11.282987, 1 total tasks.  0:00:02.632226 elapsed.
  72. ==> default:            to retry, use: --limit @/root/vagrant-devstack.retry
  73. ==> default:
  74. ==> default: localhost                  : ok=1    changed=0    unreachable=0    failed=1  
  75. The SSH command responded with a non-zero exit status. Vagrant
  76. assumes that this means the command failed. The output for this command
  77. should be in the log above. Please read the output to determine what
  78. went wrong.
  79. mahdi@ThinkPad-Edge-E530:~/devstack/devstack$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement