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 2019/04/15 05:43:36 UTC

[GitHub] [incubator-openwhisk] upgle opened a new pull request #4447: Do not mount `/run/runc` if an invoker does not use runc

upgle opened a new pull request #4447: Do not mount `/run/runc` if an invoker does not use runc
URL: https://github.com/apache/incubator-openwhisk/pull/4447
 
 
   <!--- Provide a concise summary of your changes in the Title -->
   
   ## Description
   <!--- Provide a detailed description of your changes. -->
   <!--- Include details of what problem you are solving and how your changes are tested. -->
   
   When I deployed the invoker in my local macOS environment, I got a `mounts denied error` like below:
   
   **"Mounts denied: \r\nThe path /run/runc\r\nis not shared from OS X and is not known to Docker.\r\nYou can configure shared paths from Docker -> Preferences... -> File Sharing.\r\nSee https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.\r\n."**
   
   Because the docker for MacOS does not support runc, an error occurred.
   
   > TASK [invoker : start invoker] ************************************************************************************************************************************************************************************************************************************
   Monday 15 April 2019 13:56:45 +0900 (0:00:00.051) 0:07:04.300 **********
   fatal: [invoker0]: FAILED! => {"changed": false, "msg": "Error starting container 9a316c969b8f3f45054c716816915af240a59eeb52ca024f4730df1b139f3d20: 502 Server Error: Bad Gateway ("Mounts denied: \r\nThe path /run/runc\r\nis not shared from OS X and is not known to Docker.\r\nYou can configure shared paths from Docker -> Preferences... -> File Sharing.\r\nSee https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.\r\n.")"}
   >
   > Error starting container
   9a316c969b8f3f45054c716816915af240a59eeb52ca024f4730df1b139f3d20: 502 Server
   Error: Bad Gateway ("Mounts denied: The path /run/runc is not shared from OS
   X and is not known to Docker. You can configure shared paths from Docker ->
   Preferences... -> File Sharing. See https://docs.docker.com/docker-for-
   mac/osxfs/#namespaces for more info. .")
   >
   > PLAY RECAP ********************************************************************************************************************************************************************************************************************************************************
   controller0 : ok=25 changed=5 unreachable=0 failed=0
   invoker0 : ok=24 changed=7 unreachable=0 failed=1
   
   
   
   
   ## Related issue and scope
   <!--- Please include a link to a related issue if there is one. -->
   
   It is related to this PR. https://github.com/apache/incubator-openwhisk/pull/3300/commits
   
   ## My changes affect the following components
   <!--- Select below all system components are affected by your change. -->
   <!--- Enter an `x` in all applicable boxes. -->
   - [ ] API
   - [ ] Controller
   - [ ] Message Bus (e.g., Kafka)
   - [ ] Loadbalancer
   - [ ] Invoker
   - [ ] Intrinsic actions (e.g., sequences, conductors)
   - [ ] Data stores (e.g., CouchDB)
   - [ ] Tests
   - [ ] Deployment
   - [ ] CLI
   - [ ] General tooling
   - [ ] Documentation
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Use `x` in all the boxes that apply: -->
   - [ ] Bug fix (generally a non-breaking change which closes an issue).
   - [ ] Enhancement or new feature (adds new functionality).
   - [ ] Breaking change (a bug fix or enhancement which changes existing behavior).
   
   ## Checklist:
   <!--- Please review the points below which help you make sure you've covered all aspects of the change you're making. -->
   
   - [ ] I signed an [Apache CLA](https://github.com/apache/incubator-openwhisk/blob/master/CONTRIBUTING.md).
   - [ ] I reviewed the [style guides](https://github.com/apache/incubator-openwhisk/wiki/Contributing:-Git-guidelines#code-readiness) and followed the recommendations (Travis CI will check :).
   - [ ] I added tests to cover my changes.
   - [ ] My changes require further changes to the documentation.
   - [ ] I updated the documentation where necessary.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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