Hi OpenStackers,
I am just beginning with openstack. I am trying kolla-ansible all-in-on installation on a Virtual Machine(on an Ubuntu 22.04 VM hosted by ESXi Server).
Deployment success, able to create VMs and networks.
Base VM Ubuntu-22.04 ( kolla-ansible all-in-one installation) Network details.
From the base VM, I am able to ping tenant VMs through network namespace from base VM . But from a tenant VM, I can't ping to 10.176.17.61( the base VM address)
I am unable to ping to my base VM IP from my tenant VM, whether my deployment is wrong ? How to check? also how to test internet connectivity from Tenant VM ( all VMs are default cirros VMs).
Note: Why ovs-vsctl not found on base VM ? Do I need to explicitly install, apt get install openvswitch-switch ?
Kolla-ansible won't install it by default??
(kolla_ansible_venv3) ubuntu@ubuntu-VM:~$ ovs-vsctl show
Command 'ovs-vsctl' not found, but can be installed with:
sudo apt install openvswitch-switch
(kolla_ansible_venv3) ubuntu@ubuntu-VM:~$
If any more details are required other than the following, I can provide.
# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto ens224
iface ens224 inet static
address 10.220.0.51
netmask 255.255.255.0
gateway 10.220.0.1
dns-nameserver 0.0.0.0
auto ens160
iface ens160 inet static
address 10.176.17.61
netmask 255.255.254.0
gateway 10.176.16.1
dns-nameserver 10.176.0.11
auto ens192
iface ens192 inet manual
up ip link set dev ens192 up
down ip link set dev ens192 down
globals.yml
(kolla_ansible_venv3) ubuntu@ubuntu-VM:~$ grep ^[^#] /etc/kolla/globals.yml
---
workaround_ansible_issue_8743: yes
config_strategy: "COPY_ALWAYS"
kolla_base_distro: "ubuntu"
openstack_release: "2023.1"
kolla_internal_vip_address: "10.220.0.24"
kolla_external_vip_address: "{{ kolla_internal_vip_address }}"
kolla_container_engine: docker
network_interface: "ens224"
neutron_external_interface: "ens192"
neutron_plugin_agent: "openvswitch"
nova_compute_virt_type: "qemu"
(kolla_ansible_venv3) ubuntu@ubuntu-VM:~$
BUT why brctl shows nothing enabled state as "no"
(kolla_ansible_venv3) ubuntu@ubuntu-VM:~$ brctl show
bridge name bridge id STP enabled interfaces
qbr1f4a7fde-87 8000.525b9c0d0f71 no qvb1f4a7fde-87
tap1f4a7fde-87
qbr6800c928-bb 8000.82aaa756a3cc no qvb6800c928-bb
tap6800c928-bb
qbr83937c49-06 8000.16da67140926 no qvb83937c49-06
tap83937c49-06
qbr9304eb11-59 8000.fa7e2e6ca3e3 no qvb9304eb11-59
tap9304eb11-59
(kolla_ansible_venv3) ubuntu@ubuntu-VM:~$
+--------------------------------------+-----------------------------------------------+
(kolla_ansible_venv3) ubuntu@ubuntu-VM:~$ nova list
nova CLI is deprecated and will be a removed in a future release
+--------------------------------------+--------------+--------+------------+-------------+--------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+--------------+--------+------------+-------------+--------------------+
| d402d554-a56e-4cc6-af06-694ea913c939 | greenboxes-1 | ACTIVE | - | Running | GREEN=10.10.10.177 |
| a69e4c16-e02f-4b5c-b6b1-e929ec309495 | greenboxes-2 | ACTIVE | - | Running | GREEN=10.10.10.6 |
| 6b4d4b5d-2cc6-463d-89d9-5180f16ec3e3 | redboxes-1 | ACTIVE | - | Running | RED=20.20.20.104 |
| a29576e8-46ca-4311-93ad-f2ca540a9880 | redboxes-2 | ACTIVE | - | Running | RED=20.20.20.121 |
+--------------------------------------+--------------+--------+------------+-------------+--------------------+
(kolla_ansible_venv3) ubuntu@ubuntu-VM:~$ neutron port-list -c id -c fixed_ips
neutron CLI is deprecated and will be removed in the Z cycle. Use openstack CLI instead.
+--------------------------------------+------------------------------------------------------
(kolla_ansible_venv3) ubuntu@ubuntu-VM:~$ neutron port-list -c id -c fixed_ips
neutron CLI is deprecated and will be removed in the Z cycle. Use openstack CLI instead.
+--------------------------------------+-------------------------------------------------------------------------------------+
| id | fixed_ips |
+--------------------------------------+-------------------------------------------------------------------------------------+
| 02344545-8003-4f0c-bc58-b0812d400939 | {"subnet_id": "754de697-6cdb-4277-9d87-0b3fbabb9744", "ip_address": "20.20.20.2"} |
| 1f4a7fde-87dc-4547-9ea2-cd0084cd68ff | {"subnet_id": "754de697-6cdb-4277-9d87-0b3fbabb9744", "ip_address": "20.20.20.104"} |
| 6800c928-bbac-4c9f-9db0-5d6126a4f46f | {"subnet_id": "b3f4fb8c-a926-4fc0-a9b5-28d7c2ac649b", "ip_address": "10.10.10.177"} |
| 83937c49-06a0-4fc6-b34c-76a627989fb2 | {"subnet_id": "b3f4fb8c-a926-4fc0-a9b5-28d7c2ac649b", "ip_address": "10.10.10.6"} |
| 9304eb11-5970-4197-b589-2c04a158fad9 | {"subnet_id": "754de697-6cdb-4277-9d87-0b3fbabb9744", "ip_address": "20.20.20.121"} |
| 9fcaebab-36a7-401e-97dc-06755b20e817 | {"subnet_id": "b3f4fb8c-a926-4fc0-a9b5-28d7c2ac649b", "ip_address": "10.10.10.2"} |
+--------------------------------------+-------------------------------------------------------------------------------
(kolla_ansible_venv3) ubuntu@ubuntu-VM:~$ openstack network list
+--------------------------------------+-------+--------------------------------------+
| ID | Name | Subnets |
+--------------------------------------+-------+--------------------------------------+
| 20374e5f-6639-4e90-8241-2c3ddec72684 | RED | 754de697-6cdb-4277-9d87-0b3fbabb9744 |
| 35fe9fe1-05d1-42ea-a3cb-e8f7588ca571 | EXT1 | c35e54e2-4ff5-4775-ab4e-21b24074745b |
| 515ec17a-16fa-4be2-ae5f-afc4af388c3d | GREEN | b3f4fb8c-a926-4fc0-a9b5-28d7c2ac649b |
+--------------------------------------+-------+--------------------------------------+
(kolla_ansible_venv3) ubuntu@ubuntu-VM:~$
Thank you,
Krish