# Same instrumental local charm without os-*-hostname config set:
2021-03-23 13:30:15 ERROR juju-log debug unsorted: [('10.5.3.136', '10.5.100.2'), ('10.5.3.136', '10.5.100.2'), ('10.5.3.136', '10.5.100.2')] 2021-03-23 13:30:15 ERROR juju-log debug sorted: [('10.5.3.136', '10.5.100.2')]
10.5.100.2 => VIP 10.5.3.136 => keystone/0 IP
We see here that duplicates are removed in this scenario, as opposed to when os-*-hostname are set.
$ juju config keystone vip 10.5.100.2
# Same instrumental local charm without os-*-hostname config set:
2021-03-23 13:30:15 ERROR juju-log debug unsorted: [('10.5.3.136', '10.5.100.2'), ('10.5.3.136', '10.5.100.2'), ('10.5.3.136', '10.5.100.2')]
2021-03-23 13:30:15 ERROR juju-log debug sorted: [('10.5.3.136', '10.5.100.2')]
10.5.100.2 => VIP
10.5.3.136 => keystone/0 IP
We see here that duplicates are removed in this scenario, as opposed to when os-*-hostname are set.
$ juju config keystone vip
10.5.100.2