{"action":"created","issue":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/4908","repository_url":"https://api.github.com/repos/xcat2/xcat-core","labels_url":"https://api.github.com/repos/xcat2/xcat-core/issues/4908/labels{/name}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/4908/comments","events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/4908/events","html_url":"https://github.com/xcat2/xcat-core/issues/4908","id":303639384,"number":4908,"title":"When xCAT-openbmc-py is not installed on Service Node, log does not help describe the problem","user":{"login":"whowutwut","id":10049070,"avatar_url":"https://avatars0.githubusercontent.com/u/10049070?v=4","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},"labels":[],"state":"open","locked":false,"assignee":{"login":"robin2008","id":13726882,"avatar_url":"https://avatars0.githubusercontent.com/u/13726882?v=4","gravatar_id":"","url":"https://api.github.com/users/robin2008","html_url":"https://github.com/robin2008","followers_url":"https://api.github.com/users/robin2008/followers","following_url":"https://api.github.com/users/robin2008/following{/other_user}","gists_url":"https://api.github.com/users/robin2008/gists{/gist_id}","starred_url":"https://api.github.com/users/robin2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin2008/subscriptions","organizations_url":"https://api.github.com/users/robin2008/orgs","repos_url":"https://api.github.com/users/robin2008/repos","events_url":"https://api.github.com/users/robin2008/events{/privacy}","received_events_url":"https://api.github.com/users/robin2008/received_events","type":"User","site_admin":false},"assignees":[{"login":"robin2008","id":13726882,"avatar_url":"https://avatars0.githubusercontent.com/u/13726882?v=4","gravatar_id":"","url":"https://api.github.com/users/robin2008","html_url":"https://github.com/robin2008","followers_url":"https://api.github.com/users/robin2008/followers","following_url":"https://api.github.com/users/robin2008/following{/other_user}","gists_url":"https://api.github.com/users/robin2008/gists{/gist_id}","starred_url":"https://api.github.com/users/robin2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin2008/subscriptions","organizations_url":"https://api.github.com/users/robin2008/orgs","repos_url":"https://api.github.com/users/robin2008/repos","events_url":"https://api.github.com/users/robin2008/events{/privacy}","received_events_url":"https://api.github.com/users/robin2008/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/34","html_url":"https://github.com/xcat2/xcat-core/milestone/34","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/34/labels","id":2631881,"number":34,"title":"2.13.11","description":"","creator":{"login":"whowutwut","id":10049070,"avatar_url":"https://avatars0.githubusercontent.com/u/10049070?v=4","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":27,"closed_issues":163,"state":"open","created_at":"2017-07-10T14:31:58Z","updated_at":"2018-03-09T07:04:21Z","due_on":"2018-03-09T08:00:00Z","closed_at":null},"comments":2,"created_at":"2018-03-08T21:31:35Z","updated_at":"2018-03-09T07:09:38Z","closed_at":null,"author_association":"OWNER","body":"In this environment, the Service node does not contain the xCAT-openbmc-py package\r\n```\r\n[root@boston02 DEVBUILD]# xdsh sn02 \"rpm -qa | grep xCAT-openbmc-py\"\r\n[root@boston02 DEVBUILD]#\r\n```\r\n\r\nAnd the error message points to `/var/log/xcat/cluster.log`. But in-fact there is no log on the service node....\r\n```\r\n[root@boston02 DEVBUILD]# xdsh sn02 ls /var/log/xcat\r\nsn02: commands.log\r\nsn02: dump\r\nsn02: rflash\r\nsn02: xcat.log\r\n[root@boston02 DEVBUILD]#\r\n```\r\n\r\nIf we are referring to the MN, the log doesn't help us... \r\n\r\n```\r\nMar  9 16:31:53 boston02 xcat[79770]: DEBUG xcatd: open new process : xcatd SSL: rpower to mid08tor03cn01 for root@localhost\r\nMar  9 16:31:53 boston02 xcat[79771]: DEBUG xcatd: dispatch request 'rpower mid08tor03cn01 state' to plugin 'openbmc2'\r\nMar  9 16:31:53 boston02 xcat[79771]: DEBUG xcatd: handle request 'rpower' by plugin 'openbmc2''s preprocess_request\r\nMar  9 16:31:53 boston02 xcat[79773]: DEBUG dispatch hierarchical sub-command rpower to sn02:3001\r\nMar  9 16:31:54 boston02 xcat[79770]: xCAT: Allowing rpower to mid08tor03cn01 state for root from localhost\r\nMar  9 16:31:54 boston02 xcat[79775]: DEBUG xcatd: dispatch request 'rpower mid08tor03cn01 state' to plugin 'openbmc'\r\nMar  9 16:31:54 boston02 xcat[79775]: DEBUG xcatd: handle request 'rpower' by plugin 'openbmc''s preprocess_request\r\nMar  9 16:31:54 boston02 xcat[79770]: DEBUG xcatd: close connection with root@localhost\r\n```\r\n\r\nIs it possible to default to Perl in this case... Or since Python is on the MN, it will send it in Python or attempt to send in Python? \r\n"},"comment":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/comments/371731959","html_url":"https://github.com/xcat2/xcat-core/issues/4908#issuecomment-371731959","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/4908","id":371731959,"user":{"login":"robin2008","id":13726882,"avatar_url":"https://avatars0.githubusercontent.com/u/13726882?v=4","gravatar_id":"","url":"https://api.github.com/users/robin2008","html_url":"https://github.com/robin2008","followers_url":"https://api.github.com/users/robin2008/followers","following_url":"https://api.github.com/users/robin2008/following{/other_user}","gists_url":"https://api.github.com/users/robin2008/gists{/gist_id}","starred_url":"https://api.github.com/users/robin2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin2008/subscriptions","organizations_url":"https://api.github.com/users/robin2008/orgs","repos_url":"https://api.github.com/users/robin2008/repos","events_url":"https://api.github.com/users/robin2008/events{/privacy}","received_events_url":"https://api.github.com/users/robin2008/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T07:09:38Z","updated_at":"2018-03-09T07:09:38Z","author_association":"OWNER","body":"For where the message is from, maybe we can have another issue to trace it.\r\nMaybe for each error message, the `hostname` is mandatory.\r\n"}}
{"actor":{"display_login":"robin2008"}}