Your message dated Wed, 28 Aug 2019 12:24:40 +0000
with message-id <[email protected]>
and subject line Bug#935880: Removed package(s) from unstable
has caused the Debian Bug report #920655,
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 [email protected]
immediately.)


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

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 ---
Version: 2.15.2-15+rm

Dear submitter,

as the package ganeti-2.15 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/935880

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to