| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From the ticket:
---
From what I can tell, there is an os.system call (line #214 of
Bcfg2/Server/Plugins/SSHbase.py) that is supposed to fire off ssh-keygen
to generate the keys in a temporary directory. It seems that this call
isn't generating the keys correctly. Adding in some debug
os.listdir(tempdir) calls before and after the os.system call, shows
that there are no files before and after the os.system call. Running the
command manually generates valid key pairs.
---
So, while this commit won't fix the os.system call, it should at least
prevent the plugin from generating empty ssh keys.
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5794 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From Ticket #869:
Because the order of a python set is dependent on the order of the hash
of entries of that set, the get_skn method generates a entries in the
ssh_known_hosts with the names ordered according to their has instead of
a consistent (from the user point of view) order. Some entries are IP,
hostname and other entries are hostname, IP.
This patch corrects that.
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5793 ce84e21b-d406-0410-9b95-82705330c041
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This commit forces the user to specify <Path> entries on the server
side while still maintaining compatibility with old clients via the
POSIXCompat plugin.
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5582 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@5387 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
| |
Our cache check actually triggered skn build early, causing extremely
poor startup performance in general. (and extremely bad performance
on repositories with large quantities of keys)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5332 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5326 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
|
|
|
|
|
|
|
|
|
|
|
| |
SSHBase is now aware of aliases listed in the clients.xml file.
ClientMetadata now includes `addresses` which are a mapping from an
alias to an (ip, name) tuple. The ip addresses can be specified either
in clients.xml as an address attribute to the Alias or in DNS.
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5295 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@5088 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5029 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
SSHbase on PullTarget
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5011 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5010 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
| |
- define new plugin base classes
- switch Plugin.__name__ => Plugin.name
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5004 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4999 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4880 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4854 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4680 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4458 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
| |
- forward port Cfg and SSHbase support
- reimplement admin mode
- add verbose flag, and implement initial interactive mode, also force mode
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4446 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4281 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4154 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4124 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4046 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3947 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3906 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Ticket #480)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3886 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3617 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3589 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3587 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
child processes. Should dramatically improve scalability
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3561 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3409 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3014 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2584 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2071 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1887 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1874 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
| |
* Pylint cleanups
* Simplify the host resolver
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1851 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
Set stdin to /dev/null for debian toolset
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1742 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
bcfg2-info) over to using it
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1717 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
| |
added Ed's client and server cleanups
Modified the debian and redhat toolsets to produce nicer output
** Broke performance reports
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1623 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
| |
Fix some pylint errors
Add better error handling for function calls
Add mesh-mode support for sshbase
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1612 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
(Logical change 1.367)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1543 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
(Logical change 1.343)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1416 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
| |
state machine
(Logical change 1.330)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1349 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
(Logical change 1.324)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1320 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
(Logical change 1.322)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1310 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
(Logical change 1.318)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1297 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
(Logical change 1.316)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1291 ce84e21b-d406-0410-9b95-82705330c041
|