Running through the test case, at the part to grep for Traceback, I did indeed find one in the log:
2021-04-28 02:49:25,798 - util.py:(414) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/private/machine-token.json
2021-04-28 02:49:25,799 - config.py:(357) [DEBUG]: File does not exist: /var/lib/ubuntu-advantage/private/machine-to\
ken.json
2021-04-28 02:49:25,799 - cli.py:(1026) [ERROR]: Auto-attach image support is not available on lxd
See: https://ubuntu.com/advantage
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 1004, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 1062, in main
return args.action(args, cfg)
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 147, in new_f
return f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 130, in new_f
retval = f(args, cfg, **kwargs)
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 755, in action_auto_attach
token = _get_contract_token_from_cloud_identity(cfg)
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 716, in _get_contract_token_from_cloud_identity
raise e
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 710, in _get_contract_token_from_cloud_identity
instance = identity.cloud_instance_factory()
File "/usr/lib/python3/dist-packages/uaclient/clouds/identity.py", line 94, in cloud_instance_factory
raise exceptions.NonAutoAttachImageError(
uaclient.exceptions.NonAutoAttachImageError: Auto-attach image support is not available on lxd
See: https://ubuntu.com/advantage
This appeared to occur during installation.
Despite the traceback, everything seems to be working fine.
Running through the test case, at the part to grep for Traceback, I did indeed find one in the log:
2021-04-28 02:49:25,798 - util.py:(414) [DEBUG]: Reading file: /var/lib/ ubuntu- advantage/ private/ machine- token.json ubuntu- advantage/ private/ machine- to\ /ubuntu. com/advantage python3/ dist-packages/ uaclient/ cli.py" , line 1004, in wrapper python3/ dist-packages/ uaclient/ cli.py" , line 1062, in main python3/ dist-packages/ uaclient/ cli.py" , line 147, in new_f python3/ dist-packages/ uaclient/ cli.py" , line 130, in new_f python3/ dist-packages/ uaclient/ cli.py" , line 755, in action_auto_attach token_from_ cloud_identity( cfg) python3/ dist-packages/ uaclient/ cli.py" , line 716, in _get_contract_ token_from_ cloud_identity python3/ dist-packages/ uaclient/ cli.py" , line 710, in _get_contract_ token_from_ cloud_identity cloud_instance_ factory( ) python3/ dist-packages/ uaclient/ clouds/ identity. py", line 94, in cloud_instance_ factory NonAutoAttachIm ageError( exceptions. NonAutoAttachIm ageError: Auto-attach image support is not available on lxd /ubuntu. com/advantage
2021-04-28 02:49:25,799 - config.py:(357) [DEBUG]: File does not exist: /var/lib/
ken.json
2021-04-28 02:49:25,799 - cli.py:(1026) [ERROR]: Auto-attach image support is not available on lxd
See: https:/
Traceback (most recent call last):
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return args.action(args, cfg)
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
retval = f(args, cfg, **kwargs)
File "/usr/lib/
token = _get_contract_
File "/usr/lib/
raise e
File "/usr/lib/
instance = identity.
File "/usr/lib/
raise exceptions.
uaclient.
See: https:/
This appeared to occur during installation.
Despite the traceback, everything seems to be working fine.