kolla-ansible常用命令

半兽人 发表于: 2024-12-20   最后更新时间: 2024-12-20 15:38:24  
{{totalSubscript}} 订阅, 16 游览

常用命令

## 部署
kolla-ansible deploy -i ./multinode

## 重新配置
kolla-ansible reconfigure -i multinode 

## 引导
kolla-ansible bootstrap-servers -i ./multinode

## 卸载
kolla-ansible destroy -i multinode --yes-i-really-really-mean-it

详情:

# kolla-ansible -h
usage: kolla-ansible [--version] [-v | -q] [--log-file LOG_FILE] [-h] [--debug]

Kolla Ansible Command Line Interface (CLI)

options:
  --version             show program's version number and exit
  -v, --verbose         Increase verbosity of output. Can be repeated.
  -q, --quiet           Suppress output except warnings and errors.
  --log-file LOG_FILE
                        Specify a file to log output. Disabled by default.
  -h, --help            Show help message and exit.
  --debug               Show tracebacks on errors.

Commands:
  bootstrap-servers  Bootstrap servers with Kolla Ansible deploy dependencies
  certificates  Generate self-signed certificate for TLS *For Development Only*
  complete  print bash completion command (cliff)
  deploy  Generate config, bootstrap and start all Kolla Ansible containers
  deploy-bifrost  Deploy and start bifrost container
  deploy-containers  Only deploy and start containers (no config updates or bootstrapping)
  deploy-servers  Enroll and deploy servers with bifrost
  destroy  Destroy Kolla Ansible containers, volumes and host configuration!
  gather-facts  Gather Ansible facts on hosts
  genconfig  Generate configuration files for services. No container changes!
  help  print detailed help for another command (cliff)
  install-deps  Install Ansible Galaxy dependencies
  mariadb-backup  Take a backup of MariaDB databases. See help for options
  mariadb-recovery  Recover a completely stopped MariaDB cluster
  nova-libvirt-cleanup  Clean up disabled nova_libvirt containers
  octavia-certificates  Generate certificates for octavia deployment
  post-deploy  Do post deploy on deploy node
  prechecks  Do pre-deployment checks for hosts
  prune-images  Prune orphaned Kolla Ansible docker images
  pull  Pull all images for containers. Only pulls, no container changes
  rabbitmq-reset-state  Force reset the state of RabbitMQ
  reconfigure  Reconfigure enabled OpenStack service
  stop  Stop Kolla Ansible containers
  upgrade  Upgrades existing OpenStack Environment
  upgrade-bifrost  Upgrades an existing bifrost container
  validate-config  Validate configuration files for enabled OpenStack services
更新于 2024-12-20

查看OpenStack更多相关的文章或提一个关于OpenStack的问题,也可以与我们一起分享文章