You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Standards/scs-XXXX-v1-time-sync-decisions.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,14 @@ However it is still useful for a CSP to offer less portable, but more precise me
103
103
So, we should standardize a portable NTP setup that users can assume when developing images to work well in any SCS cloud.
104
104
We should not try to prevent CSPs from also supporting paravirtualized or other methods of time synchronization that may offer significant benefits over NTP.
105
105
106
+
We should consider setting quality requirements, for example limiting the acceptable offset and jitter of the synchronized time.
107
+
The specific limits should be informed by research into the requirements of popular quorum-based distributed services, such as RabbitMQ, Zookeeper, and Ceph, which tend to be sensitive to relative time drift.
108
+
109
+
We should also work towards upstream OpenStack support for injecting locally synced NTP servers into subnets, comparable to Neutron's support for injecting DHCP servers and providing local DNS resolution.
110
+
This would be an optimal target for standardization, because it would allow time synchronization in isolated networks, and, depending on the implementation, may also help to improve precision and scalability.
111
+
112
+
Lastly, we should consider giving requirements, or at least guidelines, to CSPs regarding time synchronization in their internal infrastructure, especially if this forms the basis for the synchronisation of guests.
113
+
106
114
## Consequences
107
115
108
116
A standardized NTP setup will allow SCS users and third party image providers to develop images that support local time synchronization across SCS clouds.
@@ -111,9 +119,9 @@ As discussed in the NTP section above, there are a number of limitations in Open
111
119
112
120
* OpenStack currently has no support for providing NTP servers to VMs under a fixed link-local address, like AWS and GCP are doing.
113
121
Such a feature could probably be implemented by re-using the metadata service IP (`169.254.169.254`) and the mechanisms to inject it into subnets.
114
-
If this feature becomes available in the future, it will be an attractive target for standardization, but until then it seems more sensible to focus on servers available through provider networks.
115
-
*Making NTP servers accessible via provider networks will limit availability to those VMs that are connected to the provider network, either directly or via a virtual router
116
-
*Without mandating fixed IP addresses or domain names for local NTP servers, CSPs will need a method of informing VMs of available NTP servers.
122
+
While this would be a great target for standardization, we will first need to get it accepted by the upstream OpenStack community.
123
+
*Alternatively, making NTP servers accessible via provider networks will limit availability to those VMs that are connected to the provider network, either directly or via a virtual router
124
+
* CSPs will need a method of informing VMs of available NTP servers.
117
125
DHCP is the currently best supported mechanism for this, but is not guaranteed to be available to VMs, as users may disable it for their subnets.
118
126
Also, OVN's DHCPv6 implementation currently does not support the required option, but that seems to be a relatively straightforward feature to add.
119
127
* The alternative to DHCP is of course the metadata service, though there is currently no standard field for providing NTP servers.
0 commit comments