[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: When is an openshift master 'up'?

Hash: SHA1

On 03/12/2015 03:04 PM, Clayton Coleman wrote:
>> On Mar 12, 2015, at 2:46 PM, Scott Dodson <sdodson redhat com>
>> wrote:
> I contributed systemd notification support[1] a few weeks back
> which prevents systemd from marking a service as having started
> until that process sends a notification that it's finished. This
> allows systemd to delay dependencies until their requirements are
> met, ie: openshift-sdn-master doesn't attempt to start until
> openshift-master is done.
> With more recent builds it's taking longer than the 90 second
> default for openshift master to send the notification that it has
> been started. I'm going to go ahead and increase that timeout to
> 300s for the time being. But I'm wondering if the startup
> notification can be moved earlier in startup sequence?
> Aside from that, what's the upper bound for how long we should
> expect starting openshift master to take?
>> Which part of the master?  I think you should put it immediately
>> after the main APIs respond.  The rest of the logic is
>> potentially less important.
>> 90 is incredibly long unless you're generating keys.
>> Unfortunately we at a minimum need to read and check those keys,
>> so I anticipate a small cpu burst for that.
> For anyone interested, here[2] is the startup logs running on my 
> laptop, SSD, plenty of memory, etc.
> 1 - https://github.com/openshift/origin/pull/1204 2 - 
> https://gist.githubusercontent.com/sdodson/d213d98c08ff832ddb0b/raw/a970277c50c2088738299bf3ff10b135c67e8e45/gistfile1.txt

looks like the bulk of the time is in  kubeConfig.RunMinionController()

15:24:44.586985 master.go:107] Started Kubernetes Replication Manager
15:24:44.586992 master.go:115] Started Kubernetes Endpoint Controller
15:26:24.589390 master.go:154] Started Kubernetes Minion Controller

- --
Version: GnuPG v2.0.22 (GNU/Linux)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]