{"action":"opened","number":1699,"pull_request":{"url":"https://api.github.com/repos/control-center/serviced/pulls/1699","id":34203975,"html_url":"https://github.com/control-center/serviced/pull/1699","diff_url":"https://github.com/control-center/serviced/pull/1699.diff","patch_url":"https://github.com/control-center/serviced/pull/1699.patch","issue_url":"https://api.github.com/repos/control-center/serviced/issues/1699","number":1699,"state":"open","locked":false,"title":"fixes CC-882: write monitor fsid file to var/volumes/monitor/ instead of serviced_var_volumes/monitor","user":{"login":"wplu","id":2837923,"avatar_url":"https://avatars.githubusercontent.com/u/2837923?v=3","gravatar_id":"","url":"https://api.github.com/users/wplu","html_url":"https://github.com/wplu","followers_url":"https://api.github.com/users/wplu/followers","following_url":"https://api.github.com/users/wplu/following{/other_user}","gists_url":"https://api.github.com/users/wplu/gists{/gist_id}","starred_url":"https://api.github.com/users/wplu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wplu/subscriptions","organizations_url":"https://api.github.com/users/wplu/orgs","repos_url":"https://api.github.com/users/wplu/repos","events_url":"https://api.github.com/users/wplu/events{/privacy}","received_events_url":"https://api.github.com/users/wplu/received_events","type":"User","site_admin":false},"body":"https://jira.zenoss.com/browse/CC-882\r\n\r\nISSUE - On a fresh install, serviced monitor server is writing fsid file to /exports/serviced_var_volumes/monitor/ before that directory is exported by NFS.  When NFS starts after the fsid write, /opt/serviced/var/volumes is mounted on top of /exports/serviced_var_volumes/.\r\n\r\nDEMO - write fsid file to /opt/serviced/var/volumes/monitor/ instead of /exports/serviced_var_volumes/monitor/:\r\n```\r\n[root@resmgr-50x ~]# journalctl -u serviced -o cat\r\n...\r\nI0427 19:41:23.735875 31589 monitor.go:165] monitoring DFS export info for DFS volume /exports/serviced_var_volumes at polling interval: 3m0s\r\nI0427 19:41:23.736021 31589 monitor.go:177] Writing checkValue of 13d8f64b0224438d to file /opt/serviced/var/volumes/monitor/10.87.208.121-fsid.txt\r\n...\r\n[root@resmgr-50x bin]# ls -al /opt/serviced/var/volumes/monitor/\r\ntotal 28\r\ndrwxr-xr-x 1 root root  96 Apr 27 15:52 .\r\ndrwxr-xr-x 1 root root 146 Apr 27 15:41 ..\r\n-rw------- 1 root root  13 Apr 27 15:53 10.87.208.121\r\n-rw-r--r-- 1 root root  16 Apr 27 15:41 10.87.208.121-fsid.txt\r\n-rw------- 1 root root  13 Apr 27 15:53 10.87.208.122\r\n[root@resmgr-50x bin]# ls -al /exports/serviced_var_volumes/monitor/\r\ntotal 28\r\ndrwxr-xr-x 1 root root  96 Apr 27 15:52 .\r\ndrwxr-xr-x 1 root root 146 Apr 27 15:41 ..\r\n-rw------- 1 root root  13 Apr 27 15:53 10.87.208.121\r\n-rw-r--r-- 1 root root  16 Apr 27 15:41 10.87.208.121-fsid.txt\r\n-rw------- 1 root root  13 Apr 27 15:54 10.87.208.122\r\n```\r\n\r\nREMOTE host:\r\n```\r\n[root@resmgr-50x-host1 ~]# df -H /opt/serviced/var/volumes\r\nFilesystem                           Size  Used Avail Use% Mounted on\r\n10.87.208.121:/serviced_var_volumes   33G  1.9G   29G   7% /opt/serviced/var/volumes\r\n[root@resmgr-50x-host1 ~]# ls -l /opt/serviced/var/volumes/monitor/\r\ntotal 12\r\n-rw------- 1 root root 13 Apr 27 14:53 10.87.208.121\r\n-rw-r--r-- 1 root root 16 Apr 27 14:41 10.87.208.121-fsid.txt\r\n-rw------- 1 root root 13 Apr 27 14:53 10.87.208.122\r\n```\r\n","created_at":"2015-04-27T19:56:38Z","updated_at":"2015-04-27T19:56:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/control-center/serviced/pulls/1699/commits","review_comments_url":"https://api.github.com/repos/control-center/serviced/pulls/1699/comments","review_comment_url":"https://api.github.com/repos/control-center/serviced/pulls/comments{/number}","comments_url":"https://api.github.com/repos/control-center/serviced/issues/1699/comments","statuses_url":"https://api.github.com/repos/control-center/serviced/statuses/d344653fcfa40cb2dcfe2bcef3b3e58b8ae2ed3c","head":{"label":"control-center:feature/CC-882","ref":"feature/CC-882","sha":"d344653fcfa40cb2dcfe2bcef3b3e58b8ae2ed3c","user":{"login":"control-center","id":8160673,"avatar_url":"https://avatars.githubusercontent.com/u/8160673?v=3","gravatar_id":"","url":"https://api.github.com/users/control-center","html_url":"https://github.com/control-center","followers_url":"https://api.github.com/users/control-center/followers","following_url":"https://api.github.com/users/control-center/following{/other_user}","gists_url":"https://api.github.com/users/control-center/gists{/gist_id}","starred_url":"https://api.github.com/users/control-center/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/control-center/subscriptions","organizations_url":"https://api.github.com/users/control-center/orgs","repos_url":"https://api.github.com/users/control-center/repos","events_url":"https://api.github.com/users/control-center/events{/privacy}","received_events_url":"https://api.github.com/users/control-center/received_events","type":"Organization","site_admin":false},"repo":{"id":11929217,"name":"serviced","full_name":"control-center/serviced","owner":{"login":"control-center","id":8160673,"avatar_url":"https://avatars.githubusercontent.com/u/8160673?v=3","gravatar_id":"","url":"https://api.github.com/users/control-center","html_url":"https://github.com/control-center","followers_url":"https://api.github.com/users/control-center/followers","following_url":"https://api.github.com/users/control-center/following{/other_user}","gists_url":"https://api.github.com/users/control-center/gists{/gist_id}","starred_url":"https://api.github.com/users/control-center/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/control-center/subscriptions","organizations_url":"https://api.github.com/users/control-center/orgs","repos_url":"https://api.github.com/users/control-center/repos","events_url":"https://api.github.com/users/control-center/events{/privacy}","received_events_url":"https://api.github.com/users/control-center/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/control-center/serviced","description":"Serviced is a PaaS runtime. It allows users to create, manage and scale services in a uniform way.","fork":false,"url":"https://api.github.com/repos/control-center/serviced","forks_url":"https://api.github.com/repos/control-center/serviced/forks","keys_url":"https://api.github.com/repos/control-center/serviced/keys{/key_id}","collaborators_url":"https://api.github.com/repos/control-center/serviced/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/control-center/serviced/teams","hooks_url":"https://api.github.com/repos/control-center/serviced/hooks","issue_events_url":"https://api.github.com/repos/control-center/serviced/issues/events{/number}","events_url":"https://api.github.com/repos/control-center/serviced/events","assignees_url":"https://api.github.com/repos/control-center/serviced/assignees{/user}","branches_url":"https://api.github.com/repos/control-center/serviced/branches{/branch}","tags_url":"https://api.github.com/repos/control-center/serviced/tags","blobs_url":"https://api.github.com/repos/control-center/serviced/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/control-center/serviced/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/control-center/serviced/git/refs{/sha}","trees_url":"https://api.github.com/repos/control-center/serviced/git/trees{/sha}","statuses_url":"https://api.github.com/repos/control-center/serviced/statuses/{sha}","languages_url":"https://api.github.com/repos/control-center/serviced/languages","stargazers_url":"https://api.github.com/repos/control-center/serviced/stargazers","contributors_url":"https://api.github.com/repos/control-center/serviced/contributors","subscribers_url":"https://api.github.com/repos/control-center/serviced/subscribers","subscription_url":"https://api.github.com/repos/control-center/serviced/subscription","commits_url":"https://api.github.com/repos/control-center/serviced/commits{/sha}","git_commits_url":"https://api.github.com/repos/control-center/serviced/git/commits{/sha}","comments_url":"https://api.github.com/repos/control-center/serviced/comments{/number}","issue_comment_url":"https://api.github.com/repos/control-center/serviced/issues/comments{/number}","contents_url":"https://api.github.com/repos/control-center/serviced/contents/{+path}","compare_url":"https://api.github.com/repos/control-center/serviced/compare/{base}...{head}","merges_url":"https://api.github.com/repos/control-center/serviced/merges","archive_url":"https://api.github.com/repos/control-center/serviced/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/control-center/serviced/downloads","issues_url":"https://api.github.com/repos/control-center/serviced/issues{/number}","pulls_url":"https://api.github.com/repos/control-center/serviced/pulls{/number}","milestones_url":"https://api.github.com/repos/control-center/serviced/milestones{/number}","notifications_url":"https://api.github.com/repos/control-center/serviced/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/control-center/serviced/labels{/name}","releases_url":"https://api.github.com/repos/control-center/serviced/releases{/id}","created_at":"2013-08-06T16:45:00Z","updated_at":"2015-04-27T18:39:43Z","pushed_at":"2015-04-27T19:46:33Z","git_url":"git://github.com/control-center/serviced.git","ssh_url":"git@github.com:control-center/serviced.git","clone_url":"https://github.com/control-center/serviced.git","svn_url":"https://github.com/control-center/serviced","homepage":null,"size":59147,"stargazers_count":62,"watchers_count":62,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":62,"default_branch":"develop"}},"base":{"label":"control-center:develop","ref":"develop","sha":"01d47ca3ef79a6d2bd4758226ba2b1f2652914e0","user":{"login":"control-center","id":8160673,"avatar_url":"https://avatars.githubusercontent.com/u/8160673?v=3","gravatar_id":"","url":"https://api.github.com/users/control-center","html_url":"https://github.com/control-center","followers_url":"https://api.github.com/users/control-center/followers","following_url":"https://api.github.com/users/control-center/following{/other_user}","gists_url":"https://api.github.com/users/control-center/gists{/gist_id}","starred_url":"https://api.github.com/users/control-center/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/control-center/subscriptions","organizations_url":"https://api.github.com/users/control-center/orgs","repos_url":"https://api.github.com/users/control-center/repos","events_url":"https://api.github.com/users/control-center/events{/privacy}","received_events_url":"https://api.github.com/users/control-center/received_events","type":"Organization","site_admin":false},"repo":{"id":11929217,"name":"serviced","full_name":"control-center/serviced","owner":{"login":"control-center","id":8160673,"avatar_url":"https://avatars.githubusercontent.com/u/8160673?v=3","gravatar_id":"","url":"https://api.github.com/users/control-center","html_url":"https://github.com/control-center","followers_url":"https://api.github.com/users/control-center/followers","following_url":"https://api.github.com/users/control-center/following{/other_user}","gists_url":"https://api.github.com/users/control-center/gists{/gist_id}","starred_url":"https://api.github.com/users/control-center/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/control-center/subscriptions","organizations_url":"https://api.github.com/users/control-center/orgs","repos_url":"https://api.github.com/users/control-center/repos","events_url":"https://api.github.com/users/control-center/events{/privacy}","received_events_url":"https://api.github.com/users/control-center/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/control-center/serviced","description":"Serviced is a PaaS runtime. It allows users to create, manage and scale services in a uniform way.","fork":false,"url":"https://api.github.com/repos/control-center/serviced","forks_url":"https://api.github.com/repos/control-center/serviced/forks","keys_url":"https://api.github.com/repos/control-center/serviced/keys{/key_id}","collaborators_url":"https://api.github.com/repos/control-center/serviced/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/control-center/serviced/teams","hooks_url":"https://api.github.com/repos/control-center/serviced/hooks","issue_events_url":"https://api.github.com/repos/control-center/serviced/issues/events{/number}","events_url":"https://api.github.com/repos/control-center/serviced/events","assignees_url":"https://api.github.com/repos/control-center/serviced/assignees{/user}","branches_url":"https://api.github.com/repos/control-center/serviced/branches{/branch}","tags_url":"https://api.github.com/repos/control-center/serviced/tags","blobs_url":"https://api.github.com/repos/control-center/serviced/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/control-center/serviced/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/control-center/serviced/git/refs{/sha}","trees_url":"https://api.github.com/repos/control-center/serviced/git/trees{/sha}","statuses_url":"https://api.github.com/repos/control-center/serviced/statuses/{sha}","languages_url":"https://api.github.com/repos/control-center/serviced/languages","stargazers_url":"https://api.github.com/repos/control-center/serviced/stargazers","contributors_url":"https://api.github.com/repos/control-center/serviced/contributors","subscribers_url":"https://api.github.com/repos/control-center/serviced/subscribers","subscription_url":"https://api.github.com/repos/control-center/serviced/subscription","commits_url":"https://api.github.com/repos/control-center/serviced/commits{/sha}","git_commits_url":"https://api.github.com/repos/control-center/serviced/git/commits{/sha}","comments_url":"https://api.github.com/repos/control-center/serviced/comments{/number}","issue_comment_url":"https://api.github.com/repos/control-center/serviced/issues/comments{/number}","contents_url":"https://api.github.com/repos/control-center/serviced/contents/{+path}","compare_url":"https://api.github.com/repos/control-center/serviced/compare/{base}...{head}","merges_url":"https://api.github.com/repos/control-center/serviced/merges","archive_url":"https://api.github.com/repos/control-center/serviced/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/control-center/serviced/downloads","issues_url":"https://api.github.com/repos/control-center/serviced/issues{/number}","pulls_url":"https://api.github.com/repos/control-center/serviced/pulls{/number}","milestones_url":"https://api.github.com/repos/control-center/serviced/milestones{/number}","notifications_url":"https://api.github.com/repos/control-center/serviced/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/control-center/serviced/labels{/name}","releases_url":"https://api.github.com/repos/control-center/serviced/releases{/id}","created_at":"2013-08-06T16:45:00Z","updated_at":"2015-04-27T18:39:43Z","pushed_at":"2015-04-27T19:46:33Z","git_url":"git://github.com/control-center/serviced.git","ssh_url":"git@github.com:control-center/serviced.git","clone_url":"https://github.com/control-center/serviced.git","svn_url":"https://github.com/control-center/serviced","homepage":null,"size":59147,"stargazers_count":62,"watchers_count":62,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":62,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/control-center/serviced/pulls/1699"},"html":{"href":"https://github.com/control-center/serviced/pull/1699"},"issue":{"href":"https://api.github.com/repos/control-center/serviced/issues/1699"},"comments":{"href":"https://api.github.com/repos/control-center/serviced/issues/1699/comments"},"review_comments":{"href":"https://api.github.com/repos/control-center/serviced/pulls/1699/comments"},"review_comment":{"href":"https://api.github.com/repos/control-center/serviced/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/control-center/serviced/pulls/1699/commits"},"statuses":{"href":"https://api.github.com/repos/control-center/serviced/statuses/d344653fcfa40cb2dcfe2bcef3b3e58b8ae2ed3c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":10,"changed_files":3}}