Project

General

Profile

Actions

Bug #2413

closed

Intial promises use an old version of cfengine_stdlib.cf and fail on CentOS

Added by Nicolas PERRON about 12 years ago. Updated about 12 years ago.

Status:
Released
Priority:
1
Assignee:
Nicolas PERRON
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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

Updated by Nicolas PERRON about 12 years ago

  • Status changed from New to Pending technical review
  • % Done changed from 0 to 100

cfengine_stdlib.cf has been updated

Actions #2

Updated by Nicolas CHARLES about 12 years 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

Actions #3

Updated by Nicolas CHARLES about 12 years ago

  • % Done changed from 100 to 50
Actions #4

Updated by Nicolas PERRON about 12 years ago

  • Status changed from In progress to Pending technical review
  • % Done changed from 50 to 100
Actions #5

Updated by Nicolas PERRON about 12 years 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.

Actions #6

Updated by Nicolas CHARLES about 12 years ago

  • Status changed from Pending technical review to Released

This looks valid, thank you Nicolas

Actions

Also available in: Atom PDF