Bug #31556
openSwitch hostname between NIC and Virtual NIC
Description
I found that I get a "has already been taken" error every time I want to update the interface DNS Name from the Virtual NIC to the Primary NIC.
It seems that the logic check fails because it sees I am using a hostname that is already used but it does not consider that I've removed that hostname from the Virtual NIC where it was used previously.
Files
Updated by Danie de Jager over 4 years ago
Danie de Jager wrote:
I found that I get a "has already been taken" error every time I want to update the interface DNS Name from the Virtual NIC to the Primary NIC.
It seems that the logic check fails because it sees I am using a hostname that is already used but it does not consider that I've removed that hostname from the Virtual NIC where it was used previously.
Starting with hostname = host
1. Set new hostname to host1 for the NIC so I can assign the Virtual NIC with the correct hostname.
2. Apply change
3. Set Correct hostname to host to the Virtual NIC and make the interface the primary.
4. Apply change
5. Remove hostname host1 from the NIC to set hostname of NIC to NULL
6. Cannot apply the change but no reason / error is given.