{"action":"closed","issue":{"url":"https://api.github.com/repos/rpcdocs/docs-issues/issues/77","labels_url":"https://api.github.com/repos/rpcdocs/docs-issues/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/rpcdocs/docs-issues/issues/77/comments","events_url":"https://api.github.com/repos/rpcdocs/docs-issues/issues/77/events","html_url":"https://github.com/rpcdocs/docs-issues/issues/77","id":78285780,"number":77,"title":"Add configuring Glance to use NFS information to the v10 and v11 Installation Guide","user":{"login":"darrenchan","id":6890344,"avatar_url":"https://avatars.githubusercontent.com/u/6890344?v=3","gravatar_id":"","url":"https://api.github.com/users/darrenchan","html_url":"https://github.com/darrenchan","followers_url":"https://api.github.com/users/darrenchan/followers","following_url":"https://api.github.com/users/darrenchan/following{/other_user}","gists_url":"https://api.github.com/users/darrenchan/gists{/gist_id}","starred_url":"https://api.github.com/users/darrenchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrenchan/subscriptions","organizations_url":"https://api.github.com/users/darrenchan/orgs","repos_url":"https://api.github.com/users/darrenchan/repos","events_url":"https://api.github.com/users/darrenchan/events{/privacy}","received_events_url":"https://api.github.com/users/darrenchan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rpcdocs/docs-issues/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"robb-romans","id":730187,"avatar_url":"https://avatars.githubusercontent.com/u/730187?v=3","gravatar_id":"","url":"https://api.github.com/users/robb-romans","html_url":"https://github.com/robb-romans","followers_url":"https://api.github.com/users/robb-romans/followers","following_url":"https://api.github.com/users/robb-romans/following{/other_user}","gists_url":"https://api.github.com/users/robb-romans/gists{/gist_id}","starred_url":"https://api.github.com/users/robb-romans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robb-romans/subscriptions","organizations_url":"https://api.github.com/users/robb-romans/orgs","repos_url":"https://api.github.com/users/robb-romans/repos","events_url":"https://api.github.com/users/robb-romans/events{/privacy}","received_events_url":"https://api.github.com/users/robb-romans/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-05-19T23:04:41Z","updated_at":"2015-06-02T19:36:36Z","closed_at":"2015-06-02T19:36:36Z","body":"From Aaron Segura: \r\n\r\nHere's what's needed to use an NFS back-end with glance:\r\n\r\n\r\nMake Directory for infra bare-metal mount:\r\n/opt/os-ansible-deployment/rpc_deployment# ansible infra_hosts -m shell -a 'mkdir /mnt/glance_container_nfs'\r\n\r\nAdd NFS to fstab:\r\n/opt/os-ansible-deployment/rpc_deployment# ansible infra_hosts -m shell -a 'echo X.X.X.X:/MNT /mnt/glance_container_nfs nfs nfsvers=3,rsize=32768,wsize=32768,actimeo=0,retry=120,hard 0 0 >> /etc/fstab'\r\n\r\nMount it up:\r\n/opt/os-ansible-deployment/rpc_deployment# ansible infra_hosts -m shell -a 'mount -a'\r\n\r\nVerify:\r\n/opt/os-ansible-deployment/rpc_deployment# ansible infra_hosts -m shell -a 'mount | grep nfs'\r\n\r\nAdd line to lxc config for glance containers:\r\n/opt/os-ansible-deployment/rpc_deployment# ansible infra_hosts -m shell -a 'echo lxc.mount.entry = /mnt/glance_container_nfs/ var/lib/glance/images none defaults,bind,rw 0 0 >> /var/lib/lxc/$(lxc-ls | grep glance_container)/config'\r\n\r\nRestart glance containers:\r\n/opt/os-ansible-deployment/rpc_deployment# ansible infra_hosts -m shell -a 'lxc-stop -n $(lxc-ls | grep glance_container)'\r\n/opt/os-ansible-deployment/rpc_deployment# ansible infra_hosts -m shell -a 'lxc-start -d -n $(lxc-ls | grep glance_container)'\r\n"}}