Verification for the Xenial package:
1) Launched a new Xenial VM w/ latest daily image as of this writing
$ nova image-show
ubuntu-daily/ubuntu-xenial-daily-amd64-server-20170426-disk1.img | grep
simplestreams
| metadata simplestreams_metadata | {"aliases": "16.04,default,lts,x,xenial",
"arch": "amd64", "ftype": "disk1.img", "label": "daily", "md5":
"f02d478bbd0c2ccc360571769eb1aa8b", "os": "ubuntu", "pubname":
"ubuntu-xenial-daily-amd64-server-20170426", "release": "xenial",
"release_codename": "Xenial Xerus", "release_title": "16.04 LTS", "sha256":
"7fcf88ce74c6070fecab31c1ebf5fa52eab0ebfc248c54905cbd5b401cbefdf8", "size":
"286851072", "support_eol": "2021-04-21", "supported": "True", "version":
"16.04"} |
$ lsb_release -a && uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
Linux zfs-test 4.4.0-75-generic #96-Ubuntu SMP Thu Apr 20 09:56:33 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux
2) Installed -proposed package
$ dpkg -s sosreport
Package: sosreport
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 1320
Maintainer: Louis Bouchard <[email protected]>
Architecture: amd64
Version: 3.4-1~ubuntu17.04.1
Depends: python3-six, python3:any (>= 3.3.2-2~)
Conffiles:
/etc/sos.conf ee501054a13f29cb3109a4e92da34723
Description: Set of tools to gather troubleshooting data from a system
Sos is a set of tools that gathers information about system
hardware and configuration. The information can then be used for
diagnostic purposes and debugging. Sos is commonly used to help
support technicians and developers.
Homepage: https://github.com/sosreport/sos
3) Used the LXD ZFS pool to test
$ lxc info | grep storage
storage.zfs_pool_name: lxd
storage: zfs
storageversion: "5"
$ sudo zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
lxd 14.9G 274K 14.9G - 0% 0% 1.00x ONLINE -
4) Various tests
# Check the zfs plugin is enabled
$ sudo sosreport -l | sed -n '/enabled/,/disabled/p' | grep zfs
zfs ZFS filesystem
$ sudo sosreport -a
[...]
$ ls -la sosreport-verification.LP1666239-20170427104536/sos_commands/zfs/
total 24
drwx------ 2 ubuntu ubuntu 4096 Apr 27 10:45 .
drwx------ 41 ubuntu ubuntu 4096 Apr 27 10:45 ..
-rw-r--r-- 1 ubuntu ubuntu 3539 Apr 27 10:45 zfs_get_all
-rw-r--r-- 1 ubuntu ubuntu 126 Apr 27 10:45 zfs_list_-t_all_-o_space
-rw-r--r-- 1 ubuntu ubuntu 142 Apr 27 10:45 zpool_list
-rw-r--r-- 1 ubuntu ubuntu 22 Apr 27 10:45 zpool_status_-x
$ cd !$
$ diff -u zfs_get_all <(sudo zfs get all) && echo $?
0
$ diff -u zfs_list_-t_all_-o_space <(sudo zfs list -t all -o space) && echo $?
0
$ diff -u zpool_list <(sudo zpool list) && echo $?
0
$ diff -u zpool_status_-x <(sudo zpool status -x) && echo $?
0
(had a quick, visual sanity check at file contents as well)
LGTM :-)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1666239
Title:
Add ZFS sosreport plugin
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1666239/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs