Bug 1800438
| Summary: | puppet apply fails with "'versioncmp' parameter 'a' expects a String value, got Undef" | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Takashi Kajinami <tkajinam> |
| Component: | puppet-kmod | Assignee: | Emilien Macchi <emacchi> |
| Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 13.0 (Queens) | CC: | dhill, emacchi, jjoyce, jschluet, ramishra, slinaber, tvignaud |
| Target Milestone: | --- | Keywords: | Triaged, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | puppet-kmod-2.2.1-0.20180215234537.ad51300.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-06-24 11:33:20 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: | |||
Sorry for the lag, I finally took time to look. So the problem is that we don't define this fact anymore and the use of kmod::option calls kmod class which needs this old fact. We need to bump puppet-kmod like Rabi suggested and it would solve your problem. One of our options is to bump puppet-kmod: https://review.rdoproject.org/r/#/c/24911/ which is a risky option since we can break stable releases in case of a non backward compatible change in the puppet module. Another option is to carry a downstream only patch which removes the check. *** Bug 1809384 has been marked as a duplicate of this bug. *** Or just install augeas ... 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:2718 |
Description of problem: When we try to use kmod modules, we got the following ~~~ Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, 'versioncmp' parameter 'a' expects a String value, got Undef at /etc/puppet/modules/kmod/manifests/init.pp:10:6 ... ~~~ We can use the following ~~~ kmod::option { 'kvm_intel': option => 'nested', value => '1', } ~~~ Version-Release number of selected component (if applicable): puppet-kmod-2.2.1-0.20180215234536.ad51300.el7ost.noarch How reproducible: Always Steps to Reproduce: 1. Apply puppet with kmod module Actual results: It succeeds without any failures Expected results: It failes with the described error