[
https://issues.apache.org/jira/browse/CLOUDSTACK-8915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14942148#comment-14942148
]
ASF GitHub Bot commented on CLOUDSTACK-8915:
--------------------------------------------
Github user wilderrodrigues commented on a diff in the pull request:
https://github.com/apache/cloudstack/pull/908#discussion_r41084587
--- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsRedundant.py ---
@@ -96,7 +96,8 @@ def _redundant_on(self):
d = s.replace(".templ", "")
CsHelper.copy_if_needed(
"%s/%s" % (self.CS_TEMPLATES_DIR, s), "%s/%s" %
(self.CS_ROUTER_DIR, d))
- CsHelper.copy(
--- End diff --
What fixed the RVR was the change in the CsRedundant._collect_ips function.
That one was kept, I just fixed the rVPC part of it, which was changed with no
reason.
Concerning the template file (conntrackd.conf.templ), that's just a default
conntrackd file completely commented out. If we copy it in every operation in
the routers it will restart conntrackd every time, because it copies the the
and afterwards it applies the configuration we need:
```
# conntrackd configuration
connt = CsFile(self.CONNTRACKD_CONF)
if guest is not None:
connt.section("Multicast {", "}", [
"IPv4_address 225.0.0.50\n",
"Group 3780\n",
"IPv4_interface %s\n" % guest.get_ip(),
"Interface %s\n" % guest.get_device(),
"SndSocketBuffer 1249280\n",
"RcvSocketBuffer 1249280\n",
"Checksum on\n"])
connt.section("Address Ignore {", "}",
self._collect_ignore_ips())
connt.commit()
```
The copy if needed is fine.
> Cannot SSH into VMs deployed Redundant VPC routers
> --------------------------------------------------
>
> Key: CLOUDSTACK-8915
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8915
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Virtual Router
> Affects Versions: 4.6.0
> Reporter: Wilder Rodrigues
> Assignee: Wilder Rodrigues
> Priority: Blocker
>
> The Marvin test under componenet/test_vpc_redundant.py no longer passes. I
> also tried to test it manually, but unfortunately the feature is now broken.
> * Create a Redundant VPC
> * Add a tier
> * Add a new VM to the tier
> * Add an ACL, open port 22 and associate the ACL with the tier
> * Acquire a pub IP
> * Add a PF rule to port 22 towards the VM
> * Try to SSH to the VM through the Pub IP
> It fails with "No route to host"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)