[Bug 1861451] [NEW] apport's cloud-init-specific handling tracebacks on minimal cloud images
Dan Watkins
daniel.watkins at canonical.com
Thu Jan 30 19:33:48 UTC 2020
Public bug reported:
Steps to reproduce:
1) Install multipass.
2) `multipass launch http://cloud-images.ubuntu.com/minimal/daily/bionic/current/bionic-minimal-cloudimg-amd64.img -n reproducer`
3) `multipass shell reproducer`
4) `ubuntu-bug cloud-init`
Expected behaviour:
Usual bug reporting flow (though, currently, I would really expect to
see just the issue reported in bug 1861450).
Actual behaviour:
ERROR: hook /usr/share/apport/package-hooks/cloud-init.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/package-hooks/cloud-init.py", line 6, in add_info
return cloudinit_add_info(report, ui)
File "/usr/lib/python3/dist-packages/cloudinit/apport.py", line 123, in add_info
attach_cloud_init_logs(report, ui)
File "/usr/lib/python3/dist-packages/cloudinit/apport.py", line 57, in attach_cloud_init_logs
'cloud-init-output.log.txt': 'cat /var/log/cloud-init-output.log'})
File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 444, in attach_root_command_outputs
sp = subprocess.Popen(_root_command_prefix() + [wrapper_path, script_path])
File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pkexec': 'pkexec'
(As alluded to above, this also demonstrates bug 1861450 after the
traceback is emitted.)
** Affects: apport (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1861451
Title:
apport's cloud-init-specific handling tracebacks on minimal cloud
images
Status in apport package in Ubuntu:
New
Bug description:
Steps to reproduce:
1) Install multipass.
2) `multipass launch http://cloud-images.ubuntu.com/minimal/daily/bionic/current/bionic-minimal-cloudimg-amd64.img -n reproducer`
3) `multipass shell reproducer`
4) `ubuntu-bug cloud-init`
Expected behaviour:
Usual bug reporting flow (though, currently, I would really expect to
see just the issue reported in bug 1861450).
Actual behaviour:
ERROR: hook /usr/share/apport/package-hooks/cloud-init.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/package-hooks/cloud-init.py", line 6, in add_info
return cloudinit_add_info(report, ui)
File "/usr/lib/python3/dist-packages/cloudinit/apport.py", line 123, in add_info
attach_cloud_init_logs(report, ui)
File "/usr/lib/python3/dist-packages/cloudinit/apport.py", line 57, in attach_cloud_init_logs
'cloud-init-output.log.txt': 'cat /var/log/cloud-init-output.log'})
File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 444, in attach_root_command_outputs
sp = subprocess.Popen(_root_command_prefix() + [wrapper_path, script_path])
File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pkexec': 'pkexec'
(As alluded to above, this also demonstrates bug 1861450 after the
traceback is emitted.)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1861451/+subscriptions
More information about the foundations-bugs
mailing list