{"action":"closed","number":5042,"pull_request":{"url":"https://api.github.com/repos/xcat2/xcat-core/pulls/5042","id":178791392,"html_url":"https://github.com/xcat2/xcat-core/pull/5042","diff_url":"https://github.com/xcat2/xcat-core/pull/5042.diff","patch_url":"https://github.com/xcat2/xcat-core/pull/5042.patch","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/5042","number":5042,"state":"closed","locked":false,"title":"update paramiko dependency for xCAT-openbmc-py","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},"body":"To fix #5034, Need paramiko >= 2.0.0, only rspconfig need paramiko \r\n\r\nUT:\r\n```\r\n# cd /usr/lib/python2.7/site-packages/\r\n# mv paramiko paramiko.bak\r\n[root@briggs01 site-packages]# rspconfig mid05tor12cn05 dump -l\r\nError: OpenBMC management is using a Python framework and some dependency libraries could not be imported.\r\nError: Agent exited unexpectedly.  See /var/log/xcat/agent.log for details.\r\nTo revert to Perl framework: chdef -t site clustersite openbmcperl=ALL\r\n---------------------------------\r\nTraceback (most recent call last):\r\n  File \"/opt/xcat/lib/python/agent/xcatagent/server.py\", line 102, in _handle\r\n    func(req['nodeinfo'], new_args)\r\n  File \"/opt/xcat/lib/python/agent/xcatagent/openbmc.py\", line 290, in rspconfig\r\n    from hwctl.executor.openbmc_bmcconfig import OpenBMCBmcConfigTask\r\n  File \"/usr/lib64/python2.7/site-packages/gevent/builtins.py\", line 93, in __import__\r\n    result = _import(*args, **kwargs)\r\n  File \"/opt/xcat/lib/python/agent/hwctl/executor/openbmc_bmcconfig.py\", line 15, in <module>\r\n    import paramiko\r\n  File \"/usr/lib64/python2.7/site-packages/gevent/builtins.py\", line 93, in __import__\r\n    result = _import(*args, **kwargs)\r\nImportError: No module named paramiko\r\n---------------------------------\r\n\r\n# rpower mid05tor12cn05 stat\r\nMon Apr  2 03:12:35 2018 mid05tor12cn05: [openbmc_debug] login curl -k -c cjar -b cjar -X POST -H \"Content-Type: application/json\" https://172.11.139.5/login -d '{\"data\": [\"root\", \"xxxxxx\"]}'\r\nMon Apr  2 03:12:35 2018 mid05tor12cn05: [openbmc_debug] login 200 OK\r\nMon Apr  2 03:12:35 2018 mid05tor12cn05: [openbmc_debug] list_power_states curl -k -c cjar -b cjar -X GET -H \"Content-Type: application/json\" https://172.11.139.5/xyz/openbmc_project/state/enumerate\r\nMon Apr  2 03:12:35 2018 mid05tor12cn05: [openbmc_debug] list_power_states 200 OK\r\nmid05tor12cn05: on\r\n```","created_at":"2018-04-02T07:46:59Z","updated_at":"2018-04-02T08:16:51Z","closed_at":"2018-04-02T08:16:51Z","merged_at":"2018-04-02T08:16:51Z","merge_commit_sha":"e341abbce0dd3b54aee28245e150e3d8755bcbcd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":550107851,"url":"https://api.github.com/repos/xcat2/xcat-core/labels/component:openbmc","name":"component:openbmc","color":"fbca04","default":false}],"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/21","html_url":"https://github.com/xcat2/xcat-core/milestone/21","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/21/labels","id":2118219,"number":21,"title":"2.14","description":"Tentative Date ","creator":{"login":"immarvin","id":5668922,"avatar_url":"https://avatars1.githubusercontent.com/u/5668922?v=4","gravatar_id":"","url":"https://api.github.com/users/immarvin","html_url":"https://github.com/immarvin","followers_url":"https://api.github.com/users/immarvin/followers","following_url":"https://api.github.com/users/immarvin/following{/other_user}","gists_url":"https://api.github.com/users/immarvin/gists{/gist_id}","starred_url":"https://api.github.com/users/immarvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immarvin/subscriptions","organizations_url":"https://api.github.com/users/immarvin/orgs","repos_url":"https://api.github.com/users/immarvin/repos","events_url":"https://api.github.com/users/immarvin/events{/privacy}","received_events_url":"https://api.github.com/users/immarvin/received_events","type":"User","site_admin":false},"open_issues":56,"closed_issues":136,"state":"open","created_at":"2016-11-07T08:08:04Z","updated_at":"2018-04-02T08:16:51Z","due_on":"2018-04-20T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/5042/commits","review_comments_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/5042/comments","review_comment_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/5042/comments","statuses_url":"https://api.github.com/repos/xcat2/xcat-core/statuses/950c57ef6d29112964d4cf4a051d9ae30567cdb6","head":{"label":"robin2008:paramiko-dep","ref":"paramiko-dep","sha":"950c57ef6d29112964d4cf4a051d9ae30567cdb6","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},"repo":{"id":85309077,"name":"xcat-core","full_name":"robin2008/xcat-core","owner":{"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},"private":false,"html_url":"https://github.com/robin2008/xcat-core","description":"Code repo for xCAT core packages","fork":true,"url":"https://api.github.com/repos/robin2008/xcat-core","forks_url":"https://api.github.com/repos/robin2008/xcat-core/forks","keys_url":"https://api.github.com/repos/robin2008/xcat-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robin2008/xcat-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robin2008/xcat-core/teams","hooks_url":"https://api.github.com/repos/robin2008/xcat-core/hooks","issue_events_url":"https://api.github.com/repos/robin2008/xcat-core/issues/events{/number}","events_url":"https://api.github.com/repos/robin2008/xcat-core/events","assignees_url":"https://api.github.com/repos/robin2008/xcat-core/assignees{/user}","branches_url":"https://api.github.com/repos/robin2008/xcat-core/branches{/branch}","tags_url":"https://api.github.com/repos/robin2008/xcat-core/tags","blobs_url":"https://api.github.com/repos/robin2008/xcat-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robin2008/xcat-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robin2008/xcat-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/robin2008/xcat-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robin2008/xcat-core/statuses/{sha}","languages_url":"https://api.github.com/repos/robin2008/xcat-core/languages","stargazers_url":"https://api.github.com/repos/robin2008/xcat-core/stargazers","contributors_url":"https://api.github.com/repos/robin2008/xcat-core/contributors","subscribers_url":"https://api.github.com/repos/robin2008/xcat-core/subscribers","subscription_url":"https://api.github.com/repos/robin2008/xcat-core/subscription","commits_url":"https://api.github.com/repos/robin2008/xcat-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/robin2008/xcat-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/robin2008/xcat-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/robin2008/xcat-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/robin2008/xcat-core/contents/{+path}","compare_url":"https://api.github.com/repos/robin2008/xcat-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robin2008/xcat-core/merges","archive_url":"https://api.github.com/repos/robin2008/xcat-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robin2008/xcat-core/downloads","issues_url":"https://api.github.com/repos/robin2008/xcat-core/issues{/number}","pulls_url":"https://api.github.com/repos/robin2008/xcat-core/pulls{/number}","milestones_url":"https://api.github.com/repos/robin2008/xcat-core/milestones{/number}","notifications_url":"https://api.github.com/repos/robin2008/xcat-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robin2008/xcat-core/labels{/name}","releases_url":"https://api.github.com/repos/robin2008/xcat-core/releases{/id}","deployments_url":"https://api.github.com/repos/robin2008/xcat-core/deployments","created_at":"2017-03-17T12:24:17Z","updated_at":"2018-04-02T05:13:15Z","pushed_at":"2018-04-02T08:07:50Z","git_url":"git://github.com/robin2008/xcat-core.git","ssh_url":"git@github.com:robin2008/xcat-core.git","clone_url":"https://github.com/robin2008/xcat-core.git","svn_url":"https://github.com/robin2008/xcat-core","homepage":null,"size":195756,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xcat2:master","ref":"master","sha":"2cd955e29a98e3c2c2f1ff718a4995cd93fbdfa5","user":{"login":"xcat2","id":10124414,"avatar_url":"https://avatars3.githubusercontent.com/u/10124414?v=4","gravatar_id":"","url":"https://api.github.com/users/xcat2","html_url":"https://github.com/xcat2","followers_url":"https://api.github.com/users/xcat2/followers","following_url":"https://api.github.com/users/xcat2/following{/other_user}","gists_url":"https://api.github.com/users/xcat2/gists{/gist_id}","starred_url":"https://api.github.com/users/xcat2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcat2/subscriptions","organizations_url":"https://api.github.com/users/xcat2/orgs","repos_url":"https://api.github.com/users/xcat2/repos","events_url":"https://api.github.com/users/xcat2/events{/privacy}","received_events_url":"https://api.github.com/users/xcat2/received_events","type":"Organization","site_admin":false},"repo":{"id":27747508,"name":"xcat-core","full_name":"xcat2/xcat-core","owner":{"login":"xcat2","id":10124414,"avatar_url":"https://avatars3.githubusercontent.com/u/10124414?v=4","gravatar_id":"","url":"https://api.github.com/users/xcat2","html_url":"https://github.com/xcat2","followers_url":"https://api.github.com/users/xcat2/followers","following_url":"https://api.github.com/users/xcat2/following{/other_user}","gists_url":"https://api.github.com/users/xcat2/gists{/gist_id}","starred_url":"https://api.github.com/users/xcat2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcat2/subscriptions","organizations_url":"https://api.github.com/users/xcat2/orgs","repos_url":"https://api.github.com/users/xcat2/repos","events_url":"https://api.github.com/users/xcat2/events{/privacy}","received_events_url":"https://api.github.com/users/xcat2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xcat2/xcat-core","description":"Code repo for xCAT core packages","fork":false,"url":"https://api.github.com/repos/xcat2/xcat-core","forks_url":"https://api.github.com/repos/xcat2/xcat-core/forks","keys_url":"https://api.github.com/repos/xcat2/xcat-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xcat2/xcat-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xcat2/xcat-core/teams","hooks_url":"https://api.github.com/repos/xcat2/xcat-core/hooks","issue_events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/events{/number}","events_url":"https://api.github.com/repos/xcat2/xcat-core/events","assignees_url":"https://api.github.com/repos/xcat2/xcat-core/assignees{/user}","branches_url":"https://api.github.com/repos/xcat2/xcat-core/branches{/branch}","tags_url":"https://api.github.com/repos/xcat2/xcat-core/tags","blobs_url":"https://api.github.com/repos/xcat2/xcat-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xcat2/xcat-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xcat2/xcat-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/xcat2/xcat-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xcat2/xcat-core/statuses/{sha}","languages_url":"https://api.github.com/repos/xcat2/xcat-core/languages","stargazers_url":"https://api.github.com/repos/xcat2/xcat-core/stargazers","contributors_url":"https://api.github.com/repos/xcat2/xcat-core/contributors","subscribers_url":"https://api.github.com/repos/xcat2/xcat-core/subscribers","subscription_url":"https://api.github.com/repos/xcat2/xcat-core/subscription","commits_url":"https://api.github.com/repos/xcat2/xcat-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/xcat2/xcat-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/xcat2/xcat-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/xcat2/xcat-core/contents/{+path}","compare_url":"https://api.github.com/repos/xcat2/xcat-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xcat2/xcat-core/merges","archive_url":"https://api.github.com/repos/xcat2/xcat-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xcat2/xcat-core/downloads","issues_url":"https://api.github.com/repos/xcat2/xcat-core/issues{/number}","pulls_url":"https://api.github.com/repos/xcat2/xcat-core/pulls{/number}","milestones_url":"https://api.github.com/repos/xcat2/xcat-core/milestones{/number}","notifications_url":"https://api.github.com/repos/xcat2/xcat-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xcat2/xcat-core/labels{/name}","releases_url":"https://api.github.com/repos/xcat2/xcat-core/releases{/id}","deployments_url":"https://api.github.com/repos/xcat2/xcat-core/deployments","created_at":"2014-12-09T03:21:50Z","updated_at":"2018-04-02T06:18:47Z","pushed_at":"2018-04-02T08:16:51Z","git_url":"git://github.com/xcat2/xcat-core.git","ssh_url":"git@github.com:xcat2/xcat-core.git","clone_url":"https://github.com/xcat2/xcat-core.git","svn_url":"https://github.com/xcat2/xcat-core","homepage":null,"size":196206,"stargazers_count":119,"watchers_count":119,"language":"Perl","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":105,"mirror_url":null,"archived":false,"open_issues_count":288,"license":null,"forks":105,"open_issues":288,"watchers":119,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/5042"},"html":{"href":"https://github.com/xcat2/xcat-core/pull/5042"},"issue":{"href":"https://api.github.com/repos/xcat2/xcat-core/issues/5042"},"comments":{"href":"https://api.github.com/repos/xcat2/xcat-core/issues/5042/comments"},"review_comments":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/5042/comments"},"review_comment":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/5042/commits"},"statuses":{"href":"https://api.github.com/repos/xcat2/xcat-core/statuses/950c57ef6d29112964d4cf4a051d9ae30567cdb6"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"xuweibj","id":15208204,"avatar_url":"https://avatars0.githubusercontent.com/u/15208204?v=4","gravatar_id":"","url":"https://api.github.com/users/xuweibj","html_url":"https://github.com/xuweibj","followers_url":"https://api.github.com/users/xuweibj/followers","following_url":"https://api.github.com/users/xuweibj/following{/other_user}","gists_url":"https://api.github.com/users/xuweibj/gists{/gist_id}","starred_url":"https://api.github.com/users/xuweibj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuweibj/subscriptions","organizations_url":"https://api.github.com/users/xuweibj/orgs","repos_url":"https://api.github.com/users/xuweibj/repos","events_url":"https://api.github.com/users/xuweibj/events{/privacy}","received_events_url":"https://api.github.com/users/xuweibj/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":5,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"xuweibj"}}