collect-logs traceback on non-root user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Chad Smith |
Bug Description
Permissions errors are seen when running collect-logs as non-root user
cloud-init 18.4.24
$ cloud-init collect-logs
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
get_
File "/usr/lib/
ret = func(*args, **kwargs)
File "/usr/lib/
collect_
File "/usr/lib/
os.
File "/usr/lib/
raise Error(errors)
shutil.Error: [('/run/
Related branches
- Server Team CI bot: Approve (continuous-integration)
- cloud-init Commiters: Pending requested
-
Diff: 184 lines (+60/-14)2 files modifiedcloudinit/cmd/devel/logs.py (+23/-8)
cloudinit/cmd/devel/tests/test_logs.py (+37/-6)
Changed in cloud-init: | |
assignee: | nobody → Chad Smith (chad.smith) |
importance: | Undecided → Medium |
status: | New → In Progress |
This bug is fixed with commit e9d57b80 to cloud-init on branch master. /git.launchpad. net/cloud- init/commit/ ?id=e9d57b80
To view that commit see the following URL:
https:/