The Ip - 4
The Ip - 4
you can modify the instructions in the guide you provided. Here's how to proceed:
1. Preparation
ethernets:
enp0s3:
dhcp4: true
version: 2
○
Adjust /etc/hosts:
bash
Copy code
sudo tee /etc/hosts << EOT
EOT
○
Install Updates
bash
Copy code
sudo apt update && sudo apt full-upgrade -y
3.
2. Install Kolla-Ansible
Set Up Dependencies
bash
Copy code
sudo apt-get install python3-dev libffi-dev gcc libssl-dev
python3-selinux python3-setuptools python3-venv -y
source kolla-venv/bin/activate
1.
Prepare Configurations
bash
Copy code
sudo mkdir -p /etc/kolla
cp -r kolla-venv/share/kolla-ansible/etc_examples/kolla/* /etc/kolla
cp kolla-venv/share/kolla-ansible/ansible/inventory/* .
2.
3. Configure OpenStack
Edit the /etc/kolla/globals.yml file with the following adjustments for single
network and storage:
yaml
Copy code
# General settings
kolla_base_distro: "ubuntu"
kolla_install_type: "source"
openstack_release: "master"
neutron_external_interface: "enp0s3"
# Nova settings
# Cinder settings
enable_cinder: "yes"
enable_cinder_backend_lvm: "yes"
cinder_volume_group: "cinder-volumes"
kolla_enable_tls_external: "no"
kolla_enable_tls_internal: "no"
# Monitoring (optional)
enable_prometheus: "no"
enable_grafana: "no"
4. Set Up Storage
sudo vgs
1.
5. Deploy OpenStack
Generate Passwords:
bash
Copy code
kolla-genpwd
sed -i 's#keystone_admin_password:.*#keystone_admin_password:
kolla#g' /etc/kolla/passwords.yml
1.
Run Deployment:
bash
Copy code
kolla-ansible install-deps
kolla-ansible post-deploy
2.
6. Verify Setup
1.
2. Access the Horizon Dashboard:
○ URL: http://192.168.1.10 (or the IP used in
kolla_internal_vip_address)
○ Username: admin
○ Password: kolla
Would you like to dive deeper into any specific part of the setup?
4o
You said:
ChatGPT said:
ChatGPT
The commands pvcreate, vgcreate, and vgs are part of the LVM (Logical Volume
Manager) utilities, which are not installed by default on all Linux systems. You need to
install the required package to use these commands.
bash
Copy code
sudo apt-get install lvm2 -y
Verify Installation
bash
Copy code
bash
Copy code
sudo vgs
This should set up the physical volume and volume group required for Cinder
storage.