Modify ↓
Ticket #1133 (closed defect: invalid)
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
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
Note: See
TracTickets for help on using
tickets.
This can be CLOSED as it was just a timing thing with no cache on SSHbase just takes quite awhile.
Thanks.