Project

General

Profile

Actions

Bug #13122

closed

rhsm last_checkin not being updated in db

Added by Justin Sherrill over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Fixed in Releases:
Found in Releases:

Description

Currently the last_checking db column is not being updated at all and is normally blank.

Couple of issues here.

  • There is an api endpoint /consumers/:id/checkin but this does not appear to be used by current subscription manager
  • The candlepin url /consumers/61ae6368-a553-4349-914a-0524c168ab0e/certificates/serials seems to trigger a change in the last_checkin within candlepin
  • we do not currently intercept this call, its a pure proxy path-through

You can use this curl command to trigger the serial fetch and see the last_checkin from candlepin change:

```

Katello::System.first.lastCheckin

"2016-01-12T00:30:03.019+0000"

curl -k -X GET https://localhost/rhsm/consumers/61ae6368-a553-4349-914a-0524c168ab0e/certificates/serials --cert /etc/pki/consumer/bundle.pem

2.2.0 :070 > Katello::System.first.lastCheckin
=> "2016-01-12T00:34:41.194+0000"
```


Related issues 1 (1 open0 closed)

Blocks Katello - Feature #11435: Host Unification TrackerNewActions
Actions #1

Updated by Justin Sherrill over 8 years ago

Actions #2

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Justin Sherrill
  • Pull request https://github.com/Katello/katello/pull/5699 added
Actions #3

Updated by The Foreman Bot over 8 years ago

  • Pull request https://github.com/Katello/katello/pull/5700 added
Actions #4

Updated by Justin Sherrill over 8 years ago

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

Also available in: Atom PDF