Bug 251490
Summary: | Configration values are casted to int | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Miroslav Suchý <msuchy> |
Component: | Other | Assignee: | Justin Sherrill <jsherril> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 500 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | sat510 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-02 20:31:18 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 248630 |
Description
Miroslav Suchý
2007-08-09 13:06:48 UTC
fixed in rev 133362. Currently, these values will be always treated as strings: 'proxy.http_proxy_username' 'proxy.http_proxy_password' 'hibernate.connection.username' 'hibernate.connection.password' 'osa-dispatcher.jabber_username' 'osa-dispatcher.jabber_password' 'server.satellite.http_proxy_username' 'server.satellite.http_proxy_password' 'server.satellite.rhn_parent' moving on_qa Hi Preethi, It may just be easier if you look at the code. I'm not sure how to have you test it without setting up a http proxy or modifying the db connection info (which i don't know how to do). If you look in /usr/share/rhn/common/rhnConfig.py at the parse_line function, you'll see a conversion table that lists all the values listed above along with the type they should be (str for string). I then have: if converTable.get(key): try: val = converTable.get(key)(val) except ValueError: pass which says if the key is in the table, convert it to whichever type it should be converted to. moving to on_dev after promoting the package to the proxy for the next qa push. Preethi, you have test plan writen in my initial comment: Steps to Reproduce: 1. setup satellite or proxy behind http proxy 2. set http proxy name or pass to 0123 So in more detail. 1. Install squid on one machine 2. allow only access for user 0123, with pass 0123 3. Install rhn proxy on second machine 4. in /etc/rhn/rhn.conf set: 5. proxy.http_proxy = to point on first machine with squid 6. proxy.http_proxy_username = 0123 7. proxy.http_proxy_password = 0123 To do it correctly. You should repeat it for jabberd, satellite, hibernate and osa-dispatcher. verified works in stage. Proxy 5.1.0 GA so Closed for Current Release. |