{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/1740","labels_url":"https://api.github.com/repos/openshift/origin/issues/1740/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/1740/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/1740/events","html_url":"https://github.com/openshift/origin/issues/1740","id":68490161,"number":1740,"title":"openshift mysql image won't start","user":{"login":"thoraxe","id":94413,"avatar_url":"https://avatars.githubusercontent.com/u/94413?v=3","gravatar_id":"","url":"https://api.github.com/users/thoraxe","html_url":"https://github.com/thoraxe","followers_url":"https://api.github.com/users/thoraxe/followers","following_url":"https://api.github.com/users/thoraxe/following{/other_user}","gists_url":"https://api.github.com/users/thoraxe/gists{/gist_id}","starred_url":"https://api.github.com/users/thoraxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoraxe/subscriptions","organizations_url":"https://api.github.com/users/thoraxe/orgs","repos_url":"https://api.github.com/users/thoraxe/repos","events_url":"https://api.github.com/users/thoraxe/events{/privacy}","received_events_url":"https://api.github.com/users/thoraxe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/openshift/origin/milestones/3","html_url":"https://github.com/openshift/origin/milestones/0.5.0%20(beta3)","labels_url":"https://api.github.com/repos/openshift/origin/milestones/3/labels","id":989681,"number":3,"title":"0.5.0 (beta3)","description":"","creator":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":19,"state":"open","created_at":"2015-02-21T23:15:57Z","updated_at":"2015-04-14T20:38:39Z","due_on":"2015-04-16T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-04-14T20:36:37Z","updated_at":"2015-04-15T09:29:07Z","closed_at":null,"body":"```\r\n/usr/local/bin/run-mysqld.sh: line 4: /var/lib/mysql/.bashrc: Permission denied\r\n/usr/local/bin/run-mysqld.sh: line 115: /var/lib/mysql/my.cnf.template: Permission denied\r\n```\r\n\r\nCreated from the following JSON:\r\n\r\n```json\r\n{\r\n  \"apiVersion\": \"v1beta1\",\r\n  \"items\": [\r\n    {\r\n      \"apiVersion\": \"v1beta1\",\r\n      \"containerPort\": 3306,\r\n      \"id\": \"database\",\r\n      \"kind\": \"Service\",\r\n      \"port\": 5434,\r\n      \"selector\": {\r\n        \"name\": \"database\"\r\n      }\r\n    },\r\n    {\r\n      \"apiVersion\": \"v1beta1\",\r\n      \"kind\": \"DeploymentConfig\",\r\n      \"metadata\": {\r\n        \"name\": \"database\"\r\n      },\r\n      \"template\": {\r\n        \"controllerTemplate\": {\r\n          \"podTemplate\": {\r\n            \"desiredState\": {\r\n              \"manifest\": {\r\n\t\t\"volumes\": [\r\n\t\t  {\r\n\t\t    \"name\": \"var-lib-mysql\",\r\n\t\t      \"source\": {\r\n\t\t\t\"hostDir\": null,\r\n\t\t\t\"emptyDir\": {},\r\n\t\t\t\"persistentDisk\": null,\r\n\t\t\t\"gitRepo\": null\r\n\t\t      }\r\n\t\t   }\r\n\t\t],\r\n                \"containers\": [\r\n                  {\r\n                    \"env\": [\r\n                      {\r\n                        \"name\": \"MYSQL_ROOT_PASSWORD\",\r\n                        \"value\": \"${MYSQL_ROOT_PASSWORD}\"\r\n                      },\r\n                      {\r\n                        \"name\": \"MYSQL_DATABASE\",\r\n                        \"value\": \"${MYSQL_DATABASE}\"\r\n                      }\r\n                    ],\r\n                    \"image\": \"openshift/mysql-55-centos7\",\r\n                    \"name\": \"ruby-helloworld-database\",\r\n                    \"ports\": [\r\n                      {\r\n                        \"containerPort\": 3306\r\n                      }\r\n                    ],\r\n \t\t    \"volumeMounts\": [\r\n\t\t      {\r\n\t\t\t\"name\": \"var-lib-mysql\",\r\n\t\t\t\"mountPath\": \"/var/lib/mysql\",\r\n\t\t\t\"path\": \"/var/lib/mysql\"\r\n\t\t      }\r\n\t\t    ]\r\n                  }\r\n                ],\r\n                \"version\": \"v1beta1\"\r\n              }\r\n            },\r\n            \"labels\": {\r\n              \"name\": \"database\"\r\n            }\r\n          },\r\n          \"replicaSelector\": {\r\n            \"name\": \"database\"\r\n          },\r\n          \"replicas\": 1\r\n        },\r\n        \"strategy\": {\r\n          \"type\": \"Recreate\"\r\n        }\r\n      },\r\n      \"triggers\": [\r\n        {\r\n          \"type\": \"ConfigChange\"\r\n        }\r\n      ]\r\n    }\r\n  ],\r\n  \"kind\": \"Template\",\r\n  \"metadata\": {\r\n    \"annotations\": {\r\n      \"description\": \"This example shows how to create a simple ruby application in openshift origin v3\"\r\n    },\r\n    \"name\": \"ruby-helloworld-sample\"\r\n  },\r\n  \"parameters\": [\r\n    {\r\n      \"description\": \"administrator username\",\r\n      \"from\": \"admin[A-Z0-9]{3}\",\r\n      \"generate\": \"expression\",\r\n      \"name\": \"ADMIN_USERNAME\"\r\n    },\r\n    {\r\n      \"description\": \"administrator password\",\r\n      \"from\": \"[a-zA-Z0-9]{8}\",\r\n      \"generate\": \"expression\",\r\n      \"name\": \"ADMIN_PASSWORD\"\r\n    },\r\n    {\r\n      \"description\": \"database password\",\r\n      \"from\": \"[a-zA-Z0-9]{8}\",\r\n      \"generate\": \"expression\",\r\n      \"name\": \"MYSQL_ROOT_PASSWORD\"\r\n    },\r\n    {\r\n      \"description\": \"database name\",\r\n      \"name\": \"MYSQL_DATABASE\",\r\n      \"value\": \"root\"\r\n    }\r\n  ],\r\n  \"labels\": {\r\n    \"template\": \"application-template-stibuild\"\r\n  }\r\n}\r\n```\r\n\r\n```\r\nosc v0.4.3.2\r\nkubernetes v0.14.1-582-gb12d75d\r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/93281343","html_url":"https://github.com/openshift/origin/issues/1740#issuecomment-93281343","issue_url":"https://api.github.com/repos/openshift/origin/issues/1740","id":93281343,"user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T09:29:07Z","updated_at":"2015-04-15T09:29:07Z","body":"@smarterclayton this should be assigned to @mnagy as mysql owner"}}