Skip to content

lvm fails to create on RHEL #252

Description

@h00pz

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.",
"------------------------------------------------------"
]
}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions