Merge lp:~heut2008/nova/lp1178745 into lp:~openstack-ubuntu-testing/nova/folsom

Proposed by Yaguang Tang
Status: Needs review
Proposed branch: lp:~heut2008/nova/lp1178745
Merge into: lp:~openstack-ubuntu-testing/nova/folsom
Diff against target: 39 lines (+19/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/fix-connectivity-using-floating-ips.patch (+11/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~heut2008/nova/lp1178745
Reviewer Review Type Date Requested Status
Openstack Ubuntu Testers Pending
Review via email: mp+206899@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

488. By Yaguang Tang

fix inconsistent connectivity between instances with floating IPs

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-05-23 20:14:51 +0000
3+++ debian/changelog 2014-02-18 11:28:57 +0000
4@@ -1,3 +1,10 @@
5+nova (2012.2.4-0ubuntu4) quantal; urgency=low
6+
7+ * Fix Inconsistent connectivity between instances with floating IPs:
8+ - debian/patches/fix-connectivity-using-floating-ips.patch(LP: #1178745)
9+
10+ -- Yaguang Tang (Yaguang) <yaguang.tang@canonical.com> Tue, 18 Feb 2014 18:57:57 +0800
11+
12 nova (2012.2.4-0ubuntu3) UNRELEASED; urgency=low
13
14 * Dropped patches, applied upstream:
15
16=== added file 'debian/patches/fix-connectivity-using-floating-ips.patch'
17--- debian/patches/fix-connectivity-using-floating-ips.patch 1970-01-01 00:00:00 +0000
18+++ debian/patches/fix-connectivity-using-floating-ips.patch 2014-02-18 11:28:57 +0000
19@@ -0,0 +1,11 @@
20+Index: b/nova/network/linux_net.py
21+===================================================================
22+--- a/nova/network/linux_net.py 2014-01-14 12:54:59.463316598 +0800
23++++ b/nova/network/linux_net.py 2014-01-14 12:55:17.167316873 +0800
24+@@ -642,6 +642,8 @@
25+ rule += ' -o %s' % device
26+ return [('PREROUTING', '-d %s -j DNAT --to %s' % (floating_ip, fixed_ip)),
27+ ('OUTPUT', '-d %s -j DNAT --to %s' % (floating_ip, fixed_ip)),
28++ ('POSTROUTING', '-s %s -m conntrack --ctstate DNAT -j SNAT '
29++ '--to-source %s' %(fixed_ip, floating_ip)),
30+ ('float-snat', rule)]
31
32=== modified file 'debian/patches/series'
33--- debian/patches/series 2013-05-23 20:17:13 +0000
34+++ debian/patches/series 2014-02-18 11:28:57 +0000
35@@ -4,3 +4,4 @@
36 fix-docs-build-without-network.patch
37 avoid_setuptools_git_dependency.patch
38 rbd-security.patch
39+fix-connectivity-using-floating-ips.patch

Subscribers

People subscribed via source and target branches