You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When starting minimega with the flags -hashfiles -headnode=xxxx on a multi-node deployment, minimega will not pull files across the minimega mesh specified by -filepath=<filepath>.
To Reproduce
Steps to reproduce the behavior:
Deploy minimega on n1 and n2 with flags -hashfiles -headnode=n1
Start a KVM instance on n2 (not the headnode) and run miniccc on the VM
Create a file on the headnode in the filepath directory <filepath>/foobar
Try to send a file via miniccc using minimega -e cc send <filepath>/foobar
Expected behavior
The file should be sent successfully to the VM running on n2 by first pulling the file to n2 over the mesh.
Hmm I just tried this and it seemed to work as expected? Followed the steps you gave above, plus mesh dial n1 on n2 since otherwise mesh list was empty.
Here's the output (on n2). Confirmed the file was on the VM as expected.
minimega[minimega]$ cc send <FILE>
2024/10/14 22:46:18 INFO iomeshage.go:268: found file on <N1> with 1 parts
2024/10/14 22:46:18 INFO iomeshage.go:235: waiting on file: <FILE>
2024/10/14 22:46:18 INFO iomeshage.go:247: iomHelper waiting on <FILE>: 0/1
2024/10/14 22:46:18 INFO iomeshage.go:460: got all parts for <FILE>
2024/10/14 22:46:18 INFO iomeshage.go:247: iomHelper waiting on <FILE>: 1/1
2024/10/14 22:46:18 INFO iomeshage.go:247: iomHelper waiting on <FILE>: 1/1
2024/10/14 22:46:18 INFO iomeshage.go:247: iomHelper waiting on <FILE>: 1/1
2024/10/14 22:46:18 INFO iomeshage.go:247: iomHelper waiting on <FILE>: 1/1
2024/10/14 22:46:18 INFO iomeshage.go:247: iomHelper waiting on <FILE>: 1/1
2024/10/14 22:46:19 INFO server.go:989: send /tmp/minimega/files/<FILE>, rel: <FILE>
Describe your environment
Describe the bug
When starting minimega with the flags
-hashfiles -headnode=xxxx
on a multi-node deployment, minimega will not pull files across the minimega mesh specified by-filepath=<filepath>
.To Reproduce
Steps to reproduce the behavior:
-hashfiles -headnode=n1
n2
(not the headnode) and run miniccc on the VM<filepath>/foobar
minimega -e cc send <filepath>/foobar
Expected behavior
The file should be sent successfully to the VM running on
n2
by first pulling the file ton2
over the mesh.@activeshadow
The text was updated successfully, but these errors were encountered: