cf deploy fails with error "Operation Not permitted"

Open
#59 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker
Domain
cli, devops

Research direction

Compare the ppiper/cf-cli:v14 and v15 image definitions and reproduce cf deploy with the command shown in the report. Investigate the runtime/cgo pthread_create failure and container permission context. Done means cf deploy completes successfully with the current image without the Operation not permitted error.

Written by the indexing model from the issue text.

Description

In the latest version ppiper/cf-cli:v15, cf Deploy fails with error "Operation Not Permitted" and log messages as shown below

info cloudFoundryDeploy - Use 'cf repo-plugins' to list plugins in registered repos available to install.
info cloudFoundryDeploy - running command: cf deploy ro-bookshop.mtar -f
info cloudFoundryDeploy - runtime/cgo: pthread_create failed: Operation not permitted
info cloudFoundryDeploy - SIGABRT: abort
info cloudFoundryDeploy - PC=0x7fe9b78ccd3c m=0 sigcode=18446744073709551610

But version ppiper/cf-cli:v14, working without any issue.

Dominant language
Dockerfile
Stars
8
Forks
20
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SAP/devops-docker-cf-cli

All issues in SAP/devops-docker-cf-cli

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.