{"action":"created","issue":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/2658","repository_url":"https://api.github.com/repos/xcat2/xcat-core","labels_url":"https://api.github.com/repos/xcat2/xcat-core/issues/2658/labels{/name}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/2658/comments","events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/2658/events","html_url":"https://github.com/xcat2/xcat-core/issues/2658","id":214950657,"number":2658,"title":"mysqlsetup does not work with SLES 12 SP2","user":{"login":"john-d-williams","id":26433397,"avatar_url":"https://avatars2.githubusercontent.com/u/26433397?v=3","gravatar_id":"","url":"https://api.github.com/users/john-d-williams","html_url":"https://github.com/john-d-williams","followers_url":"https://api.github.com/users/john-d-williams/followers","following_url":"https://api.github.com/users/john-d-williams/following{/other_user}","gists_url":"https://api.github.com/users/john-d-williams/gists{/gist_id}","starred_url":"https://api.github.com/users/john-d-williams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-d-williams/subscriptions","organizations_url":"https://api.github.com/users/john-d-williams/orgs","repos_url":"https://api.github.com/users/john-d-williams/repos","events_url":"https://api.github.com/users/john-d-williams/events{/privacy}","received_events_url":"https://api.github.com/users/john-d-williams/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-17T09:32:19Z","updated_at":"2017-03-17T17:42:35Z","closed_at":null,"body":"The mysqlsetup script fails with SLES12 SP2 as it only checks for \"SP1\" and not \"SP1 or greater\".\r\n\r\nCode fragment.\r\n    # if == 12.1\r\n    if (grep /VERSION_ID=\"12.1\"/, @lines) {\r\n\r\n        #$::linuxos == \"sles12.1\";\r\n        $sp1flag = 1;\r\n    }\r\n\r\nAs a result the script performs the wrong check to see if MariaDB is running or not. i.e.\r\nChecking the output of \"ps -ef | grep mysqld | grep -v grep\" contains the string \"--datadir\" rather than \"mysqld\". "},"comment":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/comments/287423435","html_url":"https://github.com/xcat2/xcat-core/issues/2658#issuecomment-287423435","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/2658","id":287423435,"user":{"login":"cxhong","id":12398836,"avatar_url":"https://avatars1.githubusercontent.com/u/12398836?v=3","gravatar_id":"","url":"https://api.github.com/users/cxhong","html_url":"https://github.com/cxhong","followers_url":"https://api.github.com/users/cxhong/followers","following_url":"https://api.github.com/users/cxhong/following{/other_user}","gists_url":"https://api.github.com/users/cxhong/gists{/gist_id}","starred_url":"https://api.github.com/users/cxhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxhong/subscriptions","organizations_url":"https://api.github.com/users/cxhong/orgs","repos_url":"https://api.github.com/users/cxhong/repos","events_url":"https://api.github.com/users/cxhong/events{/privacy}","received_events_url":"https://api.github.com/users/cxhong/received_events","type":"User","site_admin":false},"created_at":"2017-03-17T17:42:35Z","updated_at":"2017-03-17T17:42:35Z","body":"u may hit this issue\r\nhttps://github.com/xcat2/xcat-core/issues/2297\r\nand fixed in the xcat 2.13.1"}}
{"actor":{"display_login":"cxhong"}}