Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not link the /run/runc volume unless invoker_use_runc is set #4149

Merged
merged 2 commits into from Dec 7, 2018

Conversation

akrabat
Copy link
Member

@akrabat akrabat commented Nov 30, 2018

On Mac, /run/runc doesn't exist and trying to set it as a volume causes an error.

My changes affect the following components

  • API
  • Controller
  • Message Bus (e.g., Kafka)
  • Loadbalancer
  • [x ] Invoker
  • Intrinsic actions (e.g., sequences, conductors)
  • Data stores (e.g., CouchDB)
  • Tests
  • Deployment
  • CLI
  • General tooling
  • Documentation

Types of changes

  • 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:

  • [x ] I signed an Apache CLA.
  • [x ] I reviewed the style guides 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.

Copy link
Member

@dubee dubee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran into this problem when using the latest Docker for Mac. Thanks for the fix!

Copy link
Member

@rabbah rabbah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

- name: set invoker runc volume
set_fact:
volumes: "{{ volumes }},/run/runc:/run/runc"
when: invoker_use_runc == true
Copy link
Contributor

@mhenke1 mhenke1 Dec 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

invoker_use_runcis not reachable here.
it probably should be when: invoker.useRunc

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Updated.

@codecov-io
Copy link

Codecov Report

Merging #4149 into master will decrease coverage by 3.96%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4149      +/-   ##
==========================================
- Coverage   84.74%   80.77%   -3.97%     
==========================================
  Files         151      152       +1     
  Lines        7277     7450     +173     
  Branches      466      487      +21     
==========================================
- Hits         6167     6018     -149     
- Misses       1110     1432     +322
Impacted Files Coverage Δ
...core/database/cosmosdb/RxObservableImplicits.scala 0% <0%> (-100%) ⬇️
...core/database/cosmosdb/CosmosDBArtifactStore.scala 0% <0%> (-95.54%) ⬇️
...sk/core/database/cosmosdb/CosmosDBViewMapper.scala 0% <0%> (-92.6%) ⬇️
...whisk/core/database/cosmosdb/CosmosDBSupport.scala 0% <0%> (-83.34%) ⬇️
...abase/cosmosdb/CosmosDBArtifactStoreProvider.scala 0% <0%> (-62.5%) ⬇️
...in/scala/org/apache/openwhisk/common/Counter.scala 40% <0%> (-20%) ⬇️
...penwhisk/core/database/cosmosdb/CosmosDBUtil.scala 92% <0%> (-4%) ⬇️
...apache/openwhisk/core/entitlement/Collection.scala 83.67% <0%> (-3.51%) ⬇️
...e/loadBalancer/ShardingContainerPoolBalancer.scala 82.79% <0%> (-2.31%) ⬇️
...org/apache/openwhisk/core/controller/Actions.scala 91.48% <0%> (-0.18%) ⬇️
... and 23 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a790bb8...c907c5b. Read the comment docs.

@akrabat
Copy link
Member Author

akrabat commented Dec 7, 2018

Travis passed! 🎉

@mhenke1
Copy link
Contributor

mhenke1 commented Dec 7, 2018

And it worked for me too.I would be happy to see this merged soon.

@dgrove-oss dgrove-oss self-assigned this Dec 7, 2018
@dgrove-oss
Copy link
Member

dgrove-oss commented Dec 7, 2018

PG3 3124 🏃

@dgrove-oss
Copy link
Member

PG3 3124 👍 -- 4 unrelated failures, otherwise good.

@dgrove-oss dgrove-oss merged commit f2efca7 into apache:master Dec 7, 2018
BillZong pushed a commit to BillZong/openwhisk that referenced this pull request Nov 18, 2019
…che#4149)

* Do not link the `/run/runc` volume unless invoker.useRunc is set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants