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

Update sysinfo package in iotedge CLI #4443

Closed
wants to merge 1 commit into from

Conversation

damonbarry
Copy link
Member

@damonbarry damonbarry commented Feb 18, 2021

This change upgrades the sysinfo package in the iotedge CLI to match the version used by iotedged. It fixes a bug called out in #2747.

Note that master branch is on a newer version of sysinfo (0.14.10). For 1.1 I'm choosing to bring iotedge to the same version (0.12.0) as iotedged to minimize churn--this change aligns sysinfo across both components without changing iotedged.

@arsing
Copy link
Member

arsing commented Feb 18, 2021

The 0.14 upgrade was done in e9dc6c1 . Is that fix not needed for 1.1 ? (cc @lfitchett )

@damonbarry
Copy link
Member Author

The 0.14 upgrade was done in e9dc6c1 . Is that fix not needed for 1.1 ? (cc @lfitchett )

Well, it looks like Lee's commit fixed two different problems: (1) the hwmon-related crash (fixed by GuillaumeGomez/sysinfo@13a2249 and released in sysinfo 10.0, AFAICT), and (2) a problem with metrics that Lee mentioned in his commit description. Whether 1.1 needs the 2nd fix is not something we've talked about. But I believe upgrading to sysinfo 0.12.0 fixes the 1st problem. And it limits the scope of the change to iotedge CLI.

@arsing
Copy link
Member

arsing commented Feb 18, 2021

Well, it looks like Lee's commit fixed two different problems: (1) the hwmon-related crash (fixed by GuillaumeGomez/sysinfo@13a2249 and released in sysinfo 10.0, AFAICT), and (2) a problem with metrics that Lee mentioned in his commit description.

Lee's commit that I linked to updated from 0.12 to 0.14. It fixes only the second problem. The first one was fixed by a different commit by Lee which updated from 0.9 to 0.12. I'm already aware of that commit, and it is the change you currently have in your PR. I'm asking if the Docker CPU fix is also needed for 1.1 or not, because if it is you should bump to 0.14 directly instead of 0.12

@damonbarry
Copy link
Member Author

Lee's commit that I linked to updated from 0.12 to 0.14. It fixes only the second problem.

That's true for iotedged, but not iotedge CLI. I've been looking at this from the iotedge CLI angle.

I'm asking if the Docker CPU fix is also needed for 1.1

You're right, I think the Docker CPU fix is needed since metrics is a critical feature for 1.1. Stay tuned...

@arsing
Copy link
Member

arsing commented Feb 18, 2021

Oh right. The hwmon fix was also needed for support-bundle, and that commit had the fix indeed. My bad.

@damonbarry
Copy link
Member Author

Closing this PR in favor or #4444.

@damonbarry damonbarry closed this Feb 25, 2021
@damonbarry damonbarry deleted the update-sysinfo branch March 16, 2021 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants