| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From the ticket:
A floating, cert-authenticated client can be not recognized properly by
hostname if it resolves to an arbitrary name in reverse DNS.
Background: Metadata.resolve_client, called from @exposed Core's
methods, falls back to reverse DNS lookup for client's name, because the
name is not preserved thanks to bailing off early from
Metadata.AuthenticateConnection.
(This issue can be related to #936.)
This patch enables caching of client names for cert-based floating
clients.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replaced many list comprehensions in Core.py with a new method named
plugins_by_type(), which does the same thing with an added twist: this
new method also sorts the list of plugins by a new field named
sort_order. It also uses the name of the plugin where the sort_order
values are the same.
This lets us control the processing sequence of plugins that need to
build on the results of a plugin that runs prior to them. The
immediate example is Deps, which should run after Packages has
generated the full list of packages to be installed. Prior to this
commit, it was impossible to control the order in which they ran. A
future commit will (hopefully) take advantage of this capability.
This commit also splits the Core.validate_data() method into two: one
for validate_structures() and one for validate_goals(), instead of
passing in a base class and using if logic. This approach seemed a
little clearer to me.
|
|
|
|
|
|
|
|
|
|
| |
By default, bcfg2-admin viz creates a diagram that shows the complete
contents of the repository: all Groups, Bundles, and (optionally)
Hosts/Clients. In a complicated configuration, this can be an
overwhelming amount of information.
This change adds an --only-client option that can be used to limit the
elements on the diagram to those that apply to the named host.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
xinclude files
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6052 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5941 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5904 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5790 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5713 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5702 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5701 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5671 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
[bugfix]
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5662 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
new file
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5632 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5615 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5606 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
| |
address resolved"
This reverts commit [5592].
This broke Metadata resolution by causing tracebacks which resulted in
communication failure.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5605 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
| |
This reverts commit [5592].
This broke Metadata resolution by causing tracebacks which resulted in
communication failure.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5604 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5592 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5588 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5586 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5525 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5500 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
groups (Resolves Ticket #529)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5496 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5325 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Apparently classmethods aren't callable from subclasses if overridden
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5322 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rework metadata so that each instance has addresses and aliases instance
attributes containing manually specified addresses and alias names.
Unify pub key resolution loop to process this data once per client.
Change: only clients with active metadata will be included in
ssh_known_hosts data now. Other keys can be stored in *.static, in final
known_hosts file format.
Also, a more exhaustive search for ip addresses is now performed. DNS
resolution for the client hostname, as well as all aliases is performed.
Manually specified addresses are added included as well.
This should also fix some tracebacks reported by Cory and Teknix, as
well as improve performance.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5319 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
group and bundle.x
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5312 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
metadata for changes in 5305
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5306 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5304 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Add method to get list of all group names, change all client interface to match.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5302 ce84e21b-d406-0410-9b95-82705330c041
|