Skip to content

lvm fails to create on RHEL #252

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

Open
h00pz opened this issue Nov 22, 2019 · 1 comment
Open

lvm fails to create on RHEL #252

h00pz opened this issue Nov 22, 2019 · 1 comment
Labels

Comments

@h00pz
Copy link
Contributor

h00pz commented Nov 22, 2019

there is a line in /etc/lvm/lvm.conf that prevents express from creating a lvm on RHEL
filter = [ "a/dev/sd./", "r/./" ]
this above line needs to be commented out because the below happens:

TASK [map-role : debug] ***********************************************************************************************************************************************
Friday 22 November 2019 16:14:07 +0000 (0:00:00.693) 0:25:40.441 *******
ok: [h1-rhel-4] => {
"config_lvm": {
"changed": true,
"failed": false,
"rc": 0,
"stderr": "Shared connection to 10.128.233.73 closed.\r\n",
"stderr_lines": [
"Shared connection to 10.128.233.73 closed."
],
"stdout": "n=2, args=cinder-volumes ,[/dev/vdb,/dev/vdc,/dev/vdd]\r\n--> vgcreate cinder-volumes /dev/vdb\r\n Device /dev/vdb excluded by a filter.\r\n--> vgcreate cinder-volumes /dev/vdc\r\n Device /dev/vdc excluded by a filter.\r\n--> vgcreate cinder-volumes /dev/vdd\r\n Device /dev/vdd excluded by a filter.\r\n--- VG INFO ------------------------------------------\r\n No volume groups found.\r\n------------------------------------------------------\r\n",
"stdout_lines": [
"n=2, args=cinder-volumes ,[/dev/vdb,/dev/vdc,/dev/vdd]",
"--> vgcreate cinder-volumes /dev/vdb",
" Device /dev/vdb excluded by a filter.",
"--> vgcreate cinder-volumes /dev/vdc",
" Device /dev/vdc excluded by a filter.",
"--> vgcreate cinder-volumes /dev/vdd",
" Device /dev/vdd excluded by a filter.",
"--- VG INFO ------------------------------------------",
" No volume groups found.",
"------------------------------------------------------"
]
}
}

@mmccarre mmccarre added the bug label Dec 5, 2019
@mmccarre
Copy link
Contributor

Feedback from @tomchris Can we mod this filter instead to accept /dev/sd. or /dev/vd.

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

No branches or pull requests

2 participants