Project

General

Profile

Actions

Bug #13122

closed

rhsm last_checkin not being updated in db

Added by Justin Sherrill almost 9 years ago. Updated over 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

Also available in: Atom PDF