[openstack-dev] [Octavia] Unable to plug VIP

Michael Johnson johnsomor at gmail.com
Wed Jun 8 03:40:48 UTC 2016


I have not seen this.  Can you please open a bug in launchpad and
include your o-cw.log and /var/log/upstart/amphora-agent.log from the
affected amphora?

Thank you,
Michael


On Tue, Jun 7, 2016 at 5:09 AM, Babu Shanmugam <bschanmu at redhat.com> wrote:
> Hi,
> I am using octavia deployed using devstack. I am *never* able to
> successfully create a loadbalancer. Following is my investigation,
>
> 1. When a loadbalancer is created, octavia controller sends plug_vip request
> to the amphora VM.
> 2. It waits for some time till the connection to the amphora is established.
> 3. After it successfully connects, octavia controller gets response
> {"details": "No suitable network interface found"} to plug_vip request.
> 4. I tried to get the list of interfaces attached to the amphora VM using
> subprocess.check_cmd("sudo virsh domiflist") before returning frpm plug_vip
> (https://github.com/openstack/octavia/blob/master/octavia/amphorae/drivers/haproxy/rest_api_driver.py#L326)
> and found that there is indeed a veth device attached to the VM with that
> MAC sent in the request.
> 5. From the amphora server code, I could understand that the possible place
> for this exception is
> https://github.com/openstack/octavia/blob/master/octavia/amphorae/backends/agent/api_server/plug.py#L53.
> But, when I ssh to the amphora VM, I was able to see the 'amphora-haproxy'
> netns created and also the interface configuration file for eth1 device,
> which should have been executed after #L53.
>
> I am not sure why this problem happens. Everything seems to be fine, but I
> am still facing this problem. Have you seen this problem before?
>
> Thank you,
> Babu
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list