Project

General

Profile

Actions

Bug #35115

open

host_details_ui settings can not be set to false via config rake target

Added by Joshua Hoblitt almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Settings
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

I discovered this odd behavior of the 'host_deatils_ui' setting after migrating an existing foreman instance from 2.4.x -> 3.2.1.

[root@foreman ~]# /usr/sbin/foreman-rake -- config k 'host_details_ui' --unset
host_details_ui: true
[root@foreman ~]# /usr/sbin/foreman-rake -
config k 'host_details_ui' -v false
ERROR: Invalid value false for host_details_ui - ["Value is not included in the list"]
[root@foreman ~]# /usr/sbin/foreman-rake -
config k 'host_details_ui' -v '["false"]'
ERROR: Invalid value ["false"] for host_details_ui - ["Value is invalid: must be boolean"]
[root@foreman ~]# /usr/sbin/foreman-rake -
config -k 'host_details_ui' -v '[false]'
ERROR: Invalid value [false] for host_details_ui - ["Value is invalid: must be boolean"]

<after changing the setting to false via www ui>

[root@foreman ~]# /usr/sbin/foreman-rake -- config -k 'host_details_ui' -v 'false'
host_details_ui: false


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Refactor #35013: Refactor config rake to use Setting DSLClosedOndřej EzrActions
Actions #1

Updated by Alexander Olofsson about 1 year ago

  • Is duplicate of Refactor #35013: Refactor config rake to use Setting DSL added
Actions

Also available in: Atom PDF