Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TASK: [mariadb | Starting MariaDB bootstrap container] ************************
- changed: [localhost]
- TASK: [mariadb | Waiting for MariaDB service to be ready] *********************
- failed: [localhost] => {"attempts": 6, "changed": false, "cmd": ["docker", "exec", "mariadb", "ls", "/var/lib/mysql/mariadb.pid"], "delta": "0:00:00.059389", "end": "2016-02-16 06:51:54.085500", "failed": true, "rc": 2, "start": "2016-02-16 06:51:54.026111", "stdout_lines": [], "warnings": []}
- stderr: ls: cannot access /var/lib/mysql/mariadb.pid: No such file or directory
- msg: Task failed as maximum retries was encountered
- FATAL: all hosts have already failed -- aborting
- PLAY RECAP ********************************************************************
- to retry, use: --limit @/home/md/site.retry
- localhost : ok=53 changed=20 unreachable=0 failed=1
- Command failed ansible-playbook -i /usr/local/share/kolla/ansible/inventory/all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e action=deploy /usr/local/share/kolla/ansible/site.yml
- md@kolla:~$ docker ps -a
- CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
- c057d83f21b2 localhost:4000/kollaglue/ubuntu-source-mariadb:2.0.0 "kolla_start" 19 minutes ago Exited (1) 18 minutes ago mariadb
- 8b404db10a2f localhost:4000/kollaglue/ubuntu-source-memcached:2.0.0 "kolla_start" 19 minutes ago Up 19 minutes memcached
- 754f5ddc01b1 localhost:4000/kollaglue/ubuntu-source-haproxy:2.0.0 "kolla_start" 19 minutes ago Up 19 minutes haproxy
- 234b7c0dc2e5 localhost:4000/kollaglue/ubuntu-source-keepalived:2.0.0 "kolla_start" 19 minutes ago Up 19 minutes keepalived
- 98292a5df576 localhost:4000/kollaglue/ubuntu-source-kolla-toolbox:2.0.0 "/bin/sleep infinity" 19 minutes ago Up 19 minutes kolla_toolbox
- 43970fc53489 localhost:4000/kollaglue/ubuntu-source-rsyslog:2.0.0 "kolla_start" 19 minutes ago Up 19 minutes rsyslog
- eae792cf9d50 registry:2 "/bin/registry /etc/d" 55 minutes ago Up 55 minutes 0.0.0.0:4000->5000/tcp registry
- md@kolla:~$ docker logs mariadb
- INFO:__main__:Kolla config strategy set to: COPY_ONCE
- INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
- INFO:__main__:Validating config file
- INFO:__main__:Copying service configuration files
- INFO:__main__:Removing existing destination: /etc/mysql/my.cnf
- INFO:__main__:Copying /var/lib/kolla/config_files/galera.cnf to /etc/mysql/my.cnf
- INFO:__main__:Setting permissions for /etc/mysql/my.cnf
- INFO:__main__:Writing out command to execute
- Installing MariaDB/MySQL system tables in '/var/lib/mysql/' ...
- 160216 6:50:53 [Note] /usr/sbin/mysqld (mysqld 10.0.23-MariaDB-1~trusty-wsrep) starting as process 26 ...
- 160216 6:50:53 [Note] WSREP: Read nil XID from storage engines, skipping position init
- 160216 6:50:53 [Note] WSREP: wsrep_load(): loading provider library 'none'
- 160216 6:50:53 [Note] InnoDB: Using mutexes to ref count buffer pool pages
- 160216 6:50:53 [Note] InnoDB: The InnoDB memory heap is disabled
- 160216 6:50:53 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 160216 6:50:53 [Note] InnoDB: Memory barrier is not used
- 160216 6:50:53 [Note] InnoDB: Compressed tables use zlib 1.2.8
- 160216 6:50:53 [Note] InnoDB: Using Linux native AIO
- 160216 6:50:53 [Note] InnoDB: Not using CPU crc32 instructions
- 160216 6:50:53 [Note] InnoDB: Initializing buffer pool, size = 128.0M
- 160216 6:50:53 [Note] InnoDB: Completed initialization of buffer pool
- 160216 6:50:53 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
- 160216 6:50:53 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
- 160216 6:50:53 [Note] InnoDB: Database physically writes the file full: wait...
- 160216 6:50:53 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
- 160216 6:50:54 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
- 160216 6:50:55 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
- 160216 6:50:55 [Warning] InnoDB: New log files created, LSN=45781
- 160216 6:50:55 [Note] InnoDB: Doublewrite buffer not found: creating new
- 160216 6:50:55 [Note] InnoDB: Doublewrite buffer created
- 160216 6:50:55 [Note] InnoDB: 128 rollback segment(s) are active.
- 160216 6:50:55 [Warning] InnoDB: Creating foreign key constraint system tables.
- 160216 6:50:55 [Note] InnoDB: Foreign key constraint system tables created
- 160216 6:50:55 [Note] InnoDB: Creating tablespace and datafile system tables.
- 160216 6:50:55 [Note] InnoDB: Tablespace and datafile system tables created.
- 160216 6:50:55 [Note] InnoDB: Waiting for purge to start
- 160216 6:50:55 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-76.0 started; log sequence number 0
- 160216 6:50:59 [Note] WSREP: Service disconnected.
- 160216 6:51:00 [Note] WSREP: Some threads may fail to exit.
- 160216 6:51:00 [Note] InnoDB: FTS optimize thread exiting.
- 160216 6:51:00 [Note] InnoDB: Starting shutdown...
- 160216 6:51:02 [Note] InnoDB: Shutdown completed; log sequence number 1616697
- OK
- Filling help tables...
- 160216 6:51:02 [Note] /usr/sbin/mysqld (mysqld 10.0.23-MariaDB-1~trusty-wsrep) starting as process 59 ...
- 160216 6:51:02 [Note] WSREP: Read nil XID from storage engines, skipping position init
- 160216 6:51:02 [Note] WSREP: wsrep_load(): loading provider library 'none'
- 160216 6:51:02 [Note] InnoDB: Using mutexes to ref count buffer pool pages
- 160216 6:51:02 [Note] InnoDB: The InnoDB memory heap is disabled
- 160216 6:51:02 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 160216 6:51:02 [Note] InnoDB: Memory barrier is not used
- 160216 6:51:02 [Note] InnoDB: Compressed tables use zlib 1.2.8
- 160216 6:51:02 [Note] InnoDB: Using Linux native AIO
- 160216 6:51:02 [Note] InnoDB: Not using CPU crc32 instructions
- 160216 6:51:02 [Note] InnoDB: Initializing buffer pool, size = 128.0M
- 160216 6:51:02 [Note] InnoDB: Completed initialization of buffer pool
- 160216 6:51:02 [Note] InnoDB: Highest supported file format is Barracuda.
- 160216 6:51:02 [Note] InnoDB: 128 rollback segment(s) are active.
- 160216 6:51:02 [Note] InnoDB: Waiting for purge to start
- 160216 6:51:03 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-76.0 started; log sequence number 1616697
- 160216 6:51:03 [Note] WSREP: Service disconnected.
- 160216 6:51:04 [Note] WSREP: Some threads may fail to exit.
- 160216 6:51:04 [Note] InnoDB: FTS optimize thread exiting.
- 160216 6:51:04 [Note] InnoDB: Starting shutdown...
- 160216 6:51:06 [Note] InnoDB: Shutdown completed; log sequence number 1616707
- OK
- To start mysqld at boot time you have to copy
- support-files/mysql.server to the right place for your system
- PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
- To do so, start the server, then issue the following commands:
- '/usr/bin/mysqladmin' -u root password 'new-password'
- '/usr/bin/mysqladmin' -u root -h kolla password 'new-password'
- Alternatively you can run:
- '/usr/bin/mysql_secure_installation'
- which will also give you the option of removing the test
- databases and anonymous user created by default. This is
- strongly recommended for production servers.
- See the MariaDB Knowledgebase at http://mariadb.com/kb or the
- MySQL manual for more instructions.
- You can start the MariaDB daemon with:
- cd '/usr' ; /usr/bin/mysqld_safe --datadir='/var/lib/mysql/'
- You can test the MariaDB daemon with mysql-test-run.pl
- cd '/usr/mysql-test' ; perl mysql-test-run.pl
- Please report any problems at http://mariadb.org/jira
- The latest information about MariaDB is available at http://mariadb.org/.
- You can find additional information about the MySQL part at:
- http://dev.mysql.com
- Support MariaDB development by buying support/new features from MariaDB
- Corporation Ab. You can contact us about this at sales@mariadb.com.
- Alternatively consider joining our community based development effort:
- http://mariadb.com/kb/en/contributing-to-the-mariadb-project/
- 160216 06:51:06 mysqld_safe Logging to '/var/lib/mysql//kolla.err'.
- 160216 06:51:06 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql/
- 160216 06:51:06 mysqld_safe WSREP: Running position recovery with --log_error='/var/lib/mysql//wsrep_recovery.vu3U0P' --pid-file='/var/lib/mysql//kolla-recover.pid'
- 160216 06:51:08 mysqld_safe WSREP: Failed to recover position: '160216 6:51:06 [Note] InnoDB: Using mutexes to ref count buffer pool pages
- 160216 6:51:06 [Note] InnoDB: The InnoDB memory heap is disabled
- 160216 6:51:06 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 160216 6:51:06 [Note] InnoDB: Memory barrier is not used
- 160216 6:51:06 [Note] InnoDB: Compressed tables use zlib 1.2.8
- 160216 6:51:06 [Note] InnoDB: Using Linux native AIO
- 160216 6:51:06 [Note] InnoDB: Not using CPU crc32 instructions
- 160216 6:51:06 [Note] InnoDB: Initializing buffer pool, size = 128.0M
- 160216 6:51:06 [Note] InnoDB: Completed initialization of buffer pool
- 160216 6:51:06 [Note] InnoDB: Highest supported file format is Barracuda.
- 160216 6:51:06 [Note] InnoDB: 128 rollback segment(s) are active.
- 160216 6:51:06 [Note] InnoDB: Waiting for purge to start
- 160216 6:51:06 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-76.0 started; log sequence number 1616707
- 160216 6:51:06 [Warning] InnoDB: Skipping buffer pool dump/restore during wsrep recovery.
- 160216 6:51:06 [Note] Plugin 'FEEDBACK' is disabled.
- 160216 6:51:06 [Note] Server socket created on IP: '192.168.122.83'.
- 160216 6:51:06 [ERROR] Can't start server: listen() on TCP/IP port: Address already in use
- 160216 6:51:06 [ERROR] listen() on TCP/IP failed with error 98
- 160216 6:51:06 [ERROR] Aborting
- 160216 6:51:06 [Note] InnoDB: FTS optimize thread exiting.
- 160216 6:51:06 [Note] InnoDB: Starting shutdown...
- 160216 6:51:08 [Note] InnoDB: Shutdown completed; log sequence number 1616717
- 160216 6:51:08 [Note] /usr/sbin/mysqld: Shutdown complete'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement