A deployment done with that branch worked, mysql/0 (the leader) has the correct netmask for the secondary IP, and it's also listed as a secondary now:
$ juju ssh mysql/0
Warning: Permanently added '10.96.10.114' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.96.9.16' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-63-generic x86_64)
ubuntu@juju-machine-0-lxc-5:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
25: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:16:3e:a6:8d:6b brd ff:ff:ff:ff:ff:ff
inet 10.96.9.16/16 brd 10.96.255.255 scope global eth0
valid_lft forever preferred_lft forever
inet 10.96.10.109/16 brd 10.96.255.255 scope global secondary eth0
valid_lft forever preferred_lft forever
inet6 fe80::216:3eff:fea6:8d6b/64 scope link
valid_lft forever preferred_lft forever
$ juju status mysql --format=tabular
[Services]
NAME STATUS EXPOSED CHARM
hacluster-mysql false cs:trusty/hacluster-23
landscape-client false cs:trusty/landscape-client-12
mysql unknown false cs:~ahasenack/trusty/percona-cluster-autodetect-vip-0
[Machines]
ID STATE VERSION DNS INS-ID SERIES HARDWARE
0 started 1.24.5 squier.scapestack /MAAS/api/1.0/nodes/node-60c21846-546c-11e4-821d-2c59e54ace74/ trusty arch=amd64 cpu-cores=4 mem=16384M
2 started 1.24.5 hendel.scapestack /MAAS/api/1.0/nodes/node-f7bd8a1c-39ec-11e5-ab72-2c59e54ace74/ trusty arch=amd64 cpu-cores=4 mem=16384M
4 started 1.24.5 sekine.scapestack /MAAS/api/1.0/nodes/node-179adc6a-39eb-11e5-ab5d-2c59e54ace74/ trusty arch=amd64 cpu-cores=4 mem=16384M
A deployment done with that branch worked, mysql/0 (the leader) has the correct netmask for the secondary IP, and it's also listed as a secondary now:
$ juju ssh mysql/0
Warning: Permanently added '10.96.10.114' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.96.9.16' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-63-generic x86_64)
* Documentation: https:/ /help.ubuntu. com/
System information disabled due to load higher than 4.0
Get cloud support with Ubuntu Advantage Cloud Guest: www.ubuntu. com/business/ services/ cloud
http://
ubuntu@ juju-machine- 0-lxc-5: ~$ ip addr UP,LOWER_ UP> mtu 65536 qdisc noqueue state UNKNOWN group default MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 3eff:fea6: 8d6b/64 scope link
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
25: eth0: <BROADCAST,
link/ether 00:16:3e:a6:8d:6b brd ff:ff:ff:ff:ff:ff
inet 10.96.9.16/16 brd 10.96.255.255 scope global eth0
valid_lft forever preferred_lft forever
inet 10.96.10.109/16 brd 10.96.255.255 scope global secondary eth0
valid_lft forever preferred_lft forever
inet6 fe80::216:
valid_lft forever preferred_lft forever
$ juju status mysql --format=tabular hacluster- 23 landscape- client- 12 trusty/ percona- cluster- autodetect- vip-0
[Services]
NAME STATUS EXPOSED CHARM
hacluster-mysql false cs:trusty/
landscape-client false cs:trusty/
mysql unknown false cs:~ahasenack/
[Units] client/ 30 unknown idle 1.24.5 10.96.9.16 client/ 32 unknown idle 1.24.5 10.96.8.230 client/ 36 unknown idle 1.24.5 10.96.9.11
ID WORKLOAD-STATE AGENT-STATE VERSION MACHINE PORTS PUBLIC-ADDRESS MESSAGE
mysql/0 unknown idle 1.24.5 0/lxc/5 10.96.9.16
hacluster-mysql/0 unknown idle 1.24.5 10.96.9.16
landscape-
mysql/1 unknown idle 1.24.5 2/lxc/5 10.96.8.230
hacluster-mysql/1 unknown idle 1.24.5 10.96.8.230
landscape-
mysql/2 unknown idle 1.24.5 4/lxc/5 10.96.9.11
hacluster-mysql/2 unknown idle 1.24.5 10.96.9.11
landscape-
[Machines] 1.0/nodes/ node-60c21846- 546c-11e4- 821d-2c59e54ace 74/ trusty arch=amd64 cpu-cores=4 mem=16384M 1.0/nodes/ node-f7bd8a1c- 39ec-11e5- ab72-2c59e54ace 74/ trusty arch=amd64 cpu-cores=4 mem=16384M 1.0/nodes/ node-179adc6a- 39eb-11e5- ab5d-2c59e54ace 74/ trusty arch=amd64 cpu-cores=4 mem=16384M
ID STATE VERSION DNS INS-ID SERIES HARDWARE
0 started 1.24.5 squier.scapestack /MAAS/api/
2 started 1.24.5 hendel.scapestack /MAAS/api/
4 started 1.24.5 sekine.scapestack /MAAS/api/