Project

General

Profile

Actions

Bug #66232

closed
ID ID

need to override extra_system_packages directly on install task

Bug #66232: need to override extra_system_packages directly on install task

Added by Ilya Dryomov over 2 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
quincy,reef,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-2439-g08f2aafeed
Released In:
v20.2.0~2812
Upkeep Timestamp:
2025-11-01T01:18:02+00:00

Description

Might be related to https://github.com/ceph/teuthology/pull/1943

'extra_system_packages': ['python3-pytest'] is parsed into 'extra_system_packages': []:

2024-05-20T08:08:33.568 DEBUG:teuthology.task.install:INSTALL overrides: {'ceph': {'extra_system_packages': ['python3-pytest'], 'flavor': 'crimson', 'sha1': 'ca62f37aa86e2b75ece0ca5eed24ff52fc95e357'}}
2024-05-20T08:08:33.568 DEBUG:teuthology.task.install:config {'extra_system_packages': ['python3-pytest'], 'flavor': 'crimson', 'sha1': 'ca62f37aa86e2b75ece0ca5eed24ff52fc95e357'}
2024-05-20T08:08:33.568 INFO:teuthology.task.install:Using flavor: crimson
2024-05-20T08:08:33.574 DEBUG:teuthology.task.install:Package list is: {'deb': ['ceph', 'cephadm', 'ceph-mds', 'ceph-mgr', 'ceph-common', 'ceph-fuse', 'ceph-test', 'ceph-volume', 'radosgw', 'python3-rados', 'python3-rgw', 'python3-cephfs', 'python3-rbd', 'libcephfs2', 'libcephfs-dev', 'librados2', 'librbd1', 'rbd-fuse'], 'rpm': ['ceph-radosgw', 'ceph-test', 'ceph', 'ceph-base', 'cephadm', 'ceph-immutable-object-cache', 'ceph-mgr', 'ceph-mgr-dashboard', 'ceph-mgr-diskprediction-local', 'ceph-mgr-rook', 'ceph-mgr-cephadm', 'ceph-fuse', 'ceph-volume', 'librados-devel', 'libcephfs2', 'libcephfs-devel', 'librados2', 'librbd1', 'python3-rados', 'python3-rgw', 'python3-cephfs', 'python3-rbd', 'rbd-fuse', 'rbd-mirror', 'rbd-nbd']}
2024-05-20T08:08:33.574 INFO:teuthology.task.install:extra packages: []
2024-05-20T08:08:33.574 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': 'crimson', 'install_ceph_packages': True, 'packages': {}, 'project': 'ceph', 'repos_only': False, 'sha1': 'ca62f37aa86e2b75ece0ca5eed24ff52fc95e357', 'tag': None, 'wait_for_package': False}
2024-05-20T08:08:33.575 DEBUG:teuthology.packaging:Querying https://shaman.ceph.com/api/search?status=ready&project=ceph&flavor=crimson&distros=centos%2F9%2Fx86_64&sha1=ca62f37aa86e2b75ece0ca5eed24ff52fc95e357
2024-05-20T08:08:33.577 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': 'crimson', 'install_ceph_packages': True, 'packages': {}, 'project': 'ceph', 'repos_only': False, 'sha1': 'ca62f37aa86e2b75ece0ca5eed24ff52fc95e357', 'tag': None, 'wait_for_package': False}
2024-05-20T08:08:33.577 DEBUG:teuthology.packaging:Querying https://shaman.ceph.com/api/search?status=ready&project=ceph&flavor=crimson&distros=centos%2F9%2Fx86_64&sha1=ca62f37aa86e2b75ece0ca5eed24ff52fc95e357
2024-05-20T08:08:33.719 INFO:teuthology.task.install.rpm:Pulling from https://2.chacra.ceph.com/r/ceph/wip-matanb-crimson-testing-57069/ca62f37aa86e2b75ece0ca5eed24ff52fc95e357/centos/9/flavors/crimson/
2024-05-20T08:08:33.719 INFO:teuthology.task.install.rpm:Package version is 19.0.0-3818.gca62f37a
2024-05-20T08:08:33.751 INFO:teuthology.task.install.rpm:Pulling from https://2.chacra.ceph.com/r/ceph/wip-matanb-crimson-testing-57069/ca62f37aa86e2b75ece0ca5eed24ff52fc95e357/centos/9/flavors/crimson/
2024-05-20T08:08:33.751 INFO:teuthology.task.install.rpm:Package version is 19.0.0-3818.gca62f37a
2024-05-20T08:08:33.828 INFO:teuthology.packaging:Writing yum repo:

Which causes:

2024-05-20T08:14:51.819 INFO:tasks.workunit.client.0.smithi083.stderr:/usr/bin/python3: No module named pytest

https://qa-proxy.ceph.com/teuthology/matan-2024-05-20_07:55:07-crimson-rados-wip-matanb-crimson-testing-57069-distro-crimson-smithi/7715113/teuthology.log

https://qa-proxy.ceph.com/teuthology/matan-2024-05-20_07:55:07-crimson-rados-wip-matanb-crimson-testing-57069-distro-crimson-smithi/7715123/teuthology.log


Related issues 4 (0 open — 4 closed)

Copied from teuthology - Bug #66133: install task ignores extra_system_packagesResolvedVallari Agrawal

Actions
Copied to rbd - Backport #66262: squid: need to override extra_system_packages directly on install taskResolvedIlya Dryomov

Actions
Copied to rbd - Backport #66263: reef: need to override extra_system_packages directly on install taskResolvedIlya Dryomov

Actions
Copied to rbd - Backport #66264: quincy: need to override extra_system_packages directly on install taskResolvedIlya Dryomov

Actions

ID Updated by Ilya Dryomov over 2 years ago Actions #1

  • Copied from Bug #66133: install task ignores extra_system_packages added

ID Updated by Ilya Dryomov over 2 years ago Actions #2

  • Subject changed from install task ignores extra_system_packages to need to override extra_system_packages directly on install task

ID Updated by Ilya Dryomov over 2 years ago Actions #3

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 57729

ID Updated by Ilya Dryomov over 2 years ago Actions #4

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot over 2 years ago Actions #5

  • Copied to Backport #66262: squid: need to override extra_system_packages directly on install task added

UB Updated by Upkeep Bot over 2 years ago Actions #6

  • Copied to Backport #66263: reef: need to override extra_system_packages directly on install task added

UB Updated by Upkeep Bot over 2 years ago Actions #7

  • Copied to Backport #66264: quincy: need to override extra_system_packages directly on install task added

UB Updated by Upkeep Bot over 2 years ago Actions #9

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

UB Updated by Upkeep Bot over 1 year ago Actions #10

  • Merge Commit set to 08f2aafeedd66770ee548fa99fe1cc3133b733f0
  • Fixed In set to v19.3.0-2439-g08f2aafeedd
  • Upkeep Timestamp set to 2025-07-11T08:43:25+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #11

  • Fixed In changed from v19.3.0-2439-g08f2aafeedd to v19.3.0-2439-g08f2aafeed
  • Upkeep Timestamp changed from 2025-07-11T08:43:25+00:00 to 2025-07-14T22:43:38+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #12

  • Released In set to v20.2.0~2812
  • Upkeep Timestamp changed from 2025-07-14T22:43:38+00:00 to 2025-11-01T01:18:02+00:00
Actions

Also available in: PDF Atom