Comment 2 for bug 1998927

Revision history for this message
Elod Illes (elod-illes) wrote :

Thanks for the bug report and the reproduction steps. I was able to reproduce the problem, the fixed ip command assigns random IP even if we ask an IP explicitly:

$ openstack server add fixed ip a2a32647-7b42-44a0-96f1-0f6a929a87c7 --fixed-ip-address 10.0.4.95 35634223-1e9d-4c90-a47c-723e6e8773ca
+-------------+--------------------------------------------------------------------------+
| Field | Value |
+-------------+--------------------------------------------------------------------------+
| Port ID | 3dfe6ea1-0da2-4635-8523-79e1fa989c25 |
| Server ID | a2a32647-7b42-44a0-96f1-0f6a929a87c7 |
| Network ID | 35634223-1e9d-4c90-a47c-723e6e8773ca |
| MAC Address | fa:16:3e:56:87:24 |
| Port State | ACTIVE |
| Fixed IPs | ip_address='10.0.4.63', subnet_id='c4b60a49-37d0-4b48-83a8-4fbcf18c2b47' |
| Tag | None |
+-------------+--------------------------------------------------------------------------+

(we asked for IP 10.0.4.95 and got 10.0.4.63)