root@prod:/home/bernie22# ubuntu-advantage --debug refresh config Setting no_proxy: 169.254.169.254,[fd00:ec2::254],metadata Setting global proxy dict Executed with sys.argv: ['/usr/bin/ubuntu-advantage', '--debug', 'refresh', 'config'] spin lock starting for pro refresh Tried to load /var/lib/ubuntu-advantage/lock but file does not exist Writing file /var/lib/ubuntu-advantage/lock atomically via tempfile /var/lib/ubuntu-advantage/tmpr4hpr02s Writing file /run/ubuntu-advantage/notices/60-operation_in_progress atomically via tempfile /run/ubuntu-advantage/notices/tmpd2ikszpf Reading file: /proc/version_signature Unable to parse build date from uname version Falling back to using timestamp of kernel changelog Ran cmd: apt-cache policy, rc: 0 stderr: b'' Tried to load /var/lib/ubuntu-advantage/services-once-enabled but file does not exist Tried to load /var/lib/ubuntu-advantage/services-once-enabled but file does not exist canonical-livepatch returned error when checking status: %s Traceback (most recent call last): File "/usr/lib/python3/dist-packages/uaclient/livepatch.py", line 130, in status out, _ = system.subp( File "/usr/lib/python3/dist-packages/uaclient/system.py", line 728, in subp out, err = _subp( File "/usr/lib/python3/dist-packages/uaclient/system.py", line 677, in _subp raise exceptions.ProcessExecutionError( uaclient.exceptions.ProcessExecutionError: Failed running command '/snap/bin/canonical-livepatch status --verbose --format json' [exit(1)]. Message: error executing status: livepatchd error: daemon shutting down
Removed file: /var/lib/ubuntu-advantage/lock Removed file: /run/ubuntu-advantage/notices/60-operation_in_progress Unhandled exception, please file a bug Traceback (most recent call last): File "/usr/lib/python3/dist-packages/uaclient/cli/__init__.py", line 156, in wrapper return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/uaclient/cli/__init__.py", line 296, in main return_value = args.action(args, cfg=cfg, extra_args=extra_args) File "/usr/lib/python3/dist-packages/uaclient/cli/cli_util.py", line 82, in new_f return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/uaclient/cli/cli_util.py", line 66, in new_f retval = f(*args, cfg=cfg, **kwargs) File "/usr/lib/python3/dist-packages/uaclient/cli/refresh.py", line 50, in action_refresh _action_refresh_config(args, cfg) File "/usr/lib/python3/dist-packages/uaclient/cli/refresh.py", line 14, in _action_refresh_config cfg.process_config() File "/usr/lib/python3/dist-packages/uaclient/config.py", line 408, in process_config and livepatch.get_config_option_value( File "/usr/lib/python3/dist-packages/uaclient/livepatch.py", line 437, in get_config_option_value out, _ = system.subp([LIVEPATCH_CMD, "config"]) File "/usr/lib/python3/dist-packages/uaclient/system.py", line 728, in subp out, err = _subp( File "/usr/lib/python3/dist-packages/uaclient/system.py", line 677, in _subp raise exceptions.ProcessExecutionError( uaclient.exceptions.ProcessExecutionError: Failed running command '/snap/bin/canonical-livepatch config' [exit(1)]. Message: error executing config: livepatchd error: daemon shutting down Tried to remove /var/lib/ubuntu-advantage/lock but file does not exist Using client configuration file at /etc/ubuntu-advantage/uaclient.conf Reading file: /etc/ubuntu-advantage/uaclient.conf Tried to load /var/lib/ubuntu-advantage/private/user-config.json but file does not exist Tried to load /var/lib/ubuntu-advantage/user-config.json but file does not exist An unexpected error occurred: Failed running command '/snap/bin/canonical-livepatch config' [exit(1)]. Message: error executing config: livepatchd error: daemon shutting down For more details, see the log: /var/log/ubuntu-advantage.log If you think this is a bug, please run: ubuntu-bug ubuntu-advantage-tools root@prod:/home/bernie22# vi /var/log/ubuntu-advantage.log root@prod:/home/bernie22# ubuntu-advantage --debug refresh config Setting no_proxy: 169.254.169.254,[fd00:ec2::254],metadata Setting global proxy dict Executed with sys.argv: ['/usr/bin/ubuntu-advantage', '--debug', 'refresh', 'config'] spin lock starting for pro refresh Tried to load /var/lib/ubuntu-advantage/lock but file does not exist Writing file /var/lib/ubuntu-advantage/lock atomically via tempfile /var/lib/ubuntu-advantage/tmp9k5quchy Writing file /run/ubuntu-advantage/notices/60-operation_in_progress atomically via tempfile /run/ubuntu-advantage/notices/tmprx1_r2xh Reading file: /proc/version_signature Unable to parse build date from uname version Falling back to using timestamp of kernel changelog Ran cmd: apt-cache policy, rc: 0 stderr: b'' Tried to load /var/lib/ubuntu-advantage/services-once-enabled but file does not exist Tried to load /var/lib/ubuntu-advantage/services-once-enabled but file does not exist canonical-livepatch returned error when checking status: %s Traceback (most recent call last): File "/usr/lib/python3/dist-packages/uaclient/livepatch.py", line 130, in status out, _ = system.subp( File "/usr/lib/python3/dist-packages/uaclient/system.py", line 728, in subp out, err = _subp( File "/usr/lib/python3/dist-packages/uaclient/system.py", line 677, in _subp raise exceptions.ProcessExecutionError( uaclient.exceptions.ProcessExecutionError: Failed running command '/snap/bin/canonical-livepatch status --verbose --format json' [exit(1)]. Message: error executing status: livepatchd error: daemon shutting down Removed file: /var/lib/ubuntu-advantage/lock Removed file: /run/ubuntu-advantage/notices/60-operation_in_progress Unhandled exception, please file a bug Traceback (most recent call last): File "/usr/lib/python3/dist-packages/uaclient/cli/__init__.py", line 156, in wrapper return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/uaclient/cli/__init__.py", line 296, in main return_value = args.action(args, cfg=cfg, extra_args=extra_args) File "/usr/lib/python3/dist-packages/uaclient/cli/cli_util.py", line 82, in new_f return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/uaclient/cli/cli_util.py", line 66, in new_f retval = f(*args, cfg=cfg, **kwargs) File "/usr/lib/python3/dist-packages/uaclient/cli/refresh.py", line 50, in action_refresh _action_refresh_config(args, cfg) File "/usr/lib/python3/dist-packages/uaclient/cli/refresh.py", line 14, in _action_refresh_config cfg.process_config() File "/usr/lib/python3/dist-packages/uaclient/config.py", line 408, in process_config and livepatch.get_config_option_value( File "/usr/lib/python3/dist-packages/uaclient/livepatch.py", line 437, in get_config_option_value out, _ = system.subp([LIVEPATCH_CMD, "config"]) File "/usr/lib/python3/dist-packages/uaclient/system.py", line 728, in subp out, err = _subp( File "/usr/lib/python3/dist-packages/uaclient/system.py", line 677, in _subp raise exceptions.ProcessExecutionError( uaclient.exceptions.ProcessExecutionError: Failed running command '/snap/bin/canonical-livepatch config' [exit(1)]. Message: error executing config: livepatchd error: daemon shutting down Tried to remove /var/lib/ubuntu-advantage/lock but file does not exist Using client configuration file at /etc/ubuntu-advantage/uaclient.conf Reading file: /etc/ubuntu-advantage/uaclient.conf Tried to load /var/lib/ubuntu-advantage/private/user-config.json but file does not exist Tried to load /var/lib/ubuntu-advantage/user-config.json but file does not exist An unexpected error occurred: Failed running command '/snap/bin/canonical-livepatch config' [exit(1)]. Message: error executing config: livepatchd error: daemon shutting down For more details, see the log: /var/log/ubuntu-advantage.log If you think this is a bug, please run: ubuntu-bug ubuntu-advantage-tools root@prod:/home/bernie22# -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078614 Title: pro refresh Failed running command '/snap/bin/canonical-livepatch config' [exit(1)]. Message: error executing config: livepatchd error: daemon shutting down To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-livepatch-client/+bug/2078614/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs