Modify

Ticket #282 (closed defect: fixed)

Opened 17 years ago

Last modified 9 years ago

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:

  1. Start the server: # bcfg2-server
  1. The server says: "Bound to port 6789" but no lines telling "Processed 3 gamin events..." yet.
  1. Run the client.
  1. 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.

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.