Charm does not ensure that iscsid is running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Compute Charm |
Fix Released
|
Medium
|
Tiago Pasqualini da Silva |
Bug Description
Currently, nova-compute charm does not ensure that iscsid is being running. If this service is not running, iSCSI volumes cannot attach.
Deploying nova-compute charm on a bionic server reproduces this error:
# systemctl status iscsid
● iscsid.service - iSCSI initiator daemon (iscsid)
Loaded: loaded (/lib/systemd/
Active: inactive (dead)
Docs: man:iscsid(8)
Log trying to attach a volume:
Failed to attach df4cb304-
Traceback (most recent call last):
File "/usr/lib/
do_driver_
File "/usr/lib/
ret_val = method(obj, context, *args, **kwargs)
File "/usr/lib/
virt_driver, do_driver_attach)
File "/usr/lib/
do_driver_
File "/usr/lib/
self[
File "/usr/lib/
res = method(self, ctx, *args, **kwargs)
File "/usr/lib/
res = method(self, ctx, attachment_id, *args, **kwargs)
File "/usr/lib/
'code': getattr(ex, 'code', None)})
File "/usr/lib/
self.
File "/usr/lib/
six.
File "/usr/lib/
raise value
File "/usr/lib/
attachment_id, _connector)
File "/usr/lib/
resp = self._update(
File "/usr/lib/
resp, body = self.api.
File "/usr/lib/
return self._cs_
File "/usr/lib/
return self.request(url, method, **kwargs)
File "/usr/lib/
raise exceptions.
cinderclient.
After manually starting iscsid, I can attach an iscsi volume without any issues.
Changed in charm-nova-compute: | |
importance: | Undecided → Medium |
status: | New → In Progress |
milestone: | none → 19.04 |
Changed in charm-nova-compute: | |
milestone: | 19.04 → 19.07 |
Changed in charm-nova-compute: | |
status: | Fix Committed → Fix Released |
I'm pretty sure that nova has made use of the native userspace support for iscsi built into qemu; this was introduced a long time ago, making any dependency on kernel based integration and associated daemon obsolete.
If you are seeing an issue please provide logs from the nova-compute daemon with a full stacktrace.
Marking Incomplete.