Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@localhost kolla-openstack]# sudo kolla-ansible -i ./all-in-one deploy
- Deploying Playbooks : ansible-playbook -i ./all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e action=deploy /usr/share/kolla-ansible/ansible/site.yml
- [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use
- 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.
- This feature will be removed in a future release. Deprecation warnings can be
- disabled by setting deprecation_warnings=False in ansible.cfg.
- [DEPRECATION WARNING]: include is kept for backwards compatibility but usage is
- discouraged. The module documentation details page may explain more about this
- rationale.. This feature will be removed in a future release. Deprecation
- warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
- [WARNING]: Found variable using reserved name: action
- PLAY [Gather facts for all hosts] **********************************************
- TASK [setup] *******************************************************************
- ok: [localhost]
- PLAY [Gather facts for all hosts (if using --limit)] ***************************
- TASK [setup] *******************************************************************
- skipping: [localhost] => (item=localhost)
- PLAY [Detect openstack_release variable] ***************************************
- TASK [Get current kolla-ansible version number] ********************************
- skipping: [localhost]
- TASK [Set openstack_release variable] ******************************************
- skipping: [localhost]
- PLAY [Apply role prechecks] ****************************************************
- TASK [prechecks : Checking the api_interface is present] ***********************
- skipping: [localhost]
- TASK [prechecks : Checking the api_interface is active] ************************
- skipping: [localhost]
- TASK [prechecks : Checking the api_interface configuration] ********************
- skipping: [localhost]
- TASK [prechecks : Checking the api_interface ip address configuration] *********
- skipping: [localhost]
- TASK [prechecks : Checking Docker version] *************************************
- skipping: [localhost]
- TASK [prechecks : Checking empty passwords in passwords.yml. Run kolla-genpwd if this task fails] ***
- skipping: [localhost]
- TASK [prechecks : Checking docker SDK version] *********************************
- skipping: [localhost]
- TASK [prechecks : Checking Ansible version] ************************************
- skipping: [localhost]
- PLAY [Apply role chrony] *******************************************************
- TASK [common : include] ********************************************************
- skipping: [localhost]
- TASK [common : Registering common role has run] ********************************
- skipping: [localhost]
- TASK [chrony : include] ********************************************************
- skipping: [localhost]
- PLAY [Apply role collectd] *****************************************************
- TASK [common : include] ********************************************************
- skipping: [localhost]
- TASK [common : Registering common role has run] ********************************
- skipping: [localhost]
- TASK [collectd : include] ******************************************************
- skipping: [localhost]
- PLAY [Apply role elasticsearch] ************************************************
- TASK [common : include] ********************************************************
- skipping: [localhost]
- TASK [common : Registering common role has run] ********************************
- skipping: [localhost]
- TASK [elasticsearch : include] *************************************************
- skipping: [localhost]
- PLAY [Apply role influxdb] *****************************************************
- TASK [common : include] ********************************************************
- skipping: [localhost]
- TASK [common : Registering common role has run] ********************************
- skipping: [localhost]
- TASK [influxdb : include] ******************************************************
- skipping: [localhost]
- PLAY [Apply role telegraf] *****************************************************
- TASK [common : include] ********************************************************
- skipping: [localhost]
- TASK [common : Registering common role has run] ********************************
- skipping: [localhost]
- TASK [telegraf : include] ******************************************************
- skipping: [localhost]
- PLAY [Apply role redis] ********************************************************
- TASK [common : include] ********************************************************
- included: /usr/share/kolla-ansible/ansible/roles/common/tasks/deploy.yml for localhost
- TASK [common : include] ********************************************************
- included: /usr/share/kolla-ansible/ansible/roles/common/tasks/config.yml for localhost
- TASK [common : Ensuring config directories exist] ******************************
- changed: [localhost] => (item=fluentd)
- changed: [localhost] => (item=fluentd/input)
- changed: [localhost] => (item=fluentd/output)
- changed: [localhost] => (item=fluentd/format)
- changed: [localhost] => (item=fluentd/filter)
- changed: [localhost] => (item=kolla-toolbox)
- changed: [localhost] => (item=cron)
- changed: [localhost] => (item=cron/logrotate)
- TASK [common : Copying over config.json files for services] ********************
- changed: [localhost] => (item={'value': {u'environment': {u'DUMMY_ENVIRONMENT': u'kolla_useless_env'}, u'image': u'kolla/centos-source-cron:pike', u'volumes': [u'/etc/kolla//cron/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'cron'}, 'key': u'cron'})
- changed: [localhost] => (item={'value': {u'environment': {u'KOLLA_CONFIG_STRATEGY': u'COPY_ALWAYS'}, u'image': u'kolla/centos-source-fluentd:pike', u'volumes': [u'/etc/kolla//fluentd/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'fluentd'}, 'key': u'fluentd'})
- changed: [localhost] => (item={'value': {u'environment': {u'ANSIBLE_LIBRARY': u'/usr/share/ansible', u'ANSIBLE_NOCOLOR': u'1'}, u'image': u'kolla/centos-source-kolla-toolbox:pike', u'privileged': True, u'volumes': [u'/etc/kolla//kolla-toolbox/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'/dev/:/dev/', u'/run/:/run/:shared', u'kolla_logs:/var/log/kolla/'], u'container_name': u'kolla_toolbox'}, 'key': u'kolla-toolbox'})
- TASK [common : Copying over fluentd input config files] ************************
- changed: [localhost] => (item=00-global)
- changed: [localhost] => (item=01-syslog)
- changed: [localhost] => (item=02-mariadb)
- changed: [localhost] => (item=03-rabbitmq)
- changed: [localhost] => (item=04-openstack-wsgi)
- TASK [common : Copying over fluentd output config files] ***********************
- changed: [localhost] => (item={u'enabled': True, u'name': u'00-local'})
- skipping: [localhost] => (item={u'enabled': False, u'name': u'01-es'})
- TASK [common : Copying over fluentd format config files] ***********************
- changed: [localhost] => (item=apache_access)
- changed: [localhost] => (item=wsgi_access)
- TASK [common : Copying over fluentd filter config files] ***********************
- changed: [localhost] => (item={u'dest': u'00-record_transformer', u'src': u'00-record_transformer'})
- changed: [localhost] => (item={u'dest': u'01-rewrite', u'src': u'01-rewrite-0.12'})
- TASK [common : Copying over td-agent.conf] *************************************
- changed: [localhost] => (item=fluentd)
- TASK [common : Copying over cron logrotate config files] ***********************
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'ansible'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'aodh'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'barbican'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'ceilometer'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'ceph'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'chrony'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'cinder'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'cloudkitty'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'collectd'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'congress'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'designate'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'elasticsearch'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'etcd'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'freezer'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'glance'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'global'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'gnocchi'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'grafana'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'haproxy'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'heat'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'influxdb'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'ironic'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'ironic-inspector'})
- changed: [localhost] => (item={u'enabled': True, u'name': u'iscsid'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'karbor'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'keepalived'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'keystone'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'kibana'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'kuryr'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'magnum'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'manila'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'mariadb'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'mistral'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'mongodb'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'murano'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'neutron'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'nova'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'octavia'})
- skipping: [localhost] => (item={u'enabled': False, u'name': u'outward-rabbitmq'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'panko'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'rabbitmq'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'rally'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'sahara'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'searchlight'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'senlin'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'skydive'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'solum'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'swift'})
- changed: [localhost] => (item={u'enabled': u'yes', u'name': u'tacker'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'tempest'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'trove'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'watcher'})
- skipping: [localhost] => (item={u'enabled': u'no', u'name': u'zun'})
- TASK [common : Check common containers] ****************************************
- changed: [localhost] => (item={'value': {u'environment': {u'DUMMY_ENVIRONMENT': u'kolla_useless_env'}, u'image': u'kolla/centos-source-cron:pike', u'volumes': [u'/etc/kolla//cron/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'cron'}, 'key': u'cron'})
- changed: [localhost] => (item={'value': {u'environment': {u'KOLLA_CONFIG_STRATEGY': u'COPY_ALWAYS'}, u'image': u'kolla/centos-source-fluentd:pike', u'volumes': [u'/etc/kolla//fluentd/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'fluentd'}, 'key': u'fluentd'})
- changed: [localhost] => (item={'value': {u'environment': {u'ANSIBLE_LIBRARY': u'/usr/share/ansible', u'ANSIBLE_NOCOLOR': u'1'}, u'image': u'kolla/centos-source-kolla-toolbox:pike', u'privileged': True, u'volumes': [u'/etc/kolla//kolla-toolbox/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'/dev/:/dev/', u'/run/:/run/:shared', u'kolla_logs:/var/log/kolla/'], u'container_name': u'kolla_toolbox'}, 'key': u'kolla-toolbox'})
- TASK [common : include] ********************************************************
- included: /usr/share/kolla-ansible/ansible/roles/common/tasks/bootstrap.yml for localhost
- TASK [common : Creating log volume] ********************************************
- changed: [localhost]
- RUNNING HANDLER [common : Restart fluentd container] ***************************
- changed: [localhost]
- RUNNING HANDLER [common : Restart kolla-toolbox container] *********************
- changed: [localhost]
- RUNNING HANDLER [common : Initializing toolbox container using normal user] ****
- ok: [localhost]
- RUNNING HANDLER [common : Restart cron container] ******************************
- changed: [localhost]
- TASK [common : Registering common role has run] ********************************
- ok: [localhost]
- TASK [redis : include] *********************************************************
- included: /usr/share/kolla-ansible/ansible/roles/redis/tasks/deploy.yml for localhost
- TASK [redis : include] *********************************************************
- included: /usr/share/kolla-ansible/ansible/roles/redis/tasks/config.yml for localhost
- TASK [redis : Ensuring config directories exist] *******************************
- changed: [localhost] => (item={'value': {u'enabled': True, u'image': u'kolla/centos-source-redis-sentinel:pike', u'group': u'redis', u'volumes': [u'/etc/kolla//redis-sentinel/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'redis_sentinel'}, 'key': u'redis-sentinel'})
- changed: [localhost] => (item={'value': {u'enabled': True, u'image': u'kolla/centos-source-redis:pike', u'group': u'redis', u'volumes': [u'/etc/kolla//redis/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'redis:/var/lib/redis/', u'kolla_logs:/var/log/kolla/'], u'container_name': u'redis'}, 'key': u'redis'})
- TASK [redis : Copying over default config.json files] **************************
- changed: [localhost] => (item={'value': {u'enabled': True, u'image': u'kolla/centos-source-redis-sentinel:pike', u'group': u'redis', u'volumes': [u'/etc/kolla//redis-sentinel/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'redis_sentinel'}, 'key': u'redis-sentinel'})
- changed: [localhost] => (item={'value': {u'enabled': True, u'image': u'kolla/centos-source-redis:pike', u'group': u'redis', u'volumes': [u'/etc/kolla//redis/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'redis:/var/lib/redis/', u'kolla_logs:/var/log/kolla/'], u'container_name': u'redis'}, 'key': u'redis'})
- TASK [redis : Copying over redis config files] *********************************
- changed: [localhost] => (item={'value': {u'enabled': True, u'image': u'kolla/centos-source-redis-sentinel:pike', u'group': u'redis', u'volumes': [u'/etc/kolla//redis-sentinel/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'redis_sentinel'}, 'key': u'redis-sentinel'})
- changed: [localhost] => (item={'value': {u'enabled': True, u'image': u'kolla/centos-source-redis:pike', u'group': u'redis', u'volumes': [u'/etc/kolla//redis/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'redis:/var/lib/redis/', u'kolla_logs:/var/log/kolla/'], u'container_name': u'redis'}, 'key': u'redis'})
- TASK [redis : Check redis containers] ******************************************
- changed: [localhost] => (item={'value': {u'enabled': True, u'image': u'kolla/centos-source-redis-sentinel:pike', u'group': u'redis', u'volumes': [u'/etc/kolla//redis-sentinel/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'redis_sentinel'}, 'key': u'redis-sentinel'})
- changed: [localhost] => (item={'value': {u'enabled': True, u'image': u'kolla/centos-source-redis:pike', u'group': u'redis', u'volumes': [u'/etc/kolla//redis/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'redis:/var/lib/redis/', u'kolla_logs:/var/log/kolla/'], u'container_name': u'redis'}, 'key': u'redis'})
- RUNNING HANDLER [redis : Restart redis container] ******************************
- changed: [localhost]
- RUNNING HANDLER [redis : Restart redis-sentinel container] *********************
- changed: [localhost]
- PLAY [Apply role haproxy] ******************************************************
- TASK [common : include] ********************************************************
- skipping: [localhost]
- TASK [common : Registering common role has run] ********************************
- skipping: [localhost]
- TASK [haproxy : include] *******************************************************
- skipping: [localhost]
- PLAY [Apply role kibana] *******************************************************
- TASK [common : include] ********************************************************
- skipping: [localhost]
- TASK [common : Registering common role has run] ********************************
- skipping: [localhost]
- TASK [kibana : include] ********************************************************
- skipping: [localhost]
- PLAY [Apply role memcached] ****************************************************
- TASK [memcached : include] *****************************************************
- included: /usr/share/kolla-ansible/ansible/roles/memcached/tasks/deploy.yml for localhost
- TASK [memcached : include] *****************************************************
- included: /usr/share/kolla-ansible/ansible/roles/memcached/tasks/config.yml for localhost
- TASK [memcached : Ensuring config directories exist] ***************************
- changed: [localhost] => (item=memcached)
- TASK [memcached : Copying over config.json files for services] *****************
- changed: [localhost] => (item=memcached)
- TASK [memcached : Check memcached container] ***********************************
- changed: [localhost]
- RUNNING HANDLER [memcached : Restart memcached container] **********************
- changed: [localhost]
- PLAY [Apply role mariadb] ******************************************************
- TASK [common : include] ********************************************************
- skipping: [localhost]
- TASK [common : Registering common role has run] ********************************
- skipping: [localhost]
- TASK [mariadb : include] *******************************************************
- included: /usr/share/kolla-ansible/ansible/roles/mariadb/tasks/deploy.yml for localhost
- TASK [mariadb : include] *******************************************************
- included: /usr/share/kolla-ansible/ansible/roles/mariadb/tasks/config.yml for localhost
- TASK [mariadb : Ensuring config directories exist] *****************************
- changed: [localhost] => (item={'value': {u'enabled': True, u'image': u'kolla/centos-source-mariadb:pike', u'group': u'mariadb', u'volumes': [u'/etc/kolla//mariadb/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'mariadb:/var/lib/mysql', u'kolla_logs:/var/log/kolla/'], u'container_name': u'mariadb'}, 'key': u'mariadb'})
- TASK [mariadb : Copying over config.json files for services] *******************
- changed: [localhost]
- TASK [mariadb : Copying over galera.cnf] ***************************************
- changed: [localhost]
- TASK [mariadb : Copying over wsrep-notify.sh] **********************************
- changed: [localhost] => (item={'value': {u'enabled': True, u'image': u'kolla/centos-source-mariadb:pike', u'group': u'mariadb', u'volumes': [u'/etc/kolla//mariadb/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'mariadb:/var/lib/mysql', u'kolla_logs:/var/log/kolla/'], u'container_name': u'mariadb'}, 'key': u'mariadb'})
- TASK [mariadb : Check mariadb containers] **************************************
- changed: [localhost] => (item={'value': {u'enabled': True, u'image': u'kolla/centos-source-mariadb:pike', u'group': u'mariadb', u'volumes': [u'/etc/kolla//mariadb/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'mariadb:/var/lib/mysql', u'kolla_logs:/var/log/kolla/'], u'container_name': u'mariadb'}, 'key': u'mariadb'})
- TASK [mariadb : include] *******************************************************
- included: /usr/share/kolla-ansible/ansible/roles/mariadb/tasks/bootstrap.yml for localhost
- TASK [mariadb : set_fact] ******************************************************
- ok: [localhost]
- TASK [mariadb : include] *******************************************************
- included: /usr/share/kolla-ansible/ansible/roles/mariadb/tasks/lookup_cluster.yml for localhost
- TASK [mariadb : Cleaning up temp file on localhost] ****************************
- ok: [localhost -> localhost]
- TASK [mariadb : Creating temp file on localhost] *******************************
- ok: [localhost -> localhost]
- TASK [mariadb : Creating mariadb volume] ***************************************
- changed: [localhost]
- TASK [mariadb : Writing hostname of host with existing cluster files to temp file] ***
- skipping: [localhost]
- TASK [mariadb : Registering host from temp file] *******************************
- ok: [localhost]
- TASK [mariadb : Cleaning up temp file on localhost] ****************************
- ok: [localhost -> localhost]
- TASK [mariadb : include] *******************************************************
- included: /usr/share/kolla-ansible/ansible/roles/mariadb/tasks/bootstrap_cluster.yml for localhost
- TASK [mariadb : Running MariaDB bootstrap container] ***************************
- fatal: [localhost]: FAILED! => {"changed": true, "msg": "Container exited with non-zero return code"}
- RUNNING HANDLER [mariadb : restart slave mariadb] ******************************
- RUNNING HANDLER [mariadb : restart master mariadb] *****************************
- to retry, use: --limit @/usr/share/kolla-ansible/ansible/site.retry
- PLAY RECAP *********************************************************************
- localhost : ok=49 changed=29 unreachable=0 failed=1
- Command failed ansible-playbook -i ./all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e action=deploy /usr/share/kolla-ansible/ansible/site.yml
- [root@localhost kolla-openstack]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement