Advertisement
dfarrell07

packer_ssh_no_crypto_fail

Aug 11th, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.26 KB | None | 0 0
  1. # Get version Int/Pack just before Patrick's changes to add Fedora builds
  2. # I see the same failure with Patrick's version, and his 43201 Gerrit
  3. # I haven't tried with LibVirt
  4. # All other boxes seem to work perfectly, including the versions of these boxes on Atlas
  5. [~/packaging/packer]$ git checkout 44299ff68809be7c3ae99a6988ee4bf9a26f9cea -b pre_fedora_pkr
  6. [~/packaging/packer]$ vagrant up
  7. Bringing machine 'default' up with 'virtualbox' provider...
  8. ==> default: Importing base box 'cent_odl41'...
  9. ==> default: Matching MAC address for NAT networking...
  10. ==> default: Setting the name of the VM: packer_default_1470967743902_97870
  11. ==> default: Fixed port collision for 22 => 2222. Now on port 2201.
  12. ==> default: Clearing any previously set network interfaces...
  13. ==> default: Preparing network interfaces based on configuration...
  14. default: Adapter 1: nat
  15. ==> default: Forwarding ports...
  16. default: 22 (guest) => 2201 (host) (adapter 1)
  17. ==> default: Booting VM...
  18. ==> default: Waiting for machine to boot. This may take a few minutes...
  19. default: SSH address: 127.0.0.1:2201
  20. default: SSH username: vagrant
  21. default: SSH auth method: private key
  22. # wait a long time, CUP spikes like normal boot but never connects
  23. ^C==> default: Waiting for cleanup before exiting...
  24. Vagrant exited after cleanup due to external interrupt.
  25.  
  26.  
  27. In a different shell, while this was waiting for SSH, I tried to SSH in manually.
  28.  
  29. [~/packaging/packer]$ ssh -p 2201 vagrant@localhost -vvvv
  30. OpenSSH_7.2p2, OpenSSL 1.0.2h-fips 3 May 2016
  31. debug1: Reading configuration data /home/daniel/.ssh/config
  32. debug1: Reading configuration data /etc/ssh/ssh_config
  33. debug1: /etc/ssh/ssh_config line 58: Applying options for *
  34. debug2: resolving "localhost" port 2201
  35. debug2: ssh_connect_direct: needpriv 0
  36. debug1: Connecting to localhost [127.0.0.1] port 2201.
  37. debug1: Connection established.
  38. debug1: identity file /home/daniel/.ssh/id_rsa type 1
  39. debug1: key_load_public: No such file or directory
  40. debug1: identity file /home/daniel/.ssh/id_rsa-cert type -1
  41. debug1: key_load_public: No such file or directory
  42. debug1: identity file /home/daniel/.ssh/id_dsa type -1
  43. debug1: key_load_public: No such file or directory
  44. debug1: identity file /home/daniel/.ssh/id_dsa-cert type -1
  45. debug1: key_load_public: No such file or directory
  46. debug1: identity file /home/daniel/.ssh/id_ecdsa type -1
  47. debug1: key_load_public: No such file or directory
  48. debug1: identity file /home/daniel/.ssh/id_ecdsa-cert type -1
  49. debug1: key_load_public: No such file or directory
  50. debug1: identity file /home/daniel/.ssh/id_ed25519 type -1
  51. debug1: key_load_public: No such file or directory
  52. debug1: identity file /home/daniel/.ssh/id_ed25519-cert type -1
  53. debug1: Enabling compatibility mode for protocol 2.0
  54. debug1: Local version string SSH-2.0-OpenSSH_7.2
  55. # hung here, last meassge was after I broke the `vagrant up` with ctrl+c
  56. ssh_exchange_identification: read: Connection reset by peer
  57.  
  58. It seems like something accepts a connection to the SSH port of the guest, but that SSH on the guest never started the crypto exchange process.
  59.  
  60. The box is reported as running.
  61.  
  62. [~/packaging/packer]$ vagrant status
  63. Current machine states:
  64. default running (virtualbox)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement