Bug 2290669 - [8.0][Installation]Bootstrap failing with error '_PackageLoader' object has no attribute '_loader'
Summary: [8.0][Installation]Bootstrap failing with error '_PackageLoader' object has n...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 8.0
Assignee: Adam King
QA Contact: Mohit Bisht
URL:
Whiteboard:
Depends On:
Blocks: 2317218
TreeView+ depends on / blocked
 
Reported: 2024-06-06 05:34 UTC by Mohit Bisht
Modified: 2024-11-25 09:01 UTC (History)
7 users (show)

Fixed In Version: ceph-19.1.0-3
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-25 09:01:39 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 58321 0 None open cephadm: make cephadm compatible with jinja2 2.11.3 2024-07-03 13:29:47 UTC
Red Hat Issue Tracker RHCEPH-9139 0 None None None 2024-06-06 05:37:17 UTC
Red Hat Product Errata RHBA-2024:10216 0 None None None 2024-11-25 09:01:43 UTC

Description Mohit Bisht 2024-06-06 05:34:32 UTC
Description of problem:
[8.0][Installation]Bootstrap failing with error '_PackageLoader' object has no attribute '_loader'

# cephadm --image registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-8.0-rhel-9-containers-candidate-22602-20240605194036 bootstrap --mon-ip 10.0.195.145 on 10.0.195.145 timeout 1800
2024-06-06 01:15:10,128 (cephci.test_cephadm) [ERROR] - cephci.RH.8.0.rhel-9.Sanity.19.0.0-2896.g6f942bab.3.cephci.ceph.ceph.py:1604 - Error 1 during cmd, timeout 1800
2024-06-06 01:15:10,128 (cephci.test_cephadm) [ERROR] - cephci.RH.8.0.rhel-9.Sanity.19.0.0-2896.g6f942bab.3.cephci.ceph.ceph.py:1605 - Traceback (most recent call last):
  File "/usr/lib64/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/tmp/tmp79_jztzd.cephadm.build/app/__main__.py", line 5618, in <module>
  File "/tmp/tmp79_jztzd.cephadm.build/app/__main__.py", line 5591, in main
  File "/tmp/tmp79_jztzd.cephadm.build/app/cephadmlib/logging.py", line 217, in cephadm_init_logging
  File "/tmp/tmp79_jztzd.cephadm.build/app/cephadmlib/logging.py", line 237, in write_cephadm_logrotate_config
  File "/tmp/tmp79_jztzd.cephadm.build/app/cephadmlib/templating.py", line 137, in render
  File "/tmp/tmp79_jztzd.cephadm.build/app/jinja2/environment.py", line 883, in get_template
  File "/tmp/tmp79_jztzd.cephadm.build/app/jinja2/environment.py", line 857, in _load_template
  File "/tmp/tmp79_jztzd.cephadm.build/app/jinja2/loaders.py", line 115, in load
  File "/tmp/tmp79_jztzd.cephadm.build/app/cephadmlib/templating.py", line 82, in get_source
AttributeError: '_PackageLoader' object has no attribute '_loader'


Version-Release number of selected component (if applicable):
cephadm-2:19.0.0-2896.g6f942bab.el9cp.noarch

How reproducible:
Always

Steps to Reproduce:
1. Bootstrap ceph cluster with 8.0 image 

Actual results:
Bootstrap failing with error '_PackageLoader' object has no attribute '_loader'

Expected results:
Bootstrap should passed without any error

Comment 10 errata-xmlrpc 2024-11-25 09:01:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 8.0 security, bug fix, and enhancement updates), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2024:10216


Note You need to log in before you can comment on or make changes to this bug.