Bug 1819681 - ceph osd migration to systemd fails on undefined variable
Summary: ceph osd migration to systemd fails on undefined variable
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 4.1
Assignee: Guillaume Abrioux
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks: 1760354
TreeView+ depends on / blocked
 
Reported: 2020-04-01 10:01 UTC by Lukas Bezdicka
Modified: 2022-02-15 07:15 UTC (History)
9 users (show)

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:
Clone Of:
Environment:
Last Closed: 2020-05-19 17:33:09 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 5232 0 None closed docker2podman: call `container_options_facts.yml` on osd nodes (bp #5226) 2020-09-22 16:05:38 UTC
Red Hat Issue Tracker RHCEPH-3172 0 None None None 2022-02-15 07:15:58 UTC
Red Hat Product Errata RHSA-2020:2231 0 None None None 2020-05-19 17:33:31 UTC

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


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