auth_version of neutron_lbaas need to be changed to version 3

Bug #1738115 reported by ByungYeol Woo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Cong Ha Minh

Bug Description

Hi

I deployed octavia by using kolla-ansible.
My globals.yml is as below:

=======================================
openstack_release: "5.0.0"
enable_octavia: "yes"
enable_horizon_neutron_lbaas: "{{ enable_neutron_lbaas | bool }}"
enable_neutron_lbaas: "yes"
octavia_loadbalancer_topology: "SINGLE"
octavia_amp_boot_network_list: "3815c029-366c-49ab-8a8d-6c5536ad3f01"
octavia_amp_secgroup_list: "b3ecf707-030f-4523-8543-d716820b7529"
octavia_amp_flavor_id: "cdfe552f-5eb7-4d23-a2e4-6d2d76cad5be"
=======================================

I created secret keys, network, amphora image, flavor, security groups manualy.
And I tried to make loadbalancer, but I found auth errors as below:

=======================================
2017-12-13 17:04:18.933 25 ERROR neutron_lbaas.services.loadbalancer.plugin [req-5cc77ba5-f93a-4c86-b5f6-d93e4c934a4c 578d8f8561aa4d87960d70ce522fbfd2 48f5294c7beb4260b721bc0106e78e4c - default defa
ult] There was an error in the driver: NotFound: (http://222.122.40.50:5000/v2.0/tokens): The resource could not be found. (HTTP 404) (Request-ID: req-dbc8fca4-9f15-4bd7-9853-6c41ec6c000f)

2017-12-13 17:04:18.933 25 ERROR neutron_lbaas.services.loadbalancer.plugin NotFound: (http://222.122.40.50:5000/v2.0/tokens): The resource could not be found. (HTTP 404) (Request-ID: req-dbc8fca4-9
f15-4bd7-9853-6c41ec6c000f)
=======================================

I found this problem was due to auth version of neutron_lbaas.conf.
I think auth_url and auth_version need to be changed to version 3 of "kolla-ansible/ansible/roles/neutron/templates/neutron_lbaas.conf.j2"

Cong Ha Minh (conghm96)
Changed in kolla-ansible:
assignee: nobody → Ha Minh Cong (l4ulegend)
Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/569921
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=438ae3b640f9a61fc409f1f317da8437e065cd3b
Submitter: Zuul
Branch: master

commit 438ae3b640f9a61fc409f1f317da8437e065cd3b
Author: Cong Ha Minh <email address hidden>
Date: Tue May 22 11:07:22 2018 +0700

    Use lbproxy instead of lbagent in neutron when deploy Octavia

    Disable neutron-lbaas-agent and use lbaasv2-proxy when enable octavia.
    Use keystone-auth v3 and internal endpoint for lbaasv2 plugin.

    Change-Id: I69e8436f3722cf99644457323b71b94dc9036bb9
    Co-Authored-By: Hieu LE <email address hidden>
    Closes-Bug: #1756771
    Closes-Bug: #1738115

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 7.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 7.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.