OK thanks. Here's what it says: mbcandide:~ candide$ oc logs -p mysql-1-0kkx6 You must either specify the following environment variables: MYSQL_USER (regex: '^[a-zA-Z0-9_]+$') MYSQL_PASSWORD (regex: '^[a-zA-Z0-9_~!@#$%^&*()-=<>,.?;:|]+$') MYSQL_DATABASE (regex: '^[a-zA-Z0-9_]+$') Or the following environment variable: MYSQL_ROOT_PASSWORD (regex: '^[a-zA-Z0-9_~!@#$%^&*()-=<>,.?;:|]+$') Or both. Optional Settings: MYSQL_LOWER_CASE_TABLE_NAMES (default: 0) MYSQL_MAX_CONNECTIONS (default: 151) MYSQL_FT_MIN_WORD_LEN (default: 4) MYSQL_FT_MAX_WORD_LEN (default: 20) MYSQL_AIO (default: 1)
I'm pretty sure I specified all the required parameters user: root password: letmein database: intrinsic > On 14 Jan 2016, at 15:18, Martin Nagy <[email protected]> wrote: > > Hi, > something is likely wrong with the MySQL since it is restarting. Can you show > us your logs from the container? You can get logs from the last container by > 'oc logs -p mysql-1-0kkx6' > > On Thu, Jan 14, 2016 at 3:03 PM, Candide Kemmler <[email protected] > <mailto:[email protected]>> wrote: > Hi, > > I created my own cluster using ansible (full install log here > <https://www.evernote.com/l/ACjvdVhtZ_pAZaJAtgVQJPn51-hS8huMVaI>). Everything > seems to be working fine except I can't seem to launch a mysql server. I > tried both mysql-persistent and -ephemeral. In both cases I will end up > having one pod showing and "flashing" from blue to orange and vice-versa. > > Here's the log from my latest attempt at installing mysql-ephemeral on my > test environment. Is there a way that I can access more verbose logs? This > isn't nearly enough to understand a malfunction like this. > > Candide > > Time Name Kind Reason Message > 3:01:19 PM mysql-1-0kkx6 Pod Backoff Back-off restarting failed > docker container (17 times in the last 3 minutes, 20 seconds) > 3:00:59 PM mysql-1-0kkx6 Pod Pulled Container image > "docker.io/centos/mysql-56-centos7@sha256:6d8562ea408b2f674b735b4e78550934b26c4913bb2e61757aa749008cee0cb8 > > <http://docker.io/centos/mysql-56-centos7@sha256:6d8562ea408b2f674b735b4e78550934b26c4913bb2e61757aa749008cee0cb8>" > already present on machine (6 times in the last 3 minutes, 16 seconds) > 3:00:59 PM mysql-1-0kkx6 Pod Started Started with docker id > 692e580331fe > 3:00:59 PM mysql-1-0kkx6 Pod Created Created with docker id > 692e580331fe > 2:59:29 PM mysql-1-0kkx6 Pod Started Started with docker id > 2a3db4ea71a5 > 2:59:29 PM mysql-1-0kkx6 Pod Created Created with docker id > 2a3db4ea71a5 > 2:58:39 PM mysql-1-0kkx6 Pod Created Created with docker id > 97173a0da91c > 2:58:39 PM mysql-1-0kkx6 Pod Started Started with docker id > 97173a0da91c > 2:58:09 PM mysql-1-0kkx6 Pod Started Started with docker id > 9a8fac130fe6 > 2:58:09 PM mysql-1-0kkx6 Pod Created Created with docker id > 9a8fac130fe6 > 2:57:50 PM mysql-1-0kkx6 Pod Started Started with docker id > 0874ac6c4ae6 > 2:57:50 PM mysql-1-0kkx6 Pod Created Created with docker id > 0874ac6c4ae6 > 2:57:49 PM mysql-1-deploy Pod FailedSync Error syncing pod, > skipping: failed to delete containers ([exit status 1]) > 2:57:49 PM mysql-1-deploy Pod Killing Killing with docker id > b410bb3266f3 > 2:57:44 PM mysql-1-0kkx6 Pod Started Started with docker id > 24df27c8eda0 > 2:57:44 PM mysql-1-0kkx6 Pod Created Created with docker id > 24df27c8eda0 > 2:57:43 PM mysql-1-0kkx6 Pod Scheduled Successfully assigned > mysql-1-0kkx6 to apps.intrinsic.world > 2:57:43 PM mysql-1 ReplicationController SuccessfulCreate Created > pod: mysql-1-0kkx6 > 2:57:43 PM mysql-1-0kkx6 Pod Started Started with docker id > 75267e329dac > 2:57:43 PM mysql-1-0kkx6 Pod Created Created with docker id > 75267e329dac > 2:57:42 PM mysql-1-0kkx6 Pod Pulled Container image > "openshift/origin-pod:v1.1.0.1" already present on machine > 2:57:41 PM mysql-1 ReplicationController FailedUpdate Error updating > deployment test/mysql-1 status to Pending > 2:57:41 PM mysql-1-deploy Pod Started Started with docker id > cd9b44284684 > 2:57:41 PM mysql-1-deploy Pod Scheduled Successfully assigned > mysql-1-deploy to apps.intrinsic.world > 2:57:41 PM mysql-1-deploy Pod Created Created with docker id > cd9b44284684 > 2:57:40 PM mysql-1-deploy Pod Pulled Container image > "openshift/origin-deployer:v1.1.0.1" already present on machine > 2:57:40 PM mysql-1-deploy Pod Started Started with docker id > b410bb3266f3 > 2:57:40 PM mysql-1-deploy Pod Created Created with docker id > b410bb3266f3 > 2:57:39 PM mysql-1-deploy Pod Pulled Container image > "openshift/origin-pod:v1.1.0.1" already present on machine > > > _______________________________________________ > users mailing list > [email protected] <mailto:[email protected]> > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > <http://lists.openshift.redhat.com/openshiftmm/listinfo/users> > >
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
