Bug 1186171
Summary: | [routing-daemon] Improper scp command cause the failure of copying certificate and key for alias to BIGIP LTM host | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Johnny Liu <jialiu> |
Component: | Node | Assignee: | chris alfonso <calfonso> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 2.2.0 | CC: | calfonso, hbrock, jdetiber, jokerman, libra-onpremise-devel, mmccomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rubygem-openshift-origin-routing-daemon-0.22.1.2-1.el6op | Doc Type: | Bug Fix |
Doc Text: |
Cause: A bug in the HA routing daemon prevented certificates from being copied to BIGIP LTM hosts.
Consequence: Certificates were not properly copied to BIGIP LTM hosts.
Fix: The routing daemon has been updated to properly copy certificates to BIGIP LTM hosts.
Result: Certificates are now copied to BIGIP LTM hosts.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-12 13:10:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Johnny Liu
2015-01-27 09:12:55 UTC
The same issues also happened with the following lines: 238 # Requires LTM System->Users->admin terminal setting to be set to advanced (bash) 239 @logger.debug("LTM removing temporary alias certificate. rm -f /var/tmp/#{alias_str}.crt") 240 result = `ssh -i #{@ssh_private_key} admin@#{@host} 'rm -f /var/tmp/#{alias_str}.crt'` 241 @logger.debug("LTM removing temporary alias key. rm -f /var/tmp/#{alias_str}.key") 242 result = `ssh -i #{@ssh_private_key} admin@#{@host} 'rm -f /var/tmp/#{alias_str}.key'` All the ssh/scp should be added with "-o StrictHostKeyChecking=no -o PasswordAuthentication=no -o VerifyHostKeyDNS=no -o UserKnownHostsFile=/dev/null" option. PR opened upstream, https://github.com/openshift/origin-server/pull/6060 Verified the bug with rubygem-openshift-origin-routing-daemon-0.22.1.2-1.el6op.noarch, and PASS. Now all the scp/ssh commands are added with suggested options, when adding ssl cert via scp for the first time, it is working well. I, [2015-02-03T03:42:10.078715 #8490] INFO -- : Adding ssl configuration for www.app2.com in pool pool_ose_myapp_jialiu_80 D, [2015-02-03T03:42:10.079863 #8490] DEBUG -- : Copying certificate and key for alias www.app2.com for pool pool_ose_myapp_jialiu_80 to LTM host ==> /var/log/openshift-routing-daemon.output <== Warning: Permanently added '54.175.21.25' (RSA) to the list of known hosts. Warning: Permanently added '54.175.21.25' (RSA) to the list of known hosts. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0220.html |