Actions
Bug #5080
closedUser story #5077: Update to CFEngine 3.6.0 release
Roles overwritten during package installation
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Hi again,
I'm testing the "distributed roles setup" with 4 servers. This is server-4 (rudder-webapp):
root# cat /var/rudder/cfengine-community/inputs/rudder-server-roles.conf rudder-ldap:192.168.42.201 rudder-inventory-endpoint:192.168.42.201 rudder-db:192.168.42.202 rudder-front:192.168.42.200 rudder-webapp:192.168.42.203
Then, installation of the packages:
root# yum install rudder-agent rudder-webapp rudder-techniques rsyslog rsyslog-pgsql ## server-4 (rudder-webapp) [...] Installing : 1398866025:rudder-webapp-2.11.0.beta1-1.EL.6.noarch INFO: Setting Apache HTTPd as a boot service... Done INFO: Restarting syslog... Done INFO: Stopping Apache HTTPd... Done INFO: Initialising in /var/rudder/configuration-repository/ncf INFO: Success INFO: No usable SSL certificate detected for Rudder HTTP/S support, generating one automatically... Done INFO: Starting Apache HTTPd... Done INFO: Launching script to check if a migration is needed INFO: Checking if rudder-web.properties database access credentials are all right... LDAP OK, SQL Credentials updated INFO: Checking if inventory-web.properties database access credentials are all right... non existant, skipping INFO: Checking LDAP service status... OK INFO: Checking PostgreSQL service status... OK INFO: End of migration script ******************************************************************************** rudder-webapp has been upgraded, but for the upgrade to take effect, please restart the jetty application server as follows: # /sbin/service rudder-jetty restart ********************************************************************************
Okay, so everything went fine, maybe...
root# cat /var/rudder/cfengine-community/inputs/rudder-server-roles.conf # This file contains, for each role, the list of nodes that have this role # These roles are auto-detected by default, based on inventories of nodes that have role files in /opt/rudder/etc/server-roles.d/ # Format is the following # role:hostname1,hostname2,hostname3 rudder-ldap:localhost rudder-inventory-endpoint:localhost rudder-db:localhost rudder-webapp:localhost rudder-front:localhost
Ah, my roles have been trashed...
Thanks.
Actions