Project

General

Profile

Bug #17002

subscription-manager facts are not updated in candlepin

Added by Thomas McKay over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

I created a custom fact on a registered host:

$ cat /etc/rhsm/facts/override.facts
{
  "custom.fact": "2222" 
}
$ subscription-manager facts --update
Successfully updated the system facts.

This fact, while it shows up in the UI on the facts page, does not persist itself into candlepin. I would guess that non-custom fact updates are similarly ignored.

Facts sent to either /rhsm/facts or /api/hosts/facts need to be persisted to candlepin, where applicable.

Associated revisions

Revision a1b1df1d (diff)
Added by Justin Sherrill over 5 years ago

Fixes #17002 - Move all fact updating to dynflow action

And trim input in finalize phases

History

#1 Updated by Thomas McKay over 5 years ago

  • Bugzilla link set to 1386430

#2 Updated by Eric Helms over 5 years ago

  • Assignee set to Justin Sherrill
  • Priority changed from High to Normal
  • Legacy Backlogs Release (now unused) set to 197

#3 Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6405 added

#4 Updated by Justin Sherrill over 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF