Project

General

Profile

Actions

User story #4326

closed

User story #4325: Add a script to change Rudder policy server IP/host name

Enable the user to change a Rudder policy server IP/host name (Script)

Added by Matthieu CERDA almost 11 years ago. Updated over 9 years ago.

Status:
Released
Priority:
3
Assignee:
Jonathan CLARKE
Category:
Web - Maintenance
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Enable the user to change a Rudder policy server IP/host name, script method.


Files

rudder-root-rename (4.58 KB) rudder-root-rename Matthieu CERDA, 2014-01-03 15:15

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #4421: RPM build error on missing file "rudder-root-rename"ReleasedJonathan CLARKE2014-01-30Actions
Actions #1

Updated by Matthieu CERDA almost 11 years ago

A initial version of the script has been created, however I need to be absolutely sure that there is no other entry to edit than:
  • DN: directiveId=common-root,activeTechniqueId=common,techniqueCategoryId=Rudder Internal,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuration
  • DN: directiveId=root-distributePolicy,activeTechniqueId=distributePolicy,techniqueCategoryId=Rudder Internal,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuration

FAR, can you confirm ?

Also, I need a way to trigger a cache cleaning using either the API or another method to force Rudder to acknowledge the change.

Actions #2

Updated by François ARMAND almost 11 years ago

I didn't find any other occurence safe in the inventory part, so be sure to trigger a new inventory.

The clear cache does not seem to be necessary, as the hostname is part of the data looked for modification (and so, the cache will be invalidated for relevant nodes).

Actions #3

Updated by François ARMAND almost 11 years ago

  • Assignee changed from François ARMAND to Matthieu CERDA
Actions #4

Updated by Jonathan CLARKE almost 11 years ago

  • Category changed from 13 to Web - Maintenance

This looks great! The force_inventory is a good idea. Can you submit a PR please?

Actions #5

Updated by Matthieu CERDA almost 11 years ago

  • Status changed from Discussion to In progress
  • % Done changed from 0 to 50

Targetting 2.6

Actions #6

Updated by Matthieu CERDA almost 11 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Jonathan CLARKE
  • % Done changed from 50 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/208

PR available

Actions #7

Updated by Vincent MEMBRÉ almost 11 years ago

  • Target version changed from Ideas (not version specific) to 2.6.11
Actions #8

Updated by Matthieu CERDA almost 11 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:commit:4384ba9964d1513f05ca8b6461f0220c0032f381.

Actions #9

Updated by Jonathan CLARKE almost 11 years ago

Applied in changeset packages:commit:1a34bcf231c51708b9b5cf89951e8cb768c8e03c.

Actions #10

Updated by Vincent MEMBRÉ almost 11 years ago

  • Status changed from Pending release to Discussion

rpm are not building since the merge of that pull request with that error:

RPM build errors:
    File not found: /var/tmp/rudder-server-root-2.6.11.rc1.git201402110531-1.SLES.11-root-root/opt/rudder/bin/rudder-root-rename

there is a missing cp here, reopening the issue since it was not release yet

Actions #11

Updated by Vincent MEMBRÉ almost 11 years ago

  • Status changed from Discussion to Pending technical review
  • Pull Request changed from https://github.com/Normation/rudder-packages/pull/208 to https://github.com/Normation/rudder-packages/pull/219
Actions #12

Updated by Vincent MEMBRÉ almost 11 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:commit:6f2e84f8328fccc678bfc94fedf6a6988e062a3e.

Actions #13

Updated by Jonathan CLARKE almost 11 years ago

Applied in changeset packages:commit:89fe27dbca6ef7eb6ed20c70904ddab15d45bc75.

Actions #14

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.6.11, which was released today.
Check out:

Actions #15

Updated by Benoît PECCATTE over 9 years ago

  • Tracker changed from 6 to User story
Actions

Also available in: Atom PDF