https://rancher.com/ logo
#harvester
Title
# harvester
s

stale-painting-80203

10/25/2022, 8:26 PM
Anyone know where harvester stores the downloaded images used to deploy VMs? I would like to manually pull in an image from another server to harvester server
File upload does not work in release 1.0.3 and on my Harvester it does not show upgrade on dashboard. In Harvester settings my upgrade URL is https://releases.rancher.com/harvester. In the browser this returns
Copy code
Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
</Error>
g

great-bear-19718

10/26/2022, 1:54 AM
Is this the VM for upgrade?
w

witty-jelly-95845

10/26/2022, 7:43 AM
By "File upload" do you mean from a file on your desktop or a URL to pull from a website? Personally I prefer to upload files via web as quicker and more reliable - on Linux you can run "python3 -m http.server" in a directory to publish that directory to the web (locally) which you can then use as source.
a

ancient-pizza-13099

10/26/2022, 8:46 AM
Harvester uses Longhorn as CSI, the image is stored in Longhorn Volume. It is not plain Linux file, you may not operate directly via shell command.
When you want to test upgrade via provisioning ISO locally, then:
Start an http server in your PC or anywhere the Harvester cluster can reach, which serve the ISO image. And
kubectl apply -f
following file to guide Harvester to kick off the upgrade.
Copy code
cat > v110test.yaml << 'EOF'
apiVersion: <http://harvesterhci.io/v1beta1|harvesterhci.io/v1beta1>
kind: Version
metadata:
  name: v1.1.0
  namespace: harvester-system
spec:
  isoChecksum: d5e7c152c5ca9e8f71918ee90dd94b46ab79b73d8d71bfc6732d70c16c9786baf2f2c32186f269851c4838b344435e5277057132cdc56dba75df797c5a387fa1
  isoURL: <http://192.168.122.101:8000/h-fix2931-1810.iso>  # change to local ISO URL
  releaseDate: '20221018'
EOF
s

stale-painting-80203

10/26/2022, 4:42 PM
I was looking to to scp an ISO to the server, but now I understand that's not possible. Now that 1.1.0 has been updated on the responder by the Harvester team, I see an upgrade button, so I will use that to upgrade and then try the Upload as the File since upload bug has been fixed in 1.1.0. Thanks for your help above.
I upgraded my server to 1.1.0 and I was able to upload an image. Verified that the https://github.com/harvester/harvester/issues/1415 is fixed in 1.1.0
53 Views