-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[libvirt] Add default router for worker #2614
Conversation
as console pod can't parse DNS something like oauth-openshift.apps.test1.aa.testing so it failed to start this PR added the definition directly into libvirt dnsmasq file so the `virsh dumpxml` will have following output <host ip='192.168.126.51'> <hostname>oauth-openshift.apps.test1.aa.testing</hostname> <hostname>console-openshift-console.apps.test1.aa.testing</hostname> <hostname>downloads-openshift-console.apps.test1.aa.testing</hostname> <hostname>alertmanager-main-openshift-monitoring.apps.test1.aa.testing</hostname> <hostname>grafana-openshift-monitoring.apps.test1.aa.testing</hostname> <hostname>prometheus-k8s-openshift-monitoring.apps.test1.aa.testing</hostname> </host> The `oc get co` shows the console op is running after cluster startup [core@test1-6dpnj-master-0 ~]$ oc get co NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE authentication 4.3.0-0.okd-2019-10-29-180250 True False False 3m4s cloud-credential 4.3.0-0.okd-2019-10-29-180250 True False False 17m cluster-autoscaler 4.3.0-0.okd-2019-10-29-180250 True False False 8m48s console 4.3.0-0.okd-2019-10-29-180250 True False False 2m18s
Hi @jichenjc. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jichenjc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@zeenix @jaypoulz @gyohuangxin |
Just comment. I had this issue, when i was trying to iPXE boot 3 Masters, 2 Infras and 3 Compute nodes on Libvirt via Ansible script. All at once. I have dedicated Bind server which handles |
yes, my PR is for CI/CD for our platform (s390x IBM) ,as we are using libvirt as CI/CD infra so I agree we need well document for this case.... some follow up PR will be added about this after additional talk with more experts here |
Yes, the code works and make all apps run well automatically. |
This really doesn't belong in the installer as this couples more of the cluster internals to the installer (wrong direction). I'd would rather we did this as a one-off step in our CI as a stopgap. /hold |
@gyohuangxin Thanks for your hard work to get this figured out. I will see if I can add a workaround in the CI job configuration to do this injection as part of the CI job, as per @crawford's guidance. I think we'll draw more from #2600 in terms of implementation. |
+1 this creates a coupling between installer and the routes created by operators, which are not restricted to this list. |
thanks a lot for your comments :) I will close this PR |
as console pod can't parse DNS something like
oauth-openshift.apps.test1.aa.testing so it failed to start
this PR added the definition directly into libvirt dnsmasq file
Related to #1007
so the
virsh dumpxml
will have following outputThe
oc get co
shows the console op is running after cluster startup