Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Fix Ubuntu 16.04 for VMware #68

Closed

Conversation

StefanScherer
Copy link
Contributor

This is a proposal to fix the ubuntu1604 template for VMware.

  1. Install open-vm-tools instead of VMware tools Switch to open-vm-tools? #66
  2. Fix the startup timeout ubuntu1604/vmware_fusion - Startup timesout #60 with a hack by @cbednarski
    I have tested this PR with Vagrant 1.8.1 / Vagrant VMware plugin 4.0.9 / VMware Fusion Pro 8.1:

I know that the vmware.sh should be more intelligent to support older Ubuntu versions. So this should be reviewed how to write the "if-else" block to decice which Ubuntu version still needs VMware Tools and from which version on we switch to the open-vm-tools.

$ vagrant up
Bringing machine 'default' up with 'vmware_fusion' provider...
==> default: Cloning VMware VM: 'ubuntu1604'. This can take some time...
==> default: Verifying vmnet devices are healthy...
==> default: Preparing network adapters...
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Starting the VMware VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 192.168.254.135:22
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Forwarding ports...
    default: -- 22 => 2200
==> default: Configuring network adapters within the VM...
==> default: Waiting for HGFS to become available...
==> default: Enabling and configuring shared folders...
    default: -- /Users/stefan/code/ubuntu/tst: /vagrant
~/code/ubuntu/tst on master*
$ ls -l
total 8
-rw-r--r--  1 stefan  staff  3056 Jun  2 08:50 Vagrantfile
~/code/ubuntu/tst on master*
$ vagrant ssh
Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.0-21-generic x86_64)

 * Documentation:  https://help.ubuntu.com/
----------------------------------------------------------------
  Ubuntu 16.04 LTS                            built 2016-06-02
----------------------------------------------------------------
vagrant@vagrant:~$ ls -l /vagrant
total 3
-rw-r--r-- 1 vagrant vagrant 3056 Jun  2 06:50 Vagrantfile
vagrant@vagrant:~$ exit
logout
Connection to 192.168.254.135 closed.
$ vagrant version
Installed Version: 1.8.1
Latest Version: 1.8.1

You're running an up-to-date version of Vagrant!
~/code/ubuntu on fix-ubuntu1604-vmware
$ vagrant plugin list
vagrant-azure (1.3.0)
vagrant-digitalocean (0.9.0)
vagrant-multiprovider-snap (0.0.14)
vagrant-pristine (0.3.0)
vagrant-reload (0.0.1)
vagrant-share (1.1.5, system)
vagrant-vmware-fusion (4.0.9)

@annawake
Copy link
Contributor

annawake commented Jun 5, 2016

There needs to be a test on kernel version - open-vm-tools will only use FUSE for shared drives if the kernel version is 4.1 or later

@StefanScherer
Copy link
Contributor Author

Thank you @annawake for bc37750, so 2.0.18 should be fine for VMware, I'll try the latest boxes.

@StefanScherer
Copy link
Contributor Author

@annawake Oh, seems that the vmware plugin 4.0.9 still does not play nice with the ubuntu1404 template. I've built it locally with the latest changes in master branch to install open-vm-tools, but a vagrant up hangs "Waiting for HGFS to become available..."

SSH is available, kernel 4.2 is installed, the open-vm-tools are installed. I remember that the vagrant vmware plugin needs a file /mnt/hgfs, but this also exists when I log in with vagrant ssh while vagrant up hangs here:

Ping @cbednarski for a short advice?

The vagrant vmware plugin tries a lsmod | grep -i '^vmhgfs'

DEBUG guest: Found cap: verify_vmware_hgfs in linux
 INFO interface: info: Waiting for HGFS to become available...
 INFO interface: info: ==> p50: Waiting for HGFS to become available...
==> p50: Waiting for HGFS to become available...
DEBUG ssh: Checking whether SSH is ready...
DEBUG ssh: Re-using SSH connection.
 INFO ssh: SSH is ready!
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute:  (sudo=false)
DEBUG ssh: Exit status: 0
DEBUG guest: Searching for cap: verify_vmware_hgfs
DEBUG guest: Checking in: ubuntu
DEBUG guest: Checking in: debian
DEBUG guest: Checking in: linux
DEBUG guest: Found cap: verify_vmware_hgfs in linux
 INFO guest: Execute capability: verify_vmware_hgfs [#<Vagrant::Machine: p50 (HashiCorp::VagrantVMwarefusion::Provider)>] (ubuntu)
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: PATH="/sbin:$PATH" lsmod | grep -i '^vmhgfs' (sudo=false)
DEBUG ssh: Exit status: 1
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: command -v vmhgfs-fuse (sudo=false)
DEBUG ssh: Exit status: 1
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: PATH="/sbin:$PATH" lsmod | grep -i '^vmhgfs' (sudo=false)
DEBUG ssh: Exit status: 1
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: command -v vmhgfs-fuse (sudo=false)
DEBUG ssh: Exit status: 1
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: PATH="/sbin:$PATH" lsmod | grep -i '^vmhgfs' (sudo=false)
DEBUG ssh: Exit status: 1
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: command -v vmhgfs-fuse (sudo=false)
DEBUG ssh: Exit status: 1
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: PATH="/sbin:$PATH" lsmod | grep -i '^vmhgfs' (sudo=false)
DEBUG ssh: Exit status: 1
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: command -v vmhgfs-fuse (sudo=false)
DEBUG ssh: Exit status: 1
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: PATH="/sbin:$PATH" lsmod | grep -i '^vmhgfs' (sudo=false)
DEBUG ssh: Exit status: 1
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: command -v vmhgfs-fuse (sudo=false)
DEBUG ssh: Exit status: 1
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: PATH="/sbin:$PATH" lsmod | grep -i '^vmhgfs' (sudo=false)
DEBUG ssh: Exit status: 1
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: command -v vmhgfs-fuse (sudo=false)
DEBUG ssh: Exit status: 1
 INFO ssh: Connection errored, not re-using. Will reconnect.
DEBUG ssh: #<Errno::ECONNRESET: Connection reset by peer - recvfrom(2)>
 INFO subprocess: Starting process: ["/Applications/VMware Fusion.app/Contents/Library/vmrun", "list"]
DEBUG subprocess: Command not in installer, not touching env vars.
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: Total running VMs: 2
/Users/stefan/.docker/machine/machines/dev/dev.vmx
/Users/stefan/code/plossys/vagrant/p50-ubuntu/.vagrant/machines/p50/vmware_fusion/e1e1a6e4-08b4-4760-9a0b-3363498b286a/ubuntu1404.vmx
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG vmware: VM state requested. Current state: running
 INFO vmware_driver: Reading an accessible IP for machine...
 INFO vmware_driver: Trying vmrun getGuestIPAddress...
 INFO subprocess: Starting process: ["/Applications/VMware Fusion.app/Contents/Library/vmrun", "getGuestIPAddress", "/Users/stefan/code/plossys/vagrant/p50-ubuntu/.vagrant/machines/p50/vmware_fusion/e1e1a6e4-08b4-4760-9a0b-3363498b286a/ubuntu1404.vmx"]
DEBUG subprocess: Command not in installer, not touching env vars.
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: Error: The VMware Tools are not running in the virtual machine: /Users/stefan/code/plossys/vagrant/p50-ubuntu/.vagrant/machines/p50/vmware_fusion/e1e1a6e4-08b4-4760-9a0b-3363498b286a/ubuntu1404.vmx
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 255
 INFO vmware_driver: vmrun getGuestIPAddress failed: VMRunError
 INFO vmware_driver: Reading VMX data...
DEBUG vmware_driver:   - .encoding = UTF-8
DEBUG vmware_driver:   - bios.bootorder = hdd,CDROM
DEBUG vmware_driver:   - checkpoint.vmstate = 
DEBUG vmware_driver:   - cleanshutdown = FALSE
DEBUG vmware_driver:   - config.version = 8
DEBUG vmware_driver:   - displayname = p50-ubuntu: p50
DEBUG vmware_driver:   - ehci.pcislotnumber = -1
DEBUG vmware_driver:   - ehci.present = FALSE
DEBUG vmware_driver:   - ethernet0.addresstype = generated
DEBUG vmware_driver:   - ethernet0.connectiontype = nat
DEBUG vmware_driver:   - ethernet0.present = TRUE
DEBUG vmware_driver:   - ethernet0.virtualdev = e1000
DEBUG vmware_driver:   - extendedconfigfile = ubuntu1404.vmxf
DEBUG vmware_driver:   - filesearchpath = .;/Users/stefan/.vagrant.d/boxes/boxcutter-VAGRANTSLASH-ubuntu1404/0/vmware_desktop
DEBUG vmware_driver:   - floppy0.present = FALSE
DEBUG vmware_driver:   - guestos = ubuntu-64
DEBUG vmware_driver:   - gui.fullscreenatpoweron = FALSE
DEBUG vmware_driver:   - gui.viewmodeatpoweron = windowed
DEBUG vmware_driver:   - hgfs.linkrootshare = TRUE
DEBUG vmware_driver:   - hgfs.maprootshare = TRUE
DEBUG vmware_driver:   - ide1:0.clientdevice = TRUE
DEBUG vmware_driver:   - ide1:0.devicetype = cdrom-raw
DEBUG vmware_driver:   - ide1:0.filename = auto detect
DEBUG vmware_driver:   - ide1:0.present = TRUE
DEBUG vmware_driver:   - ide1:0.startconnected = false
DEBUG vmware_driver:   - isolation.tools.hgfs.disable = FALSE
DEBUG vmware_driver:   - memsize = 2048
DEBUG vmware_driver:   - migrate.hostlog = ./ubuntu1404-3af0bd62.hlog
DEBUG vmware_driver:   - monitor.phys_bits_used = 40
DEBUG vmware_driver:   - msg.autoanswer = true
DEBUG vmware_driver:   - numa.autosize.cookie = 20001
DEBUG vmware_driver:   - numa.autosize.vcpu.maxpervirtualnode = 2
DEBUG vmware_driver:   - numvcpus = 2
DEBUG vmware_driver:   - nvram = ubuntu1404.nvram
DEBUG vmware_driver:   - pcibridge0.pcislotnumber = 17
DEBUG vmware_driver:   - pcibridge0.present = TRUE
DEBUG vmware_driver:   - pcibridge4.functions = 8
DEBUG vmware_driver:   - pcibridge4.pcislotnumber = 21
DEBUG vmware_driver:   - pcibridge4.present = TRUE
DEBUG vmware_driver:   - pcibridge4.virtualdev = pcieRootPort
DEBUG vmware_driver:   - pcibridge5.functions = 8
DEBUG vmware_driver:   - pcibridge5.pcislotnumber = 22
DEBUG vmware_driver:   - pcibridge5.present = TRUE
DEBUG vmware_driver:   - pcibridge5.virtualdev = pcieRootPort
DEBUG vmware_driver:   - pcibridge6.functions = 8
DEBUG vmware_driver:   - pcibridge6.pcislotnumber = 23
DEBUG vmware_driver:   - pcibridge6.present = TRUE
DEBUG vmware_driver:   - pcibridge6.virtualdev = pcieRootPort
DEBUG vmware_driver:   - pcibridge7.functions = 8
DEBUG vmware_driver:   - pcibridge7.pcislotnumber = 24
DEBUG vmware_driver:   - pcibridge7.present = TRUE
DEBUG vmware_driver:   - pcibridge7.virtualdev = pcieRootPort
DEBUG vmware_driver:   - policy.vm.mvmtid = 
DEBUG vmware_driver:   - powertype.poweroff = soft
DEBUG vmware_driver:   - powertype.poweron = soft
DEBUG vmware_driver:   - powertype.reset = soft
DEBUG vmware_driver:   - powertype.suspend = soft
DEBUG vmware_driver:   - proxyapps.publishtohost = FALSE
DEBUG vmware_driver:   - remotedisplay.vnc.enabled = FALSE
DEBUG vmware_driver:   - remotedisplay.vnc.port = 5965
DEBUG vmware_driver:   - replay.filename = 
DEBUG vmware_driver:   - replay.supported = FALSE
DEBUG vmware_driver:   - scsi0.pcislotnumber = 16
DEBUG vmware_driver:   - scsi0.present = TRUE
DEBUG vmware_driver:   - scsi0.virtualdev = lsilogic
DEBUG vmware_driver:   - scsi0:0.filename = disk-cl1.vmdk
DEBUG vmware_driver:   - scsi0:0.present = TRUE
DEBUG vmware_driver:   - scsi0:0.redo = 
DEBUG vmware_driver:   - sharedfolder.maxnum = 0
DEBUG vmware_driver:   - softpoweroff = FALSE
DEBUG vmware_driver:   - sound.startconnected = FALSE
DEBUG vmware_driver:   - tools.synctime = TRUE
DEBUG vmware_driver:   - tools.upgrade.policy = upgradeAtPowerCycle
DEBUG vmware_driver:   - usb.pcislotnumber = -1
DEBUG vmware_driver:   - usb.present = FALSE
DEBUG vmware_driver:   - uuid.action = create
DEBUG vmware_driver:   - uuid.bios = 56 4d f3 86 75 9f c6 34-f0 a0 c3 0a ef c5 f8 49
DEBUG vmware_driver:   - uuid.location = 56 4d f3 86 75 9f c6 34-f0 a0 c3 0a ef c5 f8 49
DEBUG vmware_driver:   - vc.uuid = 
DEBUG vmware_driver:   - virtualhw.productcompatibility = hosted
DEBUG vmware_driver:   - virtualhw.version = 9
DEBUG vmware_driver:   - vmci0.id = 1861462627
DEBUG vmware_driver:   - vmci0.pcislotnumber = 35
DEBUG vmware_driver:   - vmci0.present = TRUE
DEBUG vmware_driver:   - vmotion.checkpointfbsize = 88080384
DEBUG vmware_driver:   - ethernet0.pcislotnumber = 32
DEBUG vmware_driver:   - ethernet0.generatedaddress = 00:0c:29:c5:f8:49
DEBUG vmware_driver:   - ethernet0.generatedaddressoffset = 0
DEBUG vmware_driver: Trying to get MAC address for ethernet0
DEBUG vmware_driver: No explicitly set MAC, looking or auto-generated one...
DEBUG vmware_driver:  -- MAC: 00:0c:29:c5:f8:49
 INFO vmware_driver: Reading DHCP lease for '00:0c:29:c5:f8:49' on 'vmnet8'
 INFO vmware_driver: DHCP leases file: [#<Pathname:/var/db/vmware/vmnet-dhcpd-vmnet8.leases>, #<Pathname:/var/db/vmware/vmnet-dhcpd-vmnet8.leases~>]
 INFO dhcp_lease_file: Initialized DHCP helper: /var/db/vmware/vmnet-dhcpd-vmnet8.leases
 INFO dhcp_lease_file: Looking for IP for MAC: 00:0c:29:c5:f8:49
 INFO dhcp_lease_file:   - IP: 192.168.254.133
DEBUG ssh: Checking key permissions: /Users/stefan/code/plossys/vagrant/p50-ubuntu/.vagrant/machines/p50/vmware_fusion/private_key
 INFO ssh: Attempting SSH connection...
 INFO ssh: Attempting to connect to SSH...
 INFO ssh:   - Host: 192.168.254.133
 INFO ssh:   - Port: 22
 INFO ssh:   - Username: vagrant
 INFO ssh:   - Password? false
 INFO ssh:   - Key Path: ["/Users/stefan/code/plossys/vagrant/p50-ubuntu/.vagrant/machines/p50/vmware_fusion/private_key"]
DEBUG ssh: == Net-SSH connection debug-level log START ==
DEBUG ssh: D, [2016-06-07T08:53:33.553588 #42611] DEBUG -- net.ssh.transport.session[8050bb8c]: establishing connection to 192.168.254.133:22
D, [2016-06-07T08:53:33.554377 #42611] DEBUG -- net.ssh.transport.session[8050bb8c]: connection established
I, [2016-06-07T08:53:33.554466 #42611]  INFO -- net.ssh.transport.server_version[8050acc8]: negotiating protocol version
D, [2016-06-07T08:53:33.558663 #42611] DEBUG -- net.ssh.transport.server_version[8050acc8]: remote is `SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.7'
D, [2016-06-07T08:53:33.558876 #42611] DEBUG -- net.ssh.transport.server_version[8050acc8]: local is `SSH-2.0-Ruby/Net::SSH_3.0.2 universal.x86_64-darwin12.0'
D, [2016-06-07T08:53:33.559544 #42611] DEBUG -- socket[8050b4c0]: read 1648 bytes
D, [2016-06-07T08:53:33.559719 #42611] DEBUG -- socket[8050b4c0]: received packet nr 0 type 20 len 1644
I, [2016-06-07T08:53:33.559794 #42611]  INFO -- net.ssh.transport.algorithms[80507cf8]: got KEXINIT from server
I, [2016-06-07T08:53:33.559932 #42611]  INFO -- net.ssh.transport.algorithms[80507cf8]: sending KEXINIT
D, [2016-06-07T08:53:33.560187 #42611] DEBUG -- socket[8050b4c0]: queueing packet nr 0 type 20 len 1684
D, [2016-06-07T08:53:33.560257 #42611] DEBUG -- socket[8050b4c0]: sent 1688 bytes
I, [2016-06-07T08:53:33.560285 #42611]  INFO -- net.ssh.transport.algorithms[80507cf8]: negotiating algorithms
D, [2016-06-07T08:53:33.560429 #42611] DEBUG -- net.ssh.transport.algorithms[80507cf8]: negotiated:
* kex: diffie-hellman-group-exchange-sha1
* host_key: ssh-rsa
* encryption_server: aes128-cbc
* encryption_client: aes128-cbc
* hmac_client: hmac-sha1
* hmac_server: hmac-sha1
* compression_client: none
* compression_server: none
* language_client: 
* language_server: 
D, [2016-06-07T08:53:33.560529 #42611] DEBUG -- net.ssh.transport.algorithms[80507cf8]: exchanging keys
D, [2016-06-07T08:53:33.560717 #42611] DEBUG -- socket[8050b4c0]: queueing packet nr 1 type 34 len 20
D, [2016-06-07T08:53:33.560771 #42611] DEBUG -- socket[8050b4c0]: sent 24 bytes
D, [2016-06-07T08:53:33.561823 #42611] DEBUG -- socket[8050b4c0]: read 152 bytes
D, [2016-06-07T08:53:33.561898 #42611] DEBUG -- socket[8050b4c0]: received packet nr 1 type 31 len 148
D, [2016-06-07T08:53:33.563449 #42611] DEBUG -- socket[8050b4c0]: queueing packet nr 2 type 32 len 140
D, [2016-06-07T08:53:33.563511 #42611] DEBUG -- socket[8050b4c0]: sent 144 bytes
D, [2016-06-07T08:53:33.565178 #42611] DEBUG -- socket[8050b4c0]: read 720 bytes
D, [2016-06-07T08:53:33.565263 #42611] DEBUG -- socket[8050b4c0]: received packet nr 2 type 33 len 700
D, [2016-06-07T08:53:33.566151 #42611] DEBUG -- socket[8050b4c0]: queueing packet nr 3 type 21 len 20
D, [2016-06-07T08:53:33.566226 #42611] DEBUG -- socket[8050b4c0]: sent 24 bytes
D, [2016-06-07T08:53:33.566433 #42611] DEBUG -- socket[8050b4c0]: received packet nr 3 type 21 len 12
D, [2016-06-07T08:53:33.566759 #42611] DEBUG -- net.ssh.authentication.session[804ed100]: beginning authentication of `vagrant'
D, [2016-06-07T08:53:33.567089 #42611] DEBUG -- socket[8050b4c0]: queueing packet nr 4 type 5 len 28
D, [2016-06-07T08:53:33.567138 #42611] DEBUG -- socket[8050b4c0]: sent 52 bytes
D, [2016-06-07T08:53:33.606461 #42611] DEBUG -- socket[8050b4c0]: read 52 bytes
D, [2016-06-07T08:53:33.606733 #42611] DEBUG -- socket[8050b4c0]: received packet nr 4 type 6 len 28
D, [2016-06-07T08:53:33.606938 #42611] DEBUG -- net.ssh.authentication.session[804ed100]: trying none
D, [2016-06-07T08:53:33.607189 #42611] DEBUG -- socket[8050b4c0]: queueing packet nr 5 type 50 len 44
D, [2016-06-07T08:53:33.607309 #42611] DEBUG -- socket[8050b4c0]: sent 68 bytes
D, [2016-06-07T08:53:33.607949 #42611] DEBUG -- socket[8050b4c0]: read 68 bytes
D, [2016-06-07T08:53:33.608082 #42611] DEBUG -- socket[8050b4c0]: received packet nr 5 type 51 len 44
D, [2016-06-07T08:53:33.608293 #42611] DEBUG -- net.ssh.authentication.session[804ed100]: allowed methods: publickey,password
D, [2016-06-07T08:53:33.608378 #42611] DEBUG -- net.ssh.authentication.methods.none[80e9cfe8]: none failed
D, [2016-06-07T08:53:33.608467 #42611] DEBUG -- net.ssh.authentication.session[804ed100]: trying publickey
D, [2016-06-07T08:53:33.608827 #42611] DEBUG -- net.ssh.authentication.agent[80e993c0]: connecting to ssh-agent
D, [2016-06-07T08:53:33.608967 #42611] DEBUG -- net.ssh.authentication.agent[80e993c0]: sending agent request 1 len 59
D, [2016-06-07T08:53:33.609100 #42611] DEBUG -- net.ssh.authentication.agent[80e993c0]: received agent packet 2 len 5
D, [2016-06-07T08:53:33.609171 #42611] DEBUG -- net.ssh.authentication.agent[80e993c0]: sending agent request 11 len 0
D, [2016-06-07T08:53:33.609348 #42611] DEBUG -- net.ssh.authentication.agent[80e993c0]: received agent packet 12 len 607
D, [2016-06-07T08:53:33.609870 #42611] DEBUG -- net.ssh.authentication.methods.publickey[80e996cc]: trying publickey (65:14:d6:48:cf:9e:d1:c6:8f:77:76:7d:4c:4c:ad:9a)
D, [2016-06-07T08:53:33.610062 #42611] DEBUG -- socket[8050b4c0]: queueing packet nr 6 type 50 len 348
D, [2016-06-07T08:53:33.610255 #42611] DEBUG -- socket[8050b4c0]: sent 372 bytes
D, [2016-06-07T08:53:33.610754 #42611] DEBUG -- socket[8050b4c0]: read 324 bytes
D, [2016-06-07T08:53:33.610872 #42611] DEBUG -- socket[8050b4c0]: received packet nr 6 type 60 len 300
D, [2016-06-07T08:53:33.612857 #42611] DEBUG -- socket[8050b4c0]: queueing packet nr 7 type 50 len 620
D, [2016-06-07T08:53:33.612935 #42611] DEBUG -- socket[8050b4c0]: sent 644 bytes
D, [2016-06-07T08:53:33.613819 #42611] DEBUG -- socket[8050b4c0]: read 36 bytes
D, [2016-06-07T08:53:33.613933 #42611] DEBUG -- socket[8050b4c0]: received packet nr 7 type 52 len 12
D, [2016-06-07T08:53:33.613998 #42611] DEBUG -- net.ssh.authentication.methods.publickey[80e996cc]: publickey succeeded (65:14:d6:48:cf:9e:d1:c6:8f:77:76:7d:4c:4c:ad:9a)

DEBUG ssh: == Net-SSH connection debug-level log END ==
 INFO ssh: Execute: PATH="/sbin:$PATH" lsmod | grep -i '^vmhgfs' (sudo=false)
DEBUG ssh: Exit status: 1
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: command -v vmhgfs-fuse (sudo=false)
DEBUG ssh: Exit status: 1

@annawake
Copy link
Contributor

annawake commented Jun 7, 2016

Yes, the Ubuntu 14.04 images still don't work with VMware. I tried the obvious permutations just to see if it helped - flipped on/off install_open_vm_tools and on/off the en33 workaround in cleanup - didn't help.

It could be the VMware plugin and/or that 14.04.4 ships with an updated kernel that might not be expected. I dunno.

@cbednarski
Copy link

@StefanScherer I have not updated my 14.04 image to use open-vm-tools yet. I have an old version based on 14.04.3 that still uses the proprietary installer and has an old enough kernel that the VMware installer still works. I will send you a note if I have a chance to take a look at this.

@StefanScherer
Copy link
Contributor Author

@annawake Thanks for confirming. @cbednarski Thanks for the details. For my local boxes I'll switch to 16.04 as it works now and I'm glad that the vagrant plugin works with VMware again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants