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
From research in #249 and experimentation with the scripts, it seems that fission-workflows doesn't work with the newer fission version 1.0.0
Reproduction Steps
The following script reproduces the issue. Ensure you have the following requirements satisfied for this to work first.
Requirements
Linux x64 main host (change the fission binary downloaded if your OS differs)
Clone this repo and run this in the root directory (that way the examples can be referenced)
Start a fresh minikube VM. I ran minikube start --vm-driver kvm2 --cpus=4 --memory 5000
Package Requirements
minikube >= v0.34.1
helm >= v2.13.0
kubernetes / kubectl >= v1.13.3
wget
curl
#!/bin/bash
minikube addons configure registry-creds
minikube addons enable registry-creds
wget https://github.com/fission/fission/releases/download/1.0.0/fission-cli-linux
chmod +x ./fission-cli-linux
helm init
helm repo add fission-charts https://fission.github.io/fission-charts/
helm repo update
# wait for everything to sync up... just to be safe
sleep 60
helm install --wait -n fission-all --namespace fission --set serviceType=NodePort --set analytics=false fission-charts/fission-all --version 1.0.0
# wait for everything to sync up... just to be safe
sleep 120
helm install --wait -n fission-workflows fission-charts/fission-workflows --version 0.6.0
# wait for everything to sync up... just to be safe
sleep 120
export FISSION_ROUTER=$(minikube ip):$(kubectl -n fission get svc router -o jsonpath='{...nodePort}')# Readme instructions
./fission-cli-linux env create --name binary --image fission/binary-env
./fission-cli-linux functioncreate --name whalesay --env binary --deploy examples/whales/whalesay.sh
./fission-cli-linux functioncreate --name fortune --env binary --deploy examples/whales/fortune.sh
./fission-cli-linux functioncreate --name fortunewhale --env workflow --src examples/whales/fortunewhale.wf.yaml
./fission-cli-linux route create --method GET --url /fortunewhale --function fortunewhale
sleep 5
curl $FISSION_ROUTER/fortunewhale
Resolution
Probably just needs some debugging to understand what has changed in fission that is now breaking fission-workflows. My guess is that some of the APIs have changed what data they return (schema changes). Not really sure though.
The text was updated successfully, but these errors were encountered:
erwinvaneyk
changed the title
fission-workflows doesn't work with fission >=1.0.0
fission-workflows doesn't work with fission >=1.0.0 on Minikube
Mar 26, 2019
I just faced this myself. Actually I think the only problem is in the documentation. Replace the "--deploy" flag in the instructions with "--code", and it seems to work. E.g.
fission function create --name whalesay --env binary --code examples/whales/whalesay.sh
fission function create --name fortune --env binary --code examples/whales/fortune.sh
However, is this project dead? No releases for over a year.
Summary
From research in #249 and experimentation with the scripts, it seems that
fission-workflows
doesn't work with the newerfission
version 1.0.0Reproduction Steps
The following script reproduces the issue. Ensure you have the following requirements satisfied for this to work first.
Requirements
minikube start --vm-driver kvm2 --cpus=4 --memory 5000
Package Requirements
v0.34.1
v2.13.0
v1.13.3
Resolution
Probably just needs some debugging to understand what has changed in
fission
that is now breakingfission-workflows
. My guess is that some of the APIs have changed what data they return (schema changes). Not really sure though.The text was updated successfully, but these errors were encountered: