Project

General

Profile

Actions

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.

Status:
Released
Priority:
N/A
Category:
System integration
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
55
Name check:
To do
Fix check:
Checked
Regression:

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 open0 closed)

Related to Rudder - Bug #18175: Bootstrap promises does not know the server versionNewActions
Actions #1

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.

Actions #2

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

Actions #3

Updated by Nicolas CHARLES over 4 years ago

  • Target version set to 6.0.9
Actions #4

Updated by Nicolas CHARLES over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #5

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
Actions #6

Updated by Nicolas CHARLES about 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #7

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.0.9 to 6.0.8
Actions #8

Updated by Vincent MEMBRÉ about 4 years ago

  • Related to Bug #18175: Bootstrap promises does not know the server version added
Actions #9

Updated by Vincent MEMBRÉ about 4 years ago

  • Priority changed from 56 to 55
  • Fix check changed from To do to Checked
Actions #10

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.

Actions

Also available in: Atom PDF