Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodes not updating last check in time #2921

Open
PrajaktaPurohit opened this issue Nov 2, 2021 · 1 comment
Open

Nodes not updating last check in time #2921

PrajaktaPurohit opened this issue Nov 2, 2021 · 1 comment
Labels
Aspect: Integration Works correctly with other projects or systems. Component: opscode-erchef Triage: Try Reproducing Indicates that this issue needs to be reproduced. Type: Bug Does not work as expected.

Comments

@PrajaktaPurohit
Copy link
Contributor

We are in the process from updating from Chef Server 12.5.1 to Chef Infra Server 14.5.29-1. I have migrated our data from Chef Server 12.5.1 to the new Chef Server using knife-ec-backup/knife-ec-restore.

I can connect our clients to the new Chef Server. However, for some reason, when I search for the connected clients in Chef Automate, it seems like the Last Check-In time is not updating. The clients are running Chef Client 12.13.37-1.

Is there something else I need to add, in order for the clients to show that they have Checked In, in Chef Automate?

Any help would be appreciated. Thank you.

This ticket includes a secure attachment. Use this link to access the attached files:
Package ID# WF93-RFE2

To Reproduce
1/ Navigate to Automate UI > Infrastructure > Client Runs -- See the check-in time of the node.
2/ Navigate to Automate UI > Infrastructure > Chef Infra Server > Nodes -- See the Last check-in time of the node. Last Check-in time is empty for all the nodes.
PFA the screen shots.

Expected behavior
Last Check-in time should be updated on the nodes section in Automate UI.

@PrajaktaPurohit PrajaktaPurohit added the Status: Untriaged An issue that has yet to be triaged. label Nov 2, 2021
@PrajaktaPurohit PrajaktaPurohit added Triage: Try Reproducing Indicates that this issue needs to be reproduced. and removed Status: Untriaged An issue that has yet to be triaged. labels Apr 19, 2022
@PrajaktaPurohit
Copy link
Contributor Author

The Infra server team will try reproducing and discuss with the automate team how this can be implemented:

  • The last_checked_in attribute is a part of the node data not the json, there might need to be some flags that get sent to the search api will will help the server pull this information from the db.
  • Alternative is to query from the node API (might be expensive)

@PrajaktaPurohit PrajaktaPurohit added Aspect: Integration Works correctly with other projects or systems. Type: Bug Does not work as expected. Component: opscode-erchef labels Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Aspect: Integration Works correctly with other projects or systems. Component: opscode-erchef Triage: Try Reproducing Indicates that this issue needs to be reproduced. Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

1 participant