[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-15 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-release-upgrader - 1:20.04.28

---
ubuntu-release-upgrader (1:20.04.28) focal; urgency=medium

  [ Brian Murray ]
  * DistUpgrade/DistUpgradeQuirks.py: In addition to quirking python-minimal
we also need to quirk python-dbg, python-doc, and python-dev.
(LP: #1887544)
  * drop changes to data/DistUpgrade.cfg.bionic regarding
gnome-software-plugin-snap as it failed verification.

  [ Chad Smith ]
  * data/mirrors.cfg: add all ubuntu-advantage services as valid mirrors.
This includes: fips, fips-updates, esm-infra, esm-apps and cc-eal and
Ubuntu Pro stable public PPA. (LP: #1893717)
  * DistUpgrade/DistUpgradeController.py: release cache lock during
runPostInstallScripts (LP: #1897778)

 -- Chad Smith   Wed, 07 Oct 2020 10:49:37
-0600

** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
   Status: Fix Committed => Fix Released

** Changed in: ubuntu-release-upgrader (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-15 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-release-upgrader - 1:18.04.40

---
ubuntu-release-upgrader (1:18.04.40) bionic; urgency=medium

  [ Chad Smith ]
  * data/mirrors.cfg: add ubuntu advantage pro PPA url as valid mirror
(LP: #1893717)
  * DistUpgrade/DistUpgradeController.py: release cache lock during
runPostInstallScripts (LP: #1897778)

 -- Chad Smith   Mon, 05 Oct 2020 14:50:15
-0600

** Changed in: ubuntu-release-upgrader (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-15 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-release-upgrader - 1:16.04.32

---
ubuntu-release-upgrader (1:16.04.32) xenial; urgency=medium

  [ Chad Smith ]
  * data/mirrors.cfg: add ubuntu advantage pro PPA url as valid mirror
(LP: #1893717)
  * DistUpgrade/DistUpgradeController.py: release cache lock during
runPostInstallScripts (LP: #1897778)

 -- Chad Smith   Mon, 05 Oct 2020 14:54:27
-0600

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-10 Thread Chad Smith
** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-xenial

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-10 Thread Chad Smith
** Description changed:

  === Begin SRU Template ===
  [Impact]
  Customers with Ubuntu Advantage services enabled on Trusty/Xenial/Bionic find 
APT config files disabled with comments after running `do-release-upgrade`.
  
  This requires either:
   1. manual intervention to uncomment and correct the apt suite for any 
enabled Ubuntu Advantage service stored in 
/etc/apt/sources.list.d/ubuntu-*.list.
  
   OR
  
   2. Providing AllowThirdParty=yes configuration override during do-
  release-upgrade to force upgrades of all third party ppa apt
  configuration urls.
  
  Adding these supported commercial URLs to mirror.cfg allows these urls to be
  treated as valid Ubuntu-proper apt URLs and would automatically update the
  apt config files for any enabled Ubuntu Advantage offering without
  manual intervention.
  
  [Test Case]
  
  # test procedure
  for release in trusty xenial bionic; do
   1. lxc launch daily image for the given $release enabling 
ubuntu-advantage-daily PPA (to allow for upgrading to viable 
ubuntu-advantage-tools deb
   2. attach the machine to ua with a token and enable any available apt-based
  services
   3. Download the -proposed tarball to locally perform a 
"do-release-upgrade"
   4. unzip that proposed tarball
   5. Add ubuntu-advantage-daily PPA to mirrors.cfg # to avoid disabling on 
upgrade
   6. and run ./${upgraderelease} upgrade on the CLI
   7. check contents of /etc/apt/sources.list.d/ubuntu-*.list to ensure all
  UA-related apt URLs are still available
   8. apt-cache policy to check that permissions to said APT repositories are 
live
  done
  
  # test script
  
  ```
  
  #!/bin/bash
  
  #
  # SRU Verification ubuntu-release-upgrader + ubuntu=advantage-tools
  # Test procedure:
  # - launch container Trusty, Xenial or Bionic
  # - Attach container to UA subscription (which activates a number of 
commerical PPAs
  # - download and run -proposed ubuntu-release-upgrader tool for upgrade 
release
  # - Assert successful upgrade
  # - Confirm valid mirrors not disabled
  # - Confirm third party non-commercial PPA URLs still disabled
  # - Confirm third party UA commercial URLs still disabled
  #   (due to expected feature gap)
  # - Confirm UA status reports esm-infra still disabled (known feature gap)
  
- set -ex
+ set -e
  UA_TOKEN=$1
  if [ -z "$1" ]; then
   echo "Usage: $0 "
   exit 1
  fi
- #apt_sources:
- #  - source: "deb http://ppa.launchpad.net/ua-client/proposed/ubuntu trusty 
main"
+ # sources:
+ #   ua.proposed:
+ #  source: deb http://ppa.launchpad.net/ua-client/proposed/ubuntu 
\$RELEASE main
+ #  keyid: 6E34E7116C0BC933
+ # sources:
+ #   ua.proposed:
+ #  source: deb 
http://ppa.launchpad.net/canonical-server/ua-client-daily/ubuntu \$RELEASE main
+ #  keyid: 94E187AD53A59D1847E4880F8A295C4FB8B190B7
  cat > test-uru.yaml  checkaptpolicy.sh < policy.orig
lxc exec ${vm} -- wget 
http://archive.ubuntu.com/ubuntu/dists/$upgraderelease-proposed/main/dist-upgrader-all/current/$upgraderelease.tar.gz
lxc exec ${vm} -- tar xzvf $upgraderelease.tar.gz
echo "--- Add proposed PPA to valid mirrors to exercise ua-tools 
do-release-upgrade"
lxc file pull ${vm}/root/mirrors.cfg .
-   sed -i 's/stable/proposed/' mirrors.cfg
+   echo "http://ppa.launchpad.net/canonical-server/ua-client-daily/ubuntu/; >> 
mirrors.cfg
lxc file push mirrors.cfg ${vm}/root/
-   lxc exec ${vm} -- /root/$upgraderelease --datadir=/root --frontend 
DistUpgradeViewNonInteractive
-   echo "--- Validate UA APT sources after upgrade"
-   lxc exec ${vm} -- /checkaptpolicy.sh > policy.upgrade
-   lxc exec test-sru-bionic grep disable /etc/apt/sources.list && "FAILURE: 
valid mirrors got disabled" || echo "SUCCESS: no valid mirrors disabled" 
-   echo "--- Ensure UA status reports ESM disabled due to pending RT"
-   lxc exec ${vm} -- sudo ua status | egrep 'esm-infra.*disabled' || echo 
"FAILURE: unexpected enabled esm-infra"
-   echo "--- Expect disable reason to be no Release file in esm PPA"
-   lxc exec test-sru-bionic grep disable /var/log/dist-upgrade/main.log || 
echo "FAILURE: didn't find disabled update logs for esm"
-   echo "--- Expect disabled esm-infra in diffs from original and upgrade 
status"
-   diff -urN ua-status.orig ua-status.upgrade
+   lxc exec ${vm} -- /root/$upgraderelease --datadir=/root --frontend 
DistUpgradeViewNonInteractive | egrep 'Warning|Error|ubuntu-advantage'
+   lxc exec ${vm} -- reboot || true
+   sleep 10
+   lxc exec ${vm} grep disable /etc/apt/sources.list 

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-10 Thread Chad Smith
Improved SRU verification output test for Focal upgrade

** Attachment added: "uru-upgrade-to-focal-sru.log"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+attachment/5420567/+files/uru-upgrade-to-focal-sru.log

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-10 Thread Chad Smith
Improved SRU verification output upgrade to Bionic

** Attachment added: "uru-upgrade-to-bionic-sru.log"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+attachment/5420568/+files/uru-upgrade-to-bionic-sru.log

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-10 Thread Chad Smith
Improved SRU verification output upgrade to xenial

** Attachment added: "uru-upgrade-to-xenial-sru.log"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+attachment/5420569/+files/uru-upgrade-to-xenial-sru.log

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-09 Thread Chad Smith
Bionic upgrade to focal SRU verification

** Attachment added: "uru-upgrade-to-focal-sru.log"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+attachment/5420180/+files/uru-upgrade-to-focal-sru.log

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

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-09 Thread Chad Smith
Xenial upgrade to Bionic SRU validation.

** Attachment added: "uru-upgrade-to-bionic-sru.log"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+attachment/5420179/+files/uru-upgrade-to-bionic-sru.log

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-09 Thread Brian Murray
I reran the armhf test again for 1:16.04.32 and it passed.

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-09 Thread Chad Smith
** Description changed:

  === Begin SRU Template ===
  [Impact]
  Customers with Ubuntu Advantage services enabled on Trusty/Xenial/Bionic find 
APT config files disabled with comments after running `do-release-upgrade`.
  
  This requires either:
   1. manual intervention to uncomment and correct the apt suite for any 
enabled Ubuntu Advantage service stored in 
/etc/apt/sources.list.d/ubuntu-*.list.
  
   OR
  
   2. Providing AllowThirdParty=yes configuration override during do-
  release-upgrade to force upgrades of all third party ppa apt
  configuration urls.
  
  Adding these supported commercial URLs to mirror.cfg allows these urls to be
  treated as valid Ubuntu-proper apt URLs and would automatically update the
  apt config files for any enabled Ubuntu Advantage offering without
  manual intervention.
  
  [Test Case]
  
  # test procedure
  for release in trusty xenial bionic; do
   1. lxc launch daily image for the given $release enabling 
ubuntu-advantage-daily PPA (to allow for upgrading to viable 
ubuntu-advantage-tools deb
   2. attach the machine to ua with a token and enable any available apt-based
  services
   3. Download the -proposed tarball to locally perform a 
"do-release-upgrade"
   4. unzip that proposed tarball
-  5. Add ubuntu-advantage-daily PPA to mirrors.cfg # to avoid disabling on 
upgrade
-  6. and run ./${upgraderelease} upgrade on the CLI
+  5. Add ubuntu-advantage-daily PPA to mirrors.cfg # to avoid disabling on 
upgrade
+  6. and run ./${upgraderelease} upgrade on the CLI
   7. check contents of /etc/apt/sources.list.d/ubuntu-*.list to ensure all
  UA-related apt URLs are still available
   8. apt-cache policy to check that permissions to said APT repositories are 
live
  done
  
  # test script
  
  ```
+ 
  #!/bin/bash
+ 
+ #
+ # SRU Verification ubuntu-release-upgrader + ubuntu=advantage-tools
+ # Test procedure:
+ # - launch container Trusty, Xenial or Bionic
+ # - Attach container to UA subscription (which activates a number of 
commerical PPAs
+ # - download and run -proposed ubuntu-release-upgrader tool for upgrade 
release
+ # - Assert successful upgrade
+ # - Confirm valid mirrors not disabled
+ # - Confirm third party non-commercial PPA URLs still disabled
+ # - Confirm third party UA commercial URLs still disabled
+ #   (due to expected feature gap)
+ # - Confirm UA status reports esm-infra still disabled (known feature gap)
+ 
  set -ex
- UA_TOKEN=
+ UA_TOKEN=$1
+ if [ -z "$1" ]; then
+  echo "Usage: $0 "
+  exit 1
+ fi
+ #apt_sources:
+ #  - source: "deb http://ppa.launchpad.net/ua-client/proposed/ubuntu trusty 
main"
  cat > test-uru.yaml  checkaptpolicy.sh > 
mirrors.cfg
-   lxc file push mirrors.cfg ${vm}/root/
-   lxc exec ${vm} -- ./${upgraderelease} --datadir=/root 
--frontend=DistUpgradeViewNonInteractive
-   echo "--- Validate UA APT sources after upgrade"
-   lxc exec ${vm} -- apt-cache policy | grep esm.ubuntu.com
-   for file in `ls /etc/apt/sources.list.d/ubuntu-*.list`; do
- echo "--- file: ${file}"
- cat /etc/apt/sources.list.d/${file}
-   done
-   lxc exec ${vm} -- ua status
+   vm=test-sru-$release
+   echo "--- Launch cloud-init with ${release}-proposed enabled"
+   lxc launch ubuntu-daily:${release} ${vm} -c user.user-data="$(cat 
test-uru.yaml)"
+   upgraderelease=${NEXTDIST[$release]}
+   echo "--- Wait for cloud-init to finish"
+   if [ "${release}" = "trusty" ]; then
+ while [ "N 2" != "$(lxc exec ${vm} -- runlevel)" ]; do
+echo "waiting on runlevel 2"
+sleep 5
+ done
+   else
+ lxc exec ${vm} -- cloud-init status --wait --long
+   fi
+   echo "--- Attach Ubuntu-Advantage and enable services"
+   lxc exec ${vm} -- ua attach ${UA_TOKEN}
+   lxc exec ${vm} -- ua status | tee ua-status.orig
+   lxc file push checkaptpolicy.sh ${vm}/
+   lxc exec ${vm} -- /checkaptpolicy.sh > policy.orig
+   lxc exec ${vm} -- wget 
http://archive.ubuntu.com/ubuntu/dists/$upgraderelease-proposed/main/dist-upgrader-all/current/$upgraderelease.tar.gz
+   lxc exec ${vm} -- tar xzvf $upgraderelease.tar.gz
+   echo "--- Add proposed PPA to valid mirrors to exercise ua-tools 

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-09 Thread Timo Aaltonen
Hello Chad, or anyone else affected,

Accepted ubuntu-release-upgrader into focal-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/ubuntu-release-upgrader/1:20.04.28 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
   Status: Won't Fix => Fix Committed

** Tags added: verification-needed-focal

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-07 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~chad.smith/ubuntu/+source/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/391937

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-06 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~chad.smith/ubuntu/+source/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/391907

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-05 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~chad.smith/ubuntu/+source/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/391848

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-10-05 Thread Łukasz Zemczak
The version of ubuntu-release-upgrader in the proposed pocket of Focal
that was purported to fix this bug report has been removed because one
or more bugs that were to be fixed by the upload have failed
verification and been in this state for more than 10 days.

** Tags removed: verification-needed-focal

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-29 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~chad.smith/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/391183

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-23 Thread Steve Langasek
Hello Chad, or anyone else affected,

Accepted ubuntu-release-upgrader into bionic-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/ubuntu-release-upgrader/1:18.04.39 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
bionic to verification-done-bionic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-bionic. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ubuntu-release-upgrader (Ubuntu Bionic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-bionic

** Changed in: ubuntu-release-upgrader (Ubuntu Xenial)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-xenial

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-22 Thread Chad Smith
** Description changed:

  === Begin SRU Template ===
  [Impact]
  Customers with Ubuntu Advantage services enabled on Trusty/Xenial/Bionic find 
APT config files disabled with comments after running `do-release-upgrade`.
  
  This requires either:
   1. manual intervention to uncomment and correct the apt suite for any 
enabled Ubuntu Advantage service stored in 
/etc/apt/sources.list.d/ubuntu-*.list.
  
   OR
  
   2. Providing AllowThirdParty=yes configuration override during do-
  release-upgrade to force upgrades of all third party ppa apt
  configuration urls.
  
  Adding these supported commercial URLs to mirror.cfg allows these urls to be
  treated as valid Ubuntu-proper apt URLs and would automatically update the
  apt config files for any enabled Ubuntu Advantage offering without
  manual intervention.
  
  [Test Case]
  
  # test procedure
  for release in trusty xenial bionic; do
   1. lxc launch daily image with $release-proposed enabled via cloud-config
   2. attach the machine to ua with a token and enable any available apt-based
  services
   3. Download the -proposed tarball to locally perform a 
"do-release-upgrade"
   4. unzip that proposed tarball and run ./focal upgrade on the CLI
   5. check contents of /etc/apt/sources.list.d/ubuntu-*.list to ensure all
  UA-related apt URLs are still available
   6. apt-cache policy to check that permissions to said APT repositories are
  viable
  done
  
  # test script
  
  ```
  #!/bin/bash
- set -x
- 
- cat > proposed.yaml <
+ cat > test-uru.yaml > 
mirrors.cfg
+   lxc file push mirrors.cfg ${vm}/root/
+   lxc exec ${vm} -- ./${upgraderelease} --datadir=/root 
--frontend=DistUpgradeViewNonInteractive
+   echo "--- Validate UA APT sources after upgrade"
+   lxc exec ${vm} -- apt-cache policy | grep esm.ubuntu.com
+   for file in `ls /etc/apt/sources.list.d/ubuntu-*.list`; do
+ echo "--- file: ${file}"
+ cat /etc/apt/sources.list.d/${file}
+   done
+   lxc exec ${vm} -- ua status
  done
  ```
+ 
  
  [Regression Potential]
  None; No automatic upgrade support has been previously offered across LTS 
upgrade paths for ubuntu-advantage services on Ubuntu Trusty or later.
  
  Anyone performing a do-release-upgrade would have had to manually update
  apt config files after the fact.
  
  === Original Description ===
  Ensure Apt mirror URLs supported by Ubuntu Advantage services are included as 
valid mirrors instead of being treated as third party repositories and getting 
disabled by do-release-upgrade.
  
  The 

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-17 Thread Steve Langasek
Hello Chad, or anyone else affected,

Accepted ubuntu-release-upgrader into focal-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/ubuntu-release-upgrader/1:20.04.27 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-focal

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-11 Thread Chad Smith
** Description changed:

  === Begin SRU Template ===
  [Impact]
  Customers with Ubuntu Advantage services enabled on Trusty/Xenial/Bionic find 
APT config files disabled with comments after running `do-release-upgrade`.
  
  This requires either:
   1. manual intervention to uncomment and correct the apt suite for any 
enabled Ubuntu Advantage service stored in 
/etc/apt/sources.list.d/ubuntu-*.list.
  
   OR
  
   2. Providing AllowThirdParty=yes configuration override during do-
  release-upgrade to force upgrades of all third party ppa apt
  configuration urls.
  
  Adding these supported commercial URLs to mirror.cfg allows these urls to be
  treated as valid Ubuntu-proper apt URLs and would automatically update the
  apt config files for any enabled Ubuntu Advantage offering without
  manual intervention.
  
  [Test Case]
  
  # test procedure
  for release in trusty xenial bionic; do
   1. lxc launch daily image with $release-proposed enabled via cloud-config
   2. attach the machine to ua with a token and enable any available apt-based
  services
-  3. perform do-release-upgrade
-  4. check contents of /etc/apt/sources.list.d/ubuntu-*.list to ensure all
+  3. Download the -proposed tarball to locally perform a 
"do-release-upgrade"
+  4. unzip that proposed tarball and run ./focal upgrade on the CLI
+   5. tar xzvf focal.tar.gz
+  6. 
+  4. check contents of /etc/apt/sources.list.d/ubuntu-*.list to ensure all
  UA-related apt URLs are still available
   5. apt-cache policy to check that permissions to said APT repositories are
  viable
  done
  
  # test script
  
  ```
  #!/bin/bash
  set -x
  
  cat > proposed.yaml  proposed.yaml 

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-09 Thread Chad Smith
** Description changed:

- Ensure Apt mirror urls supported by Ubuntu Advantage services are
- included as valid mirrors instead of being treated as third party
- repositories and getting disabled by do-release-upgrade.
+ === Begin SRU Template ===
+ [Impact]
+ Customers with Ubuntu Advantage services enabled on Trusty/Xenial/Bionic find 
APT config files disabled with comments after running `do-release-upgrade`.
+ 
+ This requires either:
+  1. manual intervention to uncomment and correct the apt suite for any 
enabled Ubuntu Advantage service stored in 
/etc/apt/sources.list.d/ubuntu-*.list.
+ 
+  OR
+ 
+  2. Providing AllowThirdParty=yes configuration override during do-
+ release-upgrade to force upgrades of all third party ppa apt
+ configuration urls.
+ 
+ Adding these supported commercial URLs to mirror.cfg allows these urls to be
+ treated as valid Ubuntu-proper apt URLs and would automatically update the
+ apt config files for any enabled Ubuntu Advantage offering without
+ manual intervention.
+ 
+ [Test Case]
+ 
+ # test procedure
+ for release in trusty xenial bionic; do
+  1. lxc launch daily image with $release-proposed enabled via cloud-config
+  2. attach the machine to ua with a token and enable any available apt-based
+ services
+  3. perform do-release-upgrade
+  4. check contents of /etc/apt/sources.list.d/ubuntu-*.list to ensure all
+ UA-related apt URLs are still available
+  5. apt-cache policy to check that permissions to said APT repositories are
+ viable
+ done
  
  
- The following APT mirror urls are supported for current and/or imminent 
Ubuntu Advantage apt-based services on Xenial and later:
+ # test script
  
+ ```
+ #!/bin/bash
+ set -x
+ 
+ cat > proposed.yaml  proposed.yaml  In Progress

** Changed in: ubuntu-release-upgrader (Ubuntu Bionic)
   Status: New => In Progress

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-09 Thread Chad Smith
** Changed in: ubuntu-release-upgrader (Ubuntu Xenial)
 Assignee: (unassigned) => Chad Smith (chad.smith)

** Changed in: ubuntu-release-upgrader (Ubuntu Bionic)
 Assignee: (unassigned) => Chad Smith (chad.smith)

** Changed in: ubuntu-release-upgrader (Ubuntu Groovy)
 Assignee: (unassigned) => Chad Smith (chad.smith)

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-04 Thread Timo Aaltonen
please add the usual SRU information on the description, thanks

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-02 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~chad.smith/ubuntu/+source/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/390206

** Merge proposal linked:
   
https://code.launchpad.net/~chad.smith/ubuntu/+source/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/390207

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-02 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~chad.smith/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/390199

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-01 Thread Chad Smith
** Changed in: ubuntu-release-upgrader (Ubuntu Groovy)
   Status: New => Fix Released

** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
   Status: New => In Progress

** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
 Assignee: (unassigned) => Chad Smith (chad.smith)

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-01 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~chad.smith/ubuntu/+source/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/390126

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-01 Thread Brian Murray
I've uploaded this for Groovy Gorilla.

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-09-01 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~chad.smith/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/390102

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893717] Re: Add Ubuntu Advantage service apt urls to valid mirrors

2020-08-31 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~chad.smith/ubuntu/+source/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/390056

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

Title:
  Add Ubuntu Advantage service apt urls to valid mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs