qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Bug 1916344] [NEW] User mode networking not working properly on QEMU on Mac OS X host
@ 2021-02-20 18:45 Ven Karri
  2021-02-20 18:51 ` [Bug 1916344] " Ven Karri
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Ven Karri @ 2021-02-20 18:45 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Steps to reproduce:

1. Install QEMU using homebrew on Mac OS X (I used Big Sur)
2. Spin up a guest VM (say) Cent OS8 using user mode networking.
3. Install podman inside the guest
4. Run podman pull alpine

The result is:

[root@localhost ~]# podman pull alpine
Resolved "alpine" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull docker.io/library/alpine:latest...
Getting image source signatures
Copying blob ba3557a56b15 [======================================] 2.7MiB / 2.7MiB
  unexpected EOF
Error: Error writing blob: error storing blob to file "/var/tmp/storage851171596/1": error happened during read: unexpected EOF

This is happening because QEMU is telling the guest that the TCP
connection is closed even before reading all the data from the host
socket and forwarding it to the guest.

This issue doesn't happen on a Linux host. So, that tells me that this
has something to do with QEMU installation on Mac OS X.

This could be a slirp related issue. So, QEMU/slirp may need to work
together on fixing this. Here's the link to the libslirp issue:

https://gitlab.freedesktop.org/slirp/libslirp/-/issues/35

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: mac networking osx podman qemu slirp user-mode

** Information type changed from Private Security to Public

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1916344

Title:
  User mode networking not working properly on QEMU on Mac OS X host

Status in QEMU:
  New

Bug description:
  Steps to reproduce:

  1. Install QEMU using homebrew on Mac OS X (I used Big Sur)
  2. Spin up a guest VM (say) Cent OS8 using user mode networking.
  3. Install podman inside the guest
  4. Run podman pull alpine

  The result is:

  [root@localhost ~]# podman pull alpine
  Resolved "alpine" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
  Trying to pull docker.io/library/alpine:latest...
  Getting image source signatures
  Copying blob ba3557a56b15 [======================================] 2.7MiB / 2.7MiB
    unexpected EOF
  Error: Error writing blob: error storing blob to file "/var/tmp/storage851171596/1": error happened during read: unexpected EOF

  This is happening because QEMU is telling the guest that the TCP
  connection is closed even before reading all the data from the host
  socket and forwarding it to the guest.

  This issue doesn't happen on a Linux host. So, that tells me that this
  has something to do with QEMU installation on Mac OS X.

  This could be a slirp related issue. So, QEMU/slirp may need to work
  together on fixing this. Here's the link to the libslirp issue:

  https://gitlab.freedesktop.org/slirp/libslirp/-/issues/35

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1916344/+subscriptions


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-07-13  4:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-20 18:45 [Bug 1916344] [NEW] User mode networking not working properly on QEMU on Mac OS X host Ven Karri
2021-02-20 18:51 ` [Bug 1916344] " Ven Karri
2021-02-20 18:57 ` Ven Karri
2021-02-20 22:30 ` Ven Karri
2021-02-22  1:21 ` John Arbuckle
2021-02-22  2:32 ` Ven Karri
2021-02-22 16:55 ` Thomas Huth
2021-02-22 17:30 ` Ven Karri
2021-02-24 22:30 ` John Arbuckle
2021-02-25 17:29 ` Adam Chappell
2021-04-29  9:50 ` Thomas Huth
2021-05-13 11:45 ` Thomas Huth
2021-06-18 16:17 ` Thomas Huth
2021-07-13  4:17 ` Launchpad Bug Tracker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).