Uh oh!
There was an error while loading. Please reload this page.
RvR: Set up metadata/password/dhcp server on gateway IP instead of guest IP in RVR - #3477
Conversation
ustcweizhou
commented
Jul 9, 2019
@rhtyd Here is the PR for issue #3409 |
yadvr
commented
Jul 9, 2019
Thanks @ustcweizhou I'll help review and test, if you're unavailable may extend and address any review comments myself. |
| @@ -1,4 +1,4 @@ | |||
| <VirtualHost 10.1.1.1:80> | |||
| <VirtualHost 10.1.1.1:8180> | |||
There was a problem hiding this comment.
these lines will be replaced with gateway IP and guest IP in CsApp.py
If we use :80 and :443 in this template, the first time it is ok, after that the configuration file gets mess up
if we use :8180 and :8443, the configuration file will be changed only once.
| <IfModule mod_ssl.c> | ||
| <VirtualHost 10.1.1.1:443> | ||
| <VirtualHost 10.1.1.1:8443> |
There was a problem hiding this comment.
Same as above - any reason to change the port or did it come from your internal branch?
yadvr
commented
Jul 9, 2019
@blueorangutan package |
blueorangutan
commented
Jul 9, 2019
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Jul 9, 2019
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-105 |
yadvr
commented
Jul 9, 2019
@blueorangutan test |
blueorangutan
commented
Jul 9, 2019
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
yadvr
commented
Jul 10, 2019
@blueorangutan test |
blueorangutan
commented
Jul 10, 2019
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
yadvr
commented
Jul 10, 2019
Looks like on 4.11 branch there is some issue, I'll kick tests against master. |
blueorangutan
commented
Jul 10, 2019
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Jul 10, 2019
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-111 |
yadvr
commented
Jul 10, 2019
@blueorangutan test |
blueorangutan
commented
Jul 10, 2019
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Jul 11, 2019
Trillian test result (tid-139)
|
yadvr
commented
Jul 11, 2019
@blueorangutan test |
blueorangutan
commented
Jul 11, 2019
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
yadvr
commented
Jul 11, 2019
@blueorangutan test |
blueorangutan
commented
Jul 11, 2019
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Jul 12, 2019
Trillian test result (tid-149)
|
yadvr
commented
Jul 12, 2019
@blueorangutan package |
ustcweizhou
commented
Oct 23, 2019
@rhtyd I will look into the failures. |
ustcweizhou
commented
Oct 23, 2019
@rhtyd |
Hi @ustcweizhou, do you think this will solve #3179 ? I suspect the changes in this PR will at least change the behaviour of VPC also. |
ustcweizhou
commented
Nov 7, 2019
@DennisKonrad unfortunately I do not think this pr is helpful on fixing the issue you mentioned. |
andrijapanicsb
commented
Jan 3, 2020
@DaanHoogland all 3 envs failed, I wiped them to regain some resources on Trillian |
DaanHoogland
commented
Jan 5, 2020
build failures again "TASK [Remove previous SSH key from Project if it exists] ". Not sure if this is related to the PR, but looks like it. |
yadvr
commented
Jan 6, 2020
Trillian test failed, needs re-run @DaanHoogland cc @andrijapanicsb |
blueorangutan
commented
Jan 6, 2020
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Jan 6, 2020
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-536 |
andrijapanicsb
commented
Jan 6, 2020
@blueorangutan test matrix |
blueorangutan
commented
Jan 6, 2020
@andrijapanicsb a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
blueorangutan
commented
Jan 6, 2020
Trillian test result (tid-704)
|
blueorangutan
commented
Jan 6, 2020
Trillian test result (tid-703)
|
blueorangutan
commented
Jan 7, 2020
Trillian test result (tid-705)
|
DaanHoogland
commented
Jan 8, 2020
@rhtyd @andrijapanicsb differnet errors at different environments above. as this had been reviewed and tested before, do we spend more time investigating? |
DaanHoogland
commented
Jan 21, 2020
ping @rhtyd @andrijapanicsb ?? |
… guest IP in RVR (apache#3477) When we create a vm in the network with redundant VRs, the lease file in the vm (for example /var/lib/dhcp/dhclient.eth0.leases) shows the dhcp-server-identifier is the guest ip (not vip/gateway) of master VR. That's the ip ipaddress where the vm fetch password and metadata from. if we stop the master VR (then backup will be master) or restart the network with cleanup (VRs will be created), the guest ip of master VR changes so vm are not able to get metadata/ssh-key using the ips in dhcp lease file. Setting up metadata/password/dhcp server on gateway instead of guest IP in redundant VRs will fix the issues. FIxesapache#3409
Description
When we create a vm in the network with redundant VRs, the lease file in the vm (for example /var/lib/dhcp/dhclient.eth0.leases) shows the dhcp-server-identifier is the guest ip (not vip/gateway) of master VR. That's the ip ipaddress where the vm fetch password and metadata from.
if we stop the master VR (then backup will be master) or restart the network with cleanup (VRs will be created), the guest ip of master VR changes so vm are not able to get metadata/ssh-key using the ips in dhcp lease file.
Setting up metadata/password/dhcp server on gateway instead of guest IP in redundant VRs will fix the issues.
FIxes: #3409
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?