Blog / openstack
11 Posts
OpenStack运维
OpenStack运维 ---私有云--- 搭建+运维ansible脚本写playbook+Python调用api ---容器云--- 搭建 5分 容器编排写dockerfile 15分 写docker-compose 编排 写k8s编写持续集成jiekns、jion k8s运维编写简单的yaml文件+部署 ---公有云--- 挂在分区后 mklabel gpt 标识分区表 OpenStack运维
查看全文OpenStack setup, jz
OpenStack Setup I. Environment Preparation Management network configuration is set to Host-Only mode. The official explanation states that the management network accesses the internet to install software packages. If there is an internal yum source, the management network does not need to access the internet and can be configured in Host-Only mode. Tunnel network configuration is set to Host-Only mode because the tunnel network does not need to access the internet and is only used to carry the network traffic of OpenStack internal tenants. External network configuration is set to NAT mode. The external network of the control node mainly implements access from the OpenStack tenant network to the public internet, as well as other purposes.
查看全文Troubleshooting OpenStack
Error Log The most fundamental method to solve problems is: look at the logs, look at the logs, look at the logs. Moreover, there are call relationships between different components of OpenStack, so multiple logs need to be checked to locate the problem. After installing HORIZON, the WEB cannot be accessed, and the error is 500 INTERNAL SERVER ERROR img Horizon uses the apache service. The new version no longer has a horizon log; it has been integrated into httpd. Therefore, check the relevant logs on the control node: tail
查看全文heat orchestration
Heat Orchestration Deployment Common Heat Commands 1. Query Resource Type List ``` [root@controller ~]# openstack orchestration resource type list ``` # Filter out flavor resources ``` [root@controller ~]# openstack orchestration resource type list | grep -i flavor | OS::Nova::F ```
查看全文Ansible
Ansible Descriptive State Language ansible-doc [] Official Documentation Query [Options] 1. What is Ansible Ansible is an IT automation configuration management tool, where automation mainly体现在Ansible integrates a rich set of modules and components with various functionalities, allowing a series of operations to be completed through a single command line. This reduces repetitive work and maintenance costs, thereby improving工作效率. The ansible configuration file has priority issues ANSIBLE_CONFIG ansible.cfg
查看全文