← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1691551] Re: warnings are still printed after user touches file

 

This bug is believed to be fixed in cloud-init in 17.1. If this is still
a problem for you, please make a comment and set the state back to New

Thank you.

** Changed in: cloud-init
       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/1691551

Title:
  warnings are still printed after user touches file

Status in cloud-init:
  Fix Released
Status in cloud-init package in Ubuntu:
  Fix Released
Status in cloud-init source package in Xenial:
  Fix Released
Status in cloud-init source package in Yakkety:
  Fix Released
Status in cloud-init source package in Zesty:
  Fix Released
Status in cloud-init source package in Artful:
  Fix Released

Bug description:
  === Begin SRU Template ===
  [Impact]
  Warnings are not suppressed when /var/lib/cloud/instance/warnings/.skip exists.

  [Test Case]
  if [ ! -f lxc-proposed-snapshot ]; then
    wget https://git.launchpad.net/~smoser/cloud-init/+git/sru-info/plain/bin/lxc-proposed-snapshot
    chmod 755 lxc-proposed-snapshot
  fi

  for release in xenial yakkety zesty; do
          ref=$release-proposed;
          echo "$release START --------------";
          ./lxc-proposed-snapshot --proposed --install ntp --publish $release $ref;
          lxc init $ref test-$release;
          lxc start test-$release;
          sleep 10
          # Create a warning
          lxc exec test-$release -- sh -c 'd=/var/lib/cloud/instance/warnings/; mkdir -p $d; echo "WARNING WARNING FOO" > "$d/warn-foo"'
          # Validate warning exists
          echo -n "Warning should exist on login: "
          lxc exec test-$release -- bash --login </dev/null 2>&1 | grep WARNING
          lxc exec test-$release -- touch /var/lib/cloud/instance/warnings/.skip
          echo -n "Warning should now be suppressed on login: "
          lxc exec test-$release -- bash --login </dev/null 2>&1 | grep WARNING
          echo "$release DONE --------------";
  done

  [Regression Potential]
  Minimal as the alternative warning suppression file works if you touch /root/.cloud-warnings.skip

  [Other Info]
  Upstream commit:
   https://git.launchpad.net/cloud-init/commit/?id=66e46d8ec290737fd74f50eb8c7672d627d9b516

  === End SRU Template ===

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1691551/+subscriptions


References