{"action":"created","issue":{"url":"https://api.github.com/repos/sclorg/rhscl2dockerfile/issues/17","labels_url":"https://api.github.com/repos/sclorg/rhscl2dockerfile/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/sclorg/rhscl2dockerfile/issues/17/comments","events_url":"https://api.github.com/repos/sclorg/rhscl2dockerfile/issues/17/events","html_url":"https://github.com/sclorg/rhscl2dockerfile/issues/17","id":78025406,"number":17,"title":"Differences between openshift mysql image and RHSCL image and other things to do","user":{"login":"hhorak","id":1405588,"avatar_url":"https://avatars.githubusercontent.com/u/1405588?v=3","gravatar_id":"","url":"https://api.github.com/users/hhorak","html_url":"https://github.com/hhorak","followers_url":"https://api.github.com/users/hhorak/followers","following_url":"https://api.github.com/users/hhorak/following{/other_user}","gists_url":"https://api.github.com/users/hhorak/gists{/gist_id}","starred_url":"https://api.github.com/users/hhorak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhorak/subscriptions","organizations_url":"https://api.github.com/users/hhorak/orgs","repos_url":"https://api.github.com/users/hhorak/repos","events_url":"https://api.github.com/users/hhorak/events{/privacy}","received_events_url":"https://api.github.com/users/hhorak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":41,"created_at":"2015-05-19T10:14:03Z","updated_at":"2015-05-20T23:01:55Z","closed_at":null,"body":"This issue should track what are the differences between openshift mysql image available at https://github.com/openshift/mysql and RHSCL image generated here. The differences we care are from user's PoV, not differences in implementation.\r\n\r\nSo far I've identified these differences:\r\n* general_log is on -- I believe this is not something all users should have enabled, since the queries may include confidential data like passwords and stuff\r\n* master/slave replication -- we agreed on the meeting we don't want to ship it in general docker image, right? it should only serve as example of what is possible to do with the docker image, so what about to keep these scripts in some `contrib` directory, document how it can be used, but not `add` this functionality in the docker image?\r\n* my.cnf generation from environment variables -- it is possible to pass the variables now even in RHSCL docker image, using `docker run -e MYSQL_CONFIG_key_buffer_size=8388608 ...` -- advantages of this way are that there is no docker image update needed for adding a new option, we don't have to care what is the default value of particular option and user knows precisely what option is being set.\r\n* logging to errors to stderr -- this particularly means not to set --log_error option in the my.cnf\r\n\r\n@mnagy @mfojtik @bparees Let's get the above issues solved. Are there any other differences from user PoV I forgot or didn't realize?"},"comment":{"url":"https://api.github.com/repos/sclorg/rhscl2dockerfile/issues/comments/104067182","html_url":"https://github.com/sclorg/rhscl2dockerfile/issues/17#issuecomment-104067182","issue_url":"https://api.github.com/repos/sclorg/rhscl2dockerfile/issues/17","id":104067182,"user":{"login":"danmcp","id":492994,"avatar_url":"https://avatars.githubusercontent.com/u/492994?v=3","gravatar_id":"","url":"https://api.github.com/users/danmcp","html_url":"https://github.com/danmcp","followers_url":"https://api.github.com/users/danmcp/followers","following_url":"https://api.github.com/users/danmcp/following{/other_user}","gists_url":"https://api.github.com/users/danmcp/gists{/gist_id}","starred_url":"https://api.github.com/users/danmcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmcp/subscriptions","organizations_url":"https://api.github.com/users/danmcp/orgs","repos_url":"https://api.github.com/users/danmcp/repos","events_url":"https://api.github.com/users/danmcp/events{/privacy}","received_events_url":"https://api.github.com/users/danmcp/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T23:01:55Z","updated_at":"2015-05-20T23:01:55Z","body":"> Ideally, but we need to take into account that the images we will provide\r\nare not only for OpenShift - and thus these need to stay general.\r\n\r\nAgreed\r\n\r\n> OpenShift has specific requirements, which will not be useful by other\r\nusers.\r\n\r\nWhat's this list?\r\n\r\n> To think about it a from the other side - you will dislike any change\r\nrequested by different customers probably - because that is not something\r\nyou really need and you refuse to support it.  Thats completely fine -\r\nbecause we can't just bloat the generic image with something single-customer\r\nspecific.\r\n\r\nWe generally take the approach of covering the 80% case.  The other 20% will need to build custom images.\r\n\r\n> We are not 100% compatible, but about in 95% - and it still sounds it is\r\nworth cooperation.  I believe there would be tons of problems you'll be\r\nfine to delegate to FROM image.\r\n\r\nI am not quite sure what you are saying here.  I don't think we want to FROM any intermediate images for the reasons I listed previously.\r\n\r\n"}}