neutron_vpnaas_custom_config is copied to old etc folder on service upgrade

Bug #2037649 reported by Dmitriy Rabotyagov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Unassigned

Bug Description

When performing openstack upgrade, neutron_vpnaas_custom_config is copied to /etc/neutron, that is a symlink to the old venv, since the venv is being re-link during handlers.

So there is a race condition, when config files are copied to the wrong environment.

Changed in openstack-ansible:
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_neutron (master)
Changed in openstack-ansible:
status: Invalid → In Progress
Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

Eventually, it's not code bug but documentation issue. Since it's up to a deployer to define destination directories for vpnaas files.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_neutron (master)

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/897431
Committed: https://opendev.org/openstack/openstack-ansible-os_neutron/commit/208ae99e2e3d385208922af53205b1fc2f93922e
Submitter: "Zuul (22348)"
Branch: master

commit 208ae99e2e3d385208922af53205b1fc2f93922e
Author: Dmitriy Rabotyagov <email address hidden>
Date: Thu Oct 5 15:34:39 2023 +0200

    [doc] Update example on how to define neutron_vpnaas_custom_config

    Closes-Bug: #2037649
    Change-Id: I55b11e225286f81ec83f287e713e79d7bb847d77

Changed in openstack-ansible:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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