Thanks Eugen, for the prompt response. config_drive is set to True in amphora VM. I tried to reach amphora VM from my controller node, but its not reachable. I found some old articles where they manually created a port on the OVS bridge for lbaas. ( https://cloudbase.it/openstack-on-arm64-lbaas/ ) . Is it still recommended ? if it is, should it be on both controller and compute ? On Mon, Feb 5, 2024 at 4:42 PM Eugen Block <eblock@nde.ag> wrote:
Hi,
can you verify if your amphorae instance has config_drive enabled?
control01:~ # openstack loadbalancer amphora list --long
gives you the list including "compute_id" which is the nova instance, then check:
control01:~ # openstack server show <UUID> | grep config_drive | config_drive | True
Usually, with external (provider) networks the instances require the config-drive to get their network configuration. You could also use a customized image for the amphorae to be able to login and inspect errors, that's how we usually do it.
Regards, Eugen
Zitat von Jayesh Chaudhari <jayesh.chaudhari1990@gmail.com>:
Folks,
I have set up kolla-ansible yoga openstack and configured Octavia using VLAN. But when I am trying to create a LB, it is stuck in pending create then eventually failed. And in logs I can see octavia-worker unable to connect to amphora instance.
Is there any sanity which I can do to check if my implementation is correct ? Or am I missing something? Please advise.
My configuration in global.yml enable_octavia: yes octavia_network_interface: "vlan.2140" octavia_auto_configure: yes octavia_amp_flavor: name: "amphora" is_public: yes vcpus: 2 ram: 1024 disk: 5 octavia_amp_security_groups: mgmt-sec-group: name: "lb-mgmt-sec-grp" rules: - protocol: icmp - protocol: tcp src_port: 22 dst_port: 22 octavia_amp_network: name: lb-mgmt-net provider_network_type: vlan provider_segmentation_id: 2140 provider_physical_network: physnet1 external: false shared: false subnet: name: lb-mgmt-subnet cidr: "10.145.50.128/26" allocation_pool_start: "10.145.50.135" allocation_pool_end: "10.145.50.190" gateway_ip: "10.145.50.129" enable_dhcp: yes octavia_amp_image_tag" "amphora" octavia_loadbalancer_topology: "SINGLE"
Thanks, Jayesh