Project

General

Profile

Actions

Enhancement #20770

open

experience of adding a node is suboptimal

Added by Nicolas CHARLES almost 3 years ago. Updated about 1 year ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Agent
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
To do
Regression:

Description

When following the doc https://docs.rudder.io/reference/7.0/installation/agent/debian.html
it says to run rudder agent policy-server <rudder server ip or hostname>
And several minutes after, inventory should appear, but we can make it faster by running rudder agent inventory

As a result, i end up with this experience

root@agent1:/home/vagrant# rudder agent policy-server 192.168.45.2
root@agent1:/home/vagrant# rudder agent inventory
Agent is currently in bootstrap policies, cannot run an inventory. Please download initial policies from the server with command "rudder agent update" first. If problem persists, use "rudder agent check" for diagnostic
root@agent1:/home/vagrant# rudder agent inventory
Agent is currently in bootstrap policies, cannot run an inventory. Please download initial policies from the server with command "rudder agent update" first. If problem persists, use "rudder agent check" for diagnostic
root@agent1:/home/vagrant# rudder agent update
   error: Can't stat file '/var/rudder/share/4a2bdd9a-0715-4602-814d-fb3c9a2919ae/rules/cfengine-community/rudder-promises-generated' on '192.168.45.2' in files.copy_from promise, it may be missing or access may not be authorized
   error: Errors encountered when actuating files promise '/var/rudder/cfengine-community/inputs/rudder-promises-generated.tmp'
R: ******************************************************************************
* rudder-agent could not get an updated configuration from the policy server.   *
* This can be caused by:                                                        *
*   * an agent key that has been changed                                        *
*   * if this node is not accepted or deleted node on the Rudder root server    *
*   * if this node has changed policy server without sending a new inventory    *
* Any existing configuration policy will continue to be applied without change. *
*********************************************************************************
error: Rudder agent policies could not be updated.
root@agent1:/home/vagrant# rudder agent inventory
Rudder agent 7.0.1~git202202150252
Node uuid: 4a2bdd9a-0715-4602-814d-fb3c9a2919ae

I run the first command, the second fails, I must have missed soemthing, i try again after checking the doc
I run the command suggested, and I have an error :/
I run the inventory, it does work

We could for the bootstrap once we set the policy server to make this better

Actions #1

Updated by François ARMAND almost 3 years ago

  • Tracker changed from Bug to Enhancement
  • Priority deleted (0)
Actions #2

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.0.2 to 7.0.3
Actions #3

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.0.3 to 7.0.4
Actions #4

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.0.4 to 7.0.5
Actions #5

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.0.5 to 7.0.6
Actions #6

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 7.0.6 to 7.0.7
Actions #7

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 7.0.7 to 7.0.8
Actions #8

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 7.0.8 to 1002
Actions #9

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 1002 to 7.1.7
Actions #10

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 7.1.7 to 7.1.8
Actions #11

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.1.8 to 7.1.9
Actions #12

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.1.9 to 7.1.10
Actions #13

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.1.10 to 1016
Actions #14

Updated by Alexis Mousset over 1 year ago

  • Target version changed from 1016 to 7.2.5
Actions #15

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.5 to 7.2.6
Actions #16

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.6 to 7.2.7
Actions #17

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.7 to 7.2.8
Actions #18

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.8 to 7.2.9
Actions #19

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.9 to 7.2.10
Actions #20

Updated by Alexis Mousset over 1 year ago

  • Target version changed from 7.2.10 to 7.2.11
Actions #21

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.2.11 to 1046
Actions #22

Updated by Alexis Mousset about 1 year ago

  • Target version changed from 1046 to Ideas (not version specific)
Actions

Also available in: Atom PDF