This issue was fixed in the openstack/nova train-eol release.
** Changed in: nova/train
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/1904446
Title:
'GetPMEMNamespacesFailed' is not a valid exception
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Compute (nova) train series:
Fix Released
Status in OpenStack Compute (nova) ussuri series:
Fix Released
Status in OpenStack Compute (nova) victoria series:
Fix Released
Bug description:
Attempting to retrieve a non-existent PMEM device results in the
following traceback:
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova During handling
of the above exception, another exception occurred:
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova Traceback (most
recent call last):
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova File
"/usr/bin/nova-compute", line 10, in <module>
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova
sys.exit(main())
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova File
"/usr/lib/python3.6/site-packages/nova/cmd/compute.py", line 57, in main
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova
topic=compute_rpcapi.RPC_TOPIC)
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova File
"/usr/lib/python3.6/site-packages/nova/service.py", line 271, in create
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova
periodic_interval_max=periodic_interval_max)
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova File
"/usr/lib/python3.6/site-packages/nova/service.py", line 129, in __init__
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova
self.manager = manager_class(host=self.host, *args, **kwargs)
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova File
"/usr/lib/python3.6/site-packages/nova/compute/manager.py", line 571, in
__init__
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova self.driver
= driver.load_compute_driver(self.virtapi, compute_driver)
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova File
"/usr/lib/python3.6/site-packages/nova/virt/driver.py", line 1911, in
load_compute_driver
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova virtapi)
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova File
"/usr/lib/python3.6/site-packages/oslo_utils/importutils.py", line 44, in
import_object
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova return
import_class(import_str)(*args, **kwargs)
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova File
"/usr/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 446, in
__init__
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova
vpmem_conf=CONF.libvirt.pmem_namespaces)
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova File
"/usr/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 477, in
_discover_vpmems
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova vpmems_host
= self._get_vpmems_on_host()
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova File
"/usr/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 512, in
_get_vpmems_on_host
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova raise
exception.GetPMEMNamespacesFailed(reason=reason)
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova AttributeError:
module 'nova.exception' has no attribute 'GetPMEMNamespacesFailed'
./nova-compute.log.1:2020-11-16 16:01:22.704 7 ERROR nova
It seems there was a typo introduced when this code was added. The
code referenced 'GetPMEMNamespacesFailed' but the exception, which has
since been removed since it was "unused", was called
'GetPMEMNamespaceFailed'.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1904446/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp