MACHINE STATE DNS INS-ID SERIES AZ
0 started 10.9.1.160 /MAAS/api/1.0/nodes/node-278facc0-4cb6-11e6-b6fa-5254004a236f/ trusty default
1 started 10.10.11.141 /MAAS/api/1.0/nodes/node-b43a591a-4cb4-11e6-aba7-5254004a236f/ trusty default
juju run --unit juju-gui/0 'network-get --primary-address web'
10.9.1.161
juju run --unit juju-gui/0 'unit-get private-address'
10.10.11.141
juju run --unit juju-gui/0 'unit-get public-address'
10.10.11.141
Hi Andrew,
Using above workaround the ip duplicacy resolved, but issue of wrong ip allocation is still there for nodes.
ifconfig ff:fe46: 6207/64 Scope:Link
collisions: 0 txqueuelen:0
br-eth0 Link encap:Ethernet HWaddr 52:54:00:46:62:07
inet addr:10.9.1.161 Bcast:10.9.1.255 Mask:255.255.255.0
inet6 addr: fe80::5054:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8259 errors:0 dropped:0 overruns:0 frame:0
TX packets:4217 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:46366996 (46.3 MB) TX bytes:742318 (742.3 KB)
br-eth1 Link encap:Ethernet HWaddr 52:54:00:7b:fb:24 ff:fe7b: fb24/64 Scope:Link
collisions: 0 txqueuelen:0
inet addr:10.10.11.141 Bcast:10.10.11.255 Mask:255.255.255.0
inet6 addr: fe80::5054:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10638 errors:0 dropped:0 overruns:0 frame:0
TX packets:4685 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:34751479 (34.7 MB) TX bytes:428812 (428.8 KB)
eth0 Link encap:Ethernet HWaddr 52:54:00:46:62:07
collisions: 0 txqueuelen:1000
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9739 errors:0 dropped:29 overruns:0 frame:0
TX packets:5015 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:62080374 (62.0 MB) TX bytes:814704 (814.7 KB)
eth1 Link encap:Ethernet HWaddr 52:54:00:7b:fb:24
collisions: 0 txqueuelen:1000
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12064 errors:0 dropped:49 overruns:0 frame:0
TX packets:4694 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:36175696 (36.1 MB) TX bytes:429526 (429.5 KB)
juju status
MODEL CONTROLLER CLOUD VERSION
controller cplane-controller cplane 2.0-beta11
APP STATUS EXPOSED ORIGIN CHARM REV OS
juju-gui maintenance false jujucharms juju-gui 130 ubuntu
UNIT WORKLOAD AGENT MACHINE PORTS PUBLIC-ADDRESS MESSAGE
juju-gui/0 maintenance executing 1 10.10.11.141 (install) installing charm software
MACHINE STATE DNS INS-ID SERIES AZ 1.0/nodes/ node-278facc0- 4cb6-11e6- b6fa-5254004a23 6f/ trusty default 1.0/nodes/ node-b43a591a- 4cb4-11e6- aba7-5254004a23 6f/ trusty default
0 started 10.9.1.160 /MAAS/api/
1 started 10.10.11.141 /MAAS/api/
juju run --unit juju-gui/0 'network-get --primary-address web'
10.9.1.161
juju run --unit juju-gui/0 'unit-get private-address'
10.10.11.141
juju run --unit juju-gui/0 'unit-get public-address'
10.10.11.141