Bug 1777336
| Summary: | add validation to ensure lvm2 package is installed on overcloud nodes if ceph is being deployed w/ already provisioned servers | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | John Fulton <johfulto> |
| Component: | openstack-tripleo-validations | Assignee: | Francesco Pantano <fpantano> |
| Status: | CLOSED ERRATA | QA Contact: | Yogev Rabl <yrabl> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 13.0 (Queens) | CC: | gchamoul, jjoyce, jschluet, nweinber, slinaber, tvignaud |
| Target Milestone: | z11 | Keywords: | Triaged, ZStream |
| Target Release: | 13.0 (Queens) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-validations-8.5.0-4.el7ost.noarch.rpm | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-10 11:23:19 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: | |||
|
Description
John Fulton
2019-11-27 12:52:02 UTC
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 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 |