[Bug 1853912] Re: /etc/pollinate/add-user-agent should be populated (in the server live env) to allow better identification of live clients

Michael Hudson-Doyle mwhudsonlp at fastmail.fm
Thu Jan 23 09:05:00 UTC 2020


That one works better, picture attached.

** Attachment added: "Screenshot from 2020-01-23 22-04-14.png"
   https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1853912/+attachment/5322306/+files/Screenshot%20from%202020-01-23%2022-04-14.png

** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1853912

Title:
  /etc/pollinate/add-user-agent should be populated (in the server live
  env) to allow better identification of live clients

Status in casper package in Ubuntu:
  Fix Released
Status in casper source package in Bionic:
  Fix Committed
Status in casper source package in Focal:
  Fix Released

Bug description:
  [Impact]

  Pollinate provides various bits of information in the user agent to
  allow gathering of statistics about Ubuntu clients.  Unfortunately,
  the 'subiquity' tag is only added (via curtin->cloud-init) to the user
  agent tag in the *target* system; the live environment, which also
  runs pollinate for entropy gathering, does not have any such tag.
  This makes it impossible to distinguish booted live server images from
  other "generic" clients in the data.

  It would be valuable to have a tag identifying the live server image
  for statistical and debugging purposes.

  I would suggest using 'live/<serial>' as a tag, where <serial> is the
  image build serial from /mnt/.disk/info.

  This probably needs to be done by casper reading the file and
  synthesizing the content on the live overlay.

  [Test Case]

   * Boot subiquity live session
   * Run $ pollinate --print-user-agent
   * Check that it contains ISO .disk/info information

  [Regression Potential]

   * User-agent configuration support is in place in bionic and used by
  other images (i.e. cloud). This completes configuring pollinate in
  subiquity images, in a similar way as is done on other images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1853912/+subscriptions



More information about the foundations-bugs mailing list