Skip to content

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

@freeqaz

Description

@freeqaz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions