Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Unable to deploy Multiple functions when handler function is inside other folder in minikube #165

Open
maneet8 opened this issue Dec 26, 2018 · 1 comment

Comments

@maneet8
Copy link

maneet8 commented Dec 26, 2018

I am unable to deploy multiple functions when handler function is inside other folder.
Clone the below project, which I have picked up from these examples only and slightly modified the folder structure.

https://github.com/maneet8/testserverlesskubeless.git

Run npm install

Run serverless deploy

I am getting below error on deployment

$ serverless deploy -v
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: Unable to find any running pod for read-all. Retrying...
Serverless: Unable to find any running pod for create. Retrying...
Serverless: Unable to find any running pod for read-one. Retrying...
Serverless: Unable to find any running pod for update. Retrying...
Serverless: Unable to find any running pod for delete. Retrying...
Serverless: Unable to find any running pod for delete. Retrying...
Serverless: Unable to find any running pod for create. Retrying...
Serverless: Unable to find any running pod for read-one. Retrying...
Serverless: Unable to find any running pod for update. Retrying...
Serverless: Unable to find any running pod for read-all. Retrying...
Serverless: Unable to find any running pod for delete. Retrying...
Serverless: Unable to find any running pod for read-all. Retrying...
Serverless: Unable to find any running pod for update. Retrying...
Serverless: Unable to find any running pod for read-one. Retrying...
Serverless: Unable to find any running pod for create. Retrying...
Serverless: Unable to find any running pod for read-all. Retrying...
Serverless: Unable to find any running pod for update. Retrying...
Serverless: Unable to find any running pod for read-one. Retrying...
Serverless: Unable to find any running pod for create. Retrying...
Serverless: Unable to find any running pod for delete. Retrying...
Serverless: Giving up, unable to retrieve the status of the read-one deployment.
Serverless: Giving up, unable to retrieve the status of the read-all deployment.

C:\Users\maneet\AppData\Roaming\npm\node_modules\serverless\lib\classes\Error.js:92
throw new Error(e);
^
Error: Unable to retrieve the status of the read-one deployment
at module.exports.logError (C:\Users\maneet\AppData\Roaming\npm\node_modules\serverless\lib\classes\Error.js:92:11)
at process.on (C:\Users\maneet\AppData\Roaming\npm\node_modules\serverless\bin\serverless:22:3)
at emitTwo (events.js:126:13)
at process.emit (events.js:214:7)
at process.emit (C:\Users\maneet\AppData\Roaming\npm\node_modules\serverless\node_modules\source-map-support\source-map-support.js:461:21)
at methodName (D:\workdir\testserverlesskubeless\node_modules\bluebird\js\release\debuggability.js:199:33)
at activeFireEvent (D:\workdir\testserverlesskubeless\node_modules\bluebird\js\release\debuggability.js:242:44)
at fireRejectionEvent (D:\workdir\testserverlesskubeless\node_modules\bluebird\js\release\debuggability.js:632:14)
at Promise._notifyUnhandledRejection (D:\workdir\testserverlesskubeless\node_modules\bluebird\js\release\debuggability.js:65:9)
at Timeout._onTimeout (D:\workdir\testserverlesskubeless\node_modules\bluebird\js\release\debuggability.js:44:14)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)

With the same folder structure I am able to deploy on AWS Lambda.

@andresmgot
Copy link
Contributor

Yes, that's something that need to be implemented in Kubeless, see this issue for more details:

vmware-archive/kubeless#803

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

No branches or pull requests

2 participants