Team,

I'm in the process of testing Spacewalk 0.2 and I'm not able to successfully yum update/install from a RHEL 5 client which is currently registered to Spacewalk. At this point, I do not know if it is unique to the environment; however, I am sending out in case others that are performing Spacewalk 0.2 testing are either encountering the same or can validate that "all is well" in their environment.

Details are in the bugzilla attached.

thanks,
Brad
--- Begin Message ---
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: yum update/install from client generates repomd.xml error

https://bugzilla.redhat.com/show_bug.cgi?id=461629

           Summary: yum update/install from client generates repomd.xml
                    error
           Product: Spacewalk
           Version: 0.2
          Platform: i386
        OS/Version: Linux
            Status: NEW
          Severity: high
          Priority: high
         Component: Server
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
            Blocks: 456550
   Estimated Hours: 0.0
    Classification: Other


Description of problem:

Unable to perform a successful yum update or install from RHEL 5 client after
Spacewalk 0.2 installation.  Note: this issue may not be unique to the i386 or
RHEL5; however, that is the environment where it was observed.

Version-Release number of selected component (if applicable):
Spacewalk 0.2

How reproducible:
Always

Steps to Reproduce:
1. install spacewalk 0.2
2. sync channels (e.g. RHEL5, RHEL5 tools)
3. register RHEL5 client
4. yum update     -or-   yum install <pkg>

Actual results:

Generates the following output:

(Output below is for "install"... Similar output generated for "update")

Loading "installonlyn" plugin
Loading "rhnplugin" plugin
Setting up Install Process
Setting up repositories
Error: Cannot open/read repomd.xml file for repository: rhel-i386-server-5

Traceback generated looks like:
Exception reported from fjs-0-03.rhndev.redhat.com
Time: Tue Sep  9 11:42:46 2008
Exception type exceptions.TypeError
Exception while handling function repodata
Request object information:
URI: /XMLRPC/GET-REQ/rhel-i386-server-5/repodata/repomd.xml
Remote Host: 10.11.231.79
Server Name: fjs-0-03.rhndev.redhat.com:0
Headers passed in:
 Accept-Encoding: identity
 Connection: close
 Host: fjs-0-03.rhndev.redhat.com
 Pragma: no-cache
 User-agent: urlgrabber/3.1.0
 X-rhn-auth: rQMdrn4sh8YgLK4QKVam7Q==
 X-rhn-auth-expire-offset: 3600.0
 X-rhn-auth-server-time: 1220974956.15
 X-rhn-auth-user-id: 
 X-rhn-server-id: 1000010051
Extra information about this error:
Response sent back to the caller:
While running 'repodata': caught
exceptions.TypeError : unsubscriptable object



Exception Handler Information
Traceback (most recent call last):
  File "/usr/share/rhn/server/apacheRequest.py", line 120, in call_function
    response = apply(func, params)
  File "/usr/share/rhn/server/rhnRepository.py", line 176, in repodata
    output = repo.get_repomd_file()
  File "/usr/share/rhn/server/repomd/repository.py", line 346, in
get_repomd_file
    self.repository.get_updateinfo_xml_file(),
  File "/usr/share/rhn/server/repomd/repository.py", line 119, in
get_updateinfo_xml_file
    viewobj.write_updateinfo()
  File "/usr/share/rhn/server/repomd/view.py", line 318, in write_updateinfo
    for erratum in self.channel.errata:
  File "/usr/share/rhn/server/repomd/mapper.py", line 146, in
_erratum_generator
    erratum = self.erratum_mapper.get_erratum(erratum_id[0])
  File "/usr/share/rhn/server/repomd/mapper.py", line 467, in get_erratum
    package = self.package_mapper.get_package(package_id)
  File "/usr/share/rhn/server/repomd/mapper.py", line 173, in get_package
    last_modified = str(self.mapper.last_modified(package_id))
  File "/usr/share/rhn/server/repomd/mapper.py", line 312, in last_modified
    return self.last_modified_sql.fetchone()[0]
TypeError: unsubscriptable object

Local variables by frame
Frame last_modified in /usr/share/rhn/server/repomd/mapper.py at line 312
           package_id = <type 'str'> 3182
                 self = <type 'instance'>
<server.repomd.mapper.SqlPackageMapper instance at 0xb3406b2c>

Frame get_package in /usr/share/rhn/server/repomd/mapper.py at line 173
           package_id = <type 'str'> 3182
                 self = <type 'instance'>
<server.repomd.mapper.CachedPackageMapper instance at 0xb3406cec>

Frame get_erratum in /usr/share/rhn/server/repomd/mapper.py at line 467
              erratum = <type 'instance'> <server.repomd.domain.Erratum
instance at 0xaef734c>
                 self = <type 'instance'>
<server.repomd.mapper.CachedErratumMapper instance at 0xb3406c8c>
           erratum_id = <type 'str'> 3
           package_id = <type 'int'> 3182
        last_modified = <type 'str'> 20080310105512
            cache_key = <type 'str'> repomd-errata/3

Frame _erratum_generator in /usr/share/rhn/server/repomd/mapper.py at line 146
          erratum_ids = <type 'list'> [(3,), (4,), (6,), (7,), (8,), (9,),
(10,), (11,), (12,), (13,), (14,), (15,), (16,), (17,), (18,), (19,), (20,),
(21,), (22,), (23,), (24,), (25,), (26,), (27,), (28,), (29,), (30,), (31,),
(32,), (33,), (34,), (35,), (36,), (37,), (38,), (39,), (40,), (41,), (42,),
(43,), (44,), (45,), (46,), (47,), (48,), (49,), (50,), (51,), (52,), (53,),
(54,), (55,), (56,), (57,), (58,), (59,), (60,), (61,), (62,), (63,), (64,),
(65,), (66,), (67,), (68,), (69,), (70,), (71,), (72,), (73,), (74,), (75,),
(76,), (77,), (78,), (79,), (80,), (81,), (82,), (83,), (84,), (85,), (86,),
(87,), (88,), (89,), (90,), (91,), (92,), (93,), (94,), (95,), (96,), (97,),
(98,), (99,), (100,), (101,), (102,), (103,), (104,), (105,), (106,), (107,),
(108,), (109,), (110,), (111,), (112,), (113,), (114,), (115,), (116,), (117,),
(118,), (119,), (120,), (121,), (122,), (123,), (124,), (125,), (126,), (127,),
(128,), (129,), (130,), (131,), (132,), (133,), (134,), (135!
 ,), (136,), (137,), (138,), (139,), (140,), (141,), (142,), (143,), (144,),
(145,), (146,), (147,), (148,), (149,), (150,), (151,), (152,), (153,), (154,),
(155,), (156,), (157,), (158,), (159,), (160,), (161,), (162,), (163,), (164,),
(165,), (166,), (167,), (168,), (169,), (170,), (171,), (172,), (173,), (174,),
(175,), (176,), (177,), (178,), (179,), (180,), (181,), (182,), (183,), (184,),
(185,), (186,), (187,), (188,), (189,), (190,), (191,), (192,), (193,), (194,),
(195,), (196,), (197,), (198,), (199,), (200,), (201,), (202,), (203,), (204,),
(205,), (206,), (207,), (208,), (209,), (210,), (211,), (212,), (213,), (214,),
(215,), (216,), (217,), (218,), (219,), (220,), (221,), (222,), (223,), (224,),
(225,), (226,), (227,), (228,), (229,), (230,), (231,), (232,), (233,), (234,),
(235,), (236,), (237,), (238,), (239,), (240,), (241,), (242,), (243,), (244,),
(245,), (246,), (247,), (248,), (249,), (250,), (251,), (252,), (253,), (254,),
(255,), (256,), (257,), (258,), !
 (259,), (260,), (261,), (262,), (263,), (264,), (265,), (266,)!
 , (267,)
, (268,), (269,), (270,), (271,), (272,), (273,), (274,), (275,), (276,),
(277,), (278,), (279,), (280,), (281,), (282,), (283,), (284,), (285,), (286,),
(287,), (288,), (289,), (290,), (291,), (292,), (293,), (294,), (295,), (296,),
(297,), (298,), (299,), (300,), (301,), (302,), (303,), (304,), (305,), (306,),
(307,), (308,), (309,), (310,), (311,), (312,), (313,), (314,), (315,), (316,),
(317,), (318,), (319,), (320,), (321,), (322,), (323,), (324,), (325,), (326,),
(327,), (328,), (329,), (330,), (331,), (332,), (333,), (334,), (335,), (336,),
(337,), (338,), (339,), (340,), (341,), (342,), (343,), (344,), (345,), (346,),
(347,), (348,), (349,), (350,), (351,), (352,), (353,), (354,), (355,), (356,),
(357,), (358,), (359,), (360,), (361,), (362,), (363,), (364,), (365,), (366,),
(367,), (368,), (369,), (370,), (371,), (372,), (373,), (374,), (375,), (376,),
(377,), (378,), (379,), (380,), (381,), (382,), (383,), (384,), (385,), (386,),
(387,), (388,), (389,), (390,), (39!
 1,), (392,), (393,), (394,), (395,), (396,), (397,), (398,), (399,), (400,),
(401,), (402,), (403,), (404,), (405,), (406,), (407,), (408,), (409,), (410,),
(411,), (412,), (413,), (414,), (415,), (416,), (417,), (418,), (419,), (420,),
(421,), (422,), (423,), (424,), (425,), (426,), (427,), (428,), (429,), (430,),
(431,), (432,), (433,), (434,), (435,), (436,), (437,), (438,), (439,), (440,),
(441,), (442,), (443,), (444,), (445,), (446,), (447,), (448,), (449,), (450,),
(451,), (452,), (453,), (454,), (455,), (456,), (457,), (458,), (459,), (460,),
(461,), (462,), (463,), (464,), (465,), (466,), (467,), (468,), (469,), (470,),
(471,), (472,), (473,), (474,), (475,), (476,), (477,), (478,), (479,), (480,),
(481,), (482,), (483,), (484,), (485,), (486,), (487,), (488,), (489,), (490,),
(491,), (492,), (493,), (494,), (495,), (496,), (497,), (498,), (499,), (500,),
(501,), (502,), (503,), (504,), (505,), (506,), (507,), (508,), (509,), (510,),
(511,), (512,), (513,), (514,),!
  (515,), (516,), (517,), (518,), (519,), (520,), (521,), (522,!
 ), (523,
), (524,), (525,), (526,), (527,), (528,), (529,), (530,), (531,), (532,),
(533,), (534,), (535,), (536,), (537,), (538,), (539,), (540,), (541,), (542,),
(563,), (571,), (572,), (573,), (574,), (575,), (576,), (577,), (578,), (579,),
(580,), (581,), (582,), (583,), (584,), (585,), (586,), (587,), (588,), (589,),
(590,), (591,), (592,), (593,), (594,), (595,), (597,), (598,), (599,), (600,),
(601,), (602,), (603,), (604,), (605,), (606,), (607,), (608,), (609,), (610,),
(611,), (612,), (613,), (614,), (615,), (616,), (617,), (618,), (619,), (620,),
(621,), (622,), (623,), (624,), (625,), (626,), (627,), (1855,), (1856,),
(1857,), (1858,), (1859,), (1860,), (1861,), (1862,), (1863,), (1864,),
(1865,), (1866,), (1867,), (1868,), (1869,)]
           channel_id = <type 'str'> 201
           erratum_id = <type 'tuple'> (3,)
                 self = <type 'instance'> <server.repomd.mapper.ChannelMapper
instance at 0xb3406eac>


Environment for PID=23679 on exception:
LANG = C
NLS_LANG = english.AL32UTF8
ORACLE_HOME = /opt/oracle
PATH = /sbin:/usr/sbin:/bin:/usr/bin
PERL_BADFREE = 0
PWD = /
SHLVL = 2
TERM = xterm
_ = /usr/sbin/httpd


Expected results:
yum update or install are successful.  No errors generated.

Additional info:

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.

--- End Message ---
_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to