Public bug reported:

Working with openstack, I have to swap two ip sets:
# ipset list
  Name: NETIPv4fa676208-fc0f-4328-8-new
  Type: hash:net
  Revision: 4
  Header: family inet hashsize 1024 maxelem 65536
  Size in memory: 16792
  References: 0
  Members:
  10.0.0.3

  Name: NETIPv4fa676208-fc0f-4328-8
  Type: hash:net
  Revision: 4
  Header: family inet hashsize 1024 maxelem 65536
  Size in memory: 16792
  References: 1
  Members:
  10.0.0.3

If I use ipset v6.20.1 from Ubuntu 14.04, ipset swap command runs succesfully, 
but if I do the same thing with ipset from Ubuntu Vivid (v6.24), then got this 
error:
# ipset swap NETIPv4fa676208-fc0f-4328-8 NETIPv4fa676208-fc0f-4328-8-new
  ipset v6.24: Invalid swap command: missing to-setname

** Affects: ipset (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: vivid

** Description changed:

  Working with openstack, I have to swap two ip sets:
  # ipset list
-   Name: NETIPv4fa676208-fc0f-4328-8-new
-   Type: hash:net
-   Revision: 4
-   Header: family inet hashsize 1024 maxelem 65536
-   Size in memory: 16792
-   References: 0
-   Members:
-   10.0.0.3
+   Name: NETIPv4fa676208-fc0f-4328-8-new
+   Type: hash:net
+   Revision: 4
+   Header: family inet hashsize 1024 maxelem 65536
+   Size in memory: 16792
+   References: 0
+   Members:
+   10.0.0.3
  
-   Name: NETIPv4fa676208-fc0f-4328-8
-   Type: hash:net
-   Revision: 4
-   Header: family inet hashsize 1024 maxelem 65536
-   Size in memory: 16792
-   References: 1
-   Members:
-   10.0.0.3
+   Name: NETIPv4fa676208-fc0f-4328-8
+   Type: hash:net
+   Revision: 4
+   Header: family inet hashsize 1024 maxelem 65536
+   Size in memory: 16792
+   References: 1
+   Members:
+   10.0.0.3
  
- If I use ipset v6.20.1 from Ubuntu 14.04, ipset swap command runs succesfully,
- but if I do the same thing with ipset from Ubuntu Vivid (v6.24), I got this 
error:
+ If I use ipset v6.20.1 from Ubuntu 14.04, ipset swap command runs 
succesfully, but if I do the same thing with ipset from Ubuntu Vivid (v6.24), I 
got this error:
  # ipset swap NETIPv4fa676208-fc0f-4328-8 NETIPv4fa676208-fc0f-4328-8-new
  ipset v6.24: Invalid swap command: missing to-setname

** Description changed:

  Working with openstack, I have to swap two ip sets:
  # ipset list
    Name: NETIPv4fa676208-fc0f-4328-8-new
    Type: hash:net
    Revision: 4
    Header: family inet hashsize 1024 maxelem 65536
    Size in memory: 16792
    References: 0
    Members:
    10.0.0.3
  
    Name: NETIPv4fa676208-fc0f-4328-8
    Type: hash:net
    Revision: 4
    Header: family inet hashsize 1024 maxelem 65536
    Size in memory: 16792
    References: 1
    Members:
    10.0.0.3
  
- If I use ipset v6.20.1 from Ubuntu 14.04, ipset swap command runs 
succesfully, but if I do the same thing with ipset from Ubuntu Vivid (v6.24), I 
got this error:
+ If I use ipset v6.20.1 from Ubuntu 14.04, ipset swap command runs 
succesfully, but if I do the same thing with ipset from Ubuntu Vivid (v6.24), 
then got this error:
  # ipset swap NETIPv4fa676208-fc0f-4328-8 NETIPv4fa676208-fc0f-4328-8-new
  ipset v6.24: Invalid swap command: missing to-setname

** Description changed:

  Working with openstack, I have to swap two ip sets:
  # ipset list
    Name: NETIPv4fa676208-fc0f-4328-8-new
    Type: hash:net
    Revision: 4
    Header: family inet hashsize 1024 maxelem 65536
    Size in memory: 16792
    References: 0
    Members:
    10.0.0.3
  
    Name: NETIPv4fa676208-fc0f-4328-8
    Type: hash:net
    Revision: 4
    Header: family inet hashsize 1024 maxelem 65536
    Size in memory: 16792
    References: 1
    Members:
    10.0.0.3
  
  If I use ipset v6.20.1 from Ubuntu 14.04, ipset swap command runs 
succesfully, but if I do the same thing with ipset from Ubuntu Vivid (v6.24), 
then got this error:
  # ipset swap NETIPv4fa676208-fc0f-4328-8 NETIPv4fa676208-fc0f-4328-8-new
- ipset v6.24: Invalid swap command: missing to-setname
+   ipset v6.24: Invalid swap command: missing to-setname

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

Title:
  ipset v6.24: Invalid swap command: missing to-setname

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipset/+bug/1447093/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to