Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fission-workflows doesn't work with fission >=1.0.0 on Minikube #250

Open
freeqaz opened this issue Mar 6, 2019 · 3 comments
Open

fission-workflows doesn't work with fission >=1.0.0 on Minikube #250

freeqaz opened this issue Mar 6, 2019 · 3 comments

Comments

@freeqaz
Copy link

freeqaz commented Mar 6, 2019

Summary

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 function create --name whalesay --env binary --deploy examples/whales/whalesay.sh
./fission-cli-linux function create --name fortune --env binary --deploy examples/whales/fortune.sh
./fission-cli-linux function create --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.

@erwinvaneyk 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
@mrkswrnr
Copy link

Any news on this?

@zucher
Copy link

zucher commented Jan 7, 2020

Hi should we concider fission-workflow will never more works on minikube ? In development phase such env is pretty nice !

@kraney
Copy link

kraney commented Jan 7, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants