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

Please Create New Release for better Vagrant 1.6+ Compatibility #125

Closed
tknerr opened this issue Dec 22, 2014 · 3 comments
Closed

Please Create New Release for better Vagrant 1.6+ Compatibility #125

tknerr opened this issue Dec 22, 2014 · 3 comments

Comments

@tknerr
Copy link
Contributor

tknerr commented Dec 22, 2014

Just stumbled across hard to track down ssh connection timeouts while trying to get kitchenci run on a Hyper-V build worker.

I was under the definitive impression that I was using a 32-bit box. My .kitchen.yml here:

driver_plugin: vagrant
platforms:
- name: ubuntu-12.04
  driver_config:
    box: chef/ubuntu-12.04-i386

However, as of 0.15.0 the default_box_url is ALWAYS generated:
https://github.com/test-kitchen/kitchen-vagrant/blob/v0.15.0/lib/kitchen/driver/vagrant.rb#L108-114

In my case it would use the platform.instance.name as a basis and thus I was getting the 64 bit box rahter than the chef/ubuntu-12.04-i386 box I specified in the driver config.

In master there is a fix to make the above example work as expected with Vagrant 1.6+ where only the box name is needed:
https://github.com/test-kitchen/kitchen-vagrant/blob/master/lib/kitchen/driver/vagrant.rb#L115-L116

It would be awesome if this would go into a kitchen-vagrant release, since vagrant 1.6 is out for quite a while already. Any plans for the next (0.16.0?) release already?

@tknerr
Copy link
Contributor Author

tknerr commented Jan 16, 2015

@fnichol @sethvargo mind pushing a new kitchen-vagrant release as well while you're at it?

@tknerr
Copy link
Contributor Author

tknerr commented Feb 3, 2015

just another issue that the 0.15.0 behaviour (i.e. the need to specify both box + box_url for atlas hosted boxes) causes is that the box version is always reported as 0:

W:\>vagrant box list
chef/ubuntu-12.04-i386 (virtualbox, 0)
chef/ubuntu-14.04      (virtualbox, 0)

(these boxes were downloaded / added as part of a kitchenci w/ kitchen-vagrant 0.15.0 run)

I we could use the "$account/$boxname" syntax that came with vagrant 1.6 this would work properly with box versioning too...

@fnichol
Copy link
Contributor

fnichol commented Mar 23, 2015

Okay, 0.16.0 released!

@fnichol fnichol closed this as completed Mar 23, 2015
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

No branches or pull requests

2 participants