Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Unknown
-
Resolution: Duplicate
-
Affects Version/s: 10.12.0
-
Fix Version/s: None
-
Component/s: Chef Client, Packages
-
Labels:
-
Environment:
omnibus
Description
chef-client installed with omnibus fullstack package is very slow on startup
OS: Ubuntu 10.04 LTS amd64
Even showing "help" ist terribly slow with the omnibus-Package:
normal install (via apt opscode-repo):
root@chefclient:~# time chef-client --help
.
.
.
real 0m0.205s
user 0m0.130s
sys 0m0.090s
root@chefclient:~# time chef-client
[Mon, 16 Jul 2012 18:41:40 +0200] INFO: *** Chef 10.12.0 ***
[Mon, 16 Jul 2012 18:41:40 +0200] INFO: Run List is [role[test1]]
[Mon, 16 Jul 2012 18:41:40 +0200] INFO: Run List expands to [bjtest]
[Mon, 16 Jul 2012 18:41:40 +0200] INFO: Starting Chef Run for chefclient.test.local
[Mon, 16 Jul 2012 18:41:40 +0200] INFO: Running start handlers
[Mon, 16 Jul 2012 18:41:40 +0200] INFO: Start handlers complete.
[Mon, 16 Jul 2012 18:41:40 +0200] INFO: Loading cookbooks [bjtest]
[Mon, 16 Jul 2012 18:41:40 +0200] INFO: Processing package[curl] action install (bjtest::default line 12)
[Mon, 16 Jul 2012 18:41:40 +0200] INFO: Processing package[unzip] action install (bjtest::default line 12)
[Mon, 16 Jul 2012 18:41:40 +0200] INFO: Processing template[/tmp/test.conf] action create (bjtest::default line 18)
[Mon, 16 Jul 2012 18:41:41 +0200] INFO: Chef Run complete in 0.297965 seconds
[Mon, 16 Jul 2012 18:41:41 +0200] INFO: Running report handlers
[Mon, 16 Jul 2012 18:41:41 +0200] INFO: Report handlers complete
real 0m0.942s
user 0m0.620s
sys 0m0.090s
omnibus: (8 seconds for only showing the help !)
root@chef-testclient01:~# time chef-client --help
.
.
.
real 0m7.859s
user 0m7.730s
sys 0m0.140s
root@chef-testclient01:~# time chef-client
[Mon, 16 Jul 2012 18:42:06 +0200] INFO: *** Chef 10.12.0 ***
[Mon, 16 Jul 2012 18:42:07 +0200] INFO: Run List is []
[Mon, 16 Jul 2012 18:42:07 +0200] INFO: Run List expands to []
[Mon, 16 Jul 2012 18:42:07 +0200] INFO: Starting Chef Run for chef-testclient01
[Mon, 16 Jul 2012 18:42:07 +0200] INFO: Running start handlers
[Mon, 16 Jul 2012 18:42:07 +0200] INFO: Start handlers complete.
[Mon, 16 Jul 2012 18:42:07 +0200] INFO: Loading cookbooks []
[Mon, 16 Jul 2012 18:42:07 +0200] WARN: Node chef-testclient01 has an empty run list.
[Mon, 16 Jul 2012 18:42:07 +0200] INFO: Chef Run complete in 0.285267519 seconds
[Mon, 16 Jul 2012 18:42:07 +0200] INFO: Running report handlers
[Mon, 16 Jul 2012 18:42:07 +0200] INFO: Report handlers complete
real 0m9.133s
user 0m8.690s
sys 0m0.280s
Issue Links
Activity
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Component/s | Packages [ 10040 ] |
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Status | Reopened [ 4 ] | Closed [ 6 ] |
| Resolution | Duplicate [ 3 ] |
| Workflow | jira [ 16240 ] | New OSS [ 20530 ] |
| Workflow | New OSS [ 20530 ] | OSS: Product Management [ 28450 ] |
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
|
21d 23h 51m | 1 | jtimberman | 07/Aug/12 4:38 PM | |||||
|
8d 4h 45m | 1 | Bryan McLellan [Opscode] | 15/Aug/12 9:23 PM | |||||
|
48s | 1 | Bryan McLellan [Opscode] | 15/Aug/12 9:24 PM |
I was able to reproduce this on Ubuntu, but not OS X. It looks like Ubuntu is using an embedded rubygems version 1.8.12 while the OS X version has 1.3.7 embedded.
Related ticket: https://tickets.corp.opscode.com/browse/PC-20