Skip to content

make run failed when using docker-compose to build and run local OpenWhisk core images #302

@lyuxiaosu

Description

@lyuxiaosu

I clone the git clone the reposity:
git clone https://github.com/apache/openwhisk-devtools.git
and then execute
make quick-start
Everything is fine. Then I stop openwhisk and destroy it with:
make stop
make destroy
And then rebuild the project with:
make docker-build
Build is successful, but failed when I run openwhisk:
make run
The error information is:

Saturday 19 October 2019  22:31:18 +0000 (0:00:00.406)       0:00:31.652 ******
===============================================================================
recreate or update the document on the local_subjects database ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 1571524258.83s
Gathering Facts -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 6.03s
Gathering Facts -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 5.74s
create required users -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.83s
create local_whisks with CouchDB --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.73s
create local_activations with CouchDB ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.62s
check if local_subjects with CouchDB exists ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.60s
grant permissions for CouchDB ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.49s
grant permissions for CouchDB ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.48s
check if local_activations with CouchDB exists ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.48s
grant permissions for CouchDB ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.47s
delete the local_whisks with CouchDB ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.46s
delete the local_activations with CouchDB ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.46s
check if local_whisks with CouchDB exists ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.45s
recreate or update the document on the local_activations database ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.42s
recreate or update the document on the local_whisks database ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.41s
recreate or update the document on the local_activations database ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.41s
recreate or update the document on the local_activations database ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.41s
recreate or update the document on the local_whisks database ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.41s
recreate or update the document on the local_activations database ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.41s
waiting for the Whisk controller to come up ...
initializing CLI properties into /users/xiaosuGW/openwhisk-devtools/docker-compose/.wskprops
/bin/sh: 1: /users/xiaosuGW/openwhisk-devtools/docker-compose/openwhisk-src/bin: Permission denied
Makefile:345: recipe for target 'init-whisk-cli' failed
make: *** [init-whisk-cli] Error 126

Is there anything I did wrong?

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