Skip to content

make add-catalog fails in Ubuntu 16.04 LTS #310

@lei-houjyu

Description

@lei-houjyu

Hi all,

After building OpenWhisk with make quick-start, I tried to install catalog packages by make add-catalog and met the following failure. Could anyone offer some advice please? Thanks!

lhy@r640:~/openwhisk-devtools/docker-compose$ make add-catalog
building OpenWhisk packages [10/644]
~/openwhisk-devtools/docker-compose/openwhisk-catalog/packages/websocket ~/openwhisk-devtools/docker-compose
/home/lhy/openwhisk-devtools/docker-compose/openwhisk-catalog/packages/websocket
├── UNMET PEER DEPENDENCY bufferutil@^4.0.1
├── UNMET PEER DEPENDENCY utf-8-validate@^5.0.2
└── ws@7.2.1

npm WARN ws@7.2.1 requires a peer of bufferutil@^4.0.1 but none was installed.
npm WARN ws@7.2.1 requires a peer of utf-8-validate@^5.0.2 but none was installed.
npm WARN websocket No repository field.
npm WARN websocket No license field.
adding: build.sh (deflated 42%)
adding: manifest.yaml (deflated 66%)
adding: node_modules/ (stored 0%)
adding: node_modules/ws/ (stored 0%)
adding: node_modules/ws/README.md (deflated 68%)
adding: node_modules/ws/index.js (deflated 55%)
adding: node_modules/ws/LICENSE (deflated 41%)
adding: node_modules/ws/lib/ (stored 0%)
adding: node_modules/ws/lib/stream.js (deflated 69%)
adding: node_modules/ws/lib/websocket.js (deflated 75%)
adding: node_modules/ws/lib/constants.js (deflated 19%)
adding: node_modules/ws/lib/limiter.js (deflated 52%)
adding: node_modules/ws/lib/permessage-deflate.js (deflated 76%)
adding: node_modules/ws/lib/websocket-server.js (deflated 70%)
adding: node_modules/ws/lib/receiver.js (deflated 76%)
adding: node_modules/ws/lib/buffer-util.js (deflated 68%)
adding: node_modules/ws/lib/extension.js (deflated 76%)
adding: node_modules/ws/lib/event-target.js (deflated 74%)
adding: node_modules/ws/lib/sender.js (deflated 78%)
adding: node_modules/ws/lib/validation.js (deflated 49%)
adding: node_modules/ws/package.json (deflated 52%)
adding: node_modules/ws/browser.js (deflated 21%)
adding: package.json (deflated 17%)
adding: README.md (deflated 51%)
adding: sendWebSocketMessageAction.js (deflated 62%)
~/openwhisk-devtools/docker-compose
Installing OpenWhisk packages
Deploying /home/lhy/openwhisk-devtools/docker-compose/openwhisk-catalog/packages/github/ with pid 24631
Deploying /home/lhy/openwhisk-devtools/docker-compose/openwhisk-catalog/packages/slack/ with pid 24632
Deploying /home/lhy/openwhisk-devtools/docker-compose/openwhisk-catalog/packages/utils/ with pid 24633
Deploying /home/lhy/openwhisk-devtools/docker-compose/openwhisk-catalog/packages/weather/ with pid 24634
Deploying /home/lhy/openwhisk-devtools/docker-compose/openwhisk-catalog/packages/websocket/ with pid 24635
Deploying /home/lhy/openwhisk-devtools/docker-compose/openwhisk-catalog/packages/samples/ with pid 24636
Error: Deployment did not complete sucessfully. Run wskdeploy undeploy to remove partially deployed assets.
servicedeployer.go [1656]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 3: Put https://192.168.11.196:443/api/v1/namespaces/_/packages/github?overwrite=true: dial tcp 192.168.11.196:443: getsockopt: connection
refused

24631 finished with status 1
Error: Deployment did not complete sucessfully. Run wskdeploy undeploy to remove partially deployed assets.
servicedeployer.go [1656]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 3: Put https://192.168.11.196:443/api/v1/namespaces/_/packages/websocket?overwrite=true: dial tcp 192.168.11.196:443: getsockopt: connect
ion refused

Error: Deployment did not complete sucessfully. Run wskdeploy undeploy to remove partially deployed assets.
servicedeployer.go [1656]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 3: Put https://192.168.11.196:443/api/v1/namespaces/_/packages/weather?overwrite=true: dial tcp 192.168.11.196:443: getsockopt: connectio
n refused

Error: Deployment did not complete sucessfully. Run wskdeploy undeploy to remove partially deployed assets.
servicedeployer.go [1656]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 3: Put https://192.168.11.196:443/api/v1/namespaces/_/packages/utils?overwrite=true: dial tcp 192.168.11.196:443: getsockopt: connection
refused

Error: Deployment did not complete sucessfully. Run wskdeploy undeploy to remove partially deployed assets.
servicedeployer.go [1656]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 3: Put https://192.168.11.196:443/api/v1/namespaces/_/packages/samples?overwrite=true: dial tcp 192.168.11.196:443: getsockopt: connectio
n refused

Error: Deployment did not complete sucessfully. Run wskdeploy undeploy to remove partially deployed assets.
servicedeployer.go [1656]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 3: Put https://192.168.11.196:443/api/v1/namespaces/_/packages/slack?overwrite=true: dial tcp 192.168.11.196:443: getsockopt: connection
refused

24632 finished with status 1
24633 finished with status 1
24634 finished with status 1
24635 finished with status 1
24636 finished with status 1
open catalog ERRORS = 6
Makefile:362: recipe for target 'init-catalog' failed
make: *** [init-catalog] Error 6
lhy@r640:~/openwhisk-devtools/docker-compose$ cat ~/.wskprops
APIHOST=https://192.168.11.196
AUTH=23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions