Merge ~chad.smith/ubuntu/+source/ubuntu-advantage-tools:release-27-groovy into ubuntu/+source/ubuntu-advantage-tools:ubuntu/devel
Status: | Merged |
---|---|
Approved by: | Bryce Harrington |
Approved revision: | ef1f90890747ebc4a74f707d72395c3d5bfa23d8 |
Merge reported by: | Chad Smith |
Merged at revision: | a186c591bcab0b8758307d850718e604de61b7d7 |
Proposed branch: | ~chad.smith/ubuntu/+source/ubuntu-advantage-tools:release-27-groovy |
Merge into: | ubuntu/+source/ubuntu-advantage-tools:ubuntu/devel |
Diff against target: |
398 lines (+200/-5) (has conflicts) 10 files modified
.gitignore (+8/-0) Jenkinsfile (+16/-0) apt-hook/Makefile (+30/-0) apt-hook/json-hook-src/go.mod (+4/-0) apt-hook/json-hook-src/json-hook.go (+42/-0) apt-hook/json-hook-src/json-hook_test.go (+34/-0) debian/changelog (+20/-0) debian/control (+7/-0) debian/rules (+1/-0) uaclient/tests/test_util.py (+38/-5) Conflict in .gitignore Conflict in Jenkinsfile Conflict in apt-hook/Makefile Conflict in apt-hook/json-hook-src/go.mod Conflict in apt-hook/json-hook-src/json-hook.go Conflict in apt-hook/json-hook-src/json-hook_test.go Conflict in debian/changelog Conflict in debian/control Conflict in uaclient/tests/test_util.py |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Bryce Harrington (community) | Approve | ||
Review via email: mp+401983@code.launchpad.net |
Description of the change
New upstream release of 27.0 for release into groovy
Avoiding rich commit history because this is a branch new client (python instead of bash) which represented a major upgrade that is backwards incompatible.
We will be following this verification procedure for SRU of ubuntu-
Note that groovy doesn't have esm-infra, esm-apps or FIPS product offerings so this client will not allow enabling any UA services:
Expect messages like:
root@test-g:~# ua enable esm-apps
One moment, checking your subscription first
ESM Apps is not available for Ubuntu 20.10 (Groovy Gorilla)
Functional equivalent debs have been uploaded to this ppa for testing https:/
to test:
$ cat > 27_test_setup.yaml <<EOF
#cloud-config
write_files:
- content: |
# Ubuntu-Advantage client config file.
contract_url: 'https:/
data_dir: /var/lib/
log_level: debug
log_file: /var/log/
features:
allow_beta: true
owner: root:root
path: /etc/ubuntu-
permissions: '0644'
apt:
sources:
ua_staging_ppa:
source: 'deb http://
keyid: 74E59E9E
packages: [ubuntu-
EOF
$ lxc launch ubuntu-daily:xenial test-27-x -c user.user-
$ lxc exec test-27-x -- cloud-init status --wait --long # wait for pkg installs
$ lxc exec test-27-x -- ua version
$ lxc exec test-27-x -- ua status # show unattached
This machine is not attached to a UA subscription.
See https:/
# attach with token from https:/
$ lxc exec test-27-x -- ua attach <REDACTED>
# assert esm-infra auto enabled
# no failures on attach
root@test-27-h:~# grep Traceback /var/log/
# assert default contract not authorized to esm-apps
$ lxc exec test-27-x -- ua enable esm-apps
will manipulate other subcommands
While it's unlikely groovy will be an upgrade path for ESM users, it's good to include this for completeness given it's still theoretically possible. My review has been super light, mainly just verifying the same changes are included as in the other branches.
Tagged and uploaded:
triage- groovy+ 20.10:~ /pkg/UbuntuAdva ntageTools/ review- mp401983$ dput ubuntu ubuntu- advantage- tools_27. 0~20.10. 1_source. changes pkg/UbuntuAdvan tageTools/ review- mp401983/ ubuntu- advantage- tools_27. 0~20.10. 1_source. changes: Valid signature from E603B2578FB8F0FB pkg/UbuntuAdvan tageTools/ review- mp401983/ ubuntu- advantage- tools_27. 0~20.10. 1.dsc: Valid signature from E603B2578FB8F0FB advantage- tools_27. 0~20.10. 1.dsc: done. advantage- tools_27. 0~20.10. 1.tar.xz: done. advantage- tools_27. 0~20.10. 1_source. buildinfo: done. advantage- tools_27. 0~20.10. 1_source. changes: done. groovy+ 20.10:~ /pkg/UbuntuAdva ntageTools/ review- mp401983$ cd ubuntu- advantage- tools-gu/ groovy+ 20.10:~ /pkg/UbuntuAdva ntageTools/ review- mp401983/ ubuntu- advantage- tools-gu$ git ubuntu tag --upload groovy+ 20.10:~ /pkg/UbuntuAdva ntageTools/ review- mp401983/ ubuntu- advantage- tools-gu$ git push -f pkg upload/27.0_20.10.1
Checking signature on .changes
gpg: /home/bryce/
Checking signature on .dsc
gpg: /home/bryce/
Uploading to ubuntu (via ftp to upload.ubuntu.com):
Uploading ubuntu-
Uploading ubuntu-
Uploading ubuntu-
Uploading ubuntu-
Successfully uploaded packages.
triage-
triage-
triage-
Enumerating objects: 250, done. launchpad. net/ubuntu/ +source/ ubuntu- advantage- tools
Counting objects: 100% (250/250), done.
Delta compression using up to 12 threads
Compressing objects: 100% (118/118), done.
Writing objects: 100% (163/163), 212.83 KiB | 443.00 KiB/s, done.
Total 163 (delta 67), reused 117 (delta 42), pack-reused 0
remote: Resolving deltas: 100% (67/67), completed with 53 local objects.
To ssh://git.
* [new tag] upload/27.0_20.10.1 -> upload/27.0_20.10.1