| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✖centos6 ✔centos7 ✔debian. JID-2782 |
Sorry, something went wrong.
|
@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2787 |
Sorry, something went wrong.
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Sorry, something went wrong.
|
Trillian test result (tid-3584)
|
Sorry, something went wrong.
|
@rhtyd a Trillian-Jenkins matrix job (centos6 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
Sorry, something went wrong.
|
Trillian test result (tid-3587)
|
Sorry, something went wrong.
|
Trillian test result (tid-3589)
|
Sorry, something went wrong.
|
Is the fix implemented by this PR ready to be tested? |
Sorry, something went wrong.
|
Hi @onitake the WIP tag stands for 'Work in progress' which means this is still not ready. Having said that, you can test it now but you may expect new changes |
Sorry, something went wrong.
| mac = lease[1] | ||
| ip = lease[2] | ||
| if mac not in macs_dhcphosts: | ||
| cmd = "dhcp_release %s %s" % (ip, mac) |
There was a problem hiding this comment.
@nvazquez the dhcp_release <interface> parameter is missing here
See https://manpages.debian.org/stretch/dnsmasq-utils/dhcp_release.1.en.html
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks I'll fix this
Sorry, something went wrong.
There was a problem hiding this comment.
Fixed @gildegoma @nvazquez
Sorry, something went wrong.
|
@nvazquez can you address review comments and also advise if this PR is ready for review and testing? |
Sorry, something went wrong.
Sorry, something went wrong.
|
@nvazquez can you also fix pylint error: ************* Module cleanuphosts E: 75,78: Instance of 'Exception' has no 'strerror' member (no-member) ----------------------------------- Your code has been rated at 9.99/10 +'[' 2 -gt 0 ']' +echo 'Pylint failed, please check your code' Pylint failed, please check your code |
Sorry, something went wrong.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
|
@nvazquez fixes for #3272 and #3354 LGTM, but I found a weird issue:
Please continue with the investigation and fix for the above edge-case and also fix for #3273 |
Sorry, something went wrong.
|
@rhtyd changed the implementation, no need for a new script. Marking entries as 'remove=True' on dhcpentry.json solves the issue. This solves #3272 and #3354. |
Sorry, something went wrong.
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2826 |
Sorry, something went wrong.
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Sorry, something went wrong.
|
Trillian test result (tid-3631)
|
Sorry, something went wrong.
There was a problem hiding this comment.
Tested Nicolas's latest changes, LGTM for both the bugs. The third one is not started yet.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM - Based on code read and test results
Sorry, something went wrong.
Sorry, something went wrong.
|
Can you check and possibly send a PR @nvazquez ? Thanks. |
Sorry, something went wrong.
|
Sure I'll take a look tonight |
Sorry, something went wrong.
|
@nvazquez has this PR been tested on a shared guest network within a Basic Network Zone? I am facing a null pointer when trying to remove the DHCP entry rule from a VM that is being stopped. ACS version: 4.11.3 java.lang.NullPointerException
at org.apache.cloudstack.network.topology.BasicNetworkVisitor.visit(BasicNetworkVisitor.java:201)
at com.cloud.network.rules.DhcpEntryRules.accept(DhcpEntryRules.java:64)
at org.apache.cloudstack.network.topology.BasicNetworkTopology.applyRules(BasicNetworkTopology.java:390)
at org.apache.cloudstack.network.topology.BasicNetworkTopology.removeDhcpEntry(BasicNetworkTopology.java:464)
at com.cloud.network.element.VirtualRouterElement.removeDhcpEntry(VirtualRouterElement.java:972)
at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.cleanupNicDhcpDnsEntry(NetworkOrchestrator.java:2933)
|
Sorry, something went wrong.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
Since the CloudStack virtual router was redesigned on version 4.6 it has been observed that the DHCP leases file is not persistent across network operations. This causes conflicts on guest VMs static IPs, causing these static IPs to not be renewed by the DHCP server running on isolated and VPC networks' virtual routers (dnsmasq). On stopping or destroying a VM, its dhcp/dns records are not removed from the virtual router causing ghost effects.
Fixes #3272
Fixes #3354
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
Tested on local environment, 1x KVM host, Isolated network