Actions
Bug #10355
closedImport puppetclasses in 1.8 from foreman proxy is executed twice
Description
I have upgraded to 1.8 and noticed import puppetclasses takes unusually long. After investigating, i figured out foreman now reads the classes from proxy twice:
217.28.94.7 - - [04/May/2015 13:57:27] "GET /puppet/environments HTTP/1.1" 200 47 0.1897 217.28.94.7 - - [04/May/2015 13:58:12] "GET /puppet/environments/production/classes HTTP/1.1" 200 552093 40.5052 217.28.94.7 - - [04/May/2015 13:59:07] "GET /puppet/environments/testing/classes HTTP/1.1" 200 451083 31.6961 217.28.94.7 - - [04/May/2015 13:59:21] "GET /puppet/environments/common/classes HTTP/1.1" 200 2 0.2879 217.28.94.7 - - [04/May/2015 13:59:56] "GET /puppet/environments/development/classes HTTP/1.1" 200 464984 27.7482 217.28.94.7 - - [04/May/2015 14:00:16] "GET /puppet/environments HTTP/1.1" 200 47 0.1055 217.28.94.7 - - [04/May/2015 14:00:55] "GET /puppet/environments/production/classes HTTP/1.1" 200 552093 31.6023 217.28.94.7 - - [04/May/2015 14:01:49] "GET /puppet/environments/testing/classes HTTP/1.1" 200 451083 25.6590 217.28.94.7 - - [04/May/2015 14:02:08] "GET /puppet/environments/common/classes HTTP/1.1" 200 2 0.3390 217.28.94.7 - - [04/May/2015 14:02:43] "GET /puppet/environments/development/classes HTTP/1.1" 200 464984 28.3970
Apart from this twicefork, would it be possible to trigger update just of one puppet module ? It could be easily scheduled via API on postcommit hook and accelerate new class import to seconds, instead of minutes.
Updated by Ohad Levy over 9 years ago
this is one of those cases when turbolinks detect there are new assets and reload the page, the downside is that in order to generate the page it takes very long...
Updated by Dominic Cleal over 9 years ago
- Related to Feature #8802: Add Turbo links support added
Updated by Dominic Cleal over 9 years ago
- Category changed from Puppet integration to Web Interface
- Translation missing: en.field_release set to 50
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2371 added
- Pull request deleted (
)
Updated by Anonymous over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset df8887a9d70a7cdea75928cf0656a00f76c63bd3.
Actions