Re: [cinder][nova] Running parallel iSCSI/LVM c-vol backends is causing random failures in CI

Clark Boylan cboylan at sapwetik.org
Tue Mar 9 22:48:50 UTC 2021


On Tue, Mar 9, 2021, at 2:40 PM, Lee Yarwood wrote:
> On Tue, 9 Mar 2021 at 22:24, Jeremy Stanley <fungi at yuggoth.org> wrote:
> >
> > On 2021-03-09 22:19:48 +0000 (+0000), Jeremy Stanley wrote:
> > > On 2021-03-09 22:18:12 +0000 (+0000), Jeremy Stanley wrote:
> > > > On 2021-03-09 22:08:18 +0000 (+0000), Lee Yarwood wrote:
> > > > > I reported the following bug last week but I've yet to get any real
> > > > > feedback after asking a few times in irc.
> > > > >
> > > > > Running parallel iSCSI/LVM c-vol backends is causing random failures in CI
> > > > > https://bugs.launchpad.net/cinder/+bug/1917750
> > > > >
> > > > > AFAICT tgtadm is causing this behaviour. As I've stated in the bug
> > > > > with Fedora 32 and lioadm I don't see the WWN conflict between the two
> > > > > backends. Does anyone know if using lioadm is an option on Focal?
> > > >
> > > > https://docs.openstack.org/cinder/latest/admin/blockstorage-lio-iscsi-support.html
> > > > seems to indicate that you just need to set it in configuration. The
> > > > package that document mentions looks like a distro package
> > > > recommendation (does not exist under that name on PyPI) and the
> > > > equivalent lib on PyPI is included in cinder's requirements.txt
> > > > file, but I don't see either mentioned in the devstack source tree
> > > > so maybe that needs to be installed for DevStack-based jobs to take
> > > > advantage of it.
> > >
> > > Oh, and this would be the package to add from Ubuntu Focal:
> > >
> > > https://packages.ubuntu.com/focal/python3-rtslib-fb
> >
> > Nevermind, DevStack installs the projects with pip, so the one in
> > cinder's requirements.txt should already be present. In that case,
> > yeah, just set it in the config?
> 
> Yes correct, my question was more to see if there were any known
> issues with using lioadm on Focal. Anyway I've pushed the following
> WIP change for devstack to switch over to lioadm when using Focal:
> 
> WIP cinder: Default CINDER_ISCSI_HELPER to lioadm on Ubuntu
> https://review.opendev.org/c/openstack/devstack/+/779624

https://blog.e0ne.info/post/using-openstack-cinder-with-lio-target/ says the major issue with switching in cinder has been figuring out upgrade testing of the change. I don't know what that entails or why it might be a problem though.



More information about the openstack-discuss mailing list