Bug #16663
closed
directive list tells you to upgrade the server if it didn't yet connect.
Added by Florian Heigl almost 5 years ago.
Updated about 4 years ago.
Category:
System integration
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Description
incorrect output from directive list while only base policy exists
on a new setup or a system that can't fetch policy, you'll see the following:
leap151-vm921:~ # rudder directive list
Your server doesn't support this feature, please upgrade to at least 6.0
then after rudder agent update, you get the output
leap151-vm921:~ # rudder agent update
ok: Rudder agent promises were updated.
leap151-vm921:~ # rudder directive list
UUID MODE NAME
883cefa8-cd42-40a2-8467-2179762f1e56 enforce Install Base Utils
c4df74b7-4de4-4fde-bd4e-999849956fb5 enforce Package sources (Zypper)
it should not say the server does not support this feature when in fact it hasn't ANY information because it didn't yet fetch that info. info from Rudder must be reliable - this isn't.
Related issues
1 (1 open — 0 closed)
- Translation missing: en.field_tag_list set to community
- Effort required set to Very Small
- Priority changed from 32 to 61
You are right, we should special-case output when the policies are not updated yet.
- Priority changed from 61 to 56
in 6.0, we could detect if we are in bootstrap mode or not. If so, then folder is empty, and there aren't any directives to show
- Target version set to 6.0.9
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
- 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-agent/pull/320
- Status changed from Pending technical review to Pending release
- Target version changed from 6.0.9 to 6.0.8
- Related to Bug #18175: Bootstrap promises does not know the server version added
- Priority changed from 56 to 55
- Fix check changed from To do to Checked
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.0.8 and 6.1.4 which were released today.
Also available in: Atom
PDF