project
20211012 kolla-ansible 관련 명령어
gusalstm
2021. 10. 12. 09:32
반응형
배포 시에 몇가지 조정을 위해 필요했던 명령어
ansible all -i inventory -m shell -a "sudo dnf install docker-ce docker-ce-cli containerd.io-1.4.9-3.1.el8 --nobest --allowerasing -y"
ansible all -i multinode -m shell -a "sudo docker login --usernamerygghl --passwordwkdgur10"
ansible all -i inventory -m shell -a "sudo dnf install docker-ce docker-ce-cli --nobest --allowerasing -y"
ansible all -i inventory -m shell -a "sudo dnf install containerd.io-1.4.9-3.1.el8 --nobest --allowerasing -y"
cat /etc/kolla/globals.yml |grep -v '#' |grep -v '^$'
ansible all -i inventory -m shell -a "sudo dnf install docker-ce docker-ce-cli containerd.io --nobest --allowerasing -y"
ansible all -i inventory -m shell -a "usermod -aG docker user01" --become
kolla-ansible -i multinode prechecks
---
kolla_base_distro: "centos"
kolla_install_type: "binary"
openstack_release: "ussuri"
kolla_internal_vip_address: "192.168.56.250"
kolla_external_vip_address: "10.0.2.250"
network_interface: "enp0s8"
kolla_external_vip_interface: "enp0s3"
neutron_external_interface: "enp0s9"
enable_openstack_core: "yes"
enable_cinder: "yes"
enable_cinder_backend_lvm: "yes"
enable_neutron_provider_networks: "yes"
nova_compute_virt_type: "qemu"
tls ### 인증 추가
storage interface ### 인증추가
docker run \
-p 8080:8080 \
-v /etc/guacamole/config:/config \
oznu/guacamole
- block:
- name: Check MariaDB service port liveness
wait_for:
host: "{{ api_interface_address }}"
port: "{{ mariadb_port }}"
connect_timeout: 1
timeout: 10
search_regex: "MariaDB"
register: check_mariadb_port_liveness
ignore_errors: yes
윈도우 메타데이터 입력
(virt) [user01@node1 work]$ openstack image set \
> --property hw_firmware_type=uefi \
> --property os_secure_boot=required \
> win10_2
728x90