axiqia commented on issue #179: docker compose make quick start hangs
URL: 
https://github.com/apache/incubator-openwhisk-devtools/issues/179#issuecomment-497537523
 
 
   This issue still exist in my server.
   ### output 
   ```
   host ip address: 10.2.64.9
   checking required ports ...
    ... OK
    setup ...
     ... preparing api-gateway configuration
   pinging minio...
   Starting openwhisk_minio_1 ... done
   ....................
   
   ```
   ### Environment:
   ```
   $ docker-compose -v
   docker-compose version 1.24.0, build 0aa59064
   
   $ docker -v
   Docker version 18.09.6, build 481bc77
   (python3)
   
   ubuntu 16.04
   ```
   
   
   ### minio log
   
   ```
   $ cat  ~/tmp/openwhisk/setup.log
   Attaching to openwhisk_minio_1
   minio_1            |
   minio_1            |  You are running an older version of Minio released 10 
months ago
   minio_1            |  Update: docker pull 
minio/minio:RELEASE.2019-05-23T00-29-34Z
   minio_1            |
   minio_1            |
   minio_1            | ERROR Unable to initialize backend: Unable to write to 
the backend.
   minio_1            |       > Please ensure Minio binary has write 
permissions for the backend.
   openwhisk_minio_1 exited with code 1
   ```
   
   So I change the directory permissions.
   `chmod 777 ~/tmp/openwhisk/minio`
   
   Then I run `make quick-start` again. And the Error message is similar to the 
first post in this issue.
   
   ```
   ERROR: for openwhisk_db_1  Cannot start service db: error while creating 
mount source path '/home/sxue/tmp/openwhisk/couchdb': mkdir 
/home/sxue/tmp/openwhisk/couchdb: permission denieStarting openwhisk_kafka_1 
... error
   
   ERROR: for openwhisk_kafka_1  Cannot start service kafka: error while 
creating mount source path '/home/sxue/tmp/openwhisk/kafka': mkdir 
/home/sxue/tmp/openwhisk/kafka: permission denied
   
   ERROR: for db  Cannot start service db: error while creating mount source 
path '/home/sxue/tmp/openwhisk/couchdb': mkdir 
/home/sxue/tmp/openwhisk/couchdb: permission denied
   
   ERROR: for kafka  Cannot start service kafka: error while creating mount 
source path '/home/sxue/tmp/openwhisk/kafka': mkdir 
/home/sxue/tmp/openwhisk/kafka: permission denied
   ```
   
   Finally, I found out the reason for this situation.
   
   Because my home directory is mounted on the NFS of head node, the root of my 
current node can not be authorized to be the root of the head node, so when 
writing the home directory, it is equivalent to anonymous users. Change the 
permissions of the relevant directories in makefile to 777, and everything will 
be fine.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to