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

Extension renaming does not work correctly on Windows #834

Open
roborourke opened this issue Sep 18, 2020 · 2 comments
Open

Extension renaming does not work correctly on Windows #834

roborourke opened this issue Sep 18, 2020 · 2 comments
Labels

Comments

@roborourke
Copy link
Contributor

When running vagrant up or provisioning for the first time the expected file paths for extensions on Windows are reported incorrectly, this results in an error stating that Puppet was unable to create symlinks for extension manifest files eg:

ln: creating symbolic link `/vagrant/puppet/manifests/chassis_redis.pp': Protocol error

I'm not 100% sure why this happens but it could be due to the extension renaming code attempting to lowercase directory paths even on case insensitive systems like Windows.

  1. What operating system do you use?

Windows 10 Enterprise

  1. What version of Vagrant are you running?

2.2

  1. Are you using VirtualBox or VMWare and which version are you using?

VirtualBox v6

  1. Do you have a custom YAML file? If so, what does it contain?
    (Please paste in your chassis.local.yaml file)

  2. Do you have any Chassis other extensions installed? If so, what are they?

Altis platform extension

@roborourke roborourke added the Bug label Sep 18, 2020
@BronsonQuick
Copy link
Member

On Windows by default only administrators can create symlinks. I think if you start VirtualBox or the terminal as administrator you won't hit this issue? I can't confirm as I don't have a Windows machine anymore ☠️

@roborourke
Copy link
Contributor Author

@BronsonQuick for a bit more context the developers hitting this issue can only run gitbash in "elevated privileges" mode, they can't do anything as administrator so we're a bit hamstrung there if that's the case. Either way the extension paths get reported incorrectly and Chassis seems to try and clone down the extensions every time.

I think the symlinks are being created but we have an additional bug in Altis Local Chassis as a result of running vagrant commands via a PHP process. That's a separate issue though.

Cheers for the input but no expectation for you to jump in and fix this one, it's on us.

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

No branches or pull requests

2 participants