Project

General

Profile

Bug #16663

directive list tells you to upgrade the server if it didn't yet connect.

Added by Florian Heigl 6 months ago. Updated 6 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
System integration
Target version:
-
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
61
Tags:

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.

#1

Updated by Fran├žois ARMAND 6 months ago

  • Tags 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.

Also available in: Atom PDF