Comments (6)
PS: this is with vagrant 2.2.3 and VirtualBox 5.2.26 (the latter shouldn't matter assuming that this is done via scp rather than VirtualBox's file uploading mechanism).
from robox.
@vohi I did some digging and couldn't find any changes in the build scripts between 1.8.54 and 1.9.2 that would cause this. However, each new box version includes distro updates, and there was a recent update to the OpenSSH package that appears to match your error message:
http://salsa.debian.org/ssh-team/openssh/commits/master
Specifically the following commits:
https://salsa.debian.org/ssh-team/openssh/commit/125924e47db3713a85a70e0f8d6c23818d2ea054
https://salsa.debian.org/ssh-team/openssh/commit/f3357d7941c5ccc3d772e4461b1e2d137909670b
It would take more digging, but assuming the OpenSSH patch is valid, I'm guessing the bug lies with the Vagrant net-ssh package, and how it is sending directory names.
I'll leave this issue open for now, but you probably want to open up linked bug reports with Vagrant and the Debian SSH team.
from robox.
I did a little testing, and found this combination worked for me. Assuming the directory being uploaded is "scripts" and you want to upload it to the default, "/home/vagrant/":
find scripts/ -type d -exec vagrant ssh -c 'mkdir -p {}' \;
find scripts/ -type f -exec vagrant upload {} \;
Basically scp
fails if it's asked to upload to a path that doesn't exist at the destination, so the first command creates all of the necessary subdirectories, and the second uploads each file to the right place.
from robox.
Thanks a bunch @ladar! I'll work around this for now in my script, and have opened a ticket with the Vagrant project.
from robox.
@vohi this Vagrant pull request claims to have fixed this issue, and the upstream bug is closed. Can you test? Unless I hear otherwise from you, I'll assume it's safe to close this issue.
from robox.
Not going to be able to run vagrant from upstream for a while, but fix looks like it would address this issue. Either way, ok to close this issue since there's nothing wrong with the boxes.
from robox.
Related Issues (20)
- Cloud-Init support
- Alpine 3.18 vagrant hyper-v box request. HOT 4
- Cannot SHH into OpenBSD Using Private Key Only
- openSUSE 15.5 released HOT 1
- Lavabit.com requesting refund
- generic/ubuntu2004 fails to install NFS client for synced_folders HOT 1
- rocky 9 - authconfig replaced by authselect in kickstart config HOT 1
- generic/debian boxes have fixed DNS servers when used in Vagrant with libvirt HOT 4
- debian9 box (4.3.0): non-working security apt source HOT 6
- checksum error in vagrant box download of generic/freebsd13 HOT 2
- set MIN_REQUIRED_VAGRANT_VERSION? HOT 4
- Ubuntu 22.04 initial up - systemd-networkd timeout (additional networks) HOT 1
- Several setup tasks not executed for fedora38|39 with provider vmware HOT 1
- Alpine libvirt boxes don't boot
- Request: maestro box
- apt-get upgrade on Ubuntu 20.04 box fails because there is not enough space in /boot
- netplan produces warnings on Ubuntu 22.04
- netbsd 10 box, please enable extended attributes
- freebsd14 box, please enable ACLs
- The alpine319 box for libvirt has the repository for alpine 3.18 configured. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robox.