Red Hat Bugzilla – Bug 1029685
Facter :cart_list fails silently, fact should be removed
Last modified: 2015-05-14 19:32:45 EDT
Description of problem:
Facter :cart_list fails silently and returns no values
Version-Release number of selected component (if applicable):
Always, the supporting command oo-cartridge-list was deleted.
Steps to Reproduce:
fact is empty
fact no longer supported
Commit pushed to master at https://github.com/openshift/origin-server
Bug 1029685 - Remove :cart_list fact
* Has been broken for last 3 months, no one complained.
Tested on devenv_4030.
The code is merged in.
But no error is given when doing "facter cart_list" or any other non-existed content. It just fails silently.
[root@ip-10-118-161-73 ~]# facter sshfp
ip-10-118-161-73 IN SSHFP 1 1 0531449c7719704890d44d256b4227b8432e4b0a
[root@ip-10-118-161-73 ~]# facter cart_list
[root@ip-10-118-161-73 ~]# facter test_facter_error
I have tried on old stage instance, e.g. devenv-stage_486, devenv-stage_528.
The behaviour is totally the same.
Mark the bug as "ASSIGNED" to make sure current status is OK (or not).
facter reports unknown keys as nulls. To ensure cart_list is not being provided use grep. E.g.,
$ facter |grep sshfp
(output from grep)
$ facter |grep cart_list
[root@ip-10-185-56-240 ~]# facter |grep cart_list
Checked again on devenv_4038 according comment#3, there is nothing returned when grep the cart_list.
Move bug to verified.