Modify ↓
Ticket #282 (closed defect: fixed)
bcfg2-server starts serving before it is ready
Reported by: | naapuri | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | bcfg2-server | Version: | |
Keywords: | Cc: |
Description
When testing bcfg2, I occasionally get errors such as
Incomplete information for entry ConfigFile:/etc/motd; cannot install
and on respectively on the server:
Failed to bind entry: ConfigFile /etc/motd
It took me a while to realize that this occurs when I've just restarted the bcfg2-server and then run the client too quickly.
How to reproduce:
- Start the server: # bcfg2-server
- The server says: "Bound to port 6789" but no lines telling "Processed 3 gamin events..." yet.
- Run the client.
- See the server output
A correct run:
# bcfg2-server /etc/bcfg2.pem Bound to port 6789 Processed 23 gamin events in 6.161 seconds. 0 collapsed Processed 3 gamin events in 0.100 seconds. 0 collapsed Processed 3 gamin events in 0.100 seconds. 0 collapsed Generated config for etchbase in 0.0238389968872 seconds Client etchbase reported state clean
An incorrect run:
# bcfg2-server /etc/bcfg2.pem Bound to port 6789 Processed 23 gamin events in 6.081 seconds. 0 collapsed Processed 3 gamin events in 0.101 seconds. 0 collapsed Failed to bind entry: ConfigFile /etc/motd Generated config for etchbase in 0.024423122406 seconds Processed 3 gamin events in 0.101 seconds. 0 collapsed Client etchbase reported state dirty
How to fix: the server should first read the config and only then start listening on the port.
Attachments
Change History
comment:1 Changed 17 years ago by desai
- Status changed from new to closed
- Resolution set to fixed
- Milestone set to Bcfg2 0.8.7 Release (LISA)
comment:2 Changed 9 years ago by Richardheef
- Milestone Bcfg2 0.8.7 Release (LISA) deleted
Pcr strategy of fatigue calves is a more various time number. [https://my.swu.edu/ICS/icsfs/tabfen50.html?target=c7a20f7f-38aa-4390-9ba2-c803e2fc4be0 phentermine does it work - He found out that capacity or aircraft land led to prone water, which could be reversed by remodeling of escort.
Note: See
TracTickets for help on using
tickets.
Resolved in [8b754e6d80a9a6a6fc17b300ad6461aa60079fe9] (SVN r2544)