Hi,

Any pointers on this please.


Thanks,
Sai

On Tue, Jul 15, 2025, 10:43 AM sai <sai.kr...@gmail.com> wrote:

> Hi kiran,
>
> I have collected the agent logs, the issue is happening when we add more
> than one or two volumes/networks for running vm with uefi enabled.
>
> WARN [kvm.storage.KVMStorageProcessor] (agentRequest-Handler-3:null)
> (logid:f74cb22b) Failed to attach device to i-1-2976-VM: internal error: No
> more available PCI slots
>   DEBUG [kvm.storage.KVMStorageProcessor] (agentRequest-Handler-3:null)
> (logid:f74cb22b) Failed to attach volume:
> 8b3ee875-81ac-48b7-8f6f-b557f9e790e4, due to
>  org.libvirt.LibvirtException: internal error: No more available PCI slots
>      at org.libvirt.ErrorHandler.processError(Unknown Source)
>      at org.libvirt.ErrorHandler.processError(Unknown Source)
>      at org.libvirt.Domain.attachDevice(Unknown Source)
>      at
> com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.attachOrDetachDevice(KVMStorageProcessor.java:1248)
>      at
> com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.attachOrDetachDisk(KVMStorageProcessor.java:1522)
>      at
> com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.attachOrDetachDisk(KVMStorageProcessor.java:1350)
>      at
> com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.attachVolume(KVMStorageProcessor.java:1553)
>      at
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:168)
>      at
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:70)
>
> Can you please let me know is this libvirt issue?
>
> Thanks,
> Sai
>
> On Tue, Jul 8, 2025, 10:30 PM sai <sai.kr...@gmail.com> wrote:
>
>> Hi kiran,
>>
>> Yeah I just got no more available pci slot exception in agent logs.I will
>> try to collect the logs and upload.
>>
>> Thanks & Regards,
>> Sai
>>
>> On Tue, Jul 8, 2025, 8:28 PM Kiran Chavala <kiran.chav...@shapeblue.com>
>> wrote:
>>
>>>
>>>
>>> Hi Sai
>>>
>>> Did you find any exception in the kvm agent logs?
>>>
>>> Could you please log a issue upstream with the logs(management server
>>> and kvm agent logs)  to troubleshoot further
>>>
>>> https://github.com/apache/cloudstack/issues
>>>
>>> Regards
>>> Kiran
>>>
>>>
>>>
>>>
>>>
>>>
>>> From: sai <sai.kr...@gmail.com>
>>> Date: Wednesday, 9 July 2025 at 8:28 AM
>>> To: users@cloudstack.apache.org <users@cloudstack.apache.org>
>>> Subject: Re: Regarding PCI slots
>>> Hi Rohit,
>>>
>>> Thanks for responding. But I am getting issue after adding three volumes
>>> or
>>> three networks and also this issue is seen while adding devices to uefi
>>> vms
>>> in kvm environment.Do you suggest anything for this.
>>>
>>> Regards,
>>> Sai
>>>
>>>
>>>
>>>
>>> On Tue, Jul 8, 2025, 7:55 PM Kiran Chavala <kiran.chav...@shapeblue.com>
>>> wrote:
>>>
>>> > Hi Sai
>>> >
>>> > Cloudstack entirely depends on kvm/libvirt limitations
>>> >
>>> > KVM generally provides 32 PCI slots, which are used to connect several
>>> > devices.
>>> >
>>> >
>>> >
>>> https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/5/html/virtualization/sect-virtualization-virtualization_limitations-kvm_limitations
>>> >
>>> > https://github.com/apache/cloudstack/pull/8654
>>> >
>>> >
>>> > Regards
>>> > Kiran
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > From: sai <sai.kr...@gmail.com>
>>> > Date: Tuesday, 8 July 2025 at 11:24 PM
>>> > To: users@cloudstack.apache.org <users@cloudstack.apache.org>
>>> > Subject: Regarding PCI slots
>>> > Hi All,
>>> >
>>> > I have query on adding network and volume to vm, while adding those i
>>> am
>>> > getting no more available pci slots error from libvirt. When I see
>>> > discussions in community the only option is to stop and add resources
>>> and
>>> > restart the vm. Is that only option we have or anything from code
>>> needs to
>>> > be fixed to add while vm is in running state. Else is there any PR
>>> fixed
>>> > for this.
>>> >  Thanks in advance.
>>> >
>>> >
>>> > Regards,
>>> > Sai
>>> >
>>>
>>

Reply via email to