You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by sai <sa...@gmail.com> on 2024/10/01 18:21:19 UTC
Re: PCI Slot changes for hot plugged devices after reboot/restart of VM
Hi All,
Any pointer on this Please.
FIRST NIC
<interface type='bridge'>
<mac address='02:00:1e:61:00:5d'/>
<source bridge='breth2-310'/>
<target dev='vnet18'/>
<model type='virtio'/>
<link state='up'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
HOTADD NIC
<interface type='bridge'>
<mac address='02:00:48:42:00:04'/>
<source bridge='breth2-313'/>
<target dev='vnet85'/>
<model type='virtio'/>
<link state='up'/>
<alias name='net1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</interface>
NIC After Reboot
FIRST NIC
<interface type='bridge'>
<mac address='02:00:1e:61:00:5d'/>
<source bridge='breth2-310'/>
<target dev='vnet18'/>
<model type='virtio'/>
<link state='up'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
HOTADD NIC1
<interface type='bridge'>
<mac address='02:00:48:42:00:04'/>
<source bridge='breth2-313'/>
<target dev='vnet85'/>
<model type='virtio'/>
<link state='up'/>
<alias name='net1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</interface>
can anyone please help what might be the issue here.
Regards,
sai
On Wed, Jul 31, 2024 at 2:00 PM sai <sa...@gmail.com> wrote:
>
> Hi All,
>
> I am using cloudstack 4.15 +KVM and I noticed that after reboot of vm the
> PCI slot of hot plugged nic or disk changes for windows and linux systems.
> Is there any change need to be done to overcome this issue?
>
> Thanks,
> sai
>
Re: PCI Slot changes for hot plugged devices after reboot/restart of VM
Posted by Nux <nu...@li.nux.ro>.
What OS are you on?
How does your network config look like?
On 2024-10-01 23:23, sai wrote:
> Hi @Nux,
> Thanks for responding.
> If I have static ip assigned to nic, then the connection is lost, can
> you
> please help me on how to lock in udev.
>
> On Tue, Oct 1, 2024 at 4:57 PM Nux <nu...@li.nux.ro> wrote:
>
>> I think this is pretty "normal", the NICs are never set in stone which
>> is why it's always good to lock them down in udev etc if it's
>> important.
>> How is this affecting you?
>>
>> On 2024-10-01 19:21, sai wrote:
>> > Hi All,
>> >
>> > Any pointer on this Please.
>> >
>> > FIRST NIC
>> > <interface type='bridge'>
>> > <mac address='02:00:1e:61:00:5d'/>
>> > <source bridge='breth2-310'/>
>> > <target dev='vnet18'/>
>> > <model type='virtio'/>
>> > <link state='up'/>
>> > <alias name='net0'/>
>> > <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
>> > function='0x0'/>
>> > </interface>
>> >
>> > HOTADD NIC
>> > <interface type='bridge'>
>> > <mac address='02:00:48:42:00:04'/>
>> > <source bridge='breth2-313'/>
>> > <target dev='vnet85'/>
>> > <model type='virtio'/>
>> > <link state='up'/>
>> > <alias name='net1'/>
>> > <address type='pci' domain='0x0000' bus='0x00' slot='0x07'
>> > function='0x0'/>
>> > </interface>
>> >
>> >
>> >
>> > NIC After Reboot
>> > FIRST NIC
>> > <interface type='bridge'>
>> > <mac address='02:00:1e:61:00:5d'/>
>> > <source bridge='breth2-310'/>
>> > <target dev='vnet18'/>
>> > <model type='virtio'/>
>> > <link state='up'/>
>> > <alias name='net0'/>
>> > <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
>> > function='0x0'/>
>> > </interface>
>> >
>> > HOTADD NIC1
>> > <interface type='bridge'>
>> > <mac address='02:00:48:42:00:04'/>
>> > <source bridge='breth2-313'/>
>> > <target dev='vnet85'/>
>> > <model type='virtio'/>
>> > <link state='up'/>
>> > <alias name='net1'/>
>> > <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
>> > function='0x0'/>
>> > </interface>
>> >
>> >
>> > can anyone please help what might be the issue here.
>> >
>> >
>> > Regards,
>> >
>> > sai
>> >
>> > On Wed, Jul 31, 2024 at 2:00 PM sai <sa...@gmail.com> wrote:
>> >
>> >>
>> >> Hi All,
>> >>
>> >> I am using cloudstack 4.15 +KVM and I noticed that after reboot of vm
>> >> the
>> >> PCI slot of hot plugged nic or disk changes for windows and linux
>> >> systems.
>> >> Is there any change need to be done to overcome this issue?
>> >>
>> >> Thanks,
>> >> sai
>> >>
>>
Re: PCI Slot changes for hot plugged devices after reboot/restart of VM
Posted by sai <sa...@gmail.com>.
Hi @Nux,
Thanks for responding.
If I have static ip assigned to nic, then the connection is lost, can you
please help me on how to lock in udev.
On Tue, Oct 1, 2024 at 4:57 PM Nux <nu...@li.nux.ro> wrote:
> I think this is pretty "normal", the NICs are never set in stone which
> is why it's always good to lock them down in udev etc if it's important.
> How is this affecting you?
>
> On 2024-10-01 19:21, sai wrote:
> > Hi All,
> >
> > Any pointer on this Please.
> >
> > FIRST NIC
> > <interface type='bridge'>
> > <mac address='02:00:1e:61:00:5d'/>
> > <source bridge='breth2-310'/>
> > <target dev='vnet18'/>
> > <model type='virtio'/>
> > <link state='up'/>
> > <alias name='net0'/>
> > <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> > function='0x0'/>
> > </interface>
> >
> > HOTADD NIC
> > <interface type='bridge'>
> > <mac address='02:00:48:42:00:04'/>
> > <source bridge='breth2-313'/>
> > <target dev='vnet85'/>
> > <model type='virtio'/>
> > <link state='up'/>
> > <alias name='net1'/>
> > <address type='pci' domain='0x0000' bus='0x00' slot='0x07'
> > function='0x0'/>
> > </interface>
> >
> >
> >
> > NIC After Reboot
> > FIRST NIC
> > <interface type='bridge'>
> > <mac address='02:00:1e:61:00:5d'/>
> > <source bridge='breth2-310'/>
> > <target dev='vnet18'/>
> > <model type='virtio'/>
> > <link state='up'/>
> > <alias name='net0'/>
> > <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> > function='0x0'/>
> > </interface>
> >
> > HOTADD NIC1
> > <interface type='bridge'>
> > <mac address='02:00:48:42:00:04'/>
> > <source bridge='breth2-313'/>
> > <target dev='vnet85'/>
> > <model type='virtio'/>
> > <link state='up'/>
> > <alias name='net1'/>
> > <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> > function='0x0'/>
> > </interface>
> >
> >
> > can anyone please help what might be the issue here.
> >
> >
> > Regards,
> >
> > sai
> >
> > On Wed, Jul 31, 2024 at 2:00 PM sai <sa...@gmail.com> wrote:
> >
> >>
> >> Hi All,
> >>
> >> I am using cloudstack 4.15 +KVM and I noticed that after reboot of vm
> >> the
> >> PCI slot of hot plugged nic or disk changes for windows and linux
> >> systems.
> >> Is there any change need to be done to overcome this issue?
> >>
> >> Thanks,
> >> sai
> >>
>
Re: PCI Slot changes for hot plugged devices after reboot/restart of VM
Posted by Nux <nu...@li.nux.ro>.
I think this is pretty "normal", the NICs are never set in stone which
is why it's always good to lock them down in udev etc if it's important.
How is this affecting you?
On 2024-10-01 19:21, sai wrote:
> Hi All,
>
> Any pointer on this Please.
>
> FIRST NIC
> <interface type='bridge'>
> <mac address='02:00:1e:61:00:5d'/>
> <source bridge='breth2-310'/>
> <target dev='vnet18'/>
> <model type='virtio'/>
> <link state='up'/>
> <alias name='net0'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> function='0x0'/>
> </interface>
>
> HOTADD NIC
> <interface type='bridge'>
> <mac address='02:00:48:42:00:04'/>
> <source bridge='breth2-313'/>
> <target dev='vnet85'/>
> <model type='virtio'/>
> <link state='up'/>
> <alias name='net1'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x07'
> function='0x0'/>
> </interface>
>
>
>
> NIC After Reboot
> FIRST NIC
> <interface type='bridge'>
> <mac address='02:00:1e:61:00:5d'/>
> <source bridge='breth2-310'/>
> <target dev='vnet18'/>
> <model type='virtio'/>
> <link state='up'/>
> <alias name='net0'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> function='0x0'/>
> </interface>
>
> HOTADD NIC1
> <interface type='bridge'>
> <mac address='02:00:48:42:00:04'/>
> <source bridge='breth2-313'/>
> <target dev='vnet85'/>
> <model type='virtio'/>
> <link state='up'/>
> <alias name='net1'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> function='0x0'/>
> </interface>
>
>
> can anyone please help what might be the issue here.
>
>
> Regards,
>
> sai
>
> On Wed, Jul 31, 2024 at 2:00 PM sai <sa...@gmail.com> wrote:
>
>>
>> Hi All,
>>
>> I am using cloudstack 4.15 +KVM and I noticed that after reboot of vm
>> the
>> PCI slot of hot plugged nic or disk changes for windows and linux
>> systems.
>> Is there any change need to be done to overcome this issue?
>>
>> Thanks,
>> sai
>>