kolla-ansible cyborg.config error

Bug #1941704 reported by rj
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Medium
wu.chunyang

Bug Description

after kolla-ansible deploy cyborg, the /etc/kolla/cyborg-api/cyborg.config is incorrect like this:
[keystone_authtoken]
memcache_security_strategy = ENCRYPT
memcache_secret_key = uKQaiuccOg1iFfEjMoBXTf6hNJnZ4yQ3YjI50xlp
memcache_servers = 10.193.0.11:11211,10.193.0.10:11211auth_uri = http://10.193.0.253:5000
project_domain_name = Default

fix:
modify /opt/kolla-ansible/ansible/roles/cyborg/templates/cyborg.conf.j2 add an empty line between memcache_servers and auth_uri
[keystone_authtoken]
memcache_security_strategy = ENCRYPT
memcache_secret_key = {{ memcache_secret_key }}
memcache_servers = {% for host in groups['memcached'] %}{{ 'api' | kolla_address(host) | put_address_in_context('memcache') }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}

auth_uri = {{ keystone_internal_url }}

Revision history for this message
Mark Goddard (mgoddard) wrote :

Thanks rj, are you able to propose this fix?

Changed in kolla-ansible:
importance: Undecided → Medium
wu.chunyang (wuchunyang)
Changed in kolla-ansible:
assignee: nobody → wu.chunyang (wuchunyang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)
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.opendev.org/c/openstack/kolla-ansible/+/815672
Committed: https://opendev.org/openstack/kolla-ansible/commit/172c29cb11b40f8b8405cd3eac0f4bc8ee76d15e
Submitter: "Zuul (22348)"
Branch: master

commit 172c29cb11b40f8b8405cd3eac0f4bc8ee76d15e
Author: wu.chunyang <email address hidden>
Date: Wed Oct 27 22:02:30 2021 +0800

    Fix wrong opts in cyborg.conf

    Add an empty line between memcache_servers and www_authenticate_uri

    Closes-Bug: #1941704
    Change-Id: Ied83865eb33aceaf738c21363f02bcccbcd05738

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/818907

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/818907
Committed: https://opendev.org/openstack/kolla-ansible/commit/be9454ab71e9443706b22015d1cb0e4a21b84cda
Submitter: "Zuul (22348)"
Branch: stable/xena

commit be9454ab71e9443706b22015d1cb0e4a21b84cda
Author: wu.chunyang <email address hidden>
Date: Wed Oct 27 22:02:30 2021 +0800

    Fix wrong opts in cyborg.conf

    Add an empty line between memcache_servers and www_authenticate_uri

    Closes-Bug: #1941704
    Change-Id: Ied83865eb33aceaf738c21363f02bcccbcd05738
    (cherry picked from commit 172c29cb11b40f8b8405cd3eac0f4bc8ee76d15e)

tags: added: in-stable-xena
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers