elektra
elektra copied to clipboard
Elektra has to segregate ports (interfaces) and IP aliases
1st case - two network interfaces. They could be managed by Elektra.
$ openstack port list --server test
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------+--------+
| ID | Name | MAC Address | Fixed IP Addresses | Status |
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------+--------+
| 934e0c6d-76d5-463a-bd36-a799536e13cf | | fa:16:3e:d6:e9:87 | ip_address='10.180.0.15', subnet_id='7270e56e-c02b-4741-8403-6cee4caa21db' | ACTIVE |
| ce617140-aef5-44f1-aae4-f48a6c3da8b1 | | fa:16:3e:3f:c2:fb | ip_address='10.180.0.17', subnet_id='7270e56e-c02b-4741-8403-6cee4caa21db' | ACTIVE |
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------+--------+
Elektra shows:
2nd case - two IP addresses on the port. Here we have some problems.
$ openstack port set --fixed-ip subnet=7270e56e-c02b-4741-8403-6cee4caa21db,ip-address=10.180.0.100 934e0c6d-76d5-463a-bd36-a799536e13cf
$ openstack port list --server test
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------+--------+
| ID | Name | MAC Address | Fixed IP Addresses | Status |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------+--------+
| 934e0c6d-76d5-463a-bd36-a799536e13cf | | fa:16:3e:d6:e9:87 | ip_address='10.180.0.100', subnet_id='7270e56e-c02b-4741-8403-6cee4caa21db' | ACTIVE |
| | | | ip_address='10.180.0.15', subnet_id='7270e56e-c02b-4741-8403-6cee4caa21db' | |
| ce617140-aef5-44f1-aae4-f48a6c3da8b1 | | fa:16:3e:3f:c2:fb | ip_address='10.180.0.17', subnet_id='7270e56e-c02b-4741-8403-6cee4caa21db' | ACTIVE |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------+--------+
Elektra shows:
Now lets assume that we never saw this project not aware what is the IP alias and what is the interface. I'm going to remove 10.180.0.100
IP interface via Elektra:
And now we get only one IP 10.180.0.17, which is inaccessible.
It is accessible only after the reboot.
So to summarize, we should try to find a way to somehow visualize when multiple IPs are on the same port, ideally also in the "Detach Interface" dialog.
But the problem that the server becomes inaccessible until rebooted seems weird. Maybe the second interface never properly worked in the first place?
the second interface never properly worked in the first place
exactly