You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/11/26 18:43:27 UTC

[GitHub] Juice10 opened a new pull request #178: Fix apigateway network linking

Juice10 opened a new pull request #178: Fix apigateway network linking
URL: https://github.com/apache/incubator-openwhisk-devtools/pull/178
 
 
   Fix for https://github.com/apache/incubator-openwhisk-devtools/issues/173
   
   When running `make quick-start` you'd receive the following error during the setup phase:
   ```
   Attempt 1/3 failed with 1 errors and: RequestError: send request failed
   caused by: Head http://minio.docker:9000/api-gateway: dial tcp: lookup minio.docker on 127.0.0.11:53: no such host
   ```
   
   This was due to the naming of containers being changed and the links created not being in sync with these names anymore.
   For example, apigateway was trying to link to an container named `openwhisk_minio_1` but since the naming has changed to something like `openwhisk_minio_1_c79d9f95f81a` it wouldn't be able to find container to link to and share the network. Thus prompting the errors above.
   
   I've changed the commands to be run via docker-compose as opposed to plain docker as docker-compose sets up all of the networking and linking.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services