1
Openstack Charms with IPv6
2
==========================
3
How to deploy Openstack charms on an IPv6 network.
5
NOTE[0]: the percona-cluster charm includes a workaround for bug 1380747 which
6
is intended to be removed once this issue is fixed upstream.
8
NOTE[1]: swift-proxy and neutron-gateway both require python-eventlet >= 0.17
9
which only exists in distro as of Ubuntu Wily (Openstack Liberty).
13
In order for IPv6 enabled charms to work, hosts much be configured with ipv6
14
addresses. For test purposes one case use radvd to automatically provide ipv6
15
addresses to nodes on your network so that you end up with something similar
18
eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc pfifo_fast state UP group default qlen 1000
19
link/ether fa:16:3e:d3:99:81 brd ff:ff:ff:ff:ff:ff
20
inet 10.5.0.77/16 brd 10.5.255.255 scope global eth0
21
valid_lft forever preferred_lft forever
22
inet6 2001:db8:0:1:f816:3eff:fed3:9981/64 scope global dynamic
23
valid_lft 86147sec preferred_lft 14147sec
24
inet6 fe80::f816:3eff:fed3:9981/64 scope link
25
valid_lft forever preferred_lft forever
27
NOTE: ensure that ipv6 privacy extensions are DISABLED since the charms do not
28
support this feature. Ubuntu server currently has them disabled by default and
29
desktop has them enabled.
36
sudo apt-get install radvd
38
2) Set gateway address (assuming eth0 throughout here)
40
sudo ip addr add 2001:db8:0:1::2/64 dev eth0
46
The prefix "2001:db8:0:1::/64" should be changed according to real network
52
prefix 2001:db8:0:1::/64
59
4) sudo service radvd restart
61
5) Make sure ipv6 forwarding is enabled
63
echo "net.ipv6.conf.all.forwarding = 1"| sudo tee /etc/sysctl.d/100-openstack-charms-ipv6.conf
64
sudo sysctl -p /etc/sysctl.d/100-openstack-charms-ipv6.conf
66
6) Let IPv6 pass through the firewall
70
7) If you are deploying to Openstack, make sure your nova/neutron security
71
group rules are allowing Ingress ICMP and TCP (./tools/sec_groups.sh)
77
1) choose a bundle from:
79
* bundles/ipv6/next-ipv6.yaml - deploys charms ipv6 from the development branches
80
* bundles/ipv6/next-ipv6-ha.yaml - deploys charms as HA ipv6 from the development branches
82
2) Using one of the above do:
84
juju-deployer -c <bundle> -d trusty-mitaka
87
3) Once complete, switch novarc to tools/ipv6/novarc and run ./configure <profile>
89
NOTE: if you are not deploying HA you'll need to set OS_AUTH_URL to the v6 address of your keystone unit
91
4) You can then run tests found in the tools/ipv6 directory