{"action":"created","issue":{"url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/issues/258","repository_url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster","labels_url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/issues/258/comments","events_url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/issues/258/events","html_url":"https://github.com/gc3-uzh-ch/elasticluster/issues/258","id":157141884,"number":258,"title":"NFS client setup failure","user":{"login":"verdurin","id":12435,"avatar_url":"https://avatars.githubusercontent.com/u/12435?v=3","gravatar_id":"","url":"https://api.github.com/users/verdurin","html_url":"https://github.com/verdurin","followers_url":"https://api.github.com/users/verdurin/followers","following_url":"https://api.github.com/users/verdurin/following{/other_user}","gists_url":"https://api.github.com/users/verdurin/gists{/gist_id}","starred_url":"https://api.github.com/users/verdurin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/verdurin/subscriptions","organizations_url":"https://api.github.com/users/verdurin/orgs","repos_url":"https://api.github.com/users/verdurin/repos","events_url":"https://api.github.com/users/verdurin/events{/privacy}","received_events_url":"https://api.github.com/users/verdurin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/labels/fix%20available","name":"fix available","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"riccardomurri","id":447228,"avatar_url":"https://avatars.githubusercontent.com/u/447228?v=3","gravatar_id":"","url":"https://api.github.com/users/riccardomurri","html_url":"https://github.com/riccardomurri","followers_url":"https://api.github.com/users/riccardomurri/followers","following_url":"https://api.github.com/users/riccardomurri/following{/other_user}","gists_url":"https://api.github.com/users/riccardomurri/gists{/gist_id}","starred_url":"https://api.github.com/users/riccardomurri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riccardomurri/subscriptions","organizations_url":"https://api.github.com/users/riccardomurri/orgs","repos_url":"https://api.github.com/users/riccardomurri/repos","events_url":"https://api.github.com/users/riccardomurri/events{/privacy}","received_events_url":"https://api.github.com/users/riccardomurri/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/milestones/6","html_url":"https://github.com/gc3-uzh-ch/elasticluster/milestones/1.3","labels_url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/milestones/6/labels","id":1444934,"number":6,"title":"1.3","description":"Goals:\r\n\r\n- fix bugs reported by @ewiger, @verdurin, and @smaffiol\r\n- merge outstanding PRs on OpenStack and GCE (keep running what is already running well)\r\n- compatibility with Ansible 2.0 (or any later version that is available at the time of release)\r\n- make SLURM playbook production-quality","creator":{"login":"riccardomurri","id":447228,"avatar_url":"https://avatars.githubusercontent.com/u/447228?v=3","gravatar_id":"","url":"https://api.github.com/users/riccardomurri","html_url":"https://github.com/riccardomurri","followers_url":"https://api.github.com/users/riccardomurri/followers","following_url":"https://api.github.com/users/riccardomurri/following{/other_user}","gists_url":"https://api.github.com/users/riccardomurri/gists{/gist_id}","starred_url":"https://api.github.com/users/riccardomurri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riccardomurri/subscriptions","organizations_url":"https://api.github.com/users/riccardomurri/orgs","repos_url":"https://api.github.com/users/riccardomurri/repos","events_url":"https://api.github.com/users/riccardomurri/events{/privacy}","received_events_url":"https://api.github.com/users/riccardomurri/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":11,"state":"open","created_at":"2015-12-04T21:04:47Z","updated_at":"2016-05-27T08:16:28Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-05-27T06:55:33Z","updated_at":"2016-05-27T09:10:07Z","closed_at":null,"body":"Setting up a `Slurm` cluster with `master` as of now fails with errors in NFS client setup:\r\n\r\n```\r\nTASK [nfs-client : Mount NFS filesystems] **************************************\r\ntask path: /home/adam/src/venv/elasticluster/src/elasticluster/share/playbooks/roles/nfs-client/tasks/main.yml:55\r\n [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior.\r\n\r\n [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior.\r\n\r\nincluded: /home/adam/src/venv/elasticluster/src/elasticluster/share/playbooks/roles/nfs-client/tasks/nfsmount.yml for compute001, compute002\r\n\r\nTASK [nfs-client : ensure {{item.mountpoint}} directory exists] ****************\r\ntask path: /home/adam/src/venv/elasticluster/src/elasticluster/share/playbooks/roles/nfs-client/tasks/nfsmount.yml:3\r\nfatal: [compute001]: FAILED! => {\"failed\": true, \"msg\": \"{{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: recursive loop detected in template string: {{item}}\"}\r\nfatal: [compute002]: FAILED! => {\"failed\": true, \"msg\": \"{{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: {{item}}: recursive loop detected in template string: {{item}}\"}\r\n        to retry, use: --limit @/home/adam/src/venv/elasticluster/src/elasticluster/share/playbooks/site.retry\r\n\r\nPLAY RECAP *********************************************************************\r\ncompute001                 : ok=24   changed=14   unreachable=0    failed=1\r\ncompute002                 : ok=24   changed=14   unreachable=0    failed=1\r\nfrontend001                : ok=57   changed=41   unreachable=0    failed=0\r\n```\r\n\r\nThis is on CentOS 7.2."},"comment":{"url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/issues/comments/222098436","html_url":"https://github.com/gc3-uzh-ch/elasticluster/issues/258#issuecomment-222098436","issue_url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/issues/258","id":222098436,"user":{"login":"verdurin","id":12435,"avatar_url":"https://avatars.githubusercontent.com/u/12435?v=3","gravatar_id":"","url":"https://api.github.com/users/verdurin","html_url":"https://github.com/verdurin","followers_url":"https://api.github.com/users/verdurin/followers","following_url":"https://api.github.com/users/verdurin/following{/other_user}","gists_url":"https://api.github.com/users/verdurin/gists{/gist_id}","starred_url":"https://api.github.com/users/verdurin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/verdurin/subscriptions","organizations_url":"https://api.github.com/users/verdurin/orgs","repos_url":"https://api.github.com/users/verdurin/repos","events_url":"https://api.github.com/users/verdurin/events{/privacy}","received_events_url":"https://api.github.com/users/verdurin/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T09:10:07Z","updated_at":"2016-05-27T09:10:07Z","body":"It gets further, but fails at the mounting stage:\r\n\r\n```\r\nTASK [nfs-client : Mount NFS filesystems] **************************************\r\ntask path: /home/adam/src/venv/elasticluster/src/elasticluster/share/playbooks/roles/nfs-client/tasks/main.yml:55\r\nincluded: /home/adam/src/venv/elasticluster/src/elasticluster/share/playbooks/roles/nfs-client/tasks/nfsmount.yml for compute002, compute001\r\n\r\nTASK [nfs-client : ensure /home directory exists] ******************************\r\ntask path: /home/adam/src/venv/elasticluster/src/elasticluster/share/playbooks/roles/nfs-client/tasks/nfsmount.yml:3\r\nok: [compute001] => {\"changed\": false, \"gid\": 0, \"group\": \"root\", \"mode\": \"0755\", \"owner\": \"root\", \"path\": \"/home\", \"secontext\": \"system_u:object_r:home_root_t:s0\", \"size\": 19, \"state\": \"directory\", \"uid\": 0}\r\nok: [compute002] => {\"changed\": false, \"gid\": 0, \"group\": \"root\", \"mode\": \"0755\", \"owner\": \"root\", \"path\": \"/home\", \"secontext\": \"system_u:object_r:home_root_t:s0\", \"size\": 19, \"state\": \"directory\", \"uid\": 0}\r\n\r\nTASK [nfs-client : add to /etc/fstab] ******************************************\r\ntask path: /home/adam/src/venv/elasticluster/src/elasticluster/share/playbooks/roles/nfs-client/tasks/nfsmount.yml:8\r\nfatal: [compute002]: FAILED! => {\"changed\": false, \"failed\": true, \"msg\": \"Error mounting /home: mount.nfs: Connection timed out\\n\"}\r\nfatal: [compute001]: FAILED! => {\"changed\": false, \"failed\": true, \"msg\": \"Error mounting /home: mount.nfs: Connection timed out\\n\"}\r\n        to retry, use: --limit @/home/adam/src/venv/elasticluster/src/elasticluster/share/playbooks/site.retry\r\n\r\nPLAY RECAP *********************************************************************\r\ncompute001                 : ok=25   changed=14   unreachable=0    failed=1\r\ncompute002                 : ok=25   changed=14   unreachable=0    failed=1\r\nfrontend001                : ok=57   changed=41   unreachable=0    failed=0\r\n```"}}
{"actor":{"display_login":"verdurin"}}