spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 
Failed !!! Please help
URL: 
https://github.com/apache/incubator-openwhisk/issues/2567#issuecomment-321215457
 
 
   @devbv 
   Thanks for your response!
   There is no output when I run the command docker logs nginx -f
   
   @rabbah 
   Yes the nginx is owned by root. I removed the directory manually and then 
ran the command bin/wskdev edge from the openwhisk directory. I am running this 
command under root. This is the error is it getting
   TASK [nginx : (re)start nginx] 
******************************************************************************************************************************************************
   Wednesday 09 August 2017  10:09:22 +0000 (0:00:00.816)       0:00:04.105 
****** 
   fatal: [172.17.0.1]: FAILED! => {"changed": false, "failed": true, "msg": 
"Error removing container 
7cfdf9111f5b3933d153af6100c90005a52856092d7e4f69cca5356586860237: 500 Server 
Error: Internal Server Error (\"Unable to remove filesystem for 
7cfdf9111f5b3933d153af6100c90005a52856092d7e4f69cca5356586860237: remove 
/var/lib/docker/containers/7cfdf9111f5b3933d153af6100c90005a52856092d7e4f69cca5356586860237/shm:
 device or resource busy\")"}
   
   PLAY RECAP 
**************************************************************************************************************************************************************************
   172.17.0.1                 : ok=6    changed=4    unreachable=0    failed=1  
 
   
   Wednesday 09 August 2017  10:09:23 +0000 (0:00:00.622)       0:00:04.728 
****** 
   
=============================================================================== 
   nginx : copy cert files from local to remote in nginx config directory --- 
1.39s
   nginx : pull the nginx:1.11 image --------------------------------------- 
0.82s
   Gathering Facts --------------------------------------------------------- 
0.81s
   nginx : (re)start nginx ------------------------------------------------- 
0.62s
   nginx : copy template from local to remote in nginx config directory ---- 
0.53s
   nginx : ensure nginx config directory exists ---------------------------- 
0.31s
   nginx : ensure nginx log directory is created with permissions ---------- 
0.18s
   nginx : copy password files for cert from local to remote in nginx config 
directory --- 0.05s
   command failed
   
   Now if i run my docker ps command there is no nginx container running
   root@guruvirtues-HP-EliteBook-8560w-SN717UP-ABA:~/openwhisk# docker ps
   CONTAINER ID        IMAGE                        COMMAND                  
CREATED             STATUS              PORTS                                   
                           NAMES
   033b2de24deb        whisk/invoker:latest         "/bin/sh -c 'exec /in"   22 
hours ago        Up 28 minutes       0.0.0.0:12001->8080/tcp                    
                        invoker0
   9e53d3bb7804        whisk/controller:latest      "/bin/sh -c 'controll"   22 
hours ago        Up 28 minutes       0.0.0.0:10001->8080/tcp                    
                        controller0
   3c3e465ce800        ches/kafka:0.10.2.1          "/start.sh"              22 
hours ago        Up 28 minutes       7203/tcp, 0.0.0.0:9092->9092/tcp           
                        kafka
   cd9d55150b91        zookeeper:3.4                "/docker-entrypoint.s"   22 
hours ago        Up 28 minutes       2888/tcp, 0.0.0.0:2181->2181/tcp, 3888/tcp 
                        zookeeper
   c1b48a3c3d76        openwhisk/apigateway:0.8.2   "/usr/local/bin/dumb-"   22 
hours ago        Up 28 minutes       80/tcp, 8423/tcp, 0.0.0.0:9000->9000/tcp, 
0.0.0.0:9001->8080/tcp   apigateway
   2835875673ae        redis:3.2                    "docker-entrypoint.sh"   22 
hours ago        Up 28 minutes       0.0.0.0:6379->6379/tcp                     
                        redis
   5b7549d135bc        couchdb:1.6                  "tini -- /docker-entr"   22 
hours ago        Up 28 minutes       0.0.0.0:5984->5984/tcp                     
                        couchdb
   
   and if I see my tmp directory then again the nginx folder is owned by root 
since i have run the wskdev edge command under root
   root@guruvirtues-HP-EliteBook-8560w-SN717UP-ABA:/tmp# ls -lt
   total 20
   drwxr-xr-x 2 root        root        4096 Aug  9 10:09 nginx
   drwxr-xr-x 2 root        root        4096 Aug  9 10:09 hsperfdata_root
   drwxr-xr-x 2 guruvirtues guruvirtues 4096 Aug  9 10:08 hsperfdata_guruvirtues
   drwx------ 2 guruvirtues guruvirtues 4096 Aug  9 09:51 firefox_guruvirtues
   drwxr-xr-x 5 root        root        4096 Aug  9 09:48 wsklogs
   -rw-rw-r-- 1 guruvirtues guruvirtues    0 Aug  9 09:48 unity_support_test.0
   -rw------- 1 guruvirtues guruvirtues    0 Aug  9 09:48 config-err-VZIUPn
   
   This is the content of the nginx folder
   root@guruvirtues-HP-EliteBook-8560w-SN717UP-ABA:/tmp/nginx# ls -lt
   total 16
   -rw-r--r-- 1 root root 1159 Aug  9 10:09 openwhisk-client-ca-cert.pem
   -rw-r--r-- 1 root root 1679 Aug  9 10:09 openwhisk-server-key.pem
   -rw-r--r-- 1 root root 1159 Aug  9 10:09 openwhisk-server-cert.pem
   -rw-r--r-- 1 root root 2833 Aug  9 10:09 nginx.conf
   
   before the edge deploy there were no files in this folder. What can be done 
to install nginx not under root? What is the failure while deploying edge?
   
   Thank you again for your time and help. it is very much appreciated.
   
   Regards
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to