Actions
Bug #18260
closedSelecting "latest" version for package installation in techniques Packages only checks for existence
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:
Description
It does not effectively check for latest version, at least using zypper
Updated by Nicolas CHARLES about 4 years ago
- Project changed from 41 to Rudder
- Category set to System techniques
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 6.1.5 to 6.1.6
Updated by Nicolas CHARLES about 4 years ago
- Category changed from System techniques to Techniques
Updated by Nicolas CHARLES about 4 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES about 4 years ago
- Status changed from In progress to Rejected
ok, problem was because a change of vendor for package with different version.
Rejecting this issue
Updated by Nicolas CHARLES about 4 years ago
- Status changed from Rejected to In progress
ok, it happen only when 2 different versions are given
Updated by Nicolas CHARLES about 4 years ago
there are two issue: on is that a specific version override for all, and if install fails, error does not bubble up correctly
2020-10-21T05:31:17+00:00 error: package module: ErrorMessage=Problem occurred during or after installation or removal of packages: Installation aborted by userErrorMessage=Problem occurred during or after installation or removal of packages: Installation aborted by user 2020-10-21T05:31:19+00:00 error: Error installing package 'python3-curses' 2020-10-21T05:31:19+00:00 error: Method 'ncf_package' failed in some repairs info packageManagement None python3-curses If you tried to install a virtual package, please use in place the concrete package you want to install. 2020-10-21T05:31:19+00:00 Presence of package python3-curses in latest available version could not be repaired 2020-10-21T05:31:19+00:00 error: Method 'package_state_options' failed in some repairs info packageManagement None tree Presence of package tree in any version was correct E| compliant packageManagement Package python3-curses Presence of package python3-curses in latest available version was correct
Updated by Nicolas CHARLES about 4 years ago
verbose shows
error: package module: ErrorMessage=Problem occurred during or after installation or removal of packages: Installation aborted by userErrorMessage=Problem occurred during or after installation or removal of packages: Installation aborted by user error: Error installing package 'python3-curses' rudder verbose: C: + promise outcome class 'repair_failed_ncf_package_present_python3_curses' rudder verbose: C: + promise outcome class 'ncf_package_present_python3_curses_failed' rudder verbose: C: + promise outcome class 'ncf_package_present_python3_curses_not_ok' rudder verbose: C: + promise outcome class 'ncf_package_present_python3_curses_error' rudder verbose: C: + promise outcome class 'ncf_package_present_python3_curses_not_kept' rudder verbose: C: + promise outcome class 'ncf_package_present_python3_curses_not_repaired' rudder verbose: C: + promise outcome class 'ncf_package_present_python3_curses_reached' rudder verbose: C: + promise outcome class 'repair_failed_ncf_package_python3_curses_latest_default_default_present_' rudder verbose: C: + promise outcome class 'ncf_package_python3_curses_latest_default_default_present__failed' rudder verbose: C: + promise outcome class 'ncf_package_python3_curses_latest_default_default_present__not_ok' rudder verbose: C: + promise outcome class 'ncf_package_python3_curses_latest_default_default_present__error' rudder verbose: C: + promise outcome class 'ncf_package_python3_curses_latest_default_default_present__not_kept' rudder verbose: C: + promise outcome class 'ncf_package_python3_curses_latest_default_default_present__not_repaired' rudder verbose: C: + promise outcome class 'ncf_package_python3_curses_latest_default_default_present__reached'
then
rudder verbose: C: + promise outcome class 'package_state_options_python3_curses_reached' rudder verbose: C: + promise outcome class 'package_state_options_python3_curses_failed' rudder verbose: C: + promise outcome class 'package_state_options_python3_curses_not_ok' rudder verbose: C: + promise outcome class 'package_state_options_python3_curses_not_kept' rudder verbose: C: + promise outcome class 'package_state_options_python3_curses_not_repaired'
rudder verbose: C: + promise outcome class 'package_state_options_python3_curses_latest_default_default_present__reached' rudder verbose: C: + promise outcome class 'package_state_options_python3_curses_latest_default_default_present__failed' rudder verbose: C: + promise outcome class 'package_state_options_python3_curses_latest_default_default_present__not_ok' rudder verbose: C: + promise outcome class 'package_state_options_python3_curses_latest_default_default_present__not_kept' rudder verbose: C: + promise outcome class 'package_state_options_python3_curses_latest_default_default_present__not_repaired'
rudder verbose: C: + promise outcome class 'package_present_python3_curses_reached' rudder verbose: C: + promise outcome class 'package_present_python3_curses_failed' rudder verbose: C: + promise outcome class 'package_present_python3_curses_not_ok' rudder verbose: C: + promise outcome class 'package_present_python3_curses_not_kept' rudder verbose: C: + promise outcome class 'package_present_python3_curses_not_repaired'
but the inner_class_prefix used in technique is not parametrized
Updated by Nicolas CHARLES about 4 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/1635
Updated by Nicolas CHARLES about 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-techniques|69f4ebefe98f0805785f54fd12417ef2533e522d.
Updated by Vincent MEMBRÉ about 4 years ago
- Fix check changed from To do to Checked
Updated by Alexis Mousset about 4 years ago
- Name check changed from To do to Reviewed
Updated by Vincent MEMBRÉ about 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.1.6 and 6.2.0~beta1 which were released today.
Actions