Comments (7)
getting the same issue here.
EDIT:
I actually fixed it by creating the env/function in another namespace than fission, like default for example.
from fission.
I will try this out.
from fission.
Kindly tryout latest release https://github.com/fission/fission/releases/tag/v1.20.0-rc2
from fission.
Same on my side, followed tutorial
➜ fission function test --name hello-py
Error: Error calling function hello-py: 404; Please try again or fix the error: 404 page not found
Error: Error getting function logs from controller: error executing get logs request: no active pods found. Try to get logs from log database.
Warning: version<1.18 used fission-function as pod's default namespace. Specify appropriate namespace with --pod-namespace tag or export an environment variable for function-namespace FUNCTION_NAMESPACE
Options:
--name='' Function name
--method=[GET] HTTP Methods: GET,POST,PUT,DELETE,HEAD. To mention single method: --method GET
and for multiple methods --method GET --method POST. [DEPRECATED for 'fn create',
use 'route create' instead]
--header=[] (-H) Request headers
--body='' (-b) Request body
--query=[] (-q) Request query parameters: -q key1=value1 -q key2=value2
--timeout=1m0s (-t) Length of time to wait for the response. If set to zero or negative number, no
timeout is set
--dbtype='kubernetes' Log database type, e.g. influxdb (currently influxdb and kubernetes logs are
supported)
--subpath='' Sub Path to check if function internally supports routing
Global Options:
--server='' Server URL
--verbosity=1 (-v) CLI verbosity (0 is quiet, 1 is the default, 2 is verbose)
--kube-context='' Kubernetes context to be used for the execution of Fission commands
--namespace='' (-n) If present, the namespace scope for this CLI request
Usage:
fission function test [options]
Error: error getting function response
✗ fission check
fission-services
--------------------
√ executor is running fine
√ router is running fine
√ storagesvc is running fine
√ webhook is running fine
fission-version
--------------------
√ fission is up-to-date
➜ kgpo
NAME READY STATUS RESTARTS AGE
buildermgr-55c97d5ccf-4ntf6 1/1 Running 0 61m
executor-6b55bb598c-ph2zz 1/1 Running 0 61m
kubewatcher-546bb56c54-kncpt 1/1 Running 0 61m
mqtrigger-keda-8595bc96f-4r988 1/1 Running 0 61m
router-5896d48fc5-574gv 1/1 Running 0 61m
storagesvc-56f446767b-j6mns 1/1 Running 0 61m
timer-7ff4bf79b8-m8kgs 1/1 Running 0 61m
webhook-869bf995bb-khsnf 1/1 Running 0 61m
➜ fission version
client:
fission/core:
BuildDate: "2023-05-18T12:33:09Z"
GitCommit: f955d118
Version: v1.19.0
server:
fission/core:
BuildDate: "2023-05-18T12:33:09Z"
GitCommit: f955d118
Version: v1.19.0
➜ k version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.0", GitCommit:"1b4df30b3cdfeaba6024e81e559a6cd09a089d65", GitTreeState:"clean", BuildDate:"2023-04-11T17:10:18Z", GoVersion:"go1.20.3", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"27+", GitVersion:"v1.27.7-eks-4f4795d", GitCommit:"3719c8491f81867f591e895a43b4f5aab4145794", GitTreeState:"clean", BuildDate:"2023-10-20T23:21:04Z", GoVersion:"go1.20.10", Compiler:"gc", Platform:"linux/amd64"}
using v1.20.0-rc2 has failed as well
➜ ./fission-v1.20.0-rc2-linux-amd64 function test --name hello-py
Error: calling function hello-py: 404; Please try again or fix the error: 404 page not found
Error: getting function logs: no active pods found for function in namespace fission. Try to get logs from log database.
Options:
--name='' Function name
--method=[GET] HTTP Methods: GET,POST,PUT,DELETE,HEAD. To mention single method: --method GET
and for multiple methods --method GET --method POST. [DEPRECATED for 'fn create',
use 'route create' instead]
--header=[] (-H) Request headers
--body='' (-b) Request body
--query=[] (-q) Request query parameters: -q key1=value1 -q key2=value2
--timeout=1m0s (-t) Length of time to wait for the response. If set to zero or negative number, no
timeout is set
--dbtype='kubernetes' Log database type, e.g. influxdb (currently influxdb and kubernetes logs are
supported)
--subpath='' Sub Path to check if function internally supports routing
Global Options:
--verbosity=1 (-v) CLI verbosity (0 is quiet, 1 is the default, 2 is verbose)
--kube-context='' Kubernetes context to be used for the execution of Fission commands
--namespace='' (-n) If present, the namespace scope for this CLI request
Usage:
fission function test [options]
Error: error getting function response
✗ fission function list
NAME ENV EXECUTORTYPE MINSCALE MAXSCALE MINCPU MAXCPU MINMEMORY MAXMEMORY SECRETS CONFIGMAPS NAMESPACE
hello-py python poolmgr 0 0 0 0 0 0 fission
from fission.
from fission.
@GD-Dheer @dmitry-mightydevops
Please check #2860 (comment) comment here.
Also see if any network policies configured etc.
from fission.
Mostly seems you have create function in fission
namespace and configured fission to use default
namespace.
Please see above comment and try out. The latest release 1.20 also gives that all namespaces are configured with fission.
This is observed helm notes post installation.
Closing this issue. Feel free to reopen if you are unable to resolve after trying out above methods.
from fission.
Related Issues (20)
- Allow Keycloak issuer HOT 1
- Remove event.delete permission HOT 1
- About Kubernetes Version HOT 2
- fatal error: concurrent map writes
- client version and server version not match HOT 1
- How to count the 99% tail delay quantile of Fission
- Utilize .Release.Name as Standard Prefix for All Kubernetes Resources in Helm Chart
- [help] how to build fission-bundle image
- Unable to Create Duplicate HTTP Trigger Names Across Different Namespaces HOT 1
- Fission watch all namespaces HOT 1
- Loki integration Issue HOT 5
- Router cannot create resource Ingresses HOT 2
- Fission helm conflicts with Rancher
- [help] Is it possible to create a Python function from a zipped release in GitHub?
- Failed to create MessageQueueTrigger HOT 1
- "fission check" does not work outside of "fission" namespace
- Thoughts on the Functional Positioning of the Executor Component
- fission package build stuck in running HOT 1
- Package build trigger mechanism (esp. if fission packages are deployed with gitops)
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 fission.