Modify

Ticket #1133 (closed defect: invalid)

Opened 11 years ago

Last modified 8 years ago

bcfg2 server hangs on SSHbase

Reported by: https://www.google.com/accounts/o8/id?id=AItOawkvA8A2D3GCVpL6Tjh_nteUcAfxdd7hxg8 Owned by: https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc
Priority: minor Milestone: Bcfg2 1.4.0 Release
Component: bcfg2-server Version: 1.0
Keywords: Cc:

Description

When bcfg2 generates the ssh_known_hosts file it appears the SSHbase plugin hangs for about 5 minutes when it encounters hostnames that do not resolve. Once I remove all of the files in the SHbase/ folder, bcfg2 has no problems building configs.

The logs when running the server with -v have a lot of:

Failed to find IP address for <hostname>

Then after those it has a number of:

Ignoring key for unknown host <hostname>

Attachments

Change History

comment:1 Changed 10 years ago by https://www.google.com/accounts/o8/id?id=AItOawkvA8A2D3GCVpL6Tjh_nteUcAfxdd7hxg8

This can be CLOSED as it was just a timing thing with no cache on SSHbase just takes quite awhile.

Thanks.

comment:2 Changed 10 years ago by https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc

  • Owner changed from desai to https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc
  • Priority changed from major to minor
  • Status changed from new to accepted

This is due to the large number of metadata lookups SSHbase can do at times. It can be remediated by enabling metadata caching, but we should still find ways to improve the situation within SSHbase for those who can't use metadata caching.

comment:3 Changed 10 years ago by solj

  • Milestone changed from Bcfg2 1.3.0 Release to Bcfg2 1.4.0 Release

comment:4 Changed 8 years ago by solj

  • Status changed from accepted to closed
  • Resolution set to invalid

Closing for now. Feel free to reopen on github since trac is no longer very closely monitored.

https://github.com/Bcfg2/bcfg2/issues/new

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.