anbox lxd charm upgrade action output is unhelpful
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Anbox Cloud |
Triaged
|
Medium
|
Gary.Wang |
Bug Description
The output from the anbox lxd upgrade action is messy and confusing, with a lot of out-of-context stdout. And in this example, there is also an error at the end that is misleading (it looks like it's a blocking error, but the return code from the upgrade action was 0 and appeared to work):
$ juju run lxd/0 upgrade
Running operation 93 with 1 task
- task 94 on unit-lxd-0
Waiting for task 94...
none
Package: anbox-modules-
Status: install ok installed
Priority: optional
Section: kernel
Installed-Size: 53
Maintainer: Indore Team <email address hidden>
Architecture: all
Source: anbox-modules-118
Version: 1:1.18.
Replaces: anbox-modules-dkms
Depends: dkms
Conflicts: anbox-modules-dkms, xtables-addons-dkms
Conffiles:
/etc/modules-
Description: Anbox Cloud kernel modules in DKMS format
.
This package contains a out-of-tree version of the Anbox Cloud
kernel modules.
Homepage: https:/
"lxd" switched to the "+" cohort
fs.inotify.
fs.inotify.
fs.inotify.
vm.max_map_count = 262144
kernel.
kernel.pid_max = 65535
net.ipv4.
net.ipv6.
kernel.keys.maxkeys = 2000
kernel.
fs.aio-max-nr = 524288
sysctl: setting key "net.ipv4.
```
It would be good to have the output a bit cleaner with more useful information, such as current lxd version, the version it has upgraded to, success/failure message at the end, etc.
Changed in anbox-cloud: | |
assignee: | nobody → Gary.Wang (gary-wzl77) |
Changed in anbox-cloud: | |
status: | New → Triaged |
importance: | Undecided → Medium |