Your message dated Mon, 28 Jan 2019 15:08:56 +0000
with message-id <e1go8wu-0006sk...@fasolo.debian.org>
and subject line Bug#920686: fixed in ganeti 2.16.0-4
has caused the Debian Bug report #920686,
regarding ganeti-2.15: hardcoded ioctl constants are not arch-independent, 
breaking network on powerpc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
920686: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920686
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ganeti-2.15
Version: 2.15.2-7+deb9u3
Severity: important
User: debian-ad...@lists.debian.org
Usertags: needed-by-DSA-Team
X-Debbugs-Cc: debian-ad...@lists.debian.org

Hi,

take this small C program:

    #include <stdio.h>
    #include <sys/ioctl.h>
    #include <linux/if_tun.h>

    int main() {
            printf("0x%x\n", TUNGETFEATURES);
            return 0;
    }

On x86, it prints 0x800454cf.
On POWER, it prints 0x400454cf (because
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/powerpc/include/uapi/asm/ioctl.h
overrides the generic values).

FWIW for the other ioctls:
TUNGETIFF = 0x400454d2
TUNSETIFF = 0x800454ca

Ganeti hardcodes the former value in
/usr/share/ganeti/2.15/ganeti/hypervisor/hv_kvm/netdev.py, and starting
a guest fails with:

2019-01-27 22:20:04,596: ganeti-noded pid=56691 WARNING ioctl(TUNGETFEATURES) 
failed: [Errno 77] File descriptor in bad state
2019-01-27 22:20:04,596: ganeti-noded pid=56691 ERROR Hypervisor error: Failed 
to allocate a new TAP device: [Errno 77] File descriptor in bad state
Traceback (most recent call last):
  File "/usr/share/ganeti/2.15/ganeti/backend.py", line 2769, in StartInstance
    hyper.StartInstance(instance, block_devices, startup_paused)
  File "/usr/share/ganeti/2.15/ganeti/hypervisor/hv_kvm/__init__.py", line 
1793, in StartInstance
    self._ExecuteKVMRuntime(instance, kvm_runtime, kvmhelp)
  File "/usr/share/ganeti/2.15/ganeti/hypervisor/hv_kvm/__init__.py", line 
1607, in _ExecuteKVMRuntime
    OpenTap(features=features, name=self._GenerateKvmTapName(nic))
  File "/usr/share/ganeti/2.15/ganeti/hypervisor/hv_kvm/netdev.py", line 177, 
in OpenTap
    err)
HypervisorError: Failed to allocate a new TAP device: [Errno 77] File 
descriptor in bad state

Cheers,
Julien

--- End Message ---
--- Begin Message ---
Source: ganeti
Source-Version: 2.16.0-4

We believe that the bug you reported is fixed in the latest version of
ganeti, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 920...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Apollon Oikonomopoulos <apoi...@debian.org> (supplier of updated ganeti package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 28 Jan 2019 11:37:36 +0200
Source: ganeti
Binary: ganeti ganeti-2.16 ganeti-haskell-2.16 ganeti-htools ganeti-htools-2.16 
ganeti-doc python-ganeti-rapi python3-ganeti-rapi ganeti-testsuite
Architecture: source
Version: 2.16.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Ganeti Team <gan...@packages.debian.org>
Changed-By: Apollon Oikonomopoulos <apoi...@debian.org>
Description:
 ganeti     - cluster virtualization manager
 ganeti-2.16 - cluster virtualization manager - Python components
 ganeti-doc - cluster virtualization manager - documentation
 ganeti-haskell-2.16 - cluster virtualization manager - Haskell components
 ganeti-htools - cluster virtualization manager - tools (stand-alone)
 ganeti-htools-2.16 - cluster virtualization manager - tools for Ganeti 2.16
 ganeti-testsuite - cluster virtualization manager - test suite
 python-ganeti-rapi - cluster virtualization manager - RAPI client library
 python3-ganeti-rapi - cluster virtualization manager - RAPI client library 
(Python 3)
Closes: 918374 920685 920686
Changes:
 ganeti (2.16.0-4) unstable; urgency=medium
 .
   * Fix FTBFS with sphinx 1.8 (Closes: #918374)
   * Bump Standards-Version to 4.3.0; no changes needed
   * Detect arch-dependent libc/linux header values (Closes: #920685, #920686)
   * Fix process control with start-stop-daemon from dpkg 1.19.4
Checksums-Sha1:
 1a2cec8f5fce32222ad64cf3c1dad14b5a7a8fab 3483 ganeti_2.16.0-4.dsc
 fc8db26e40d7b94ca0f1e93947f5e71b17db276b 61240 ganeti_2.16.0-4.debian.tar.xz
 e20f2bb655d6734cc5952ec603a377ed63155491 14433 ganeti_2.16.0-4_source.buildinfo
Checksums-Sha256:
 b72ec92b9f76a99cc291d2a9e5f9a66c7beeedaf9da5753a9a475c3fa8137a66 3483 
ganeti_2.16.0-4.dsc
 c247d31dcba24186869fd656cef98f499c09da374bd5622e4fb04cfa50550665 61240 
ganeti_2.16.0-4.debian.tar.xz
 650aa55f2814a518f780ba0847b6ba933479a26b8573ea582bf4de8df4ec81cc 14433 
ganeti_2.16.0-4_source.buildinfo
Files:
 19441869d78e1c2c846942a1069f0487 3483 admin optional ganeti_2.16.0-4.dsc
 a94276edcbd498288d3b11cfb0cdff4b 61240 admin optional 
ganeti_2.16.0-4.debian.tar.xz
 9c9415224689d4dbe9e767c259788f2d 14433 admin optional 
ganeti_2.16.0-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCAAxFiEEPgL9ZlYpWVIRC6uZ9RsYxyAkgiQFAlxO9IITHGFwb2lrb3NA
ZGViaWFuLm9yZwAKCRD1GxjHICSCJBwYD/47Ztb0pTw5MT6mIalSZPh+U4nq/+Rs
BOxusaVsvwL2W2fnAywolm3k7abikBC4X42zfad6CNZABJ6/f6//TvuO6s/dZTo0
4X/XDM8sfdKE9K0rd5+Jfxt1jIbjfOvrEmNWmRmfhkC+J5T08ZcPemzhSlCeJ10B
Lv2MxBCcpwFcPmcsuUztkgemhS6AWS12t93y0+2nibxK+8DhbUTu9m/3jcfcY3v3
g8Hi4TtcKMkKi7fdbicmf1aOOTMQan3cjbv2kL43ghDZJlO4OTUc6ZsN8POg0yyR
/FRmE36rVBQ3Z2E6aphR3cA0xJFjFbS/jYqo7/a+/J1EDY85pf0AbWvBrs45DB0R
cSd+5WnQQ4d9eBo4IOT1XDWIaGiY2KJmEpTmRDEXIiJEm1Oeu7yT1lNYm+sr8M8q
PqmvMFXBBRhDdFNsGDxo2JPTsWiXnDZvteNze2DzgUfwtQeb+HM0+NlkbVdK+cnT
qfQv0x10AflfWPnT3Tlrpkt6iDaa59t6hRqshpmfkb/O1Tk9jxzmtjXL766RpFty
Wr/pqogOrl/FCxG87Tvy8+Dy9cG5NEldgCvo18isI9AqJ6iQLMFaD3fYfbD7/ZuH
75NCTzS/HKrdTfEK+SkbbLV9fXRDTJPuPumvvUk0JVjCv9tQit1040kD1RYUaVLe
m34/D8cqgOCvFQ==
=Y6Cu
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to