编程语言
首页 > 编程语言> > kolla-ansible -i multinode bootstrap-servers

kolla-ansible -i multinode bootstrap-servers

作者:互联网

 

 

Bootstrapping servers : ansible-playbook -i multinode -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e kolla_action=bootstrap-servers /usr/share/kolla-ansible/ansible/kolla-host.yml
[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] *************************************************************************************************************************************************************************
ok: [kolla-deploy]
ok: [kolla-compute-storage]
ok: [kolla-control-netw]

TASK [Group hosts to determine when using --limit] ******************************************************************************************************************************************
ok: [kolla-compute-storage]
ok: [kolla-control-netw]
ok: [kolla-deploy]
[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: /usr/share/kolla-ansible/ansible/roles/baremetal/tasks/bootstrap-servers.yml for kolla-control-netw, kolla-compute-storage

TASK [baremetal : include_tasks] ************************************************************************************************************************************************************
included: /usr/share/kolla-ansible/ansible/roles/baremetal/tasks/pre-install.yml for kolla-control-netw, kolla-compute-storage

TASK [baremetal : Install python2] **********************************************************************************************************************************************************
changed: [kolla-compute-storage]
changed: [kolla-control-netw]

TASK [baremetal : Gather facts] *************************************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Ensure localhost in /etc/hosts] *******************************************************************************************************************************************
ok: [kolla-compute-storage]
ok: [kolla-control-netw]

TASK [baremetal : Ensure hostname does not point to loopback in /etc/hosts] *****************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Generate /etc/hosts for all of the nodes] *********************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Ensure /etc/cloud/cloud.cfg exists] ***************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Disable cloud-init manage_etc_hosts] **************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Ensure sudo group is present] *********************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Ensure kolla group is present] ********************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Install apt packages] *****************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Install ca certs] *********************************************************************************************************************************************************
skipping: [kolla-control-netw] => (item=ca-certificates)
skipping: [kolla-control-netw] => (item=apt-transport-https)
skipping: [kolla-compute-storage] => (item=ca-certificates)
skipping: [kolla-compute-storage] => (item=apt-transport-https)

TASK [baremetal : Ensure apt sources list directory exists] *********************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Install docker apt gpg key] ***********************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Enable docker apt repository] *********************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Ensure yum repos directory exists] ****************************************************************************************************************************************
ok: [kolla-compute-storage]
ok: [kolla-control-netw]

TASK [baremetal : Enable docker yum repository] *********************************************************************************************************************************************
ok: [kolla-compute-storage]
ok: [kolla-control-netw]

TASK [baremetal : Install docker rpm gpg key] ***********************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : include_tasks] ************************************************************************************************************************************************************
included: /usr/share/kolla-ansible/ansible/roles/baremetal/tasks/install.yml for kolla-control-netw, kolla-compute-storage

TASK [baremetal : Update apt cache] *********************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Set firewall default policy] **********************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Check if firewalld is installed] ******************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Disable firewalld] ********************************************************************************************************************************************************
ok: [kolla-compute-storage] => (item=firewalld)
ok: [kolla-control-netw] => (item=firewalld)

TASK [baremetal : Check which containers are running] ***************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Install apt packages] *****************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Install deltarpm packages] ************************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Install yum packages] *****************************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Start docker] *************************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Wait for Docker to start] *************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Ensure containers are running after Docker upgrade] ***********************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Install virtualenv packages] **********************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Install pip] **************************************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Install latest pip in the virtualenv] *************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Install docker SDK for python] ********************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Remove packages] **********************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Remove packages] **********************************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : include_tasks] ************************************************************************************************************************************************************
included: /usr/share/kolla-ansible/ansible/roles/baremetal/tasks/post-install.yml for kolla-control-netw, kolla-compute-storage

TASK [baremetal : Create kolla user] ********************************************************************************************************************************************************
ok: [kolla-control-netw]
changed: [kolla-compute-storage]

TASK [baremetal : Add public key to kolla user authorized keys] *****************************************************************************************************************************
changed: [kolla-compute-storage]
ok: [kolla-control-netw]

TASK [baremetal : Grant kolla user passwordless sudo] ***************************************************************************************************************************************
ok: [kolla-control-netw]
changed: [kolla-compute-storage]

TASK [baremetal : Ensure virtualenv has correct ownership] **********************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Ensure node_config_directory directory exists for user kolla] *************************************************************************************************************
ok: [kolla-control-netw]
changed: [kolla-compute-storage]

TASK [baremetal : Ensure node_config_directory directory exists] ****************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Ensure docker config directory exists] ************************************************************************************************************************************
ok: [kolla-control-netw]
changed: [kolla-compute-storage]

TASK [baremetal : Merge Zun docker config] **************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Warn about deprecations] **************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Setup docker insecure registries] *****************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Setup docker storage driver] **********************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Setup docker runtime directory] *******************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Merge custom docker config] ***********************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Write docker config] ******************************************************************************************************************************************************
ok: [kolla-control-netw]
changed: [kolla-compute-storage]

TASK [baremetal : Remove old docker options file] *******************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Ensure docker service directory exists] ***********************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Configure docker service] *************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Reload docker service file] ***********************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Get stat of libvirtd apparmor profile] ************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Remove apparmor profile for libvirt] **************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Create docker group] ******************************************************************************************************************************************************
ok: [kolla-control-netw]
ok: [kolla-compute-storage]

TASK [baremetal : Add kolla user to docker group] *******************************************************************************************************************************************
ok: [kolla-control-netw]
changed: [kolla-compute-storage]

TASK [baremetal : Start docker] *************************************************************************************************************************************************************
ok: [kolla-control-netw]
changed: [kolla-compute-storage]

TASK [baremetal : Restart docker] ***********************************************************************************************************************************************************
skipping: [kolla-control-netw]
changed: [kolla-compute-storage]

TASK [baremetal : Enable docker] ************************************************************************************************************************************************************
ok: [kolla-control-netw]
changed: [kolla-compute-storage]

TASK [baremetal : Stop time service] ********************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Stop time service] ********************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Synchronizing time one-time] **********************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Start time sync service] **************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Start time sync service] **************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

TASK [baremetal : Change state of selinux] **************************************************************************************************************************************************
[WARNING]: Reboot is required to set SELinux state to 'permissive'

changed: [kolla-compute-storage]
ok: [kolla-control-netw]

TASK [baremetal : Reboot] *******************************************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]

PLAY RECAP **********************************************************************************************************************************************************************************
kolla-compute-storage : ok=40 changed=12 unreachable=0 failed=0 skipped=32 rescued=0 ignored=0
kolla-control-netw : ok=39 changed=1 unreachable=0 failed=0 skipped=33 rescued=0 ignored=0
kolla-deploy : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0

标签:control,compute,storage,servers,baremetal,ansible,multinode,netw,kolla
来源: https://www.cnblogs.com/ruiy/p/12463429.html