ValueError for Invalid InitiatorConnector in s390
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Riedemann | ||
Newton |
Fix Released
|
Medium
|
Arne Recknagel | ||
Ubuntu Cloud Archive |
Fix Released
|
Medium
|
Unassigned | ||
Newton |
Fix Committed
|
Medium
|
Unassigned | ||
Ocata |
Fix Released
|
Medium
|
Unassigned | ||
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
Unassigned | ||
os-brick |
Fix Released
|
Undecided
|
Matt Riedemann | ||
nova (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Fix Committed
|
Medium
|
Unassigned | ||
Zesty |
Fix Released
|
Medium
|
Unassigned | ||
python-os-brick (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Confirmed
|
Medium
|
Unassigned | ||
Zesty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Description
===========
Calling the InitiatorConnector factory results in a ValueError for unsupported protocols, which goes unhandled and may crash a calling service.
Steps to reproduce
==================
- clone devstack
- make stack
Expected result
===============
The nova compute service should run.
Actual result
=============
A ValueError is thrown, which, in the case of the nova libvirt driver, is not handled appropriately. The compute service crashes.
Environment
===========
os|distro=kvmibm1
os|vendor=kvmibm
os|release=
git|cinder|
git|devstack|
git|nova|
pip|os-brick|1.7.0
Logs & Configs
==============
[...]
2016-11-03 17:56:57.204 46141 INFO nova.virt.driver [req-fb30a5af-
2016-11-03 17:56:57.442 46141 DEBUG os_brick.
2016-11-03 17:56:57.444 46141 DEBUG os_brick.
2016-11-03 17:56:57.445 46141 DEBUG os_brick.
2016-11-03 17:56:57.445 46141 CRITICAL nova [req-fb30a5af-
2016-11-03 17:56:57.445 46141 ERROR nova Traceback (most recent call last):
2016-11-03 17:56:57.445 46141 ERROR nova File "/usr/bin/
2016-11-03 17:56:57.445 46141 ERROR nova sys.exit(main())
2016-11-03 17:56:57.445 46141 ERROR nova File "/opt/stack/
2016-11-03 17:56:57.445 46141 ERROR nova topic=CONF.
2016-11-03 17:56:57.445 46141 ERROR nova File "/opt/stack/
2016-11-03 17:56:57.445 46141 ERROR nova periodic_
2016-11-03 17:56:57.445 46141 ERROR nova File "/opt/stack/
2016-11-03 17:56:57.445 46141 ERROR nova self.manager = manager_
2016-11-03 17:56:57.445 46141 ERROR nova File "/opt/stack/
2016-11-03 17:56:57.445 46141 ERROR nova self.driver = driver.
2016-11-03 17:56:57.445 46141 ERROR nova File "/opt/stack/
2016-11-03 17:56:57.445 46141 ERROR nova virtapi)
2016-11-03 17:56:57.445 46141 ERROR nova File "/usr/lib/
2016-11-03 17:56:57.445 46141 ERROR nova return import_
2016-11-03 17:56:57.445 46141 ERROR nova File "/opt/stack/
2016-11-03 17:56:57.445 46141 ERROR nova self._get_
2016-11-03 17:56:57.445 46141 ERROR nova File "/opt/stack/
2016-11-03 17:56:57.445 46141 ERROR nova driver_
2016-11-03 17:56:57.445 46141 ERROR nova File "/opt/stack/
2016-11-03 17:56:57.445 46141 ERROR nova transport=
2016-11-03 17:56:57.445 46141 ERROR nova File "/usr/lib/
2016-11-03 17:56:57.445 46141 ERROR nova raise ValueError(msg)
2016-11-03 17:56:57.445 46141 ERROR nova ValueError: Invalid InitiatorConnector protocol specified ISER
2016-11-03 17:56:57.445 46141 ERROR nova
Changed in nova: | |
assignee: | Arne Recknagel (arecknag) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Arne Recknagel (arecknag) |
Changed in os-brick: | |
status: | In Progress → Fix Released |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Arne Recknagel (arecknag) |
Changed in nova: | |
assignee: | Arne Recknagel (arecknag) → Matt Riedemann (mriedem) |
tags: | added: uosci |
Changed in cloud-archive: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in nova (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in nova (Ubuntu Yakkety): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in python-os-brick (Ubuntu Zesty): | |
status: | New → Fix Released |
importance: | Undecided → Medium |
Changed in python-os-brick (Ubuntu Yakkety): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in nova (Ubuntu Zesty): | |
status: | Confirmed → Fix Released |
Changed in ubuntu-z-systems: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: openstack-ibm |
Changed in ubuntu-z-systems: | |
status: | Confirmed → Fix Released |
That's probably b/c there is no mapping for ISER for s390x here:
http:// git.openstack. org/cgit/ openstack/ os-brick/ tree/os_ brick/initiator /connector. py?h=1. 7.0#n149