Advertisement
Guest User

Untitled

a guest
Feb 16th, 2016
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.35 KB | None | 0 0
  1. TASK: [mariadb | Starting MariaDB bootstrap container] ************************
  2. changed: [localhost]
  3.  
  4. TASK: [mariadb | Waiting for MariaDB service to be ready] *********************
  5. 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": []}
  6. stderr: ls: cannot access /var/lib/mysql/mariadb.pid: No such file or directory
  7. msg: Task failed as maximum retries was encountered
  8.  
  9. FATAL: all hosts have already failed -- aborting
  10.  
  11. PLAY RECAP ********************************************************************
  12. to retry, use: --limit @/home/md/site.retry
  13.  
  14. localhost : ok=53 changed=20 unreachable=0 failed=1
  15.  
  16. 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
  17. md@kolla:~$ docker ps -a
  18. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  19. c057d83f21b2 localhost:4000/kollaglue/ubuntu-source-mariadb:2.0.0 "kolla_start" 19 minutes ago Exited (1) 18 minutes ago mariadb
  20. 8b404db10a2f localhost:4000/kollaglue/ubuntu-source-memcached:2.0.0 "kolla_start" 19 minutes ago Up 19 minutes memcached
  21. 754f5ddc01b1 localhost:4000/kollaglue/ubuntu-source-haproxy:2.0.0 "kolla_start" 19 minutes ago Up 19 minutes haproxy
  22. 234b7c0dc2e5 localhost:4000/kollaglue/ubuntu-source-keepalived:2.0.0 "kolla_start" 19 minutes ago Up 19 minutes keepalived
  23. 98292a5df576 localhost:4000/kollaglue/ubuntu-source-kolla-toolbox:2.0.0 "/bin/sleep infinity" 19 minutes ago Up 19 minutes kolla_toolbox
  24. 43970fc53489 localhost:4000/kollaglue/ubuntu-source-rsyslog:2.0.0 "kolla_start" 19 minutes ago Up 19 minutes rsyslog
  25. eae792cf9d50 registry:2 "/bin/registry /etc/d" 55 minutes ago Up 55 minutes 0.0.0.0:4000->5000/tcp registry
  26. md@kolla:~$ docker logs mariadb
  27. INFO:__main__:Kolla config strategy set to: COPY_ONCE
  28. INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
  29. INFO:__main__:Validating config file
  30. INFO:__main__:Copying service configuration files
  31. INFO:__main__:Removing existing destination: /etc/mysql/my.cnf
  32. INFO:__main__:Copying /var/lib/kolla/config_files/galera.cnf to /etc/mysql/my.cnf
  33. INFO:__main__:Setting permissions for /etc/mysql/my.cnf
  34. INFO:__main__:Writing out command to execute
  35. Installing MariaDB/MySQL system tables in '/var/lib/mysql/' ...
  36. 160216 6:50:53 [Note] /usr/sbin/mysqld (mysqld 10.0.23-MariaDB-1~trusty-wsrep) starting as process 26 ...
  37. 160216 6:50:53 [Note] WSREP: Read nil XID from storage engines, skipping position init
  38. 160216 6:50:53 [Note] WSREP: wsrep_load(): loading provider library 'none'
  39. 160216 6:50:53 [Note] InnoDB: Using mutexes to ref count buffer pool pages
  40. 160216 6:50:53 [Note] InnoDB: The InnoDB memory heap is disabled
  41. 160216 6:50:53 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
  42. 160216 6:50:53 [Note] InnoDB: Memory barrier is not used
  43. 160216 6:50:53 [Note] InnoDB: Compressed tables use zlib 1.2.8
  44. 160216 6:50:53 [Note] InnoDB: Using Linux native AIO
  45. 160216 6:50:53 [Note] InnoDB: Not using CPU crc32 instructions
  46. 160216 6:50:53 [Note] InnoDB: Initializing buffer pool, size = 128.0M
  47. 160216 6:50:53 [Note] InnoDB: Completed initialization of buffer pool
  48. 160216 6:50:53 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
  49. 160216 6:50:53 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
  50. 160216 6:50:53 [Note] InnoDB: Database physically writes the file full: wait...
  51. 160216 6:50:53 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
  52. 160216 6:50:54 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
  53. 160216 6:50:55 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
  54. 160216 6:50:55 [Warning] InnoDB: New log files created, LSN=45781
  55. 160216 6:50:55 [Note] InnoDB: Doublewrite buffer not found: creating new
  56. 160216 6:50:55 [Note] InnoDB: Doublewrite buffer created
  57. 160216 6:50:55 [Note] InnoDB: 128 rollback segment(s) are active.
  58. 160216 6:50:55 [Warning] InnoDB: Creating foreign key constraint system tables.
  59. 160216 6:50:55 [Note] InnoDB: Foreign key constraint system tables created
  60. 160216 6:50:55 [Note] InnoDB: Creating tablespace and datafile system tables.
  61. 160216 6:50:55 [Note] InnoDB: Tablespace and datafile system tables created.
  62. 160216 6:50:55 [Note] InnoDB: Waiting for purge to start
  63. 160216 6:50:55 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-76.0 started; log sequence number 0
  64. 160216 6:50:59 [Note] WSREP: Service disconnected.
  65. 160216 6:51:00 [Note] WSREP: Some threads may fail to exit.
  66. 160216 6:51:00 [Note] InnoDB: FTS optimize thread exiting.
  67. 160216 6:51:00 [Note] InnoDB: Starting shutdown...
  68. 160216 6:51:02 [Note] InnoDB: Shutdown completed; log sequence number 1616697
  69. OK
  70. Filling help tables...
  71. 160216 6:51:02 [Note] /usr/sbin/mysqld (mysqld 10.0.23-MariaDB-1~trusty-wsrep) starting as process 59 ...
  72. 160216 6:51:02 [Note] WSREP: Read nil XID from storage engines, skipping position init
  73. 160216 6:51:02 [Note] WSREP: wsrep_load(): loading provider library 'none'
  74. 160216 6:51:02 [Note] InnoDB: Using mutexes to ref count buffer pool pages
  75. 160216 6:51:02 [Note] InnoDB: The InnoDB memory heap is disabled
  76. 160216 6:51:02 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
  77. 160216 6:51:02 [Note] InnoDB: Memory barrier is not used
  78. 160216 6:51:02 [Note] InnoDB: Compressed tables use zlib 1.2.8
  79. 160216 6:51:02 [Note] InnoDB: Using Linux native AIO
  80. 160216 6:51:02 [Note] InnoDB: Not using CPU crc32 instructions
  81. 160216 6:51:02 [Note] InnoDB: Initializing buffer pool, size = 128.0M
  82. 160216 6:51:02 [Note] InnoDB: Completed initialization of buffer pool
  83. 160216 6:51:02 [Note] InnoDB: Highest supported file format is Barracuda.
  84. 160216 6:51:02 [Note] InnoDB: 128 rollback segment(s) are active.
  85. 160216 6:51:02 [Note] InnoDB: Waiting for purge to start
  86. 160216 6:51:03 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-76.0 started; log sequence number 1616697
  87. 160216 6:51:03 [Note] WSREP: Service disconnected.
  88. 160216 6:51:04 [Note] WSREP: Some threads may fail to exit.
  89. 160216 6:51:04 [Note] InnoDB: FTS optimize thread exiting.
  90. 160216 6:51:04 [Note] InnoDB: Starting shutdown...
  91. 160216 6:51:06 [Note] InnoDB: Shutdown completed; log sequence number 1616707
  92. OK
  93.  
  94. To start mysqld at boot time you have to copy
  95. support-files/mysql.server to the right place for your system
  96.  
  97. PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
  98. To do so, start the server, then issue the following commands:
  99.  
  100. '/usr/bin/mysqladmin' -u root password 'new-password'
  101. '/usr/bin/mysqladmin' -u root -h kolla password 'new-password'
  102.  
  103. Alternatively you can run:
  104. '/usr/bin/mysql_secure_installation'
  105.  
  106. which will also give you the option of removing the test
  107. databases and anonymous user created by default. This is
  108. strongly recommended for production servers.
  109.  
  110. See the MariaDB Knowledgebase at http://mariadb.com/kb or the
  111. MySQL manual for more instructions.
  112.  
  113. You can start the MariaDB daemon with:
  114. cd '/usr' ; /usr/bin/mysqld_safe --datadir='/var/lib/mysql/'
  115.  
  116. You can test the MariaDB daemon with mysql-test-run.pl
  117. cd '/usr/mysql-test' ; perl mysql-test-run.pl
  118.  
  119. Please report any problems at http://mariadb.org/jira
  120.  
  121. The latest information about MariaDB is available at http://mariadb.org/.
  122. You can find additional information about the MySQL part at:
  123. http://dev.mysql.com
  124. Support MariaDB development by buying support/new features from MariaDB
  125. Corporation Ab. You can contact us about this at sales@mariadb.com.
  126. Alternatively consider joining our community based development effort:
  127. http://mariadb.com/kb/en/contributing-to-the-mariadb-project/
  128.  
  129. 160216 06:51:06 mysqld_safe Logging to '/var/lib/mysql//kolla.err'.
  130. 160216 06:51:06 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql/
  131. 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'
  132. 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
  133. 160216 6:51:06 [Note] InnoDB: The InnoDB memory heap is disabled
  134. 160216 6:51:06 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
  135. 160216 6:51:06 [Note] InnoDB: Memory barrier is not used
  136. 160216 6:51:06 [Note] InnoDB: Compressed tables use zlib 1.2.8
  137. 160216 6:51:06 [Note] InnoDB: Using Linux native AIO
  138. 160216 6:51:06 [Note] InnoDB: Not using CPU crc32 instructions
  139. 160216 6:51:06 [Note] InnoDB: Initializing buffer pool, size = 128.0M
  140. 160216 6:51:06 [Note] InnoDB: Completed initialization of buffer pool
  141. 160216 6:51:06 [Note] InnoDB: Highest supported file format is Barracuda.
  142. 160216 6:51:06 [Note] InnoDB: 128 rollback segment(s) are active.
  143. 160216 6:51:06 [Note] InnoDB: Waiting for purge to start
  144. 160216 6:51:06 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-76.0 started; log sequence number 1616707
  145. 160216 6:51:06 [Warning] InnoDB: Skipping buffer pool dump/restore during wsrep recovery.
  146. 160216 6:51:06 [Note] Plugin 'FEEDBACK' is disabled.
  147. 160216 6:51:06 [Note] Server socket created on IP: '192.168.122.83'.
  148. 160216 6:51:06 [ERROR] Can't start server: listen() on TCP/IP port: Address already in use
  149. 160216 6:51:06 [ERROR] listen() on TCP/IP failed with error 98
  150. 160216 6:51:06 [ERROR] Aborting
  151.  
  152. 160216 6:51:06 [Note] InnoDB: FTS optimize thread exiting.
  153. 160216 6:51:06 [Note] InnoDB: Starting shutdown...
  154. 160216 6:51:08 [Note] InnoDB: Shutdown completed; log sequence number 1616717
  155. 160216 6:51:08 [Note] /usr/sbin/mysqld: Shutdown complete'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement