-
Notifications
You must be signed in to change notification settings - Fork 15
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
fix: apt install freeipmi-tools failed on focal #143
fix: apt install freeipmi-tools failed on focal #143
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add comment
|
||
def install(self) -> None: | ||
for pkg in self.pkgs: | ||
apt.add_package(pkg) | ||
apt_helpers.add_pkg_with_candidate_version(self.pkg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please leave a comment . We can use operator-libs-linux after this issue/feature been implemented. Then we don't need to maintain the code in apt-helper.py
canonical/operator-libs-linux#113
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added related issue links in apt_helpers
module
Please link this PR to ("Development" at right side panel). Thanks! |
* Enhance charm's life cycle. (#119) * Enhance charm's life cycle. * Remove unused property. * Cherry-pick from 7513f18, and fix linting. Co-authored-by: jneo8 <[email protected]> Continue to remove refactoring code from the previous branch, and fix status handling. * Move "exporter health check failed and restart" logic into charm.py * add resource check in update_status event, and change Error -> Blocked * Fix typo * Add unittests. * Update unit test docstring and name. * - Used `parameterized` - Fixed some warning message in unittest - Patched exporter retry constants * Separate enabling logic of individual ipmi services monitoring (#123) * Separate enabling logic of individual ipmi services monitoring * Add and refactor unit tests * Fix/resoure install failed (#135) * fix: lifecycle bug fix - Remove install retry - Add cache to hw_white_list to avoid repeat calls - Fix missing resource failed msg in update status hook * fix: Remove resource_failed_msg * fix: Fix type checking comments and defer relation_join hook if checking not pass * fix: Missing return after grafana-agent relation join event defer * fix: Force re-config exporter when upgrade (#140) * refactor: Move restart exporter logic as single function (#139) * Fix/skip remove freeipmi tools (#138) * fix: Skip removing pkg on IPMI strategy Skip removing package because we afraid this cause dependency error for any other services on the same machine. * fix: Skip remove ssacli pkg and repo * test: Fix failed functional test (#141) Fix failure functional test caused because of life-cycle changing. * style: Linter fix (#142) * fix: apt install freeipmi-tools failed on focal (#143) * fix: apt install freeipmi-tools failed on focal Fix: #128 --------- Co-authored-by: Ray Chan <[email protected]> Co-authored-by: Sudeep Bhandari <[email protected]>
Fix: #128