<tt><font size=2>Jérôme Gallard <gallard.jerome@gmail.com> wrote
on 06/19/2014 03:55:10 AM:<br>
<br>
> We worked with Devstack and LXC and got the same issue ( https://<br>
> blueprints.launchpad.net/devstack/+spec/lxc-computes ).</font></tt>
<br>
<br><tt><font size=2>That blames open-iscsi, but the problem is now tgt.
Cinder seems to have switched from open-iscsi to tgt.</font></tt>
<br>
<br><tt><font size=2>The install of tgt inside the LXC fails. Here
is what that looks like:</font></tt>
<br>
<br><tt><font size=2># apt-get install tgt</font></tt>
<br><tt><font size=2>...</font></tt>
<br><tt><font size=2>Setting up tgt (1:1.0.43-0ubuntu4) ...</font></tt>
<br><tt><font size=2>start: Job failed to start</font></tt>
<br><tt><font size=2>invoke-rc.d: initscript tgt, action "start"
failed.</font></tt>
<br><tt><font size=2>dpkg: error processing package tgt (--configure):</font></tt>
<br><tt><font size=2> subprocess installed post-installation script
returned error exit status 1</font></tt>
<br><tt><font size=2>Processing triggers for libc-bin (2.19-0ubuntu6) ...</font></tt>
<br><tt><font size=2>Processing triggers for ureadahead (0.100.0-16) ...</font></tt>
<br><tt><font size=2>Errors were encountered while processing:</font></tt>
<br><tt><font size=2> tgt</font></tt>
<br><tt><font size=2>E: Sub-process /usr/bin/dpkg returned an error code
(1)</font></tt>
<br>
<br><tt><font size=2>What's going on is that the install script for the
tgt package launches the daemon, tgtd. That launch fails. Here
is a typescript showing more details of how it fails:</font></tt>
<br>
<br><tt><font size=2># tgtd -d 1 -f</font></tt>
<br><tt><font size=2>librdmacm: couldn't read ABI version.</font></tt>
<br><tt><font size=2>librdmacm: assuming: 4</font></tt>
<br><tt><font size=2>CMA: unable to get RDMA device list</font></tt>
<br><tt><font size=2>tgtd: iser_ib_init(3351) Failed to initialize RDMA;
load kernel modules?</font></tt>
<br><tt><font size=2>can't adjust oom-killer's pardon /proc/self/oom_score_adj,
Permission denied</font></tt>
<br>
<br><tt><font size=2>Thanks,</font></tt>
<br><tt><font size=2>Mike</font></tt>
<br>
<br>