Forwarding to libvirt-users for visibility.
On Wed, Oct 20, 2021 at 03:51:10PM +0800, Jaze Lee
wrote:> For someone who meets the same problem.
>
> I upgrade stein to w, use one centos stream 8 vm as ctrl, and one
> centos stream 8 server as cn,
> then test it. There is no problem with attaching disks. All disks are
> attached correctly.
> But we do not know what's the problem with stein. If someone meets the
> problem, you can update your openstack.
>
> Jaze Lee <jazeltq at gmail.com> ?2021?10?12??? ??9:20???
> > Andrea Bolognani <abologna at redhat.com> ?2021?10?12???
??12:07???
> > > On Fri, Oct 08, 2021 at 04:54:37PM +0800, Jaze Lee wrote:
> > > > Hello,
> > > > We run Openstack Stein on arm. It runs nova-compute(use
libvirt
> > > > as virt driver) on arm host. We found when built with disks
(use ceph
> > > > rbd) on arm hosts, the vm can not attach all disk correctly.
For
> > > > example, built with six disks, the vm may attach three
disks. No
> > > > obvious error can be fond in nova-compute, libvirt. We
compare aarch64
> > > > and x86, find when detach disk, the dmesg of the vm's os
is different.
> > > > May be the pciehg parameter is different?
> > > >
> > > > Did anyone met the problem? Or some suggestions?
> > >
> > > I think you might have just ran out of PCI ports available for
> > > hotplug. Please try setting
> > >
> > >
https://docs.openstack.org/nova/stein/configuration/config.html#libvirt.num_pcie_ports
> > >
> > > to a reasonable value and see whether that helps.
> >
> > Thanks.
> > I already set the value to a reasonable value. It is 15 in our
environment.
> > If the value is not set correctly, the nova-compute will complain no
> > available slot for pci device.
> > But it is not the case I talked about here.
--
Andrea Bolognani / Red Hat / Virtualization