Hi Kumar -
If it is stuck in “waiting” status check the debug page for that service in 
DCOS gui (https://docs.mesosphere.com/1.10/monitoring/debugging/gui-debugging/) 
to see why offers are not matching.

Tyson

On Mar 1, 2018, at 10:05 AM, Kumar Subramanian 
<[email protected]<mailto:[email protected]>> wrote:

Hi Dragos,
One more information I noticed is that; as the apigateway status is in 
“waiting” status, the Error icon right next to it states “DC/OS has been 
waiting for resources and is unable to complete this deployment for XX minutes.

Thanks,
Kumar.

On 3/1/18, 9:28 AM, "Kumar Subramanian" 
<[email protected]<mailto:[email protected]>> wrote:

   Hi Dragos,

   I am not sure I understood your point about “        Note that by default 
the Gateway listens on this domain defined in config

           at [2] ( <marathon-app-name>.gw.<your-domain-name>). Once the 
controller is

           installed in the cluster, it's accessible on 
controller.gw.<your-domain-name>,

           assuming the Marathon app name for the OpenWhisk Controller is called

           "controller" “



   apigateway is the first app that I tried to install on DCOS. Is there any 
place I have to define the url? (( <marathon-app-name>.gw.<your-domain-name>) 
and may be I am missing that? The only Url I mentioned is the default one in 
the Environment settings of apigateway package (during installation). The 
default value was 
"default":https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__marathon.mesos-3A8080%26d%3DDwIGaQ%26c%3DuilaK90D4TOVoH58JNXRgQ%26r%3DF5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo%26m%3DSnzzg-sR6t5CY7El_-GNWwuD_WMAn1nbqP6taqWUSXo%26s%3DztUsE0shjeKqrwdPc2TAGnBPCWlRPjo_HE9TL74FUcU%26e&data=02%7C01%7Ctnorris%40adobe.com<http://40adobe.com>%7C4c8760a6baa149a4998608d57f9f015b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555243255443290&sdata=g6fpgmaBZSJyuCkfuYx2fq%2FlUn%2BOTlu%2BfzI6XtuFt5Y%3D&reserved=0=;
 and I kept it as is when installing.



   Thanks,

   Kumar.



   On 3/1/18, 9:18 AM, "Kumar Subramanian" 
<[email protected]<mailto:[email protected]>> wrote:



       Hi Dragos,

       Here is the DCOS Version

       DC/OS VERSION: 1.9.4



       Marathon Version: 1.4.7



       Thanks,

       Kumar.



       On 2/28/18, 11:10 PM, "Dascalita Dragos" 
<[email protected]<mailto:[email protected]>> wrote:



           Hi Kumar,

           Can you provide details on the DCOS version as well ?



           *"...The (api gateway) service status shows waiting and there are no 
logs;

           nothing getting deployed also...."*

           Depending on the DCOS version, you may find in the DCOS UI debug

           information in regards to the resource offered by Mesos and what's 
missing.

           [1] It's possible that some constraints are not matched, and 
Marathon is

           still waiting to get offers, which would explain this effect you're 
seeing.

           Note that by default the Gateway listens on this domain defined in 
config

           at [2] ( <marathon-app-name>.gw.<your-domain-name>). Once the 
controller is

           installed in the cluster, it's accessible on 
controller.gw.<your-domain-name>,

           assuming the Marathon app name for the OpenWhisk Controller is called

           "controller". Same goes for the "invoker": 
invoker.gw.<your-domain-name>.

           Same for Exhibitor, CouchDB etc, any other app installed in the 
cluster is

           exposed in this way. Of course, these domain names can be easily 
configured

           differently in NGINX, I'm just explaining the default rules.



           We might have to provide a DCOS universe for 1.9 or 1.10 as well. 
We've

           tested with both versions successfully; we need to strip 
customizations

           particular to our deployment, prior to sharing the updated universe.



           HTH,

           Dragos



           [1] - 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__docs.mesosphere.com_1.10_monitoring_debugging_gui-2Ddebugging_%26d%3DDwIFaQ%26c%3DuilaK90D4TOVoH58JNXRgQ%26r%3DF5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo%26m%3DPq6qbuCjIV0NgXrQUGgzHlpwkfQ1iR-hlycfGmbR5_4%26s%3D67DJMsbbLqbhR82ScYfqZ6g-hvjuOMnMeGOq-M6zmFQ%26e&data=02%7C01%7Ctnorris%40adobe.com%7C4c8760a6baa149a4998608d57f9f015b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555243255443290&sdata=juKGgSDAFtt0ci1tG%2BqQVJ9FP1c%2FFgRjSAb1i2H%2B4yk%3D&reserved=0=

           [2] -

           
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__github.com_adobe-2Dapiplatform_apigateway_blob_master_api-2Dgateway-2Dconfig_conf.d_marathon-5Fapis.conf-23L35%26d%3DDwIFaQ%26c%3DuilaK90D4TOVoH58JNXRgQ%26r%3DF5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo%26m%3DPq6qbuCjIV0NgXrQUGgzHlpwkfQ1iR-hlycfGmbR5_4%26s%3D6BVUN80-tqxdqO0yYyI2IuXRoe5XKGEUUwhJhjD8J-o%26e&data=02%7C01%7Ctnorris%40adobe.com%7C4c8760a6baa149a4998608d57f9f015b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555243255443290&sdata=hebZSZOdo2KqMRQpZ4LXN%2FrT8VUX39cbedV1sVtQHKw%3D&reserved=0=







           On Wed, Feb 28, 2018 at 6:08 PM Carlos Santana 
<[email protected]<mailto:[email protected]>> wrote:



Hi Kumar welcome to list



 Adobe team is currently deploying OpenWhisk on DCOS/Mesos I bet one of

them will be able to assist you on this task and point you int he right

direction



The file you point is no longer on the repo, Maybe  Dragos or Tyson could

also clarify that and the apigateway issues.



-- Carlos



On Wed, Feb 28, 2018 at 8:27 PM Kumar Subramanian 
<[email protected]<mailto:[email protected]>



wrote:



Hi,



I am trying to install OpenWhisk on Mesos Cluster.







I followed the steps described at



https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__github.com_apache_incubator-2Dopenwhisk-2Ddevtools_tree_1f42e6057de42babc2bf88870fabb61d172d728d_dcos-2Duniverse%26d%3DDwIFaQ%26c%3DuilaK90D4TOVoH58JNXRgQ%26r%3DF5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo%26m%3DPq6qbuCjIV0NgXrQUGgzHlpwkfQ1iR-hlycfGmbR5_4%26s%3DQTfB2-jYGp7UtoXJxEX8WZuWVF8NfYEZiu3nZ9GCJ3g%26e&data=02%7C01%7Ctnorris%40adobe.com%7C4c8760a6baa149a4998608d57f9f015b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555243255443290&sdata=KhtAoHB3bWetSpSfL77pvKUYq88W4eSoaMd%2Bh2hfQfw%3D&reserved=0=







*Steps Completed:*



  1. In the universe home directory, run command ./scripts/build.sh.

  2. Upload /target/repo-up-to-1.8.json to a host service (e.g. AWS S3)

     - Make sure Content-Type =

     application/vnd.dcos.universe.repo+json in the file's headers.

  3. In DC/OS admin console, under System > Overview > Repositories, add

  the link to the new repository.







Note: I’ve attached the repository file repo-uo-to-1.8.json.







*Next:*



  1. I added the repository to dcos

  2. Installed redis successfully.

     1. Container port : 6379

     2. Host: <host_ip>

     3. Ports: 3774

  3. Then I tried to install api gateway package (default settings –

  mentioned below)







*Stage I am stuck at:*







  1. Api Gateway Installation

     1. Environment: MarathonHost: 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__marathon.mesos-3A8080%26d%3DDwIFaQ%26c%3DuilaK90D4TOVoH58JNXRgQ%26r%3DF5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo%26m%3DPq6qbuCjIV0NgXrQUGgzHlpwkfQ1iR-hlycfGmbR5_4%26s%3DiJzQ1LOzvwJ64ic_jZqFpVNTGMNzMROVn2tOwIqoiOE%26e&data=02%7C01%7Ctnorris%40adobe.com%7C4c8760a6baa149a4998608d57f9f015b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555243255443290&sdata=FhD86SS%2Fq3THkHDtJHWLhy6cGhUHQR3nHdOXi9mbdpQ%3D&reserved=0=







*What’s happening?* The (api gateway) service status shows waiting and

there are no logs; nothing getting deployed also.







*Questions:*



  1. Why is it stuck and not even getting deployed?

  2. How can I debug

  3. Where can I look for logs

  4. Is there anything wrong with my settings for api-gateway(from json

  file attached)?

  5. Is there anything else that needs to be installed?







Thanks,



Kumar.
















Reply via email to