Skip to content

Instantly share code, notes, and snippets.

@a1git
Created February 8, 2020 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a1git/06ed6534203e41c0af2456991a2b126b to your computer and use it in GitHub Desktop.
Save a1git/06ed6534203e41c0af2456991a2b126b to your computer and use it in GitHub Desktop.
(kolla-setup) root@aio1:/home/sd/kolla-setup# kolla-ansible -i ./all-in-one bootstrap-servers
Bootstrapping servers : ansible-playbook -i ./all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e C
ONFIG_DIR=/etc/kolla -e kolla_action=bootstrap-servers /home/sd/kolla-setup/share/kolla-ansible/ansible/kolla-host.y
ml
[DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to allow bad characters in group names by
default, this will change, but still be user configurable on deprecation. This feature will be removed in version
2.10. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
PLAY [Gather facts for all hosts] ***********************************************************************************
TASK [Gather facts] *************************************************************************************************
[DEPRECATION WARNING]: Distribution Ubuntu 18.04 on host localhost should use /usr/bin/python3, but is using
/usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to
using the discovered platform python for this host. See
https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This
feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False
in ansible.cfg.
ok: [localhost]
TASK [Group hosts to determine when using --limit] ******************************************************************
ok: [localhost]
[WARNING]: Could not match supplied host pattern, ignoring: all_using_limit_True
PLAY [Gather facts for all hosts (if using --limit)] ****************************************************************
skipping: no hosts matched
PLAY [Apply role baremetal] *****************************************************************************************
TASK [baremetal : include_tasks] ************************************************************************************
included: /home/sd/kolla-setup/share/kolla-ansible/ansible/roles/baremetal/tasks/bootstrap-servers.yml for localhost
TASK [baremetal : include_tasks] ************************************************************************************
included: /home/sd/kolla-setup/share/kolla-ansible/ansible/roles/baremetal/tasks/pre-install.yml for localhost
TASK [baremetal : Install python2] **********************************************************************************
changed: [localhost]
TASK [baremetal : Gather facts] *************************************************************************************
ok: [localhost]
TASK [baremetal : Ensure localhost in /etc/hosts] *******************************************************************
ok: [localhost]
TASK [baremetal : Ensure hostname does not point to loopback in /etc/hosts] *****************************************
changed: [localhost]
TASK [baremetal : Generate /etc/hosts for all of the nodes] *********************************************************
skipping: [localhost]
TASK [baremetal : Ensure /etc/cloud/cloud.cfg exists] ***************************************************************
ok: [localhost]
TASK [baremetal : Disable cloud-init manage_etc_hosts] **************************************************************
changed: [localhost]
TASK [baremetal : Ensure sudo group is present] *********************************************************************
ok: [localhost]
TASK [baremetal : Ensure kolla group is present] ********************************************************************
changed: [localhost]
TASK [baremetal : Install apt packages] *****************************************************************************
[WARNING]: Updating cache and auto-installing missing dependency: python-apt
changed: [localhost]
TASK [baremetal : Install ca certs] *********************************************************************************
ok: [localhost] => (item=ca-certificates)
changed: [localhost] => (item=apt-transport-https)
TASK [baremetal : Ensure apt sources list directory exists] *********************************************************
ok: [localhost]
TASK [baremetal : Install docker apt gpg key] ***********************************************************************
changed: [localhost]
TASK [baremetal : Enable docker apt repository] *********************************************************************
changed: [localhost]
TASK [baremetal : Ensure yum repos directory exists] ****************************************************************
skipping: [localhost]
TASK [baremetal : Enable docker yum repository] *********************************************************************
skipping: [localhost]
TASK [baremetal : Install docker rpm gpg key] ***********************************************************************
skipping: [localhost]
TASK [baremetal : include_tasks] ************************************************************************************
included: /home/sd/kolla-setup/share/kolla-ansible/ansible/roles/baremetal/tasks/install.yml for localhost
TASK [baremetal : Update apt cache] *********************************************************************************
changed: [localhost]
TASK [baremetal : Set firewall default policy] **********************************************************************
ok: [localhost]
TASK [baremetal : Check if firewalld is installed] ******************************************************************
skipping: [localhost]
TASK [baremetal : Disable firewalld] ********************************************************************************
skipping: [localhost] => (item=firewalld)
TASK [baremetal : Check which containers are running] ***************************************************************
ok: [localhost]
TASK [baremetal : Install apt packages] *****************************************************************************
changed: [localhost]
TASK [baremetal : Install deltarpm packages] ************************************************************************
skipping: [localhost]
TASK [baremetal : Install yum packages] *****************************************************************************
skipping: [localhost]
TASK [baremetal : Start docker] *************************************************************************************
skipping: [localhost]
TASK [baremetal : Wait for Docker to start] *************************************************************************
skipping: [localhost]
TASK [baremetal : Ensure containers are running after Docker upgrade] ***********************************************
skipping: [localhost]
TASK [baremetal : Install virtualenv packages] **********************************************************************
skipping: [localhost]
TASK [baremetal : Install pip] **************************************************************************************
skipping: [localhost]
TASK [baremetal : Install latest pip in the virtualenv] *************************************************************
skipping: [localhost]
TASK [baremetal : Install docker SDK for python] ********************************************************************
ok: [localhost]
TASK [baremetal : Remove packages] **********************************************************************************
changed: [localhost]
TASK [baremetal : Remove packages] **********************************************************************************
skipping: [localhost]
TASK [baremetal : include_tasks] ************************************************************************************
included: /home/sd/kolla-setup/share/kolla-ansible/ansible/roles/baremetal/tasks/post-install.yml for localhost
TASK [baremetal : Create kolla user] ********************************************************************************
changed: [localhost]
TASK [baremetal : Add public key to kolla user authorized keys] *****************************************************
changed: [localhost]
TASK [baremetal : Grant kolla user passwordless sudo] ***************************************************************
changed: [localhost]
TASK [baremetal : Ensure virtualenv has correct ownership] **********************************************************
skipping: [localhost]
TASK [baremetal : Ensure node_config_directory directory exists for user kolla] *************************************
changed: [localhost]
TASK [baremetal : Ensure node_config_directory directory exists] ****************************************************
skipping: [localhost]
TASK [baremetal : Ensure docker config directory exists] ************************************************************
ok: [localhost]
TASK [baremetal : Merge Zun docker config] **************************************************************************
skipping: [localhost]
TASK [baremetal : Warn about deprecations] **************************************************************************
skipping: [localhost]
TASK [baremetal : Setup docker insecure registries] *****************************************************************
skipping: [localhost]
TASK [baremetal : Setup docker storage driver] **********************************************************************
skipping: [localhost]
TASK [baremetal : Setup docker runtime directory] *******************************************************************
skipping: [localhost]
TASK [baremetal : Merge custom docker config] ***********************************************************************
ok: [localhost]
TASK [baremetal : Write docker config] ******************************************************************************
changed: [localhost]
TASK [baremetal : Remove old docker options file] *******************************************************************
ok: [localhost]
TASK [baremetal : Ensure docker service directory exists] ***********************************************************
skipping: [localhost]
TASK [baremetal : Configure docker service] *************************************************************************
skipping: [localhost]
TASK [baremetal : Reload docker service file] ***********************************************************************
ok: [localhost]
TASK [baremetal : Get stat of libvirtd apparmor profile] ************************************************************
ok: [localhost]
TASK [baremetal : Remove apparmor profile for libvirt] **************************************************************
skipping: [localhost]
TASK [baremetal : Create docker group] ******************************************************************************
ok: [localhost]
TASK [baremetal : Add kolla user to docker group] *******************************************************************
changed: [localhost]
TASK [baremetal : Start docker] *************************************************************************************
ok: [localhost]
TASK [baremetal : Restart docker] ***********************************************************************************
changed: [localhost]
TASK [baremetal : Enable docker] ************************************************************************************
ok: [localhost]
TASK [baremetal : Stop time service] ********************************************************************************
skipping: [localhost]
TASK [baremetal : Stop time service] ********************************************************************************
skipping: [localhost]
TASK [baremetal : Synchronizing time one-time] **********************************************************************
skipping: [localhost]
TASK [baremetal : Start time sync service] **************************************************************************
skipping: [localhost]
TASK [baremetal : Start time sync service] **************************************************************************
skipping: [localhost]
TASK [baremetal : Change state of selinux] **************************************************************************
skipping: [localhost]
TASK [baremetal : Reboot] *******************************************************************************************
skipping: [localhost]
PLAY RECAP **********************************************************************************************************
localhost : ok=40 changed=18 unreachable=0 failed=0 skipped=32 rescued=0 ignored=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment