Bug #2413
Intial promises use an old version of cfengine_stdlib.cf and fail on CentOS
| Status: | Released | Start date: | 2012-04-04 | |
|---|---|---|---|---|
| Priority: | 1 | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | Techniques - Sys & init promis | |||
| Target version: | 2.3.7 | |||
| Needs translating: | No | Pull Request: |
Description
rsyslog can't be installed with initial promises on CentOS:
[vagrant@centos-6-vagrant ~]$ sudo /var/rudder/cfengine-community/bin/cf-agent -KI File /etc/rsyslog.d/pgsql.conf was marked for editing but could not be opened I: Report relates to a promise with handle "" I: Made in version 'not specified' of '/var/rudder/cfengine-community/inputs/distributePolicy/rsyslogConf.cf' near line 96 I: Comment: Removing the logging of all in the database !! Inconsistent "package_add_command" constraints break this promise Promise (version not specified) belongs to bundle 'install_rsyslogd' in file '/var/rudder/cfengine-community/inputs/distributePolicy/rsyslogConf.cf' near line 77 Comment: Installing rsyslog using apt backports !! Inconsistent "package_delete_command" constraints break this promise Promise (version not specified) belongs to bundle 'install_rsyslogd' in file '/var/rudder/cfengine-community/inputs/distributePolicy/rsyslogConf.cf' near line 77 Comment: Installing rsyslog using apt backports !! Inconsistent "package_add_command" constraints break this promise Promise (version not specified) belongs to bundle 'install_rsyslogd' in file '/var/rudder/cfengine-community/inputs/distributePolicy/rsyslogConf.cf' near line 83 Comment: Installing rsyslog_pgsql using apt backports !! Inconsistent "package_delete_command" constraints break this promise Promise (version not specified) belongs to bundle 'install_rsyslogd' in file '/var/rudder/cfengine-community/inputs/distributePolicy/rsyslogConf.cf' near line 83 Comment: Installing rsyslog_pgsql using apt backports !! Inconsistent "package_add_command" constraints break this promise Promise (version not specified) belongs to bundle 'install_rsyslogd' in file '/var/rudder/cfengine-community/inputs/distributePolicy/rsyslogConf.cf' near line 83 Comment: � !! Inconsistent "package_delete_command" constraints break this promise Promise (version not specified) belongs to bundle 'install_rsyslogd' in file '/var/rudder/cfengine-community/inputs/distributePolicy/rsyslogConf.cf' near line 83 Comment: � Proposed executable file "/usr/bin/apt-get" doesn't exist The proposed package schedule command "/usr/bin/apt-get --yes install rsyslog-pgsql.* rsyslog.* " was not executable I: Report relates to a promise with handle "" I: Made in version 'not specified' of '/var/rudder/cfengine-community/inputs/distributePolicy/rsyslogConf.cf' near line 83 I: Comment: ��� 8 ng rsyslog_pgsql using apt backports Bulk package schedule execution failed somewhere - unknown outcome for rsyslog-pgsql.* Bulk package schedule execution failed somewhere - unknown outcome for rsyslog.* R: Fatal : Can't install rsyslog or rsyslog_pgsql on the orchestrator ! R: Cannot update the pgsql config
Associated revisions
Refs #2413 Update cfengine_stdlib.cf of all initial promises
Merge branch 'branches/rudder/2.3'
- branches/rudder/2.3:
Refs #2297 : add a posthook to the copy file from shared folder
Refs #2415 typo for new version of copyFileFromSharedFolder.st (v1.2) and enhance description
Fixes #2410: Enabled the user to set a list of options in the dnsConfiguration Technique (2.3 branch)
Refs #2415 Change use of scp method on e2s_activation.st and copyFileFromSharedFolder.st (v1.1)
Refs #2415 Change scp method in order to define compare method and add a new version of 'Download from shared folder' for choosing compare method
Fixes #2409: The DNS search list on the resolv.conf is now a single space separated list instead of a single search domain tuple repeated multiple times
Refs #2413 Update cfengine_stdlib.cf of all initial promises
Refs #2413 #2412 Update cfengine_stdlib.cf of initial promises from policies/techniques
Refs #2413 #2412 Change comments in rsyslogConf.cf when using generic package manager
History
#1
Updated by Nicolas PERRON about 1 year ago
- Status changed from New to Pending technical review
- % Done changed from 0 to 100
cfengine_stdlib.cf has been updated
#2
Updated by Nicolas CHARLES about 1 year ago
- Status changed from Pending technical review to In progress
Nicolas, could you apply the same modification for the nodeInitialPromises and rootServerInitialPromises/cfengine-nova please ?
Thank you
#3
Updated by Nicolas CHARLES about 1 year ago
- % Done changed from 100 to 50
#4
Updated by Nicolas PERRON about 1 year ago
- Status changed from In progress to Pending technical review
- % Done changed from 50 to 100
#5
Updated by Nicolas PERRON about 1 year ago
The file "cfengine_stdlib.cf" of initial-promises of the nodes was modified for using rpm instead of zypper . What was that modification purpose ?
My last commit erased that modification but i'm not totally sure if it was a good thing to do.
#6
Updated by Nicolas CHARLES about 1 year ago
- Status changed from Pending technical review to Released
This looks valid, thank you Nicolas