I'm running Spacewalk 2.9 and trying to determine why I get an error
syncing the repo from
https://repo.mongodb.org/yum/redhat/7/mongodb-org/4.4/x86_64/.  Of the 29
RPMs available, the 11 mongodb-cli RPMs fail to import into the DB.  When I
run spacewalk-repo-sync with -vvvvvv, I see the following in the logs:

2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
server/rhnPackageUpload.relative_path_from_header('NEVRA', ['mongocli', 0L,
'1.3.0', '1', 'x86_64'])
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
server/rhnPackageUpload.relative_path_from_nevra(['mongocli', 0L, '1.3.0',
'1', 'x86_64'], 0)
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
rhnSQL/driver_postgresql._execute_wrapper('Executing SQL: "delete from
rhnPackageFileDeleteQueue where path = %(path)s" with bind params: {path:
redhat/1/f23/mongocli/0:1.3.0-1/x86_64/f23c9ae65ec79a063fe70e2e4070fe4ec288bffd7aebf44cc40dd7e98a4c66d0/mongocli-1.3.0-1.x86_64.rpm}',)
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
importlib/headerSource.createPackage('Creating package',)
2020/10/09 14:13:39 -00:00 list index out of range
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
server/rhnPackageUpload.relative_path_from_header('NEVRA', ['mongocli', 0L,
'1.4.2', '1', 'x86_64'])
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
server/rhnPackageUpload.relative_path_from_nevra(['mongocli', 0L, '1.4.2',
'1', 'x86_64'], 0)
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
rhnSQL/driver_postgresql._execute_wrapper('Executing SQL: "delete from
rhnPackageFileDeleteQueue where path = %(path)s" with bind params: {path:
redhat/1/e0e/mongocli/0:1.4.2-1/x86_64/e0ef697250c546253496c8f77ba70ef40b0fffaf0358b9cc8a4fb5bdcf27c410/mongocli-1.4.2-1.x86_64.rpm}',)
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
importlib/headerSource.createPackage('Creating package',)
2020/10/09 14:13:39 -00:00 list index out of range
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
server/rhnPackageUpload.relative_path_from_header('NEVRA', ['mongocli', 0L,
'1.5.0', '1', 'x86_64'])
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
server/rhnPackageUpload.relative_path_from_nevra(['mongocli', 0L, '1.5.0',
'1', 'x86_64'], 0)
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
rhnSQL/driver_postgresql._execute_wrapper('Executing SQL: "delete from
rhnPackageFileDeleteQueue where path = %(path)s" with bind params: {path:
redhat/1/40c/mongocli/0:1.5.0-1/x86_64/40ca4a3d5634f45d612b1dc93ca7cb5bcc6576392730267e97f814e747843944/mongocli-1.5.0-1.x86_64.rpm}',)
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
importlib/headerSource.createPackage('Creating package',)
2020/10/09 14:13:39 -00:00 list index out of range
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
server/rhnPackageUpload.relative_path_from_header('NEVRA', ['mongocli', 0L,
'1.4.0', '1', 'x86_64'])
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
server/rhnPackageUpload.relative_path_from_nevra(['mongocli', 0L, '1.4.0',
'1', 'x86_64'], 0)
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
rhnSQL/driver_postgresql._execute_wrapper('Executing SQL: "delete from
rhnPackageFileDeleteQueue where path = %(path)s" with bind params: {path:
redhat/1/89a/mongocli/0:1.4.0-1/x86_64/89a30b54b002fe1d60325cb7c0bd4ebe92e2108e6268c8ef5c15efd947c4c201/mongocli-1.4.0-1.x86_64.rpm}',)
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
importlib/headerSource.createPackage('Creating package',)
2020/10/09 14:13:39 -00:00 list index out of range
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
server/rhnPackageUpload.relative_path_from_header('NEVRA', ['mongocli', 0L,
'1.6.0', '1', 'x86_64'])
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
server/rhnPackageUpload.relative_path_from_nevra(['mongocli', 0L, '1.6.0',
'1', 'x86_64'], 0)
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
rhnSQL/driver_postgresql._execute_wrapper('Executing SQL: "delete from
rhnPackageFileDeleteQueue where path = %(path)s" with bind params: {path:
redhat/1/d95/mongocli/0:1.6.0-1/x86_64/d95c79849f7638863e0522a1fd24b089850a85efe9470a9dd8e4eb29170ccb41/mongocli-1.6.0-1.x86_64.rpm}',)
2020/10/09 14:13:39 -00:00 13967 0.0.0.0:
importlib/headerSource.createPackage('Creating package',)
2020/10/09 14:13:39 -00:00 list index out of range
2020/10/09 14:13:39 -00:00 Importing packages finished.

I'm trying to determine what is wrong with the mongodb-cli RPMs (actually
named mongocli inside metadata) that is causing the "list index out of
range" error, when the rest of the MongoDB RPMs import fine.

I'm not sure which module is causing the list index out of range, but I was
looking
at /usr/lib/python2.7/site-packages/spacewalk/server/importlib/headerSource.py
for clues since it is the last module mentioned.

Any clues would be appreciated.

/Brian/
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to