Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config file is not created by the LVM operator. #207

Closed
sbudhira opened this issue Jun 14, 2022 · 5 comments
Closed

Config file is not created by the LVM operator. #207

sbudhira opened this issue Jun 14, 2022 · 5 comments

Comments

@sbudhira
Copy link

I am getting "waiting for lvmd config file" in the topolvm-node pod's log for the file checker container.

sh-4.4# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sr0 11:0 1 1024M 0 rom
nvme0n1 259:0 0 1000G 0 disk
|-nvme0n1p1 259:1 0 1M 0 part
|-nvme0n1p2 259:2 0 127M 0 part
|-nvme0n1p3 259:3 0 384M 0 part
`-nvme0n1p4 259:4 0 999.5G 0 part /dev/termination-log

@nbalacha
Copy link
Contributor

lvmo currently requires whole , unpartitioned disks. It looks like there is currently no disk it can use on the system.

@sbudhira
Copy link
Author

sbudhira commented Jun 15, 2022

Added 2nd disk still not able to create the config file.
sh-4.4# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sr0 11:0 1 1024M 0 rom
nvme0n1 259:0 0 1000G 0 disk
|-nvme0n1p1 259:1 0 1M 0 part
|-nvme0n1p2 259:2 0 127M 0 part
|-nvme0n1p3 259:3 0 384M 0 part
`-nvme0n1p4 259:4 0 999.5G 0 part /dev/termination-log
nvme0n2 259:5 0 200G 0 disk


{"level":"info","ts":1655245136.8795693,"logger":"controller.lvmvolumegroup.vg-manager","msg":"getting block devices for volumegroup","reconciler group":"lvm.topolvm.io","reconciler kind":"LVMVolumeGroup","name":"vg1","namespace":"lvm-operator-system","VGName":"vg1"} {"level":"info","ts":1655245136.8948176,"logger":"controller.lvmvolumegroup.vg-manager","msg":"does not match filter","reconciler group":"lvm.topolvm.io","reconciler kind":"LVMVolumeGroup","name":"vg1","namespace":"lvm-operator-system","Device.Name":"sr0","filter.Name":"usableDeviceType"} {"level":"info","ts":1655245136.907544,"logger":"controller.lvmvolumegroup.vg-manager","msg":"does not match filter","reconciler group":"lvm.topolvm.io","reconciler kind":"LVMVolumeGroup","name":"vg1","namespace":"lvm-operator-system","Device.Name":"nvme0n1","filter.Name":"noChildren"} {"level":"info","ts":1655245136.9076426,"logger":"controller.lvmvolumegroup.vg-manager","msg":"does not match filter","reconciler group":"lvm.topolvm.io","reconciler kind":"LVMVolumeGroup","name":"vg1","namespace":"lvm-operator-system","Device.Name":"nvme0n2","filter.Name":"noFilesystemSignature"} {"level":"info","ts":1655245136.9077005,"logger":"controller.lvmvolumegroup.vg-manager","msg":"lvmd config file doesn't exist, will create","reconciler group":"lvm.topolvm.io","reconciler kind":"LVMVolumeGroup","name":"vg1","namespace":"lvm-operator-system"} {"level":"info","ts":1655245136.90775,"logger":"controller.lvmvolumegroup.vg-manager","msg":"no matching devices for volume group","reconciler group":"lvm.topolvm.io","reconciler kind":"LVMVolumeGroup","name":"vg1","namespace":"lvm-operator-system","VGName":"vg1"} {"level":"info","ts":1655245136.907787,"logger":"controller.lvmvolumegroup.vg-manager","msg":"reconcile complete","reconciler group":"lvm.topolvm.io","reconciler kind":"LVMVolumeGroup","name":"vg1","namespace":"lvm-operator-system","result":{"Requeue":false,"RequeueAfter":0}}

@nbalacha
Copy link
Contributor

{"level":"info","ts":1655245136.9076426,"logger":"controller.lvmvolumegroup.vg-manager","msg":"does not match filter","reconciler group":"lvm.topolvm.io","reconciler kind":"LVMVolumeGroup","name":"vg1","namespace":"lvm-operator-system","Device.Name":"nvme0n2","filter.Name":"noFilesystemSignature"}

Please check if there is a filesystem on the device. If yes, please wipe the disk and try again.

@nbalacha
Copy link
Contributor

Hi @sbudhira . Did this work?

@nbalacha
Copy link
Contributor

Hi @sbudhira . I am closing this issue. Please reopen it if you are still seeing the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants