Uh oh!
There was an error while loading. Please reload this page.
vr: reload dnsmasq when start vms - #5319
Conversation
weizhouapache
commented
Aug 16, 2021
@blueorangutan package |
blueorangutan
commented
Aug 16, 2021
@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Aug 16, 2021
Packaging result: ✔️ el7 ✖️ el8 ✔️ debian. SL-JID 883 |
weizhouapache
commented
Aug 16, 2021
@blueorangutan test matrix |
blueorangutan
commented
Aug 16, 2021
@weizhouapache a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
blueorangutan
commented
Aug 16, 2021
Trillian test result (tid-1660)
|
blueorangutan
commented
Aug 17, 2021
Trillian test result (tid-1662)
|
blueorangutan
commented
Aug 17, 2021
Trillian test result (tid-1661)
|
weizhouapache
commented
Aug 17, 2021
@blueorangutan test |
blueorangutan
commented
Aug 17, 2021
@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Aug 17, 2021
Trillian test result (tid-1675)
|
| self.delete_leases() | ||
| self.delete_leases() | ||
| self.write_hosts() |
There was a problem hiding this comment.
@weizhouapache can you explain what this line does? Isn't deleting leases going to cause any regression?
There was a problem hiding this comment.
@rhtyd
the method delete_leases was mainly introduced by #3351, which is used to remove entries from dnsmasq.leases file for VMs which have been removed (no impact on all existing vms).
in my opinion, it will not cause any regression. the only issue I see is that execution time will be increased few milliseconds if stop/start a vm(currently delete_leases is not triggered).
cloudstack/systemvm/debian/opt/cloud/bin/cs/CsDhcp.py
Lines 134 to 154 in 737f50d
There was a problem hiding this comment.
@rhtyd anyway, I added a new commit to address your comment.
leases will be deleted only when one of config files is changed.
weizhouapache
commented
Aug 19, 2021
@blueorangutan package |
blueorangutan
commented
Aug 19, 2021
@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Aug 19, 2021
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 931 |
weizhouapache
commented
Aug 19, 2021
@blueorangutan test |
blueorangutan
commented
Aug 19, 2021
@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Aug 19, 2021
Trillian test result (tid-1720)
|
yadvr
commented
Aug 20, 2021
Suggested tests if not already done - please check/confirm @weizhouapache cc @nvazquez Monitor dnsmasq service and check expected outcome for cases in both isolated network and VPC tier: (maybe more cases you can think of?)
|
weizhouapache
commented
Aug 23, 2021
@rhtyd @nvazquez I will test the scenarios. |
weizhouapache
commented
Aug 24, 2021
@rhtyd ,cc @nvazquez |
Description
This PR fixed#5208 and #3613
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?