nicschreiber commented on issue #2330: Openwhisk deployment fail locally
URL: 
https://github.com/apache/incubator-openwhisk/issues/2330#issuecomment-307519651
 
 
   Maybe additional knowledge:
   I used a locally hosted couchdb instance that was simply installed with apt 
and a administrator was added. Of course i adjusted the db_local.ini 
accordingly.
   
   ```
   CONTAINER ID        IMAGE                     COMMAND                  
CREATED             STATUS              PORTS                                   
                                                                                
                               NAMES
   bdf9ed7e67fe        whisk/controller:latest   "/bin/sh -c 'controll"   32 
minutes ago      Up 32 minutes       0.0.0.0:10001->8080/tcp                    
                                                                                
                            controller
   ec506d8e2e2a        ches/kafka:0.10.0.1       "/start.sh"              32 
minutes ago      Up 32 minutes       7203/tcp, 0.0.0.0:9092->9092/tcp           
                                                                                
                            kafka
   aa33a70b9cc1        zookeeper:3.4             "/docker-entrypoint.s"   32 
minutes ago      Up 32 minutes       2888/tcp, 0.0.0.0:2181->2181/tcp, 3888/tcp 
                                                                                
                            zookeeper
   1d631cf5485f        gliderlabs/registrator    "/bin/registrator -ip"   33 
minutes ago      Up 33 minutes                                                  
                                                                                
                            registrator
   a1c813e1250a        consul:0.7.0              "docker-entrypoint.sh"   33 
minutes ago      Up 33 minutes       0.0.0.0:8300-8302->8300-8302/tcp, 
0.0.0.0:8400->8400/tcp, 0.0.0.0:8301-8302->8301-8302/udp, 
0.0.0.0:8500->8500/tcp, 0.0.0.0:8600->8600/udp, 8600/tcp   consul
   7816d5319d0a        couchdb:1.6               "tini -- /docker-entr"   34 
minutes ago      Up 34 minutes       0.0.0.0:5984->5984/tcp                     
                                                                                
                            couchdb
   ```
   
   ```
   Containers: 6
    Running: 6
    Paused: 0
    Stopped: 0
   Images: 116
   Server Version: 1.12.0
   Storage Driver: aufs
    Root Dir: /var/lib/docker/aufs
    Backing Filesystem: extfs
    Dirs: 137
    Dirperm1 Supported: true
   Logging Driver: json-file
   Cgroup Driver: cgroupfs
   Plugins:
    Volume: local
    Network: host bridge null overlay
   Swarm: inactive
   Runtimes: runc
   Default Runtime: runc
   Security Options: apparmor
   Kernel Version: 4.4.0-79-generic
   Operating System: Ubuntu 14.04.5 LTS
   OSType: linux
   Architecture: x86_64
   CPUs: 4
   Total Memory: 7.503 GiB
   Name: testing
   ID: 2ZHI:4KIN:3YKI:VT7E:YTEO:H372:FFKS:WQSI:4S7C:72EB:TSER:RV5B
   Docker Root Dir: /var/lib/docker
   Debug Mode (client): false
   Debug Mode (server): false
   Registry: https://index.docker.io/v1/
   WARNING: No swap limit support
   Insecure Registries:
    127.0.0.0/8
   ```
   
   ```
   [
       {
           "Id": 
"bdf9ed7e67fe763bea8e8c21449b732c94102d6e694d146b1ef4d73def784a56",
           "Created": "2017-06-09T22:25:51.908049996Z",
           "Path": "/bin/sh",
           "Args": [
               "-c",
               "controller/bin/controller \u003e\u003e 
/logs/${COMPONENT_NAME}_logs.log 2\u003e\u00261"
           ],
           "State": {
               "Status": "running",
               "Running": true,
               "Paused": false,
               "Restarting": false,
               "OOMKilled": false,
               "Dead": false,
               "Pid": 31245,
               "ExitCode": 0,
               "Error": "",
               "StartedAt": "2017-06-09T22:25:52.207727743Z",
               "FinishedAt": "0001-01-01T00:00:00Z"
           },
           "Image": 
"sha256:68130ff1489231653431e40368a046bd11e093f40d1de2cdf27143bcb05046fd",
           "ResolvConfPath": 
"/var/lib/docker/containers/bdf9ed7e67fe763bea8e8c21449b732c94102d6e694d146b1ef4d73def784a56/resolv.conf",
           "HostnamePath": 
"/var/lib/docker/containers/bdf9ed7e67fe763bea8e8c21449b732c94102d6e694d146b1ef4d73def784a56/hostname",
           "HostsPath": 
"/var/lib/docker/containers/bdf9ed7e67fe763bea8e8c21449b732c94102d6e694d146b1ef4d73def784a56/hosts",
           "LogPath": 
"/var/lib/docker/containers/bdf9ed7e67fe763bea8e8c21449b732c94102d6e694d146b1ef4d73def784a56/bdf9ed7e67fe763bea8e8c21449b732c94102d6e694d146b1ef4d73def784a56-json.log",
           "Name": "/controller",
           "RestartCount": 0,
           "Driver": "aufs",
           "MountLabel": "",
           "ProcessLabel": "",
           "AppArmorProfile": "",
           "ExecIDs": null,
           "HostConfig": {
               "Binds": [
                   "/tmp/wsklogs/controller:/logs:rw"
               ],
               "ContainerIDFile": "",
               "LogConfig": {
                   "Type": "json-file",
                   "Config": {}
               },
               "NetworkMode": "default",
               "PortBindings": {
                   "8080/tcp": [
                       {
                           "HostIp": "0.0.0.0",
                           "HostPort": "10001"
                       }
                   ]
               },
               "RestartPolicy": {
                   "Name": "always",
                   "MaximumRetryCount": 0
               },
               "AutoRemove": false,
               "VolumeDriver": "",
               "VolumesFrom": null,
               "CapAdd": null,
               "CapDrop": null,
               "Dns": null,
               "DnsOptions": null,
               "DnsSearch": null,
               "ExtraHosts": null,
               "GroupAdd": null,
               "IpcMode": "",
               "Cgroup": "",
               "Links": null,
               "OomScoreAdj": 0,
               "PidMode": "",
               "Privileged": false,
               "PublishAllPorts": false,
               "ReadonlyRootfs": false,
               "SecurityOpt": null,
               "UTSMode": "",
               "UsernsMode": "",
               "ShmSize": 67108864,
               "Runtime": "runc",
               "ConsoleSize": [
                   0,
                   0
               ],
               "Isolation": "",
               "CpuShares": 0,
               "Memory": 0,
               "CgroupParent": "",
               "BlkioWeight": 0,
               "BlkioWeightDevice": null,
               "BlkioDeviceReadBps": null,
               "BlkioDeviceWriteBps": null,
               "BlkioDeviceReadIOps": null,
               "BlkioDeviceWriteIOps": null,
               "CpuPeriod": 0,
               "CpuQuota": 0,
               "CpusetCpus": "",
               "CpusetMems": "",
               "Devices": null,
               "DiskQuota": 0,
               "KernelMemory": 0,
               "MemoryReservation": 0,
               "MemorySwap": 0,
               "MemorySwappiness": -1,
               "OomKillDisable": false,
               "PidsLimit": 0,
               "Ulimits": null,
               "CpuCount": 0,
               "CpuPercent": 0,
               "IOMaximumIOps": 0,
               "IOMaximumBandwidth": 0
           },
           "GraphDriver": {
               "Name": "aufs",
               "Data": null
           },
           "Mounts": [
               {
                   "Source": "/tmp/wsklogs/controller",
                   "Destination": "/logs",
                   "Mode": "rw",
                   "RW": true,
                   "Propagation": "rprivate"
               }
           ],
           "Config": {
               "Hostname": "controller",
               "Domainname": "",
               "User": "",
               "AttachStdin": false,
               "AttachStdout": false,
               "AttachStderr": false,
               "ExposedPorts": {
                   "8080/tcp": {}
               },
               "Tty": false,
               "OpenStdin": false,
               "StdinOnce": false,
               "Env": [
                   "SERVICE_CHECK_HTTP=/ping",
                   "WHISK_VERSION_NAME=local",
                   "CONTROLLER_OPTS=",
                   "JAVA_OPTS=-Xmx2g",
                   "KAFKA_NUMPARTITIONS=2",
                   "CONSULSERVER_HOST=172.17.0.1",
                   "WHISK_VERSION_BUILDNO=latest",
                   "CONSUL_HOST_PORT4=8500",
                   "SERVICE_CHECK_TIMEOUT=2s",
                   "SERVICE_CHECK_INTERVAL=15s",
                   "PORT=8080",
                   "WHISK_VERSION_DATE=2017-06-09T22:25:51Z",
                   "COMPONENT_NAME=controller",
                   
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                   "DEBIAN_FRONTEND=noninteractive",
                   "LANG=en_US.UTF-8",
                   "LANGUAGE=en_US:en",
                   "LC_ALL=en_US.UTF-8",
                   "VERSION=8",
                   "UPDATE=131",
                   "BUILD=11",
                   "JAVA_HOME=/usr/lib/jvm/java-8-oracle",
                   "JRE_HOME=/usr/lib/jvm/java-8-oracle/jre"
               ],
               "Cmd": [
                   "/bin/sh",
                   "-c",
                   "controller/bin/controller \u003e\u003e 
/logs/${COMPONENT_NAME}_logs.log 2\u003e\u00261"
               ],
               "Image": "whisk/controller:latest",
               "Volumes": {
                   "/logs": {}
               },
               "WorkingDir": "",
               "Entrypoint": null,
               "OnBuild": null,
               "Labels": {}
           },
           "NetworkSettings": {
               "Bridge": "",
               "SandboxID": 
"8916515a0ded3bfc3a1b56a60f65a2ce1b0351ff945fdc4a480fd9a22fa474b0",
               "HairpinMode": false,
               "LinkLocalIPv6Address": "",
               "LinkLocalIPv6PrefixLen": 0,
               "Ports": {
                   "8080/tcp": [
                       {
                           "HostIp": "0.0.0.0",
                           "HostPort": "10001"
                       }
                   ]
               },
               "SandboxKey": "/var/run/docker/netns/8916515a0ded",
               "SecondaryIPAddresses": null,
               "SecondaryIPv6Addresses": null,
               "EndpointID": 
"e17c7700c1e4a165b2486e9c533e110947848a72f39bf9abd35c340896b69e47",
               "Gateway": "172.17.0.1",
               "GlobalIPv6Address": "",
               "GlobalIPv6PrefixLen": 0,
               "IPAddress": "172.17.0.7",
               "IPPrefixLen": 16,
               "IPv6Gateway": "",
               "MacAddress": "02:42:ac:11:00:07",
               "Networks": {
                   "bridge": {
                       "IPAMConfig": null,
                       "Links": null,
                       "Aliases": null,
                       "NetworkID": 
"2ec89508de94eb15271e65208a0610b2a0e7495bbb5d81c26c0f7ab7d6b82c92",
                       "EndpointID": 
"e17c7700c1e4a165b2486e9c533e110947848a72f39bf9abd35c340896b69e47",
                       "Gateway": "172.17.0.1",
                       "IPAddress": "172.17.0.7",
                       "IPPrefixLen": 16,
                       "IPv6Gateway": "",
                       "GlobalIPv6Address": "",
                       "GlobalIPv6PrefixLen": 0,
                       "MacAddress": "02:42:ac:11:00:07"
                   }
               }
           }
       }
   ]
   ```
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to