Hello Wei,

Thanks for the response. I'll keep an eye on that issue, Thanks.

dhcp_release is definitely running when a VM is still online and/or
stopped. Do we need to make a PR to make this change for only expunged
VM's?

Do you have any clue as to my first two questions I mentioned?

Thanks for your help!

On Sat, Feb 22, 2025 at 1:55 AM Wei ZHOU <ustcweiz...@gmail.com> wrote:
>
> Hi,
>
> There is related but different issue 
> https://github.com/apache/cloudstack/issues/10436
> dhcp_release should be executed only when expunge vms
>
> -Wei
>
> On Sat, Feb 22, 2025 at 7:21 AM Tyler Wilson <ty...@ghosty.pw> wrote:
>>
>> Hello Users,
>>
>> We are having a strange problem with our routers in which leases are
>> getting released even for active VM's. Upon restarting the network it
>> seems to fix the problem, however I'd like to see why it's happening.
>>
>> I checked into the cloud.log and noticed on 'cloud-early-config'
>> execution I noticed quite a few warnings of 'Could not find patch
>> file, retrying' and eventually after it finally finished setting up
>> the systemvm it had a new dhcphosts.txt 'Wrote edited file
>> /etc/dhcphosts.txt'. Soon after there are  leases getting dropped via
>> 'dhcp_release'
>>
>> My questions is;
>>
>> 1. What is the flow for the DHCP lease databag generation, what
>> generates the file and from which service does it send?
>> 2. Is this patch file or databag logged anywhere that I can find?
>> 3. Are there any known issues with 4.20 with this sort of problem?
>>
>> Thanks for any and all assistance!

Reply via email to