{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxc/issues/1188","repository_url":"https://api.github.com/repos/lxc/lxc","labels_url":"https://api.github.com/repos/lxc/lxc/issues/1188/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxc/issues/1188/comments","events_url":"https://api.github.com/repos/lxc/lxc/issues/1188/events","html_url":"https://github.com/lxc/lxc/issues/1188","id":177135190,"number":1188,"title":"LVM create error","user":{"login":"dmitrygribenchuk","id":15670247,"avatar_url":"https://avatars3.githubusercontent.com/u/15670247?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitrygribenchuk","html_url":"https://github.com/dmitrygribenchuk","followers_url":"https://api.github.com/users/dmitrygribenchuk/followers","following_url":"https://api.github.com/users/dmitrygribenchuk/following{/other_user}","gists_url":"https://api.github.com/users/dmitrygribenchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrygribenchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrygribenchuk/subscriptions","organizations_url":"https://api.github.com/users/dmitrygribenchuk/orgs","repos_url":"https://api.github.com/users/dmitrygribenchuk/repos","events_url":"https://api.github.com/users/dmitrygribenchuk/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrygribenchuk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-09-15T09:55:15Z","updated_at":"2017-04-25T14:42:27Z","closed_at":"2017-04-25T12:55:41Z","body":"  Hi everyone! I'm start to use LXC version 1.1.5 on Debian Jessie.\n  Sometimes when I create a container I recieve an error:\n\n  lxc-create -n test -t vps --bdev=lvm --lvname=test --vgname=vg\n  --fstype=xfs --fssize=8G -- --release=jessie --clean\n\n  File descriptor 3 (/var/lib/lxc/test/partial) leaked on lvcreate invocation. Parent PID 1089: lxc-create\n    Logical volume \"test\" created\n  lxc-create: bdev/lxclvm.c: lvm_create: 411 Error creating filesystem type xfs on /dev/vg/test\n  lxc-create: lxccontainer.c: do_bdev_create: 1035 Failed to create backing store type lvm\n  lxc-create: lxccontainer.c: do_lxcapi_create: 1511 Error creating backing store type lvm for test\n  lxc-create: tools/lxc_create.c: main: 318 Error creating container test\n\n  Recently I'm upgrade LXC to 2.0.4, but the error remains.\n"},"comment":{"url":"https://api.github.com/repos/lxc/lxc/issues/comments/297052580","html_url":"https://github.com/lxc/lxc/issues/1188#issuecomment-297052580","issue_url":"https://api.github.com/repos/lxc/lxc/issues/1188","id":297052580,"user":{"login":"brauner","id":7353573,"avatar_url":"https://avatars3.githubusercontent.com/u/7353573?v=3","gravatar_id":"","url":"https://api.github.com/users/brauner","html_url":"https://github.com/brauner","followers_url":"https://api.github.com/users/brauner/followers","following_url":"https://api.github.com/users/brauner/following{/other_user}","gists_url":"https://api.github.com/users/brauner/gists{/gist_id}","starred_url":"https://api.github.com/users/brauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brauner/subscriptions","organizations_url":"https://api.github.com/users/brauner/orgs","repos_url":"https://api.github.com/users/brauner/repos","events_url":"https://api.github.com/users/brauner/events{/privacy}","received_events_url":"https://api.github.com/users/brauner/received_events","type":"User","site_admin":false},"created_at":"2017-04-25T14:42:27Z","updated_at":"2017-04-25T14:42:27Z","body":"If `mkfs.xfs` works with the `-f` flag and the `-f` flag is documented as:\r\n\r\n> -f     Force overwrite when an existing filesystem is detected on the device.  By default, mkfs.xfs will not write to the device if it suspects that there  is a filesystem or partition table on the device already.\r\n"}}
{"actor":{"display_login":"brauner"}}