Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: RH 8.0 - cadmin

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Back to topic list

Re: RH 8.0 - cadmin

Reply

Author gpowell
Full name Geoff Powell
Date 2003-02-20 17:45:09 PST
Message > This error is somewhat (okay, extremely) misleading,
> but it does tell us exactly what's happening. There's a
> mixup in what Current expects the RPM module's API to be - we
> ran into this problem when we tried to move up to 8.0 and put
> in a workaround that seems to have gotten itself confused.
> What release are you working with - I'm assuming 1.4.3?

Sorry, I made a silly mistake - downloaded the RPMS for RedHat 7.x
instead of the ones for 8.0. The reason I did that is probably because I
am testing Current on a RedHat 8.0 workstation, and the OS I plan to
install it on is a RedHat 7.2 server.

I removed the old version of Current and installed
current-1.4.3-1.8x.noarch.rpm, and that problem no longer exists.

However, I have another issue now, hopefully it has a simple fix as well

Current is now configured properly (or maybe not?). The cadmin commands
I executed worked OK, and the ssl certificates are all in the right
places for the client and server. Next I fire up the up2date client from
a xterm, I see a new GUI window saying welcome to the Redhat Update
Agent etc. I hit forward and it shows my channel "TestChannel" with my
privacy notice at the bottom, I then tick the "TestChannel" option and
click Forward again. A new dialog box with the title "Progress Dialog"
with the test Fetching please wait appears, then the application stalls
and does nothing more (no cpu/network activity). The cancel/forward
buttons do not work and I am forced to kill the process

I thought there could be some useful information in the logs, so I
decided to do the same process again and tail -f my httpd access_log,
error_log and ssl_access_log along with current.log into a different
current.log file, the information from those is pasted below:

Feb 21 12:28:46 Current v1.4.3 starting up
Feb 21 12:28:46 Requesting: up2date.login
Feb 21 12:28:46 with params = ['<?xml
version="1.0"?>\​n<params>\n​<param>\n<va​lue><struct​>\n<member>\​n<name>use
rname</name>\​n<value><st​ring>anonymous​</string></val​ue>\n</member​>\n<mem
ber>\n<name​>profile_name</n​ame>\n<value​><string>gpb​ox.localdomain</s​trin
g></value>​n</member>\n​<member>\n​<name>system_id​</name>\n<va​lue><string​>
Current-ANONYMOUS​</string></val​ue>\n</member​>\n<member​>\n<name>arch​itect
ure</name>\n​<value><stri​ng>i686</strin​g></value>​n</member>\n​<member>\n​<
name>os_release​</name>\n<va​lue><string​>8.0</string>​</value>\n<​/member>\n
<member>\n​<name>fields</​name>\n<value​><array>​<data>\n<valu​e><string>u​ser
name</string>​</value>\n<​value><string​>profile_name</​string></value​>\n<va
lue><string​>system_id</strin​g></value>​n<value><s​tring>architectur​e</str
ing></value​>\n<value>​<string>os_releas​e</string><​/value>\n<val​ue><string
>checksum</str​ing></value​>\n<value>​<string>descripti​on</string>​</value>\
n<value><st​ring>type</str​ing></value​>\n<value>​<string>operating​_system</
string></value​>\n</data>​</array></v​alue>\n</memb​er>\n<member​>\n<name>op​e
rating_system</na​me>\n<value​><string>Red Hat
Linux</string>​</value>\n​</member>\n<m​ember>\n<name​>checksum</nam​e>\n<val
ue><string>​eeb12f765deede09cf1a​64778cfaa25fcdc32976​</string></​value>\n</
member>\n<mem​ber>\n<name​>type</name>​n<value><s​tring>REAL</st​ring></valu
e>\n</member​>\n<member>​\n<name>descr​iption</name>​n<value><s​tring>8.0
running on
i686</string>​</value>\n<​/member>\n</s​truct></value​>\n</param>​\n</params>
\n']
Feb 21 12:28:46 module = up2date
Feb 21 12:28:46 function = login
Feb 21 12:28:46 (/usr/share/current/​current_apache.py, callAPIMethod(),
299): params = ['<?xml
version="1.0"?>\​n<params>\n​<param>\n<va​lue><struct​>\n<member>\​n<name>use
rname</name>\​n<value><st​ring>anonymous​</string></val​ue>\n</member​>\n<mem
ber>\n<name​>profile_name</n​ame>\n<value​><string>gpb​ox.localdomain</s​trin
g></value>​n</member>\n​<member>\n​<name>system_id​</name>\n<va​lue><string​>
Current-ANONYMOUS​</string></val​ue>\n</member​>\n<member​>\n<name>arch​itect
ure</name>\n​<value><stri​ng>i686</strin​g></value>​n</member>\n​<member>\n​<
name>os_release​</name>\n<va​lue><string​>8.0</string>​</value>\n<​/member>\n
<member>\n​<name>fields</​name>\n<value​><array>​<data>\n<valu​e><string>u​ser
name</string>​</value>\n<​value><string​>profile_name</​string></value​>\n<va
lue><string​>system_id</strin​g></value>​n<value><s​tring>architectur​e</str
ing></value​>\n<value>​<string>os_releas​e</string><​/value>\n<val​ue><string
>checksum</str​ing></value​>\n<value>​<string>descripti​on</string>​</value>\
n<value><st​ring>type</str​ing></value​>\n<value>​<string>operating​_system</
string></value​>\n</data>​</array></v​alue>\n</memb​er>\n<member​>\n<name>op​e
rating_system</na​me>\n<value​><string>Red Hat
Linux</string>​</value>\n​</member>\n<m​ember>\n<name​>checksum</nam​e>\n<val
ue><string>​eeb12f765deede09cf1a​64778cfaa25fcdc32976​</string></​value>\n</
member>\n<mem​ber>\n<name​>type</name>​n<value><s​tring>REAL</st​ring></valu
e>\n</member​>\n<member>​\n<name>descr​iption</name>​n<value><s​tring>8.0
running on
i686</string>​</value>\n<​/member>\n</s​truct></value​>\n</param>​\n</params>
\n']
Feb 21 12:28:46 Dispatching: up2date.login
Feb 21 12:28:46 /usr/share/current/u​p2date.py:login({'sy​sid_string':
'<?xml
version="1.0"?>\​n<params>\n​<param>\n<va​lue><struct​>\n<member>\​n<name>use
rname</name>\​n<value><st​ring>anonymous​</string></val​ue>\n</member​>\n<mem
ber>\n<name​>profile_name</n​ame>\n<value​><string>gpb​ox.localdomain</s​trin
g></value>​n</member>\n​<member>\n​<name>system_id​</name>\n<va​lue><string​>
Current-ANONYMOUS​</string></val​ue>\n</member​>\n<member​>\n<name>arch​itect
ure</name>\n​<value><stri​ng>i686</strin​g></value>​n</member>\n​<member>\n​<
name>os_release​</name>\n<va​lue><string​>8.0</string>​</value>\n<​/member>\n
<member>\n​<name>fields</​name>\n<value​><array>​<data>\n<valu​e><string>u​ser
name</string>​</value>\n<​value><string​>profile_name</​string></value​>\n<va
lue><string​>system_id</strin​g></value>​n<value><s​tring>architectur​e</str
ing></value​>\n<value>​<string>os_releas​e</string><​/value>\n<val​ue><string
>checksum</str​ing></value​>\n<value>​<string>descripti​on</string>​</value>\
n<value><st​ring>type</str​ing></value​>\n<value>​<string>operating​_system</
string></value​>\n</data>​</array></v​alue>\n</memb​er>\n<member​>\n<name>op​e
rating_system</na​me>\n<value​><string>Red Hat
Linux</string>​</value>\n​</member>\n<m​ember>\n<name​>checksum</nam​e>\n<val
ue><string>​eeb12f765deede09cf1a​64778cfaa25fcdc32976​</string></​value>\n</
member>\n<mem​ber>\n<name​>type</name>​n<value><s​tring>REAL</st​ring></valu
e>\n</member​>\n<member>​\n<name>descr​iption</name>​n<value><s​tring>8.0
running on
i686</string>​</value>\n<​/member>\n</s​truct></value​>\n</param>​\n</params>
\n'})
Feb 21 12:28:46
/usr/share/current/p​ackagedb.py:getCompa​tibleChannels({'clie​nt_release':
'8.0', 'client_arch': 'i686'})
Feb 21 12:28:46 /usr/share/current/p​ackagedb.py:_getCann​onArch({'arch':
'i686'})
Feb 21 12:28:46 Result is normal data: turn it into an XML chunk
Feb 21 12:28:46 (/usr/share/current/​current_apache.py,
sendClientResult(), 253): Data sent.
Feb 21 12:28:46 sendClientResult() finished
192.168.1.101 - - [21/Feb/2003:12:28:45 +1100] "POST /XMLRPC HTTP/1.1"
200 754
[Fri Feb 21 12:28:46 2003] [notice] Inside the PythonHandler
[Fri Feb 21 12:28:46 2003] [notice] Starting backend
[Fri Feb 21 12:28:46 2003] [notice] Result = {'X-RHN-Auth':
'4ba4e986c72ade8616b​fc14e0aca29a0c5431eb​e',
 'X-RHN-Auth-Channels': [['TestChannel', '20030221120900']],
 'X-RHN-Auth-Expiration': '1045794526',
 'X-RHN-Auth-User-Id': 'anonymous',
 'X-RHN-Server-Id': 'current'}
Feb 21 12:29:25 Current v1.4.3 starting up
Feb 21 12:29:25 Requesting: up2date.listChannels
Feb 21 12:29:25 with params = ['<?xml
version="1.0"?>\​n<params>\n​<param>\n<va​lue><struct​>\n<member>\​n<name>use
rname</name>\​n<value><st​ring>anonymous​</string></val​ue>\n</member​>\n<mem
ber>\n<name​>profile_name</n​ame>\n<value​><string>gpb​ox.localdomain</s​trin
g></value>​n</member>\n​<member>\n​<name>system_id​</name>\n<va​lue><string​>
Current-ANONYMOUS​</string></val​ue>\n</member​>\n<member​>\n<name>arch​itect
ure</name>\n​<value><stri​ng>i686</strin​g></value>​n</member>\n​<member>\n​<
name>os_release​</name>\n<va​lue><string​>8.0</string>​</value>\n<​/member>\n
<member>\n​<name>fields</​name>\n<value​><array>​<data>\n<valu​e><string>u​ser
name</string>​</value>\n<​value><string​>profile_name</​string></value​>\n<va
lue><string​>system_id</strin​g></value>​n<value><s​tring>architectur​e</str
ing></value​>\n<value>​<string>os_releas​e</string><​/value>\n<val​ue><string
>checksum</str​ing></value​>\n<value>​<string>descripti​on</string>​</value>\
n<value><st​ring>type</str​ing></value​>\n<value>​<string>operating​_system</
string></value​>\n</data>​</array></v​alue>\n</memb​er>\n<member​>\n<name>op​e
rating_system</na​me>\n<value​><string>Red Hat
Linux</string>​</value>\n​</member>\n<m​ember>\n<name​>checksum</nam​e>\n<val
ue><string>​eeb12f765deede09cf1a​64778cfaa25fcdc32976​</string></​value>\n</
member>\n<mem​ber>\n<name​>type</name>​n<value><s​tring>REAL</st​ring></valu
e>\n</member​>\n<member>​\n<name>descr​iption</name>​n<value><s​tring>8.0
running on
i686</string>​</value>\n<​/member>\n</s​truct></value​>\n</param>​\n</params>
\n']
Feb 21 12:29:25 module = up2date
Feb 21 12:29:25 function = listChannels
[Fri Feb 21 12:29:25 2003] [notice] Inside the PythonHandler
[Fri Feb 21 12:29:25 2003] [notice] Starting backend
[Fri Feb 21 12:29:25 2003] [notice] Result = [{'arch': 'i386',
  'description': "gp's TEST channel",
  'label': 'TestChannel',
  'name': 'TestChannel'}]
Feb 21 12:29:25 (/usr/share/current/​current_apache.py, callAPIMethod(),
299): params = ['<?xml
version="1.0"?>\​n<params>\n​<param>\n<va​lue><struct​>\n<member>\​n<name>use
rname</name>\​n<value><st​ring>anonymous​</string></val​ue>\n</member​>\n<mem
ber>\n<name​>profile_name</n​ame>\n<value​><string>gpb​ox.localdomain</s​trin
g></value>​n</member>\n​<member>\n​<name>system_id​</name>\n<va​lue><string​>
Current-ANONYMOUS​</string></val​ue>\n</member​>\n<member​>\n<name>arch​itect
ure</name>\n​<value><stri​ng>i686</strin​g></value>​n</member>\n​<member>\n​<
name>os_release​</name>\n<va​lue><string​>8.0</string>​</value>\n<​/member>\n
<member>\n​<name>fields</​name>\n<value​><array>​<data>\n<valu​e><string>u​ser
name</string>​</value>\n<​value><string​>profile_name</​string></value​>\n<va
lue><string​>system_id</strin​g></value>​n<value><s​tring>architectur​e</str
ing></value​>\n<value>​<string>os_releas​e</string><​/value>\n<val​ue><string
>checksum</str​ing></value​>\n<value>​<string>descripti​on</string>​</value>\
n<value><st​ring>type</str​ing></value​>\n<value>​<string>operating​_system</
string></value​>\n</data>​</array></v​alue>\n</memb​er>\n<member​>\n<name>op​e
rating_system</na​me>\n<value​><string>Red Hat
Linux</string>​</value>\n​</member>\n<m​ember>\n<name​>checksum</nam​e>\n<val
ue><string>​eeb12f765deede09cf1a​64778cfaa25fcdc32976​</string></​value>\n</
member>\n<mem​ber>\n<name​>type</name>​n<value><s​tring>REAL</st​ring></valu
e>\n</member​>\n<member>​\n<name>descr​iption</name>​n<value><s​tring>8.0
running on
i686</string>​</value>\n<​/member>\n</s​truct></value​>\n</param>​\n</params>
\n']
Feb 21 12:29:25 Dispatching: up2date.listChannels
Feb 21 12:29:25
/usr/share/current/u​p2date.py:listChanne​ls({'sysid_string': '<?xml
version="1.0"?>\​n<params>\n​<param>\n<va​lue><struct​>\n<member>\​n<name>use
rname</name>\​n<value><st​ring>anonymous​</string></val​ue>\n</member​>\n<mem
ber>\n<name​>profile_name</n​ame>\n<value​><string>gpb​ox.localdomain</s​trin
g></value>​n</member>\n​<member>\n​<name>system_id​</name>\n<va​lue><string​>
Current-ANONYMOUS​</string></val​ue>\n</member​>\n<member​>\n<name>arch​itect
ure</name>\n​<value><stri​ng>i686</strin​g></value>​n</member>\n​<member>\n​<
name>os_release​</name>\n<va​lue><string​>8.0</string>​</value>\n<​/member>\n
<member>\n​<name>fields</​name>\n<value​><array>​<data>\n<valu​e><string>u​ser
name</string>​</value>\n<​value><string​>profile_name</​string></value​>\n<va
lue><string​>system_id</strin​g></value>​n<value><s​tring>architectur​e</str
ing></value​>\n<value>​<string>os_releas​e</string><​/value>\n<val​ue><string
>checksum</str​ing></value​>\n<value>​<string>descripti​on</string>​</value>\
n<value><st​ring>type</str​ing></value​>\n<value>​<string>operating​_system</
string></value​>\n</data>​</array></v​alue>\n</memb​er>\n<member​>\n<name>op​e
rating_system</na​me>\n<value​><string>Red Hat
Linux</string>​</value>\n​</member>\n<m​ember>\n<name​>checksum</nam​e>\n<val
ue><string>​eeb12f765deede09cf1a​64778cfaa25fcdc32976​</string></​value>\n</
member>\n<mem​ber>\n<name​>type</name>​n<value><s​tring>REAL</st​ring></valu
e>\n</member​>\n<member>​\n<name>descr​iption</name>​n<value><s​tring>8.0
running on
i686</string>​</value>\n<​/member>\n</s​truct></value​>\n</param>​\n</params>
\n'})
Feb 21 12:29:25
/usr/share/current/p​ackagedb.py:getCompa​tibleChannels({'clie​nt_release':
'8.0', 'client_arch': 'i686'})
Feb 21 12:29:25 /usr/share/current/p​ackagedb.py:_getCann​onArch({'arch':
'i686'})
Feb 21 12:29:25 Result is normal data: turn it into an XML chunk
Feb 21 12:29:25 (/usr/share/current/​current_apache.py,
sendClientResult(), 253): Data sent.
Feb 21 12:29:25 sendClientResult() finished
192.168.1.101 - - [21/Feb/2003:12:29:24 +1100] "POST /XMLRPC HTTP/1.1"
200 503

And the only thing in /var/log/up2date is:
[Fri Feb 21 12:28:44 2003] up2date updating login info
[Fri Feb 21 12:28:44 2003] up2date logging into up2date server
[Fri Feb 21 12:28:46 2003] up2date successfully retreieved
authentication token from up2date server

Thanks for the quick response on the previous email, hopefully you can
assist me with this one too

Ta

--
Geoff Powell

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
For additional commands, e-mail: users-help at current dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

Re: RH 8.0 - cadmin gpowell Geoff Powell 2003-02-20 17:45:09 PST
Messages per page: