Vagrant up fails for VMware workstation #1757

Closed
thasmo opened this Issue May 22, 2013 · 14 comments

Comments

Projects
None yet
3 participants
@thasmo

thasmo commented May 22, 2013

"vagrant up" (1.2.2) with the vmware_workstation provider (VMware Workstation 9) running on Windows 7 64bit, using Cygwin, fails. Here's the debug log:
https://gist.github.com/Thasmo/12f88c7b1025aa5f2c32

I've downloaded your precise64 machine for vmware_fusion and just renamed the directory to vmware_workstation.

Any idea why this fails? Is it time for a new shiny 1.2.3? :D

@mitchellh

This comment has been minimized.

Show comment Hide comment
@mitchellh

mitchellh May 22, 2013

Member

Oh wow, this looks incredibly annoying (anything that mentions character encodings... gonna have a bad time).

I've never seen this. But I'll take a look.

Member

mitchellh commented May 22, 2013

Oh wow, this looks incredibly annoying (anything that mentions character encodings... gonna have a bad time).

I've never seen this. But I'll take a look.

@thasmo

This comment has been minimized.

Show comment Hide comment
@thasmo

thasmo May 22, 2013

Sure, thanks! If you have any questions or need any data just ask - I'm happy to help out!

thasmo commented May 22, 2013

Sure, thanks! If you have any questions or need any data just ask - I'm happy to help out!

@thasmo

This comment has been minimized.

Show comment Hide comment
@thasmo

thasmo May 24, 2013

Don't wanna stress, but do you have any estimation when you got time to have a look at this particular problem? Would be awesome if I get a box running with VMware before the 30 days trial are over. Thank you!

thasmo commented May 24, 2013

Don't wanna stress, but do you have any estimation when you got time to have a look at this particular problem? Would be awesome if I get a box running with VMware before the 30 days trial are over. Thank you!

@thasmo

This comment has been minimized.

Show comment Hide comment
@thasmo

thasmo Jun 8, 2013

Changed my username to lowercase and it seems gists are not redirected, so here's the link to the gist once more:
https://gist.github.com/thasmo/12f88c7b1025aa5f2c32

thasmo commented Jun 8, 2013

Changed my username to lowercase and it seems gists are not redirected, so here's the link to the gist once more:
https://gist.github.com/thasmo/12f88c7b1025aa5f2c32

@mitchellh

This comment has been minimized.

Show comment Hide comment
@mitchellh

mitchellh Jun 9, 2013

Member

I looked into this further and have some bad news. It really looks like this is actually a bug with Ruby itself. The VMware provider iterates over some keys in your registry, and INSIDE these methods (not in the code I write), it is actually getting this exception. Oy! I'm really sorry to tell you this.

If this makes the Workstation plugin unusable I'm happy to refund you. Otherwise, please report this to Ruby. Sad.

Member

mitchellh commented Jun 9, 2013

I looked into this further and have some bad news. It really looks like this is actually a bug with Ruby itself. The VMware provider iterates over some keys in your registry, and INSIDE these methods (not in the code I write), it is actually getting this exception. Oy! I'm really sorry to tell you this.

If this makes the Workstation plugin unusable I'm happy to refund you. Otherwise, please report this to Ruby. Sad.

@mitchellh mitchellh closed this Jun 9, 2013

@thasmo

This comment has been minimized.

Show comment Hide comment
@thasmo

thasmo Jun 9, 2013

I see. I'd really like to test VMware for shared folder performance because VirtualBox is really bad at it and that's a reason we probably won't use it in our agency. Is it possible to change the ruby version? Could you maybe send me the error trace/log/message so I can get in contact with the ruby guys by filing a bug ticket? Any idea what else I could try to just test out VMware + Vagrant + Shared folder performance? Thanks!

thasmo commented Jun 9, 2013

I see. I'd really like to test VMware for shared folder performance because VirtualBox is really bad at it and that's a reason we probably won't use it in our agency. Is it possible to change the ruby version? Could you maybe send me the error trace/log/message so I can get in contact with the ruby guys by filing a bug ticket? Any idea what else I could try to just test out VMware + Vagrant + Shared folder performance? Thanks!

@mitchellh

This comment has been minimized.

Show comment Hide comment
@mitchellh

mitchellh Jun 9, 2013

Member

The error is actually in your trace. You just have to show that it is in the Windows registry code (which it is)

Member

mitchellh commented Jun 9, 2013

The error is actually in your trace. You just have to show that it is in the Windows registry code (which it is)

@thasmo

This comment has been minimized.

Show comment Hide comment
@thasmo

thasmo Jun 9, 2013

Ah, sure. Thanks - I've opened a ticket:
https://bugs.ruby-lang.org/issues/8508

thasmo commented Jun 9, 2013

Ah, sure. Thanks - I've opened a ticket:
https://bugs.ruby-lang.org/issues/8508

@luislavena

This comment has been minimized.

Show comment Hide comment
@luislavena

luislavena Jun 10, 2013

@thasmo can you try from outside the cygwin console the following command?

chcp

And tell us the outcome?

Also, have you tried starting up (vagrant up) outside Cygwin? what are the results?

@thasmo can you try from outside the cygwin console the following command?

chcp

And tell us the outcome?

Also, have you tried starting up (vagrant up) outside Cygwin? what are the results?

@thasmo

This comment has been minimized.

Show comment Hide comment
@thasmo

thasmo Jun 10, 2013

The output on cmd.exe is:

Aktive Codepage: 850.

I will try vagrant up on cmd.exe later, will report back.

thasmo commented Jun 10, 2013

The output on cmd.exe is:

Aktive Codepage: 850.

I will try vagrant up on cmd.exe later, will report back.

@thasmo

This comment has been minimized.

Show comment Hide comment
@thasmo

thasmo Jun 10, 2013

Btw. same output using Cygwin on mintty.exe.

thasmo commented Jun 10, 2013

Btw. same output using Cygwin on mintty.exe.

@thasmo

This comment has been minimized.

Show comment Hide comment
@thasmo

thasmo Jun 11, 2013

As I now replied here (https://bugs.ruby-lang.org/issues/8508) it seems
that this only happens in the Cygwin environment but not on cmd.exe.

Any idea why this fails on mintty.exe in the Cygwin environment?

thasmo commented Jun 11, 2013

As I now replied here (https://bugs.ruby-lang.org/issues/8508) it seems
that this only happens in the Cygwin environment but not on cmd.exe.

Any idea why this fails on mintty.exe in the Cygwin environment?

@thasmo

This comment has been minimized.

Show comment Hide comment
@thasmo

thasmo Jul 28, 2013

Hey, the awesome ruby guys fixed the bug.
https://bugs.ruby-lang.org/issues/8508

Any chance to get this somehow incorporated?
Would you mind reopening if it makes sense?

Thanks a lot!

thasmo commented Jul 28, 2013

Hey, the awesome ruby guys fixed the bug.
https://bugs.ruby-lang.org/issues/8508

Any chance to get this somehow incorporated?
Would you mind reopening if it makes sense?

Thanks a lot!

@mitchellh

This comment has been minimized.

Show comment Hide comment
@mitchellh

mitchellh Jul 29, 2013

Member

@thasmo Awesome! It looks like this fix isn't in any released version of Ruby yet. We'll have to wait for Ruby to cut a new release before you can see these changes.

Member

mitchellh commented Jul 29, 2013

@thasmo Awesome! It looks like this fix isn't in any released version of Ruby yet. We'll have to wait for Ruby to cut a new release before you can see these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment