Commit 097367d
committed
[lxd] Fixed commands for snap in lxd.py + added missing commands
The LXD plugin for sos had 2 main issues:
1. It was lacking in troubleshooting commands. For verifying cluster
quorum & health and for more information I have since added:
- lxc operation list
- lxc info
- lxc alias list
- lxc remote list
- lxc version
- lxc warning list
- lxc auth permission list
- lxc cluster list
All command use the local: remote.
2. The ‘snap’ section of the plugin was broken and did not capture
much of anything except lxd.buginfo and the few lxc commands
included only worked on debs. This has been changed to work on
both the debian package and snap version of LXD.
Signed-off-by: Ryan Molkentin <[email protected]>1 parent 3c97985 commit 097367d
1 file changed
+20
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
25 | 43 | | |
26 | 44 | | |
27 | 45 | | |
| |||
110 | 128 | | |
111 | 129 | | |
112 | 130 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 131 | | |
122 | 132 | | |
123 | 133 | | |
124 | 134 | | |
| 135 | + | |
| 136 | + | |
125 | 137 | | |
126 | 138 | | |
127 | 139 | | |
| |||
0 commit comments