Bug #64126
closedceph-iscsi build was retriggered and now missing package_manager_version attribute
0%
Description
2024-01-23T07:43:54.569 INFO:teuthology.run_tasks:Running task install... 2024-01-23T07:43:54.580 DEBUG:teuthology.task.install:project ceph-iscsi 2024-01-23T07:43:54.580 DEBUG:teuthology.task.install:INSTALL overrides: {'ceph': {'flavor': 'default', 'sha1': 'e12a38167a7ca8e7a82617e896c2dab746637c51'}} 2024-01-23T07:43:54.580 DEBUG:teuthology.task.install:config {'packages': {'rpm': ['ceph-iscsi']}, 'project': 'ceph-iscsi', 'sha1': 'latest', 'shaman': {'force_noarch': True}} 2024-01-23T07:43:54.580 INFO:teuthology.task.install:Using flavor: default 2024-01-23T07:43:54.590 DEBUG:teuthology.task.install:Package list is: {'deb': [], 'rpm': ['ceph-iscsi']} 2024-01-23T07:43:54.590 INFO:teuthology.task.install:extra packages: [] 2024-01-23T07:43:54.591 DEBUG:teuthology.task.install.rpm:_update_package_list_and_install: config is {'branch': None, 'cleanup': None, 'debuginfo': None, 'downgrade_packages': [], 'exclude_packages': [], 'extra_packages': [], 'extra_system_packages': [], 'extras': None, 'enable_coprs': [], 'flavor': 'default', 'install_ceph_packages': True, 'packages': {'rpm': ['ceph-iscsi']}, 'project': 'ceph-iscsi', 'repos_only': False, 'sha1': 'latest', 'tag': None, 'wait_for_package': False, 'shaman': {'force_noarch': True}} 2024-01-23T07:43:54.591 DEBUG:teuthology.packaging:Querying https://shaman.ceph.com/api/search?status=ready&project=ceph-iscsi&flavor=default&distros=centos%2F8%2Fnoarch&sha1=latest 2024-01-23T07:43:54.592 DEBUG:teuthology.task.install.rpm:_update_package_list_and_install: config is {'branch': None, 'cleanup': None, 'debuginfo': None, 'downgrade_packages': [], 'exclude_packages': [], 'extra_packages': [], 'extra_system_packages': [], 'extras': None, 'enable_coprs': [], 'flavor': 'default', 'install_ceph_packages': True, 'packages': {'rpm': ['ceph-iscsi']}, 'project': 'ceph-iscsi', 'repos_only': False, 'sha1': 'latest', 'tag': None, 'wait_for_package': False, 'shaman': {'force_noarch': True}} 2024-01-23T07:43:54.592 DEBUG:teuthology.packaging:Querying https://shaman.ceph.com/api/search?status=ready&project=ceph-iscsi&flavor=default&distros=centos%2F8%2Fnoarch&sha1=latest 2024-01-23T07:43:54.593 DEBUG:teuthology.task.install.rpm:_update_package_list_and_install: config is {'branch': None, 'cleanup': None, 'debuginfo': None, 'downgrade_packages': [], 'exclude_packages': [], 'extra_packages': [], 'extra_system_packages': [], 'extras': None, 'enable_coprs': [], 'flavor': 'default', 'install_ceph_packages': True, 'packages': {'rpm': ['ceph-iscsi']}, 'project': 'ceph-iscsi', 'repos_only': False, 'sha1': 'latest', 'tag': None, 'wait_for_package': False, 'shaman': {'force_noarch': True}} 2024-01-23T07:43:54.593 DEBUG:teuthology.packaging:Querying https://shaman.ceph.com/api/search?status=ready&project=ceph-iscsi&flavor=default&distros=centos%2F8%2Fnoarch&sha1=latest 2024-01-23T07:43:54.747 INFO:teuthology.task.install.rpm:Pulling from https://chacra.ceph.com/r/ceph-iscsi/3/53e4c85fb7edecd866987731bfa17012e001a1ba/centos/8/flavors/default/ 2024-01-23T07:43:54.748 ERROR:teuthology.contextutil:Saw exception from nested tasks Traceback (most recent call last): File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/contextutil.py", line 30, in nested vars.append(enter()) File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__ return next(self.gen) File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/task/install/__init__.py", line 218, in install install_packages(ctx, package_list, config) File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/task/install/__init__.py", line 81, in install_packages p.spawn( File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/parallel.py", line 84, in __exit__ for result in self: File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/parallel.py", line 98, in __next__ resurrect_traceback(result) File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/parallel.py", line 30, in resurrect_traceback raise exc.exc_info[1] File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/parallel.py", line 23, in capture_traceback return func(*args, **kwargs) File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/task/install/rpm.py", line 210, in _update_package_list_and_install log.info('Package version is %s', builder.version) File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/packaging.py", line 544, in version self._version = self._get_package_version() File "/home/teuthworker/src/git.ceph.com_teuthology_c856e0f9244dd29a50697123b480d63f16a4ed81/teuthology/packaging.py", line 956, in _get_package_version return self._result.json()[0]['extra']['package_manager_version'] KeyError: 'package_manager_version'
And indeed, going to https://shaman.ceph.com/api/search/?status=ready&project=ceph-iscsi&flavor=default&distros=centos%2F8%2Fnoarch&sha1=latest shows an empty "extra" dictionary:
0 status "ready" sha1 "53e4c85fb7edecd866987731bfa17012e001a1ba" extra {} url "https://chacra.ceph.com/r/ceph-iscsi/3/53e4c85fb7edecd866987731bfa17012e001a1ba/centos/8/flavors/default/" distro_codename null modified "2024-01-19 21:23:34.084918" distro_version "8" project "ceph-iscsi" flavor "default" ref "3" chacra_url "https://chacra.ceph.com/repos/ceph-iscsi/3/53e4c85fb7edecd866987731bfa17012e001a1ba/centos/8/flavors/default/" archs 0 "noarch" 1 "source" distro "centos"
From the timestamps, https://chacra.ceph.com/r/ceph-iscsi/3/53e4c85fb7edecd866987731bfa17012e001a1ba/centos/8/flavors/default/ appears to be a fresh build, dated 19-Jan-2024 21:23. However, there were no pushes to ceph-iscsi. Somehow the build was retriggered and apparently lost some attributes in the process.
Updated by Laura Flores 4 months ago
/a/yuriw-2024-01-23_19:22:22-rados-wip-yuri5-testing-2024-01-11-1300-pacific-distro-default-smithi/7529743
Updated by Laura Flores 4 months ago
/a/yuriw-2024-01-25_17:23:47-rados-pacific-release-distro-default-smithi/7531941
/a/yuriw-2024-01-25_17:23:47-rados-pacific-release-distro-default-smithi/7532339
Updated by Laura Flores 3 months ago
/a/yuriw-2024-02-01_21:25:50-rados-wip-yuri2-testing-2024-02-01-0939-pacific-distro-default-smithi/7542469
Updated by Radoslaw Zarzynski 3 months ago
/a/yuriw-2024-01-28_20:30:08-rados-pacific-release-distro-default-smithi/7536020
/a/yuriw-2024-01-28_20:30:08-rados-pacific-release-distro-default-smithi/7536034
Updated by Matan Breizman 3 months ago
/a/yuriw-2024-02-11_15:26:36-rados-wip-yuri8-testing-2024-02-07-0820-pacific-distro-default-smithi/7556205
/a/yuriw-2024-02-11_15:26:36-rados-wip-yuri8-testing-2024-02-07-0820-pacific-distro-default-smithi/7556230
Updated by Yuri Weinstein 3 months ago
Updated by Ilya Dryomov 3 months ago
- Status changed from New to Resolved
- Assignee changed from adam kraitman to Ilya Dryomov
I fixed this by retriggering https://jenkins.ceph.com/job/ceph-iscsi/506/ which was triggered manually by Dan in January as part of centos9 enablement work.