{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/22411","labels_url":"https://api.github.com/repos/saltstack/salt/issues/22411/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/22411/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/22411/events","html_url":"https://github.com/saltstack/salt/issues/22411","id":66879752,"number":22411,"title":"Cannot specify logical volume size in percent","user":{"login":"pschuermann","id":55157,"avatar_url":"https://avatars.githubusercontent.com/u/55157?v=3","gravatar_id":"","url":"https://api.github.com/users/pschuermann","html_url":"https://github.com/pschuermann","followers_url":"https://api.github.com/users/pschuermann/followers","following_url":"https://api.github.com/users/pschuermann/following{/other_user}","gists_url":"https://api.github.com/users/pschuermann/gists{/gist_id}","starred_url":"https://api.github.com/users/pschuermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pschuermann/subscriptions","organizations_url":"https://api.github.com/users/pschuermann/orgs","repos_url":"https://api.github.com/users/pschuermann/repos","events_url":"https://api.github.com/users/pschuermann/events{/privacy}","received_events_url":"https://api.github.com/users/pschuermann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Fixed%20Pending%20Verification","name":"Fixed Pending Verification","color":"d4c5f9"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Question","name":"Question","color":"942192"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/37","html_url":"https://github.com/saltstack/salt/milestones/Blocked","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/37/labels","id":343741,"number":37,"title":"Blocked","description":"Issues which are blocked in some way, whether they need further discussion, clarification, justification, or are blocked for some other reason.","creator":{"login":"basepi","id":702318,"avatar_url":"https://avatars.githubusercontent.com/u/702318?v=3","gravatar_id":"","url":"https://api.github.com/users/basepi","html_url":"https://github.com/basepi","followers_url":"https://api.github.com/users/basepi/followers","following_url":"https://api.github.com/users/basepi/following{/other_user}","gists_url":"https://api.github.com/users/basepi/gists{/gist_id}","starred_url":"https://api.github.com/users/basepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basepi/subscriptions","organizations_url":"https://api.github.com/users/basepi/orgs","repos_url":"https://api.github.com/users/basepi/repos","events_url":"https://api.github.com/users/basepi/events{/privacy}","received_events_url":"https://api.github.com/users/basepi/received_events","type":"User","site_admin":false},"open_issues":251,"closed_issues":479,"state":"open","created_at":"2013-05-28T22:24:12Z","updated_at":"2015-04-07T15:15:00Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-04-07T13:16:37Z","updated_at":"2015-04-07T15:21:40Z","closed_at":null,"body":"I would like to create a logical volume and make it 100% of the available size. On the command line this can be specified with the lowercase l option as such:\r\n\r\n```\r\nlvcreate -l 100%FREE -n yourlv testvg\r\n```\r\n\r\nTried this for the state as well\r\n```\r\n{{ lvname }}:\r\n  lvm.lv_present:\r\n    - vgname: {{ volgroup }}\r\n    - size: '100%FREE'\r\n    - require:\r\n      - lvm: {{ volgroup }}\r\n```\r\nbut it's using the uppercase l option:\r\n````\r\n[INFO    ] Executing command 'lvcreate -n lvname vgname -L 100%FREE ' in directory '/root'\r\n```\r\n\r\nI'm using:\r\n```\r\n salt-call --versions-report\r\n           Salt: 0.17.5\r\n         Python: 2.7.6 (default, Mar 22 2014, 22:59:56)\r\n         Jinja2: 2.7.2\r\n       M2Crypto: 0.21.1\r\n msgpack-python: 0.1.10\r\n   msgpack-pure: Not Installed\r\n       pycrypto: 2.6.1\r\n         PyYAML: 3.10\r\n          PyZMQ: 13.0.0\r\n            ZMQ: 3.2.2\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/90607620","html_url":"https://github.com/saltstack/salt/issues/22411#issuecomment-90607620","issue_url":"https://api.github.com/repos/saltstack/salt/issues/22411","id":90607620,"user":{"login":"pschuermann","id":55157,"avatar_url":"https://avatars.githubusercontent.com/u/55157?v=3","gravatar_id":"","url":"https://api.github.com/users/pschuermann","html_url":"https://github.com/pschuermann","followers_url":"https://api.github.com/users/pschuermann/followers","following_url":"https://api.github.com/users/pschuermann/following{/other_user}","gists_url":"https://api.github.com/users/pschuermann/gists{/gist_id}","starred_url":"https://api.github.com/users/pschuermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pschuermann/subscriptions","organizations_url":"https://api.github.com/users/pschuermann/orgs","repos_url":"https://api.github.com/users/pschuermann/repos","events_url":"https://api.github.com/users/pschuermann/events{/privacy}","received_events_url":"https://api.github.com/users/pschuermann/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T15:21:40Z","updated_at":"2015-04-07T15:21:40Z","body":"thanks @drawsmcgraw @rallytime  via `- extents: '100%FREE' `this works fine"}}