Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bcfg2-report-collector: import DBSettings explicitly to parse them early | Chris St. Pierre | 2013-10-31 | 1 | -0/+1 |
| | |||||
* | Options: Don't reparse initial config file | Chris St. Pierre | 2013-10-31 | 1 | -3/+5 |
| | | | | It hasn't been parsed at this stage anyway. | ||||
* | Info: Make ^C interaction look nicer | Sol Jerome | 2013-10-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | bcfg2-reports: rewrote with new option parser | Chris St. Pierre | 2013-10-30 | 3 | -278/+280 |
| | |||||
* | Core: Avoid unnecessarily reparsing config file on startup | Chris St. Pierre | 2013-10-30 | 1 | -1/+4 |
| | |||||
* | fixed Core stringification | Chris St. Pierre | 2013-10-30 | 1 | -2/+5 |
| | |||||
* | DB: fixed how Django settings are loaded | Chris St. Pierre | 2013-10-30 | 17 | -278/+281 |
| | |||||
* | Core: Better stringification of server core objects | Chris St. Pierre | 2013-10-30 | 2 | -0/+12 |
| | |||||
* | Plugins: Added TemplateDataProvider plugin interface | Chris St. Pierre | 2013-10-30 | 8 | -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 level | Chris St. Pierre | 2013-10-29 | 2 | -3/+6 |
| | |||||
* | Plugins: refactored out unnecessary datastore constructor argument | Chris St. Pierre | 2013-10-29 | 42 | -111/+110 |
| | |||||
* | testsuite: more test fixes | Chris St. Pierre | 2013-10-28 | 1 | -5/+1 |
| | |||||
* | fixed misc. unit tests | Chris St. Pierre | 2013-10-28 | 3 | -6/+7 |
| | |||||
* | Merge branch 'maint' | Chris St. Pierre | 2013-10-28 | 1 | -7/+5 |
|\ | | | | | | | | | Conflicts: misc/bcfg2.spec | ||||
| * | specfile: backported merge w/ Fedora specfile to 1.3 | Chris St. Pierre | 2013-10-28 | 1 | -180/+478 |
| | | |||||
| * | testsuite: remove duplicate django installation | Chris St. Pierre | 2013-10-28 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'maint' | Chris St. Pierre | 2013-10-28 | 16 | -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.5 | Chris St. Pierre | 2013-10-28 | 1 | -1/+3 |
| | | |||||
| * | Merge pull request #142 from fennm/reporting-thread-each-data-import | Chris St. Pierre | 2013-10-28 | 1 | -10/+31 |
| |\ | | | | | | | Reporting: start a new thread for each import | ||||
| | * | Revert "Reporting: Simple sanity check to avoid creating too many threads" | Michael Fenn | 2013-10-14 | 1 | -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 threading | Michael Fenn | 2013-10-10 | 1 | -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 Fenn | 2013-10-10 | 4 | -5/+9 |
| | |\ | | |/ | |/| | | | | reporting-thread-each-data-import | ||||
| * | | Packages: fixed metadata.Packages["sources"] | Chris St. Pierre | 2013-10-09 | 1 | -1/+1 |
| | | | |||||
| * | | Merge pull request #141 from fennm/fix-unit-tests-after-9a6a231 | Chris St. Pierre | 2013-10-04 | 1 | -1/+6 |
| |\ \ | | | | | | | | | Tests: Fix tests after 9a6a231 | ||||
| * | | | Metadata: read in clients.xml on every write | Chris St. Pierre | 2013-10-04 | 1 | -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 Compat | Chris St. Pierre | 2013-10-03 | 1 | -1/+3 |
| | | | | |||||
| * | | | debian: Add build-depends for 35b53c7 | Sol Jerome | 2013-10-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
| * | | | Core: Fixed error message on failed altsrc bind | Chris St. Pierre | 2013-09-30 | 1 | -3/+3 |
| | | | | |||||
| | | * | Reporting: Simple sanity check to avoid creating too many threads | Michael Fenn | 2013-10-09 | 1 | -0/+3 |
| | | | | |||||
| | | * | Reporting: start a new thread for each import | Michael Fenn | 2013-10-09 | 1 | -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 9a6a231 | Michael Fenn | 2013-10-04 | 1 | -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 initialization | Chris St. Pierre | 2013-09-27 | 1 | -11/+13 |
| | | |||||
| * | AWSTags: fixed cache clearing at start of client run | Chris St. Pierre | 2013-09-26 | 1 | -1/+1 |
| | | |||||
| * | models: handle failure to import plugin gracefully | Chris St. Pierre | 2013-09-26 | 1 | -1/+1 |
| | | |||||
| * | testsuite: install boto with optional dependencies | Chris St. Pierre | 2013-09-26 | 1 | -1/+1 |
| | | |||||
| * | Metadata: better logging when updating XML data fails | Chris St. Pierre | 2013-09-26 | 1 | -5/+6 |
| | | |||||
| * | New plugin: AWSTags | Chris St. Pierre | 2013-09-26 | 7 | -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 added | Chris St. Pierre | 2013-09-25 | 1 | -0/+4 |
| | | |||||
* | | specfile: removed bcfg2 1.3-isms | Chris St. Pierre | 2013-10-28 | 1 | -9/+3 |
| | | |||||
* | | specfile: GPG key was added as a source but unused | Chris St. Pierre | 2013-10-28 | 1 | -4/+3 |
| | | |||||
* | | SQLAlchemy is no longer used | Chris St. Pierre | 2013-10-28 | 3 | -3/+2 |
| | | |||||
* | | removed obsolete export.sh tool | Chris St. Pierre | 2013-10-28 | 2 | -53/+0 |
| | | |||||
* | | removed old redhat build specfile and associated cruft | Chris St. Pierre | 2013-10-28 | 6 | -493/+1 |
| | | |||||
* | | bumped spec file version to 1.4.0, configured for nightly builds | Chris St. Pierre | 2013-10-28 | 1 | -2/+4 |
| | | |||||
* | | fixed various issues listed at https://github.com/Bcfg2/bcfg2/pull/131 | Chris St. Pierre | 2013-10-28 | 1 | -27/+37 |
| | | |||||
* | | misc/bcfg2.spec: BuildRequires: buildsys-macros for el5 | John Morris | 2013-10-28 | 1 | -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 tarball | John Morris | 2013-10-28 | 1 | -2/+1 |
| | | |||||
* | | remove /etc/bcfg2-web.conf | John Morris | 2013-10-28 | 1 | -3/+1 |
| | | |||||
* | | Disable pylint and pep8 unit tests on redhat | John Morris | 2013-10-28 | 1 | -0/+13 |
| | | |||||
* | | Add two installed but unpackaged files to %files | John Morris | 2013-10-28 | 1 | -0/+2 |
| | |