Problem:
I followed the 3.19 containerized deployment guide at Installing Foreman Server with Katello 4.21 plugin (containerized) on Enterprise Linux. After I initially installed foremanctl from dnf, the foremanctl features command worked… then I did a deployment (which worked) and after the deployment, the features command is broken with this error:
[root@foreman-02 ~]# foremanctl features
TASK [Print features] ************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: {{ (flavor_features + features) }}: ‘flavor_features’ is undefined. ‘flavor_features’ is undefined. {{ (flavor_features + features) }}: ‘flavor_features’ is undefined. ‘flavor_features’ is undefined
The error appears to be in '/usr/share/foremanctl/src/playbooks/features/features.yaml': line 14, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- name: Print features
^ here
[root@foreman-02 ~]#
Expected outcome:
foremanctl features would continue to work after deployment (or whatever I may have done to break it).
Foreman and Proxy versions:
[root@foreman-02 ~]# podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
quay.io/sclorg/postgresql-13-c9s latest 2c7f99d16e3e 6 days ago 379 MB
quay.io/foreman/foreman 3.19 9c73f94dd101 2 weeks ago 998 MB
quay.io/foreman/candlepin foreman-3.19 a26764a04788 2 weeks ago 634 MB
quay.io/foreman/pulp foreman-3.19 1c486fcabfb0 2 weeks ago 650 MB
quay.io/sclorg/redis-6-c9s latest c7ac11061bbe 17 months ago 280 MB
[root@foreman-02 ~]#
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data: