{"action":"created","issue":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/1325","repository_url":"https://api.github.com/repos/xcat2/xcat-core","labels_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1325/labels{/name}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1325/comments","events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1325/events","html_url":"https://github.com/xcat2/xcat-core/issues/1325","id":160801702,"number":1325,"title":"Record dhcp and tftp log twice in /var/log/messages when get these logs back in xcat 2.12","user":{"login":"hu-weihua","id":7370626,"avatar_url":"https://avatars.githubusercontent.com/u/7370626?v=3","gravatar_id":"","url":"https://api.github.com/users/hu-weihua","html_url":"https://github.com/hu-weihua","followers_url":"https://api.github.com/users/hu-weihua/followers","following_url":"https://api.github.com/users/hu-weihua/following{/other_user}","gists_url":"https://api.github.com/users/hu-weihua/gists{/gist_id}","starred_url":"https://api.github.com/users/hu-weihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hu-weihua/subscriptions","organizations_url":"https://api.github.com/users/hu-weihua/orgs","repos_url":"https://api.github.com/users/hu-weihua/repos","events_url":"https://api.github.com/users/hu-weihua/events{/privacy}","received_events_url":"https://api.github.com/users/hu-weihua/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xcat2/xcat-core/labels/status:invalid","name":"status:invalid","color":"006b75"},{"url":"https://api.github.com/repos/xcat2/xcat-core/labels/type:bug","name":"type:bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"neo954","id":12424088,"avatar_url":"https://avatars.githubusercontent.com/u/12424088?v=3","gravatar_id":"","url":"https://api.github.com/users/neo954","html_url":"https://github.com/neo954","followers_url":"https://api.github.com/users/neo954/followers","following_url":"https://api.github.com/users/neo954/following{/other_user}","gists_url":"https://api.github.com/users/neo954/gists{/gist_id}","starred_url":"https://api.github.com/users/neo954/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo954/subscriptions","organizations_url":"https://api.github.com/users/neo954/orgs","repos_url":"https://api.github.com/users/neo954/repos","events_url":"https://api.github.com/users/neo954/events{/privacy}","received_events_url":"https://api.github.com/users/neo954/received_events","type":"User","site_admin":false},"assignees":[{"login":"neo954","id":12424088,"avatar_url":"https://avatars.githubusercontent.com/u/12424088?v=3","gravatar_id":"","url":"https://api.github.com/users/neo954","html_url":"https://github.com/neo954","followers_url":"https://api.github.com/users/neo954/followers","following_url":"https://api.github.com/users/neo954/following{/other_user}","gists_url":"https://api.github.com/users/neo954/gists{/gist_id}","starred_url":"https://api.github.com/users/neo954/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo954/subscriptions","organizations_url":"https://api.github.com/users/neo954/orgs","repos_url":"https://api.github.com/users/neo954/repos","events_url":"https://api.github.com/users/neo954/events{/privacy}","received_events_url":"https://api.github.com/users/neo954/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/13","html_url":"https://github.com/xcat2/xcat-core/milestones/2.12.1","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/13/labels","id":1730222,"number":13,"title":"2.12.1","description":"Tentative 6/17 release","creator":{"login":"whowutwut","id":10049070,"avatar_url":"https://avatars.githubusercontent.com/u/10049070?v=3","gravatar_id":"","url":"https://api.github.com/users/whowutwut","html_url":"https://github.com/whowutwut","followers_url":"https://api.github.com/users/whowutwut/followers","following_url":"https://api.github.com/users/whowutwut/following{/other_user}","gists_url":"https://api.github.com/users/whowutwut/gists{/gist_id}","starred_url":"https://api.github.com/users/whowutwut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whowutwut/subscriptions","organizations_url":"https://api.github.com/users/whowutwut/orgs","repos_url":"https://api.github.com/users/whowutwut/repos","events_url":"https://api.github.com/users/whowutwut/events{/privacy}","received_events_url":"https://api.github.com/users/whowutwut/received_events","type":"User","site_admin":false},"open_issues":111,"closed_issues":141,"state":"open","created_at":"2016-04-25T19:47:46Z","updated_at":"2016-06-27T06:46:31Z","due_on":"2016-07-07T16:00:00Z","closed_at":null},"comments":7,"created_at":"2016-06-17T02:46:41Z","updated_at":"2016-06-27T06:50:02Z","closed_at":null,"body":"When we got DHCP and TFTP logs back to ``/var/log/messages`` in xcat 2.12.  Every line log is recorded twice in ``/var/log/messages``.\r\n\r\nBecause this log is the input of xcat discovery probe, so it result in xcat discovery probe can't work well.\r\n\r\nBelow are some logs captured from rhels7.2:\r\n\r\n    Jun 16 19:19:12 fs1 dhcpd: DHCPREQUEST for 192.168.5.169 from 42:2d:0a:03:1f:6e via enP4p1s0f2\r\n    Jun 16 19:19:12 fs1 dhcpd: DHCPREQUEST for 192.168.5.169 from 42:2d:0a:03:1f:6e via enP4p1s0f2\r\n    Jun 16 19:19:12 fs1 dhcpd: DHCPACK on 192.168.5.169 to 42:2d:0a:03:1f:6e (fs2vm110) via enP4p1s0f2\r\n    Jun 16 19:19:12 fs1 dhcpd: DHCPACK on 192.168.5.169 to 42:2d:0a:03:1f:6e (fs2vm110) via enP4p1s0f2\r\n    Jun 16 19:19:12 fs1 dhcpd: Added new forward map from fs2vm110.pok.stglabs.ibm.com to 192.168.5.169\r\n    Jun 16 19:19:12 fs1 dhcpd: Added new forward map from fs2vm110.pok.stglabs.ibm.com to 192.168.5.169\r\n    Jun 16 19:19:12 fs1 dhcpd: Added reverse map from 169.5.168.192.in-addr.arpa. to fs2vm110.pok.stglabs.ibm.com\r\n    Jun 16 19:19:12 fs1 dhcpd: Added reverse map from 169.5.168.192.in-addr.arpa. to fs2vm110.pok.stglabs.ibm.com\r\n    Jun 16 19:31:52 fs1 dhcpd: DHCPREQUEST for 192.168.5.167 from 42:20:0a:03:1f:c9 (mgXgeneratedvm1) via enP4p1s0f2\r\n    Jun 16 19:31:52 fs1 dhcpd: DHCPREQUEST for 192.168.5.167 from 42:20:0a:03:1f:c9 (mgXgeneratedvm1) via enP4p1s0f2\r\n    Jun 16 19:31:52 fs1 dhcpd: DHCPACK on 192.168.5.167 to 42:20:0a:03:1f:c9 (mgXgeneratedvm1) via enP4p1s0f2\r\n    Jun 16 19:31:52 fs1 dhcpd: DHCPACK on 192.168.5.167 to 42:20:0a:03:1f:c9 (mgXgeneratedvm1) via enP4p1s0f2\r\n    Jun 16 20:27:31 fs1 dhcpd: DHCPREQUEST for 192.168.5.31 from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n    Jun 16 20:27:31 fs1 dhcpd: DHCPREQUEST for 192.168.5.31 from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n    Jun 16 20:27:31 fs1 dhcpd: DHCPACK on 192.168.5.31 to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n    Jun 16 20:27:31 fs1 dhcpd: DHCPACK on 192.168.5.31 to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n    Jun 16 21:26:09 fs1 dhcpd: DHCPREQUEST for 192.168.5.29 from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n    Jun 16 21:26:09 fs1 dhcpd: DHCPREQUEST for 192.168.5.29 from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n    Jun 16 21:26:09 fs1 dhcpd: DHCPACK on 192.168.5.29 to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n    Jun 16 21:26:09 fs1 dhcpd: DHCPACK on 192.168.5.29 to 70:e2:84:14:0a:05 via enP4p1s0f2"},"comment":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/comments/228666506","html_url":"https://github.com/xcat2/xcat-core/issues/1325#issuecomment-228666506","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1325","id":228666506,"user":{"login":"hu-weihua","id":7370626,"avatar_url":"https://avatars.githubusercontent.com/u/7370626?v=3","gravatar_id":"","url":"https://api.github.com/users/hu-weihua","html_url":"https://github.com/hu-weihua","followers_url":"https://api.github.com/users/hu-weihua/followers","following_url":"https://api.github.com/users/hu-weihua/following{/other_user}","gists_url":"https://api.github.com/users/hu-weihua/gists{/gist_id}","starred_url":"https://api.github.com/users/hu-weihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hu-weihua/subscriptions","organizations_url":"https://api.github.com/users/hu-weihua/orgs","repos_url":"https://api.github.com/users/hu-weihua/repos","events_url":"https://api.github.com/users/hu-weihua/events{/privacy}","received_events_url":"https://api.github.com/users/hu-weihua/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T06:50:01Z","updated_at":"2016-06-27T06:50:01Z","body":"@whowutwut ，If we need to extract dhcp and tftp logs to a new log file, that is ok, we need to change some xcat probe code, but not much. \r\n\r\nExtract these logs to a  separate log file. the one benefit I can think now is xcat probe will be less effect by the configuration in customer's environment. xcat probe will have stable input. \r\n\r\nBut just as @daniceexi said, in a scaling cluster, there maybe are so many dhcp logs. maybe in customer's configuration, there are same logs are put into ``/var/log/messages``. so the result are \r\n1. it needs more space, \r\n2. pay more i/o expenses\r\nThat's acceptable for customer?"}}
{"actor":{"display_login":"hu-weihua"}}