| Summary: | openshift.ks: add ability to enable external LB example plugin | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Luke Meyer <lmeyer> |
| Component: | Node | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.0.0 | CC: | bleanhar, libra-onpremise-devel, xiama |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-02-04 16:46:35 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: | |
|
Description
Luke Meyer
2013-12-13 17:41:41 UTC
I did it :) https://github.com/openshift/openshift-extras/pull/258 Might be wise for QE to check I didn't mess anything up. Note also the "echo" listener https://github.com/openshift/openshift-extras/blob/enterprise-2.0/admin/routing-listeners/echo.rb check it on latest openshift.ks script.
1.modify the CONF_ROUTING_PLUGIN to true as follow:
# vim openshift.ks
<--snip-->
CONF_ROUTING_PLUGIN=true
CONF_ROUTING_PLUGIN_USER=routinginfo
CONF_ROUTING_PLUGIN_PASS=routinginfopassword
2.delete the install os content.
3.install the openshift testing env using "openshift.ks"
4.generate the testing script
#vim test.rb
require 'rubygems'
require 'stomp'
c = Stomp::Client.new("routinginfo", "routinginfopassword", "localhost", 61613, true)
c.subscribe('/topic/routinginfo') { |msg|
puts
puts msg
}
c.join
5.run the test.rb, the create an app.check the output of the testing script.
Output:
<Stomp::Message headers={"content-type"=>"text/plain; charset=UTF-8", "message-id"=>"ID:broker.ose20-xiama.com.cn-24337-1388641460197-3:2:-1:1:1", "destination"=>"/topic/routinginfo", "timestamp"=>"1388641604652", "expires"=>"0", "subscription"=>"c707e52abaa201ff133037d1275eb887fbd7352b", "content-length"=>"69", "priority"=>"4"} body='---
:action: :create_application
:app_name: xiaom1
:namespace: xiaom
' command='MESSAGE' >
check the problem with "openshift.sh" script by the same method.
move it to verify.
|