Here is the config used to installed to Whisk-Controller (I used this default 
settings)
{
         "description":"OpenWhisk Controller service running on DC/OS",
         "framework":true,
         "maintainer":"dungu...@adobe.com",
         "minDcosReleaseVersion":"1.8",
         "name":"whisk-controller",
         "packagingVersion":"3.0",
         "postInstallNotes":"DC/OS OpenWhisk controller has been successfully 
installed!",
         "postUninstallNotes":"DC/OS OpenWhisk controller service has been 
uninstalled.",
         "preInstallNotes":"OpenWhisk Controller requires Kafka, CouchDB, 
Consul, Registrator and APIGateway already installed in the same DC/OS 
cluster.",
         "selected":true,
         "tags":[
            "openwhisk",
            "controller",
            "serverless",
            "lambda"
         ],
         "version":"0.1",
         "releaseVersion":0,
         "resource":{
            "images":{
               
"icon-small":"https://github.com/dcos/dcos-ui/blob/master/plugins/services/src/img/icon-service-default-small.png?raw=true";,
               
"icon-medium":"https://github.com/dcos/dcos-ui/blob/master/plugins/services/src/img/icon-service-default-medium.png?raw=true";,
               
"icon-large":"https://github.com/dcos/dcos-ui/blob/master/plugins/services/src/img/icon-service-default-large.png?raw=true";
            },
            "assets":{
               "container":{
                  "docker":{
                     "whisk-controller":"openwhisk/controller"
                  }
               }
            }
         },
         "marathon":{
            
"v2AppMustacheTemplate":"ewogICJpZCI6ICIve3tzZXJ2aWNlLm5hbWV9fSIsCiAgImNwdXMiOiB7e3NlcnZpY2UuY3B1c319LAogICJtZW0iOiB7e3NlcnZpY2UubWVtfX0sCiAgImluc3RhbmNlcyI6IHt7c2VydmljZS5pbnN0YW5jZXN9fSwKICAiZW52IjogewoKICAgICJXSElTS19WRVJTSU9OX05BTUUiOiAibG9jYWwiLAogICAgIldISVNLX1ZFUlNJT05fREFURSI6ICIwOS8wMS8yMDE2IiwKICAgICJXSElTS19WRVJTSU9OX0JVSUxETk8iOiAibGF0ZXN0IiwKICAgICJXSElTS19MT0dTX0RJUiI6ICIvbG9ncyIsCgogICAgIlNFUlZJQ0VfQ0hFQ0tfSFRUUCI6ICIvcGluZyIsCiAgICAiU0VSVklDRV9DSE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FwiOiB0cnVlLCBcImtpbmRcIjogXCJub2RlanM6NlwifV19IiwKICAgICJMT0FEQkFMQU5DRVJfSE9TVCI6ICJ7e2FwaWdhdGV3YXkubG9jYXRpb259fSIsCiAgICAiTE9BREJBTEFOQ0VSX0hPU1RfUE9SVCI6ICJ7e2FwaWdhdGV3YXkucG9ydH19IgogIH0sCiAgImNvbnRhaW5lciI6IHsKICAgICJ0eXBlIjogIkRPQ0tFUiIsCiAgICAiZG9ja2VyIjogewogICAgICAiaW1hZ2UiOiAie3tyZXNvdXJjZS5hc3NldHMuY29udGFpbmVyLmRvY2tlci53aGlzay1jb250cm9sbGVyfX0iLAogICAgICAibmV0d29yayI6ICJCUklER0UiLAogICAgICAicG9ydE1hcHBpbmdzIjogWwogICAgICAgIHsKICAgICAgICAgICJjb250YWluZXJQb3J0IjogODg4OCwKICAgICAgICAgICJob3N0UG9ydCI6IHt7c2VydmljZS5wb3J0fX0sCiAgICAgICAgICAic2VydmljZVBvcnQiOiAwLAogICAgICAgICAgInByb3RvY29sIjogInRjcCIKICAgICAgICB9CiAgICAgIF0KICAgIH0sCiAgICAidm9sdW1lcyI6IFsKICAgICAgewogICAgICAgICJjb250YWluZXJQYXRoIjogIi9sb2dzIiwKICAgICAgICAiaG9zdFBhdGgiOiAifi90bXAvb3BlbndoaXNrL2NvbnRyb2xsZXIvbG9ncyIsCiAgICAgICAgIm1vZGUiOiAiUlciCiAgICAgIH0KICAgIF0KICB9LAogICJoZWFsdGhDaGVja3MiOiBbCiAgICB7CiAgICAgICJwYXRoIjogIi9waW5nIiwKICAgICAgInByb3RvY29sIjogIkhUVFAiLAogICAgICAiZ3JhY2VQZXJpb2RTZWNvbmRzIjogMzAsCiAgICAgICJpbnRlcnZhbFNlY29uZHMiOiAxNSwKICAgICAgInRpbWVvdXRTZWNvbmRzIjogMiwKICAgICAgIm1heENvbnNlY3V0aXZlRmFpbHVyZXMiOiAzCiAgICB9CiAgXSwKICAibGFiZWxzIjogewogICAgIkRDT1NfU0VSVklDRV9OQU1FIjogInt7c2VydmljZS5uYW1lfX0iCiAgfQp9Cg=="
         },
         "config":{
            "type":"object",
            "properties":{
               "service":{
                  "description":"OpenWhisk controller Configuration Properties",
                  "type":"object",
                  "properties":{
                     "port":{
                        "description":"Host port for OpenWhisk controller 
(default = 8888).",
                        "type":"integer",
                        "default":8888,
                        "minimum":0
                     },
                     "cpus":{
                        "description":"CPU shares to allocate to each OpenWhisk 
controller instance.",
                        "type":"number",
                        "minimum":0.1,
                        "default":0.5
                     },
                     "mem":{
                        "description":"Memory (MB) to allocate to each 
OpenWhisk controller instance.",
                        "type":"number",
                        "minimum":1024.0,
                        "default":2048.0
                     },
                     "instances":{
                        "description":"Number of OpenWhisk controller instances 
to run.",
                        "type":"integer",
                        "minimum":0,
                        "default":1
                     },
                     "name":{
                        "description":"The name of the OpenWhisk Controller 
service instance.",
                        "type":"string",
                        "default":"whisk-controller"
                     }
                  },
                  "required":[
                     "port",
                     "cpus",
                     "name",
                     "instances",
                     "mem"
                  ]
               },
               "consul":{
                  "description":"Linked Consul properties",
                  "type":"object",
                  "properties":{
                     "location":{
                        "description":"Host location of consul cluster.",
                        "type":"string",
                        "default":"consul.marathon.mesos"
                     },
                     "port":{
                        "description":"Host HTTP port of consul cluster 
(default = 8500).",
                        "type":"string",
                        "default":"8500"
                     }
                  },
                  "required":[
                     "location",
                     "port"
                  ]
               },
               "couchdb":{
                  "description":"Linked CouchDB properties",
                  "type":"object",
                  "properties":{
                     "location":{
                        "description":"Host location of CouchDB cluster.",
                        "type":"string",
                        "default":"whisk-couchdb.marathon.mesos"
                     },
                     "port":{
                        "description":"Host HTTP port of CouchDB cluster 
(default = 5984).",
                        "type":"string",
                        "default":"5984"
                     },
                     "username":{
                        "description":"CouchDB username.",
                        "type":"string",
                        "default":"whisk_admin"
                     },
                     "password":{
                        "description":"CouchDB password.",
                        "type":"string",
                        "default":"some_passw0rd"
                     }
                  },
                  "required":[
                     "location",
                     "port",
                     "username",
                     "password"
                  ]
               },
               "kafka":{
                  "description":"Linked Kafka properties",
                  "type":"object",
                  "properties":{
                     "location":{
                        "description":"Host location of Kafka cluster.",
                        "type":"string",
                        "default":"broker-0.kafka.mesos"
                     },
                     "port":{
                        "description":"Host HTTP port of Kafka cluster (default 
= 9092).",
                        "type":"string",
                        "default":"9092"
                     }
                  },
                  "required":[
                     "location",
                     "port"
                  ]
               },
               "apigateway":{
                  "description":"Linked API Gateway properties",
                  "type":"object",
                  "properties":{
                     "location":{
                        "description":"Host location of API Gateway cluster.",
                        "type":"string",
                        "default":"apigateway.marathon.mesos"
                     },
                     "port":{
                        "description":"Host HTTP port of API Gateway cluster 
(default = 80).",
                        "type":"string",
                        "default":"80"
                     }
                  },
                  "required":[
                     "location",
                     "port"
                  ]
               }
            }
         },
         "command":null
      }

On 3/2/18, 12:45 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

    Hi,
    I have installed the following in DCOS successfully:
    1. Apigateway
    2. Exhibitor-dcos
    3. Kafka (name given is mykafka at the time of installation)
    4. Whisk-couchdb
    5. Consul
    6. Registrator
    
    Eror when deploying Whisk-Controller in DCOS:
    When I tried to deploy whisk-controller with default settings, then the 
service fails to deploy (it just kills and redploys the service continuously on 
its own when deploying)
    
    Here is the content in the Error and Output
    
    STDERR:
    (AT BEGINNING OF FILE)
    I0302 20:38:35.176177 19822 exec.cpp:162] Version: 1.2.3
    I0302 20:38:35.180703 19824 exec.cpp:237] Executor registered on agent 
995020e0-5129-44a3-8cf4-65900838b3af-S6
    docker: Error response from daemon: Container command 'init.sh' not found 
or does not exist.. 
    
    OUTPUT:
    (AT BEGINNING OF FILE)
    Registered docker executor on 10.0.6.55
    Starting task whisk-controller.adb62c44-1e59-11e8-8754-3afdc003616b
    
    Can you please provide your valuable inputs on how to get whisk-controller 
deployed in dcos?
    
    Thanks,
    Kumar.
    
    

Reply via email to