Bug #16663
closeddirective list tells you to upgrade the server if it didn't yet connect.
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.
Updated by François ARMAND almost 5 years ago
- 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.
Updated by Nicolas CHARLES over 4 years ago
- 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
Updated by Nicolas CHARLES over 4 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES over 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-agent/pull/320
Updated by Nicolas CHARLES about 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-agent|f27f4d36bd9a17828fc46c2a11293abd491dce7b.
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 6.0.9 to 6.0.8
Updated by Vincent MEMBRÉ about 4 years ago
- Related to Bug #18175: Bootstrap promises does not know the server version added
Updated by Vincent MEMBRÉ about 4 years ago
- Priority changed from 56 to 55
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ about 4 years ago
- 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.