[Bug 1992485] Re: git cannot fetch: fatal: fetch-pack: unable to fork off sideband demultiplexer

Paul White 1992485 at bugs.launchpad.net
Wed Nov 30 15:38:38 UTC 2022


** Changed in: ubuntu
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1992485

Title:
  git cannot fetch: fatal: fetch-pack: unable to fork off sideband
  demultiplexer

Status in Ubuntu Docker Images:
  New
Status in Ubuntu:
  Invalid
Status in git package in Ubuntu:
  Invalid

Bug description:
  There is a weird bug affecting the Ubuntu 22.04 Docker Image that
  seems to only be triggered in certain environments.

  For some reason, when running certain git commands, the following happens:
  https://github.com/argoproj/argo-cd/issues/9888

  ```
  fatal: fetch-pack: unable to fork off sideband demultiplexer
  ```

  On top of that, with the same 22.04 Docker Image, some errors related to GPG are happening:
  https://github.com/argoproj/argo-cd/issues/9809

  I believe this is due to an incompatible OS + Kernel combination, or
  due to some VMware customization.

  The entirety of the analysis is available in those two GitHub issues -
  although they're initially related to ArgoCD, the issue seems to be
  with the vanilla Ubuntu 22.04 Docker Image (and maybe with the Ubuntu
  4.15.0-167-generic kernel).

  Our enviornment:

  Kubernetes cluster running on VMware Tanzu (v1.21.9+vmware.1):
  Ubuntu 16.04.7 LTS 
  Linux 4.15.0-167-generic
  Container Runtime: Docker 20.10.9

  Image having issues:

  - ubuntu:22.10

  Steps to reproduce the issue:

  - Get a VMware Tanzu Kubernetes cluster
  - Start a Pod with ubuntu:21.10
  - Try to do `git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git` (or any repo, really)
  - Notice that you've successfully cloned the repo

  Now, with Ubuntu 22.10:

  - Get a VMware Tanzu Kubernetes cluster
  - Start a Pod with ubuntu:22.10
  - Try to do `git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git` (or any repo, really)

  Result:
  Cloning into 'linux'...
  error: cannot create async thread: Operation not permitted
  fatal: fetch-pack: unable to fork off sideband demultiplexer

  
  We believe this might be an issue with the Ubuntu 22.10 Docker image (?) and VMware Tanzu together.

  We've noticed that libpthread is not linked in the git binary, and
  that might explain the fork issue, althoguh not completely.

  We've also noticed (but this should be OK?) that we don't have enough
  entropy on /dev/random (being a VM), but I don't think this is really
  the problem.

  Can someone help us out and point us in the right direction?
  We can eventually continue the conversation in one of the two above mentioned ArgoCD issues.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-docker-images/+bug/1992485/+subscriptions




More information about the foundations-bugs mailing list