yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #89745
[Bug 1990121] Fix included in openstack/nova 26.0.0.0rc2
This issue was fixed in the openstack/nova 26.0.0.0rc2 release
candidate.
** Changed in: nova/zed
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1990121
Title:
Nova 26 needs to depend on os-traits >= 2.9.0
Status in OpenStack Compute (nova):
Fix Committed
Status in OpenStack Compute (nova) trunk series:
Fix Released
Status in OpenStack Compute (nova) zed series:
Fix Released
Bug description:
Without the latest os-traits, we get unit test failures like below.
======================================================================
FAIL: nova.tests.unit.compute.test_pci_placement_translator.TestTranslator.test_trait_normalization_09
nova.tests.unit.compute.test_pci_placement_translator.TestTranslator.test_trait_normalization_09
----------------------------------------------------------------------
testtools.testresult.real._StringException: pythonlogging:'': {{{
2022-09-17 10:46:54,848 WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
2022-09-17 10:46:54,849 WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
2022-09-17 10:46:54,851 WARNING [oslo_policy.policy] Policy Rules ['os_compute_api:extensions', 'os_compute_api:os-floating-ip-pools', 'os_compute_api:os-quota-sets:defaults', 'os_compute_api:os-availability-zone:list', 'os_compute_api:limits', 'project_member_api', 'project_reader_api', 'project_member_or_admin', 'project_reader_or_admin', 'os_compute_api:limits:other_project', 'os_compute_api:os-lock-server:unlock:unlock_override', 'os_compute_api:servers:create:zero_disk_flavor', 'compute:servers:resize:cross_cell', 'os_compute_api:os-shelve:unshelve_to_host'] specified in policy files are the same as the defaults provided by the service. You can remove these rules from policy files which will make maintenance easier. You can detect these redundant rules by ``oslopolicy-list-redundant`` tool also.
}}}
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ddt.py", line 191, in wrapper
return func(self, *args, **kwargs)
File "/<<PKGBUILDDIR>>/nova/tests/unit/compute/test_pci_placement_translator.py", line 92, in test_trait_normalization
ppt._get_traits_for_dev({"traits": trait_names})
File "/<<PKGBUILDDIR>>/nova/compute/pci_placement_translator.py", line 78, in _get_traits_for_dev
os_traits.COMPUTE_MANAGED_PCI_DEVICE
AttributeError: module 'os_traits' has no attribute 'COMPUTE_MANAGED_PCI_DEVICE'
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1990121/+subscriptions
References