Facing Error while deploy the serving function in mlrun - mlrun

I had instal mlrun with kubernates, i had tried the to execute the 02-model training tutorial code in jupyter-lab, so everything works fine till model serving, then i tried to deploy the serving function then it shows as error listed bellow :
Failed to deploy. Details:
Error - the server could not find the requested resource
...//nuclio/pkg/platform/kube/functionres/lazy.go:757
Call stack:
Failed to create resource
...//nuclio/pkg/platform/kube/functionres/lazy.go:757
Failed to create/update HPA
...//nuclio/pkg/platform/kube/functionres/lazy.go:230
Failed to create/update function
.../platform/kube/controller/nucliofunction.go:213
2023-01-17 18:42:53,721 [error] Nuclio function failed to deploy: {'function_state': 'error'}
error in nuclio.. please help me regarding this

Related

io.fabric8.kubernetes.client.KubernetesClientException: Failure executing

I am trying to install cloudflow 2.0.25 version in the eks cluster using helm. But the pod goes to CrashLoopBackOff status with below error:
ERROR [ActorSystemImpl] - Unexpected error starting cloudflow operator, terminating.
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://172.20.0.1/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions. Message: the server could not find the requested resource. Received status: Status(apiVersion=v1, code=404, details=StatusDetails(causes=[], group=null, kind=null, name=null, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=the server could not find the requested resource, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=NotFound, status=Failure, additionalProperties={}).
at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:570)
at io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:509)
at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:474)
at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:435)
at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleCreate(OperationSupport.java:250)
at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleCreate(BaseOperation.java:871)
at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:366)
at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:85)
at cloudflow.operator.Main$.checkCRD(Main.scala:140)
at cloudflow.operator.Main$.main(Main.scala:61)
at cloudflow.operator.Main.main(Main.scala)
Please help how to resolve the issue ?
I tried creating crd and then also created custom_roles and rolebindings but it didn't work.

Unable to create lambda application via the console

I am trying to create a Serverless API backend using the AWS console but o matter which options I choose I always get the same build error
Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: cdk synth > ../template-export.yml. Reason: exit status 1
Is anyone able to shed any light on this?

There is no .trace file found for performance profile ‘Leaks’

Following this example and using Javascript, get the following error when run my tests. The error is generated on the following command:
enter code heredriver.executeScript('mobile: stopPerfRecord', [
{ profileName: 'Leaks' },
]);
Error:
Got this error “Request failed with status 500 due to An unknown server-side error occurred while processing the command. Original error: There is no .trace file found for performance profile ‘Time Profiler’ and device XXXX. Make sure the selected profile is supported on this device”

: API error (404): network hlfv11_hyperledger not found

✖ Starting business network definition. This may take a minute...
Error: Error trying to start business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: failed to execute transaction b5c260c02b4792c4ae4b85b3d4ccb4565a495da399d27917dccc1a84244e631f: error starting container: error starting container: API error (404): network hlfv11_hyperledger not found
Response from attempted peer comms was an error: Error: failed to execute transaction b5c260c02b4792c4ae4b85b3d4ccb4565a495da399d27917dccc1a84244e631f: error starting container: error starting container: API error (404): network hlfv11_hyperledger not found
This looks like it is a Docker problem trying to start a new ChainCode container on a Docker Network bridge called "hlfv11_hyperledger" which doesn't exist.
(The word 'network' here is ambiguous in the error message :-( )
This is the same problem and hopefully the same solution as a previous post.

Sencha app getting failed because of Failed creating background process and error occured

Sencha app getting failed because of Failed creating background process and error occured.
My app was getting failed then on StackOverflow I found some answer which is all about change ruby. I tried couple of ruby versions but didn't get any luck with that.
I have ruby 2.2.2 installed and I am trying to build my app. I am getting following error. This is very annoying.
** This Failed after change ruby, and I change ruby because of the next error**
BUILD FAILED [ERR] com.sencha.exceptions.ExProcess: Failed
creating background process [ERR] java.io.IOException: Cannot run
program "ruby" (in directory
"C:\User\MasterBuild\trunk\1\1\1\1\AppName\build\temp\production\AppName\sass"):
CreateProcess error=2, The system cannot find the file specified
And these are the actual error.
[ERR] The following error occurred while executing this line:
C:\1\MasterBuild\trunk\1\1\1\1\AppName.sencha\app\build-impl.xml:284:
The following error occurred while executing this line:
C:\1\MasterBuild\trunk\1\1\1\1\AppName.sencha\app\sass-impl.xml:155:
The following error occurred while executing this line:
C:\1\MasterBuild\trunk\1\1\1\1\AppName.sencha\app\sass-impl.xml:176:
com.sencha.exceptions.ExProcess: Failed creating background process
Can anyone please give some suggestion how to fix that. Thanks for all help.

Resources