ubuntu_quota_smoke_test failed with KVM kernel

Bug #1784535 reported by Po-Hsu Lin on 2018-07-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Unassigned
linux-kvm (Ubuntu)
Undecided
Unassigned
Xenial
Undecided
Unassigned
Bionic
Undecided
Unassigned
Cosmic
Undecided
Unassigned

Bug Description

According to Kamal's comment:
    CONFIG_QUOTA (and various other quota-related-looking configs) appear to be enabled already in the linux-kvm kernels -- but the required modules just end up in the regular linux-modules package (e.g. linux-modules-x.y.z-a.b-kvm)

However even with the linux-modules-x.y.z-a.b-kvm package installed, this test will still fail with KVM kernel.

$ sudo /home/ubuntu/autotest/client/tests/ubuntu_quota_smoke_test/ubuntu_quota_smoke_test.sh

Using block device /dev/loop0 for path /home/ubuntu/mnt
PASSED (quotacheck -vucmg)

quotaon: using /home/ubuntu/mnt/aquota.group on /dev/loop0 [/home/ubuntu/mnt]: No such process
quotaon: Quota format not supported in kernel.
quotaon: using /home/ubuntu/mnt/aquota.user on /dev/loop0 [/home/ubuntu/mnt]: No such process
quotaon: Quota format not supported in kernel.
FAILED (quotaon -v)

Summary: 1 passed, 1 failed

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-1016-kvm 4.15.0-1016.16
ProcVersionSignature: User Name 4.15.0-1016.16-kvm 4.15.18
Uname: Linux 4.15.0-1016-kvm x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Tue Jul 31 03:59:45 2018
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)

Po-Hsu Lin (cypressyew) wrote :
Po-Hsu Lin (cypressyew) on 2018-12-04
Changed in ubuntu-kernel-tests:
status: New → Confirmed
Po-Hsu Lin (cypressyew) wrote :

Quota related failure in ubuntu_ltp_syscall, bug 1797325

This also affects linux-kvm for Cosmic, which has the quota modules built in:

$ git grep CONFIG_QUOTA debian.kvm/
debian.kvm/config/config.common.ubuntu:CONFIG_QUOTA=y
debian.kvm/config/config.common.ubuntu:CONFIG_QUOTACTL=y
debian.kvm/config/config.common.ubuntu:CONFIG_QUOTACTL_COMPAT=y
debian.kvm/config/config.common.ubuntu:# CONFIG_QUOTA_DEBUG is not set
debian.kvm/config/config.common.ubuntu:# CONFIG_QUOTA_NETLINK_INTERFACE is not set
debian.kvm/config/config.common.ubuntu:CONFIG_QUOTA_TREE=m

ADT log:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-cosmic/cosmic/amd64/l/linux-kvm/20190116_115856_432e7@/log.gz

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers