summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | doc: Remove reference to bcfg2-admin querySol Jerome2013-10-301-1/+0
| | | | | | | | | | | | | | | | | | The corresponding documentation was removed in ca6abe45. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | Reporting: fixed error reportingChris St. Pierre2013-10-311-1/+1
| | |
* | | bcfg2-report-collector: import DBSettings explicitly to parse them earlyChris St. Pierre2013-10-311-0/+1
| | |
* | | Options: Don't reparse initial config fileChris St. Pierre2013-10-311-3/+5
| | | | | | | | | | | | It hasn't been parsed at this stage anyway.
* | | Info: Make ^C interaction look nicerSol Jerome2013-10-301-1/+1
| | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | bcfg2-reports: rewrote with new option parserChris St. Pierre2013-10-303-278/+280
| | |
* | | Core: Avoid unnecessarily reparsing config file on startupChris St. Pierre2013-10-301-1/+4
| | |
* | | fixed Core stringificationChris St. Pierre2013-10-301-2/+5
| | |
* | | DB: fixed how Django settings are loadedChris St. Pierre2013-10-3017-278/+281
| | |
* | | Core: Better stringification of server core objectsChris St. Pierre2013-10-302-0/+12
| | |
* | | Plugins: Added TemplateDataProvider plugin interfaceChris St. Pierre2013-10-308-55/+225
| | | | | | | | | | | | | | | | | | | | | This lets you provide variables to the top-level namespace of templates in a more seamless way than through a Connector plugin. It's mostly useful for TemplateHelper for now, but may find other uses in the future.
* | | Core: Make core object available at the module levelChris St. Pierre2013-10-292-3/+6
| | |
* | | Plugins: refactored out unnecessary datastore constructor argumentChris St. Pierre2013-10-2942-111/+110
| | |
* | | testsuite: more test fixesChris St. Pierre2013-10-281-5/+1
| | |
* | | fixed misc. unit testsChris St. Pierre2013-10-283-6/+7
| | |
* | | Merge branch 'maint'Chris St. Pierre2013-10-281-7/+5
|\| | | | | | | | | | | | | | Conflicts: misc/bcfg2.spec
| * | specfile: backported merge w/ Fedora specfile to 1.3Chris St. Pierre2013-10-281-180/+478
| | |
| * | testsuite: remove duplicate django installationChris St. Pierre2013-10-281-1/+1
| | |
* | | Merge branch 'maint'Chris St. Pierre2013-10-2816-32/+633
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/development/lint.txt misc/bcfg2.spec src/lib/Bcfg2/Reporting/Collector.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/models.py testsuite/install.sh
| * | testsuite: install django 1.4.8 when testing py 2.5Chris St. Pierre2013-10-281-1/+3
| | |
| * | Merge pull request #142 from fennm/reporting-thread-each-data-importChris St. Pierre2013-10-281-10/+31
| |\ \ | | | | | | | | Reporting: start a new thread for each import
| | * | Revert "Reporting: Simple sanity check to avoid creating too many threads"Michael Fenn2013-10-141-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f813f86f8ac2bc7b55f4eb6a0d936f1ce4f68ba7. Premature optimization is the root of all evil, etc. Conflicts: src/lib/Bcfg2/Reporting/Collector.py
| | * | Reporting: misc improvements to collector threadingMichael Fenn2013-10-101-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | 1. Use a better convention for calling the threading.Thread constructor 2. Add docstring to ReportingStoreThread.run 3. Give the storage thread variable a better name
| | * | Merge remote-tracking branch 'upstream/maint' into ↵Michael Fenn2013-10-104-5/+9
| | |\ \ | | |/ / | |/| | | | | | reporting-thread-each-data-import
| * | | Packages: fixed metadata.Packages["sources"]Chris St. Pierre2013-10-091-1/+1
| | | |
| * | | Merge pull request #141 from fennm/fix-unit-tests-after-9a6a231Chris St. Pierre2013-10-041-1/+6
| |\ \ \ | | | | | | | | | | Tests: Fix tests after 9a6a231
| * | | | Metadata: read in clients.xml on every writeChris St. Pierre2013-10-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures consistency between the in-memory representation of clients.xml and the representation on disk. If we don't read our writes immediately, there's a race condition when creating a new client: If it asserts its profile or version before the FAM event from the clients.xml edit is processed, then the clients doesn't appear to exist yet, and Bcfg2 complains.
| * | | | Metadata: import any() from CompatChris St. Pierre2013-10-031-1/+3
| | | | |
| * | | | debian: Add build-depends for 35b53c7Sol Jerome2013-10-011-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * | | | Core: Fixed error message on failed altsrc bindChris St. Pierre2013-09-301-3/+3
| | | | |
| | | * | Reporting: Simple sanity check to avoid creating too many threadsMichael Fenn2013-10-091-0/+3
| | | | |
| | | * | Reporting: start a new thread for each importMichael Fenn2013-10-091-10/+29
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When dealing with a high-latency database connection (eg. across a WAN), the bcfg2-report-collector process can fall behind in its import queue. The imports are very much bound by the response latency of the database server and not processing throughput. This patch fires off a new thread for each database interaction. The thread itself simply falls out of scope when the interaction is finished processing. The interaction object is still read from the disk serially in order avoid having to create a locking mechanism for that part of the process. This change does potentially create greater load on the database server, but ultimately the load is limited by rate at which the bcfg2 server can generate work.
| | * / Tests: Fix tests after 9a6a231Michael Fenn2013-10-041-1/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | The addition of the call to load_xml in 9a6a231 causes the test to fail because load_xml() expects to read a clients.xml file. The actual actual open calls in write_xml are dummied out with Mock, so no file is written, and thus cannot be read back. This commit dummies out the load_xml and adds some more asserts for good measure.
| * | GroupLogic: fixed thread-local variable initializationChris St. Pierre2013-09-271-11/+13
| | |
| * | AWSTags: fixed cache clearing at start of client runChris St. Pierre2013-09-261-1/+1
| | |
| * | models: handle failure to import plugin gracefullyChris St. Pierre2013-09-261-1/+1
| | |
| * | testsuite: install boto with optional dependenciesChris St. Pierre2013-09-261-1/+1
| | |
| * | Metadata: better logging when updating XML data failsChris St. Pierre2013-09-261-5/+6
| | |
| * | New plugin: AWSTagsChris St. Pierre2013-09-267-0/+561
| | | | | | | | | | | | | | | AWSTags allows querying tags from EC2, and setting groups based on the tag names or values.
| * | docs: clarify when JSON/YAML Properties files were addedChris St. Pierre2013-09-251-0/+4
| | |
* | | specfile: removed bcfg2 1.3-ismsChris St. Pierre2013-10-281-9/+3
| | |
* | | specfile: GPG key was added as a source but unusedChris St. Pierre2013-10-281-4/+3
| | |
* | | SQLAlchemy is no longer usedChris St. Pierre2013-10-283-3/+2
| | |
* | | removed obsolete export.sh toolChris St. Pierre2013-10-282-53/+0
| | |
* | | removed old redhat build specfile and associated cruftChris St. Pierre2013-10-286-493/+1
| | |
* | | bumped spec file version to 1.4.0, configured for nightly buildsChris St. Pierre2013-10-281-2/+4
| | |
* | | fixed various issues listed at https://github.com/Bcfg2/bcfg2/pull/131Chris St. Pierre2013-10-281-27/+37
| | |
* | | misc/bcfg2.spec: BuildRequires: buildsys-macros for el5John Morris2013-10-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | By default, el5 doesn't have the %%rhel macro, provided by the buildsys-macros package. EPEL build servers install buildsys-macros by default, but explicitly requiring it may help builds in other environments
* | | Drop source xml.xsd; included in upstream tarballJohn Morris2013-10-281-2/+1
| | |
* | | remove /etc/bcfg2-web.confJohn Morris2013-10-281-3/+1
| | |