[Bug 891299] New: cfengine is missing configuration files needed to run
https://bugzilla.novell.com/show_bug.cgi?id=891299 https://bugzilla.novell.com/show_bug.cgi?id=891299#c0 Summary: cfengine is missing configuration files needed to run Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: david.westfall@red-inc.us QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux x86_64) Presto/2.12.388 Version/12.16 I am trying to test cfengine, but I am unable to get the server working. The init command runs /var/cfengine/bin/cf-promises using /var/cfengine/inputs/promises.cf as input. That file is not there. There is a copy in /var/cfengine/masterfiles. Because the one command fails the server goes into failesafe mode and clients are unable to connect with Bad protocol reply 'BAD: key could not be accepted on trust' /var/cfengine/bin/cf-promises -c /var/cfengine/inputs/promises.cf I copied it to inputs and then ran the command by hand. It then looks for cf_agent.cf cf_execd.cf cf_monitord.cf cf_runagent.cf cf_serverd.cf in /var/cfengine/inputs/controls. It then looks for the following files in /var/cfengine/inputs/lib/3.5/. I created empty files to get past the file not found, but it still fais because it is trying to reference item in the missing files. bundles.cf commands.cf common.cf databases.cf files.cf guest_environments.cf monitor.cf packages.cf paths.cf processes.cf services.cf storage.cf promises.cf is configured to look for the lib files twice. Once is hard coded, lib/3.5/, and the other by substitution lib/$(sys.cf_version_major).$(sys.cf_version_minor). Dave W Reproducible: Always Steps to Reproduce: 1. Install cfengine client and server 2. Run cf-agent --bootstrap --policy-server 192.168.0.1 3. Actual Results: cf-agent --bootstrap --policy-server 192.168.0.1 2014-08-11T07:37:13-0400 warning: Deprecated bootstrap options detected. The --policy-server (-s) option is deprecated from CFEngine community version 3.5.0.Please provide the address argument to --bootstrap (-B) instead. Rewriting your arguments now, but you need to adjust them as this support will be removed soon. 2014-08-11T07:37:13-0400 notice: Q: ".../cf-execd"": 2014-08-11T07:37:13-0400 error: Can't stat file '/var/cfengine/inputs/controls/cf_agent.cf' for parsing. (stat: No such file or directory) Q: ".../cf-execd"": 2014-08-11T07:37:13-0400 error: Policy failed validation with command '"/var/cfengine/bin/cf-promises" -c "/var/cfengine/inputs/promises.cf"' Q: ".../cf-execd"": 2014-08-11T07:37:13-0400 error: CFEngine was not able to get confirmation of promises from cf-promises, so going to failsafe 2014-08-11T07:37:13-0400 notice: Q: "...f-serverd"": 2014-08-11T07:37:13-0400 error: Can't stat file '/var/cfengine/inputs/controls/cf_agent.cf' for parsing. (stat: No such file or directory) Q: "...f-serverd"": 2014-08-11T07:37:13-0400 error: Policy failed validation with command '"/var/cfengine/bin/cf-promises" -c "/var/cfengine/inputs/promises.cf"' Q: "...f-serverd"": 2014-08-11T07:37:13-0400 error: CFEngine was not able to get confirmation of promises from cf-promises, so going to failsafe Q: "...f-serverd"": 2014-08-11T07:37:13-0400 notice: Server is starting... 2014-08-11T07:37:13-0400 notice: R: This host assumes the role of policy server 2014-08-11T07:37:13-0400 notice: R: Updated local policy from policy server 2014-08-11T07:37:13-0400 notice: R: Started the server 2014-08-11T07:37:13-0400 notice: R: Started the scheduler 2014-08-11T07:37:13-0400 notice: Bootstrap to '192.168.0.1' completed successfully! Expected Results: All required file to be installed in the correct location. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891299 https://bugzilla.novell.com/show_bug.cgi?id=891299#c Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com, | |tchvatal@suse.com AssignedTo|bnc-team-screening@forge.pr |dlovasko@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891299 https://bugzilla.novell.com/show_bug.cgi?id=891299#c2 Klaus Kämpf <kkaempf@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |david.westfall@red-inc.us --- Comment #2 from Klaus Kämpf <kkaempf@suse.com> 2014-08-22 13:36:10 UTC --- (In reply to comment #0)
Steps to Reproduce: 1. Install cfengine client and server
What is cfengine 'client and server' ? cfengine is shipped as two packages: - cfengine - binaries, required on every system - cfengine-masterfiles - server policies, only required on the policy server, will be copied to the client by running "cf-agent --bootstrap ..." -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891299 https://bugzilla.novell.com/show_bug.cgi?id=891299#c4 --- Comment #4 from David Westfall <david.westfall@red-inc.us> 2014-08-22 14:10:47 UTC --- cfengine is not two packages it has four. cfengine-doc-3.5.2-2.1.3.x86_64 Full documentation for cfengine cfengine-server-3.5.2-2.1.3.x86_64 This package contains the files of the cfengine server. cfengine-3.5.2-2.1.3.x86_64 CFEngine is the core of a configuration management system: ensuring the availability, security and compliance of mission-critical applications and services. Based on popular and flexible open source configuration management software, CFEngine configuration management products are highly scalable through decentralized, autonomous agents that can continuously monitor, self-repair, and update the IT infrastructure of a global multi-site enterprise - with negligible impact on system resources or performance. libpromises1-3.5.2-2.1.3.x86_64 This package contains the shared libpromises (cfengine) library. Client is what you install on all computers, server is what you install on the master computer. All of these have been installed, but the files that the bootstrap is looking for have not been install. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891299 https://bugzilla.novell.com/show_bug.cgi?id=891299#c5 Klaus Kämpf <kkaempf@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|david.westfall@red-inc.us | --- Comment #5 from Klaus Kämpf <kkaempf@suse.com> 2014-08-22 14:52:52 UTC --- Oh, 3.5.2 is outdated meanwhile. Please use cfengine 3.6.1 from http://download.opensuse.org/repositories/systemsmanagement/openSUSE_13.1/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891299 https://bugzilla.novell.com/show_bug.cgi?id=891299#c6 Klaus Kämpf <kkaempf@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #6 from Klaus Kämpf <kkaempf@suse.com> 2014-09-16 12:16:37 UTC --- No further comments -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891299 https://bugzilla.novell.com/show_bug.cgi?id=891299#c7 --- Comment #7 from David Westfall <david.westfall@red-inc.us> 2014-09-16 15:57:48 UTC --- Been busy here at work. I have not tried the link you gave me and should not have to try it. Packages that are included in a disto should work, and if they don't then they should be fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com