Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop @cached decorator from openstack_release() #850

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

coreycb
Copy link
Contributor

@coreycb coreycb commented Sep 29, 2023

The openstack_release() function is typically called (indirectly) by os_release() which already does caching. The caching of openstack_release() was preventing updates to the value during upgrading to a new release of openstack.

Closes-Bug: #2037751

The openstack_release() function is typically called (indirectly)
by os_release() which already does caching. The caching of
openstack_release() was preventing updates to the value during
upgrading to a new release of openstack.

Closes-Bug: #2037751
openstack-mirroring pushed a commit to openstack/charm-nova-cloud-controller that referenced this pull request Oct 2, 2023
The was removed from upstream nova in the 2023.2 cycle
via commit 5edd805fe2395f35ecdfe5b589a51dc00565852f.

The nova release note states:

The ``AvailabilityZoneFilter`` was deprecated for removal
in 24.0.0 (Xena) and has now been removed.
The functionality of the``AvailabilityZoneFilter`` has been
replaced by the``map_az_to_placement_aggregate`` pre-filter.
The  pre-filter was introduced in 18.0.0 (Rocky) and enabled
by default in 24.0.0 (Xena). This pre-filter is now always
enabled and the ``[scheduler] query_placement_for_availability_zone``
config option has been removed.

This change also syncs the charm-helpers change from:
juju/charm-helpers#850

Closes-Bug: #2037751
Closes-Bug: #2036766
Change-Id: I315900a7e32ec66b27fa69961e9b7dcb9fa1f949
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Oct 2, 2023
* Update charm-nova-cloud-controller from branch 'master'
  to f022edc81f271020a4fcba722eeda13d794b0b72
  - Merge "Drop AvailabilityZoneFilter inline with upstream removal"
  - Drop AvailabilityZoneFilter inline with upstream removal
    
    The was removed from upstream nova in the 2023.2 cycle
    via commit 5edd805fe2395f35ecdfe5b589a51dc00565852f.
    
    The nova release note states:
    
    The ``AvailabilityZoneFilter`` was deprecated for removal
    in 24.0.0 (Xena) and has now been removed.
    The functionality of the``AvailabilityZoneFilter`` has been
    replaced by the``map_az_to_placement_aggregate`` pre-filter.
    The  pre-filter was introduced in 18.0.0 (Rocky) and enabled
    by default in 24.0.0 (Xena). This pre-filter is now always
    enabled and the ``[scheduler] query_placement_for_availability_zone``
    config option has been removed.
    
    This change also syncs the charm-helpers change from:
    juju/charm-helpers#850
    
    Closes-Bug: #2037751
    Closes-Bug: #2036766
    Change-Id: I315900a7e32ec66b27fa69961e9b7dcb9fa1f949
@freyes freyes merged commit fb4c776 into juju:master Oct 3, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants