group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #08181
[Bug 1621280] Re: pollinate can take a long time
This bug was fixed in the package pollinate - 4.23-0ubuntu1~14.04
---------------
pollinate (4.23-0ubuntu1~14.04) trusty; urgency=medium
[ Dustin Kirkland ]
* New upstream release (LP: #1621280):
- pollinate:
+ revert revision r300, as this was the wrong fix to the slow
pollinate problem; as it turns out, it was the user_agent
function, which was running apt-cache very early in boot, before
the apt database had been created
+ as it turns out, we need the curl timeout options in order for
curl to work properly and be resilient against issues with the
network coming up early in boot
- debian/pollinate.default, pollinate
+ fix a couple of bugs affecting how long pollinate takes, and if
it actually completes successfully
+ dpkg -l is way faster than apt-cache, when there is no apt cache
+ wait a maximum of 10 seconds
+ only log to stderr if in an interactive terminal; otherwise,
just log to syslog
- this fixes the odd double-printing to /var/log/syslog
+ optimize obtaining version strings by saving one pipe per call
+ source /etc/lsb/release and use $DISTRIB_DESCRIPTION, rather
than calling lsb-release (python, can be slow)
+ add -m (max-timeout) back to curl options; removing this option
has caused network failures in various strange ways
+ when network fails due to timeout, log accordingly
+ ignore cloud-init package not found; it's optional
-- Nishanth Aravamudan <nish.aravamudan@xxxxxxxxxxxxx> Wed, 28 Sep
2016 14:12:37 -0700
** Changed in: pollinate (Ubuntu Trusty)
Status: Fix Committed => Fix Released
** Changed in: pollinate (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1621280
Title:
pollinate can take a long time
Status in pollinate package in Ubuntu:
Fix Released
Status in pollinate source package in Precise:
Fix Released
Status in pollinate source package in Trusty:
Fix Released
Status in pollinate source package in Xenial:
Fix Released
Bug description:
[Impact]
* Due to code inefficiences, pollinate takes a significant amount of
time during firstboot.
* Customers expect minimal boot-times, particularly wrt. pollinate
which is described as having an impact in seconds.
[Test Case]
* Boot an Amazon instance, e.g., and examine the systemd-analyze
output with and without the fix.
* Without the fix, pollinate will account for 15-60s of time. With the
fix, that drops to ~6s.
[Regression Potential]
* While a large number of changes to pollinate:
changelog | 35 ++++++++++++++++++++++++++++++++++-
pollinate | 54 ++++++++++++++++++++++++++++++++--------------------
pollinate.default | 2 +-
3 files changed, 67 insertions(+), 24 deletions(-)
the releases changes have been well-tested manually in yakkety and
represent the next logical release for pollinate relative to what has
already been SRU'd (precise upload currently is in -proposed)..
* The highest likelihood of regression stems from possible behaviour
dependencies on the old code, but that seems a) unlikely to be the
case and b) fixable during the -proposed testing, if encountered.
---
backport to xenial fixes in pollinate that address slow run times (see
http://bazaar.launchpad.net/~pollinate/pollinate/trunk/revision/325).
To see the issue launch an AMI, and look at systemd-analyze blame.
pollinate was taking anywhere from 12-50 seconds to run during first
boot.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pollinate/+bug/1621280/+subscriptions