Advertisement
ioggstream

Untitled

May 29th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. OpenShift nodes have two networks.
  2.  
  3. 192.168 -> linked to floating_ip
  4. 10.0. -> should be the cluster network
  5.  
  6. #
  7. # OpenShift continuously switching network
  8. #
  9. May 26 04:36:35 DeleteHostSubnetRules infra-1. ip: "192.168.0.13", subnet: "10.128.2.0/23")
  10. May 26 04:36:35 AddHostSubnetRules infra-1 ip: "10.0.0.11", subnet: "10.128.2.0/23")
  11. May 26 05:54:28 DeleteHostSubnetRules infra-1. ip: "10.0.0.11", subnet: "10.128.2.0/23")
  12. May 26 05:54:28 AddHostSubnetRules infra-1 ip: "192.168.0.13", subnet: "10.128.2.0/23")
  13. May 26 07:44:52 DeleteHostSubnetRules infra-1. ip: "192.168.0.13", subnet: "10.128.2.0/23")
  14. May 26 07:44:52 AddHostSubnetRules infra-1 ip: "10.0.0.11", subnet: "10.128.2.0/23")
  15. May 26 08:23:05 DeleteHostSubnetRules infra-1. ip: "10.0.0.11", subnet: "10.128.2.0/23")
  16. May 26 08:23:05 AddHostSubnetRules infra-1 ip: "192.168.0.13", subnet: "10.128.2.0/23")
  17. May 26 10:13:30 DeleteHostSubnetRules infra-1. ip: "192.168.0.13", subnet: "10.128.2.0/23")
  18. May 26 10:13:30 AddHostSubnetRules infra-1 ip: "10.0.0.11", subnet: "10.128.2.0/23")
  19.  
  20. OpenShift sets both of them as InternalIP
  21. > $ oc get node dev-1-node.example.net -o yaml
  22. > ...
  23. > spec:
  24. > externalID: 33a13663-5eba-480b-9084-1f52ade18582
  25. > providerID: openstack:///33a13663-5eba-480b-9084-1f52ade18582
  26. > status:
  27. > addresses:
  28. > - address: 192.168.0.9
  29. > type: InternalIP
  30. > - address: 10.0.0.12
  31. > type: InternalIP
  32.  
  33. > Here it seems we need to set a flag somewhere in
  34. > openshift-on-openstack, as kubernetes looks for "public".
  35. >
  36. > https://github.com/kubernetes/kubernetes/pull/18829/files
  37. >
  38. > Node addresses have all 'OS-EXT-IPS:type' to fixed:
  39. >
  40. > 'addresses': {'dev-1-cluster_network-3wpglkypgv7p':
  41. > [{'OS-EXT-IPS-MAC:mac_addr': 'fa:16:3e:e3:a9:ca',
  42. > 'OS-EXT-IPS:type': 'fixed',
  43. > 'addr': '10.0.0.12',
  44. > 'version': 4}],
  45. > 'dev-1-fixed_network-q26vlpbbrwk3': [{'OS-EXT-IPS-MAC:mac_addr':
  46. > 'fa:16:3e:8b:85:fc',
  47. > 'OS-EXT-IPS:type': 'fixed',
  48. > 'addr': '192.168.0.9',
  49. > 'version': 4}]},
  50. >
  51.  
  52. Even renaming dev-1-fixed_network-q26vlpbbrwk3 to public doesn't change anything
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement