Comments (4)
Hi @12devsilva12,
First of all, thanks for your input on this. Could you please post the command you used and confirm you are running it from project's root folder? I suspect you are running the script in such a way the initialization script cannot be found.
Keep in mind this command cat resources/vm/setup_farmvibes_ai_vm.sh
must prompt the initialization script to successfully create and initialize the VM. You will probably need to select another deployment_name
or delete the previous one before creating a new VM.
Please, let me know if you had success on this....
Best Regards.
from farmvibes-ai.
Thanks for the help! Below is the command I used and yes I am running it from the root of the project's root folder. Still getting the same error as above @brsilvarec. Any ideas?
az deployment group create --resource-group terradot \
--name dev2\
--template-file resources/vm/farmvibes_ai_vm.bicep \
--parameters \
ssh_public_key="$(cat ~/.ssh/id_rsa.pub)" \
vm_suffix_name=terra \
encoded_script="$(cat resources/vm/setup_farmvibes_ai_vm.sh | gzip -9 | base64 -w0)"
If helpful also getting following warning, not sure if related:
base64: invalid argument -w0
from farmvibes-ai.
It seems your base64 script is getting problems to translate the setup_farmvibes_ai_vm.sh
into base64 format. az cli expects a encoded_script
parameter just like the following output.
(/datadrive/conda-env/dev-vibes) ╭─azureuser@eywa-bruno-dev /datadrive/demo/farmvibes-ai ‹main›
╰─➤ cat resources/vm/setup_farmvibes_ai_vm.sh | gzip -9 | base64 -w0
H4sIAAAAAAACA41Ty05bMRDd36+Yhixg4bgSO0oq0SYg1IpUAVYURb725GYUx3b9AEJbqb/R3+uX1L5JIG2qipXteZw5c2a894rXZHgtwqyq9uDaKRERhItVSMqWC6TWVrznJkShNTS05aZnI7Dldphbxpk1FT446yMMhu/OTy4mp+PRxdXwYtA31pCJ6IWMdIe7eKvsw/XJKLA/LYfMkfurorJyjh4UOjQKjSQMu8BSMIk+0pRk7itAY5JrQIeaedQoAq5BT5SCQQv468fPAHaaE0hoOPt0BnNcHq2QF3NFHpgDjlHyXIdnnyfThEomr4FNw+VHmMXowhHnyt4bbYXqrZj2pF1wTSY98FQnExNvMpVv0CKXK2MKhV/YXMHuVuBrlBxZCAcsw4I4Q/DobKBo/bIHV/k9JR8i5GoLYRRIj23nJTLY5CWCpuxHE/0Sqv0qCwPHxzAcnVaQ1azhRng563f3lZsXUi6Xj6zYKKKMyeMBfM6hgRqDitXL/v+43raxL5WkDe7u5/lMnuYjwwHkYdYaoSokDzaaRcRnmVathV7prac2BNpO3wJXeMdN0vof+4OmIYM7P2Bnk1bheZueb0xqyjqbKDKCVz2y620a1cW0qZAC+oqmcAOd7vD6fNABhl/gNdy+KUMxuePNrxm9/zAcT64vh+N+p/t163nEOuIxK1+gOt87FeqAL8vrliNnTKkQG6cnVveUP1aKrZSrbgv4wipg4mwT1N3Cqn4DTRWg3z8EAAA=%
Are you getting an output similar to this one?
What is your version of base64? Perharps your are using a outdated version...
(/datadrive/conda-env/dev-vibes) ╭─azureuser@eywa-bruno-dev /datadrive/TerraVibes ‹brunosilva/rm-output-handler*›
╰─➤ base64 --version 130 ↵
base64 (GNU coreutils) 8.30
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Simon Josefsson.
Please, also try to update your az cli (instructions here)
from farmvibes-ai.
Thanks for the advice! I am running this from a Mac, so the base64 has a different set of flags. https://stackoverflow.com/questions/46463027/base64-doesnt-have-w-option-in-mac this helped clarify and fixed my error by switching the command to just base64
. Thanks!
from farmvibes-ai.
Related Issues (20)
- Download always fails in sentinel/spectral_indices notebook HOT 6
- Install ERROR during pip install ./src/vibe_core HOT 2
- Error with weed_detection workflow. Are there requirements for nput raster and boundary shapefile?
- Error installing env.yaml file via Conda HOT 10
- How to choose? Local setup on VM vs Remote AKS cluster? HOT 2
- Error during weed_detection_env.yaml setup HOT 3
- Error running basemap_segmentation workflow - sam_inference failed HOT 4
- remote add-secret doesn’t work correctly
- How to deploy Farm vibes on Existing on-premises OpenShift or Kubernetes cluster HOT 1
- What-if scenario evaluation for carbon sequestration notebook HOT 12
- Unable to export SAM models to cluster due to missing file `scripts/export_sam_models.py`
- Facing errors in Land degradation notebook run with different geometry. HOT 2
- Unable to run the irrigation_classification notebook HOT 4
- farmvibes-ai local setup HOT 7
- PyTorch "Undefined symbol" error when importing SAM ONNX models to cluster HOT 7
- Irrigation classification notebook training data HOT 1
- Issue with SpaceEye Pipeline Stalling on Rerun HOT 6
- Setup - Unable to setup via pip on Windows machine and few other installation questions HOT 6
- Error with any ADMA related notebook execution. Why is it looking for harvest data? HOT 13
- Unable to update cluster with new vibe_core code. HOT 6
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 farmvibes-ai.