<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>49959</bug_id>
          
          <creation_ts>2024-04-08 15:41:21 +0300</creation_ts>
          <short_desc>Ошибка NoSuchDev при удалении интерфейса из team</short_desc>
          <delta_ts>2024-04-08 16:25:19 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libteam</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>244381</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2024-04-08 15:41:21 +0300</bug_when>
    <thetext>Версия пакета:

1.32-alt1 (так же воспроизводится в p10 на версии 1.31-alt2.g69a7494)

Шаги воспроизведения:

# teamd -d

# ip li
1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens19: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 36:7b:0e:0a:bc:15 brd ff:ff:ff:ff:ff:ff
    altname enp0s19


# ip link set dev ens19 down

# teamdctl team0 port add ens19 &amp;&amp; echo ok
ok

# teamdctl team0 config dump 
{
    &quot;device&quot;: &quot;team0&quot;,
    &quot;ports&quot;: {
        &quot;ens19&quot;: {
            &quot;link_watch&quot;: {
                &quot;name&quot;: &quot;ethtool&quot;
            }
        }
    },
    &quot;runner&quot;: {
        &quot;name&quot;: &quot;roundrobin&quot;
    }
}

# teamdctl team0 port remove ens19

Получаемый результат:

libteamdctl: cli_usock_process_msg: usock: Error message received: &quot;NoSuchDev&quot;
libteamdctl: cli_usock_process_msg: usock: Error message content: &quot;No such device.&quot;
command call failed (Invalid argument)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>244383</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2024-04-08 16:25:19 +0300</bug_when>
    <thetext>Проверялось на системах:
* ALT Workstation 10.2 x86_64 - воспроизводится;
* ALT Server 10.2 x86_64 (профиль &quot;домашний сервер&quot;) - воспроизводится;
* ALT Server 10.2 x86_64 (профиль &quot;офисный сервер&quot;) - не воспроизводится;
* ALT Server 10.2 x86_64 (минимальный профиль) - не воспроизводится.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>