SRU pollinate 4.33
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| pollinate (Ubuntu) |
Fix Released
|
Low
|
Scott Moser | ||
| Trusty |
Fix Released
|
Medium
|
Chad Smith | ||
| Xenial |
Fix Released
|
Medium
|
Chad Smith | ||
| Artful |
Fix Released
|
Medium
|
Chad Smith | ||
| Bionic |
Fix Released
|
Medium
|
Chad Smith | ||
| Cosmic |
Fix Released
|
Low
|
Scott Moser | ||
Bug Description
=== Begin SRU Template ===
[Impact]
The key change is that the user agent string as of Bionic now
contains the contents of systemd-detect-virt and /etc/cloud/
In aggregate, this gives us important usage data to detect improvements
and regressions in Ubuntu boot times.
[Test Case]
Launch a privileged container with:
1. lxc launch ubuntu-daily:xenial -c security.
2. lxc exec x1-priv -- apt update && apt -y install pollen
Run a local pollen server and have the pollinate (client) connect with that via:
3. lxc exec x1-priv -- pollinate -r --insecure -s https:/
Then check in /var/log/syslog for the client user-agent string. On systems without the updated pollinate client, the USER_AGENT value does not include virt:
root@x1-priv:~# grep pollen /var/log/syslog | grep -c virt
0
root@x1-priv:~#
After upgrading to the newer client, virt is now present in the pollen entries:
root@x1-priv:~# grep pollen /var/log/syslog | grep -c virt
2
root@x1-priv:~#
[Regression Potential]
The script runs with 'set -e', that means that the 'pollinate' script
will exit failure if either of the commands or files above fail. These
scenarios seem unlikely, especially in Ubuntu environments.
=== End SRU Template ===
Related branches
- Scott Moser (community): Approve
-
Diff: 85 lines (+29/-6)3 files modifiedChangeLog (+17/-2)
debian/changelog (+9/-0)
pollinate (+3/-4)
- Scott Moser (community): Approve
-
Diff: 303 lines (+219/-14)4 files modifiedChangeLog (+84/-2)
debian/changelog (+13/-0)
pollinate (+119/-12)
pollinate.1 (+3/-0)
- Scott Moser (community): Approve
-
Diff: 272 lines (+196/-12)4 files modifiedChangeLog (+63/-1)
debian/changelog (+12/-0)
pollinate (+118/-11)
pollinate.1 (+3/-0)
- Scott Moser (community): Approve
-
Diff: 303 lines (+219/-14)4 files modifiedChangeLog (+84/-2)
debian/changelog (+13/-0)
pollinate (+119/-12)
pollinate.1 (+3/-0)
| summary: |
- SRU pollinate 4.31 + SRU pollinate 4.32 |
| Changed in pollinate (Ubuntu Cosmic): | |
| status: | New → Fix Released |
| importance: | Undecided → Low |
| Changed in pollinate (Ubuntu Trusty): | |
| importance: | Undecided → Medium |
| Changed in pollinate (Ubuntu Xenial): | |
| importance: | Undecided → Medium |
| Changed in pollinate (Ubuntu Artful): | |
| importance: | Undecided → Medium |
| Changed in pollinate (Ubuntu Bionic): | |
| importance: | Undecided → Medium |
| Changed in pollinate (Ubuntu Trusty): | |
| status: | New → Confirmed |
| Changed in pollinate (Ubuntu Xenial): | |
| status: | New → Confirmed |
| Changed in pollinate (Ubuntu Artful): | |
| status: | New → Confirmed |
| Changed in pollinate (Ubuntu Bionic): | |
| status: | New → Confirmed |
| Changed in pollinate (Ubuntu Cosmic): | |
| assignee: | nobody → Scott Moser (smoser) |
| Changed in pollinate (Ubuntu Trusty): | |
| assignee: | nobody → Chad Smith (chad.smith) |
| Changed in pollinate (Ubuntu Xenial): | |
| assignee: | nobody → Chad Smith (chad.smith) |
| Changed in pollinate (Ubuntu Artful): | |
| assignee: | nobody → Chad Smith (chad.smith) |
| Changed in pollinate (Ubuntu Bionic): | |
| assignee: | nobody → Chad Smith (chad.smith) |
| summary: |
- SRU pollinate 4.32 + SRU pollinate 4.33 |

I'd suggest modifying the test-case to skip the pollen side, the client we want to SRU will print the agent string it generates:
# pollinate --print-user-agent18.2-4-g05926e48-0ubuntu1 curl/7.58.0-2ubuntu3 pollinate/4.31-0ubuntu1 Ubuntu/Bionic/Beaver/(development/branch) GNU/Linux/4.15.0-13-generic/x86_64 Intel(R)/Core(TM)/i7-7500U/CPU/@/2.70GHz uptime/163860.00/163784.00 virt/lxc img/serial/20180406
cloud-init/