Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use Jira Cloud for all bug tracking management.

Bug 1819681

Summary: ceph osd migration to systemd fails on undefined variable
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Lukas Bezdicka <lbezdick>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: aschoen, ceph-eng-bugs, gfidente, gmeno, jfrancoa, nthomas, tserlin, vashastr, ykaul
Target Milestone: rc   
Target Release: 4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-4.0.18-1.el8cp, ceph-ansible-4.0.18-1.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-19 17:33:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1760354    

Description Lukas Bezdicka 2020-04-01 10:01:52 UTC
11:53 <lbezdick>         "TASK [ceph-osd : generate ceph osd docker run script] **************************",
11:53 <lbezdick>         "task path: /usr/share/ceph-ansible/roles/ceph-osd/tasks/systemd.yml:2",
11:53 <lbezdick>         "Tuesday 31 March 2020  23:12:49 -0400 (0:00:00.088)       0:00:56.355 ********* ",
11:53 <lbezdick>         "fatal: [ceph-0]: FAILED! => changed=false ",
11:53 <lbezdick>         "  msg: 'AnsibleUndefinedVariable: ''container_env_args'' is undefined'",

reason seems to be missing include of container_options_facts.yml in systemd.yaml in ceph-osd role.

Comment 8 Vasishta 2020-04-29 11:09:40 UTC
Hi, 

Working fine for RHCEPH. (tried using ceph-ansible-4.0.22-1.el7cp.noarch)
Please Let us know if we can move this BZ to verified state.

Regards,
Vasishta Shastry
QE, Ceph

Comment 10 Vasishta 2020-04-29 12:42:54 UTC
As it has worked for RHCEPH QE, moving this BZ to VERIFIED state based on offline conversation with Giulio.
Please let us know if there are any concerns.

Comment 12 errata-xmlrpc 2020-05-19 17:33:09 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, 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/RHSA-2020:2231