Generating Octavia config for Antelope fails when still running Zed kolla-toolbox

Bug #2049364 reported by Matt Crees
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Committed
Medium
Unassigned
Antelope
Fix Released
Medium
Matt Crees

Bug Description

Prior to upgrading to Antelope, it is helpful to generate the service config so we can check what changes will be made. This fails from Zed to Antelope as some attribute names in the Octavia role have been changed [1] to account for a newer version of the openstack.cloud collection.

```
TASK [octavia : Set octavia resources facts] *****************************************************************************************************************************************************************************************************************************************
Friday 12 January 2024 09:14:31 +0000 (0:00:01.977) 0:12:30.516 ********
fatal: [controller]: FAILED! =>
  msg: |-
    The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'networks'. 'dict object' has no attribute 'networks'

    The error appears to be in '/path/to/home/venvs/kolla-ansible/share/kolla-ansible/ansible/roles/octavia/tasks/get_resources_info.yml': line 72, column 3, but may
    be elsewhere in the file depending on the exact syntax problem.

    The offending line appears to be:

    - name: Set octavia resources facts
      ^ here
```

[1] https://review.opendev.org/c/openstack/kolla-ansible/+/878209

Revision history for this message
Bartosz Bezak (bbezak) wrote :
Changed in kolla-ansible:
importance: Undecided → Medium
status: New → Invalid
Changed in kolla-ansible:
status: Invalid → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/905500
Committed: https://opendev.org/openstack/kolla-ansible/commit/0d51e4256952c6ef02dbf2ddf76bad0349b9f6d5
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 0d51e4256952c6ef02dbf2ddf76bad0349b9f6d5
Author: Matt Crees <email address hidden>
Date: Fri Jan 12 16:55:43 2024 +0000

    Support older Octavia var names in Antelope

    Allows config to be generated for the Antelope release while the
    Zed Kolla-Toolbox container is deployed. This is useful when checking
    generated configuration before upgrading from Zed to Antelope.

    Closes-Bug: #2049364
    Change-Id: I2710805c781d6c3447fb3a50505595dc9bfc6e42

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

This issue was fixed in the openstack/kolla-ansible 16.4.0 release.

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.