As per bz 1777020 when using pre-provisioned servers [1] it's possible that the lvm2 package won't be installed on overcloud nodes which will cause deployment of ceph to fail. Though we can document that lvm2 needs to be installed we should also have a validation which fails early if the package is missing. We already have a check to ensure that ceph-ansible is installed on the undercloud [2]. We could have a similar check to ensure that lvm2 is installed on the overcloud. [1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/15/html-single/director_installation_and_usage/index#registering-the-operating-system-for-pre-provisioned-nodes [2] https://review.opendev.org/#/c/662542/
Example: - name: Check required packages package_facts: - name: Fail if missing required packages fail: msg: "Missing required package: lvm2" when: not 'lvm2' in ansible_facts.packages
Thanks John, to take care of this! Again ;-) You can even check if the package release (if it is already there) is the latest one available. Take a look at https://github.com/openstack/tripleo-validations/blob/master/roles/check-latest-packages-version/tasks/main.yml
docbug: https://bugzilla.redhat.com/show_bug.cgi?id=1802304
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/RHBA-2020:0760