ICode9

精准搜索请尝试: 精确搜索
首页 > 编程语言> 文章详细

kolla-ansible -i multinode bootstrap-servers

2020-03-11 16:51:24  阅读:742  来源: 互联网

标签:control compute storage servers baremetal ansible multinode netw kolla


 

 

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

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有