Advertisement
alexkibanov

Untitled

Oct 15th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.18 KB | None | 0 0
  1. [ustas@localhost sixth]$ sudo vagrant up --no-parallel
  2. Bringing machine 'dnsmaster' up with 'libvirt' provider...
  3. Bringing machine 'dnsclient' up with 'libvirt' provider...
  4. ==> dnsmaster: Creating image (snapshot of base box volume).
  5. ==> dnsmaster: Creating domain with the following settings...
  6. ==> dnsmaster: -- Name: sixth_dnsmaster
  7. ==> dnsmaster: -- Domain type: kvm
  8. ==> dnsmaster: -- Cpus: 1
  9. ==> dnsmaster: -- Feature: acpi
  10. ==> dnsmaster: -- Feature: apic
  11. ==> dnsmaster: -- Feature: pae
  12. ==> dnsmaster: -- Memory: 512M
  13. ==> dnsmaster: -- Management MAC:
  14. ==> dnsmaster: -- Loader:
  15. ==> dnsmaster: -- Base box: centos/7
  16. ==> dnsmaster: -- Storage pool: default
  17. ==> dnsmaster: -- Image: /var/lib/libvirt/images/sixth_dnsmaster.img (41G)
  18. ==> dnsmaster: -- Volume Cache: default
  19. ==> dnsmaster: -- Kernel:
  20. ==> dnsmaster: -- Initrd:
  21. ==> dnsmaster: -- Graphics Type: vnc
  22. ==> dnsmaster: -- Graphics Port: 5900
  23. ==> dnsmaster: -- Graphics IP: 127.0.0.1
  24. ==> dnsmaster: -- Graphics Password: Not defined
  25. ==> dnsmaster: -- Video Type: cirrus
  26. ==> dnsmaster: -- Video VRAM: 9216
  27. ==> dnsmaster: -- Sound Type:
  28. ==> dnsmaster: -- Keymap: en-us
  29. ==> dnsmaster: -- TPM Path:
  30. ==> dnsmaster: -- INPUT: type=mouse, bus=ps2
  31. ==> dnsmaster: Creating shared folders metadata...
  32. ==> dnsmaster: Starting domain.
  33. ==> dnsmaster: Waiting for domain to get an IP address...
  34. ==> dnsmaster: Waiting for SSH to become available...
  35. dnsmaster:
  36. dnsmaster: Vagrant insecure key detected. Vagrant will automatically replace
  37. dnsmaster: this with a newly generated keypair for better security.
  38. dnsmaster:
  39. dnsmaster: Inserting generated public key within guest...
  40. dnsmaster: Removing insecure key from the guest if it's present...
  41. dnsmaster: Key inserted! Disconnecting and reconnecting using new SSH key...
  42. ==> dnsmaster: Configuring and enabling network interfaces...
  43. dnsmaster: SSH address: 192.168.121.245:22
  44. dnsmaster: SSH username: vagrant
  45. dnsmaster: SSH auth method: private key
  46. ==> dnsmaster: Rsyncing folder: /trash/sixth/ => /vagrant
  47. ==> dnsmaster: Running provisioner: ansible...
  48. Vagrant has automatically selected the compatibility mode '2.0'
  49. according to the Ansible version installed (2.4.0.0).
  50.  
  51. Alternatively, the compatibility mode can be specified in your Vagrantfile:
  52. https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode
  53.  
  54. dnsmaster: Running ansible-playbook...
  55. [WARNING]: Found both group and host with same name: dnsmaster
  56.  
  57.  
  58. PLAY [localhost] ***************************************************************
  59. skipping: no hosts matched
  60.  
  61. PLAY [dnsmaster] ***************************************************************
  62.  
  63. TASK [Gathering Facts] *********************************************************
  64. ok: [dnsmaster]
  65.  
  66. TASK [dns-master : Set hostname] ***********************************************
  67. changed: [dnsmaster]
  68.  
  69. TASK [dns-master : Install NetworkManager-glib] ********************************
  70. changed: [dnsmaster]
  71.  
  72. TASK [dns-master : Set static IP] **********************************************
  73. fatal: [dnsmaster]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Shared connection to 192.168.121.245 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_70KDSA/ansible_module_nmcli.py\", line 1190, in <module>\r\n main()\r\n File \"/tmp/ansible_70KDSA/ansible_module_nmcli.py\", line 1134, in main\r\n nmcli=Nmcli(module)\r\n File \"/tmp/ansible_70KDSA/ansible_module_nmcli.py\", line 559, in __init__\r\n self.dns4=' '.join(module.params['dns4'])\r\nTypeError\r\n", "msg": "MODULE FAILURE", "rc": 0}
  74. to retry, use: --limit @/trash/sixth/do-stuff.retry
  75.  
  76. PLAY RECAP *********************************************************************
  77. dnsmaster : ok=3 changed=2 unreachable=0 failed=1
  78.  
  79. Ansible failed to complete successfully. Any error output should be
  80. visible above. Please fix these errors and try again.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement