Comment 0 for bug 2019729

Revision history for this message
Vincenzo Spano' (vspano) wrote :

# lsb_release -rd
Description: Ubuntu 18.04.6 LTS
Release: 18.04

# pro --version
27.14.4~18.04

I wanted to attach the server to our new Ubuntu pro subscribtion. so I run:

# pro attach <MY_TOKEN>

that fails with:

["2023-05-15T15:49:04.130", "ERROR", "root", "wrapper", 1942, "Unhandled exception, please file a bug", {"exc_inf
o": "Traceback (most recent call last):\n File \"/usr/lib/python3/dist-packages/uaclient/cli.py\", line 1886, in
 wrapper\n return func(*args, **kwargs)\n File \"/usr/lib/python3/dist-packages/uaclient/cli.py\", line 1994, in main\n return_value = args.action(args, cfg=cfg)\n File \"/usr/lib/python3/dist-packages/uaclient/cli.py\", line 1692, in action_status\n event.info(util.handle_unicode_characters(output))\n File \"/usr/lib/python3/dist-packages/uaclient/event_logger.py\", line 118, in info\n print(info_msg, file=file_type, end=end)\nUnicodeEncodeError: 'ascii' codec can't encode character '\\xfc' in position 1002: ordinal not in range(128)"}]

then as suggested I run

# pro status
Unexpected error(s) occurred.
For more details, see the log: /var/log/ubuntu-advantage.log
To file a bug run: ubuntu-bug ubuntu-advantage-tools

and created a bug using ubuntu-bug ubuntu-advantage-tools

let me know if you need more info

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-advantage-tools 27.14.4~18.04
ProcVersionSignature: Ubuntu 4.15.0-210.221-generic 4.15.18
Uname: Linux 4.15.0-210-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.29
Architecture: amd64
Date: Mon May 15 15:52:17 2023
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 SHELL=/bin/bash
SourcePackage: ubuntu-advantage-tools
UpgradeStatus: Upgraded to bionic on 2023-03-30 (46 days ago)
cloud-id.txt-error: Error: path contained symlinks.
livepatch-status.txt-error: Error: path contained symlinks.
ua-status.json: Error: path contained symlinks.
uaclient.conf: Error: path contained symlinks.
ubuntu-advantage-timer.log: Error: path contained symlinks.
ubuntu-advantage.log: Error: path contained symlinks.