Skip to content

Commit def0ceb

Browse files
committed
Extend decision section to reflect recent discussions
Signed-off-by: Konrad Gube <konrad.gube@cloudandheat.com>
1 parent 390d5de commit def0ceb

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

Standards/scs-XXXX-v1-time-sync-decisions.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,14 @@ However it is still useful for a CSP to offer less portable, but more precise me
103103
So, we should standardize a portable NTP setup that users can assume when developing images to work well in any SCS cloud.
104104
We should not try to prevent CSPs from also supporting paravirtualized or other methods of time synchronization that may offer significant benefits over NTP.
105105

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+
106114
## Consequences
107115

108116
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
111119

112120
* OpenStack currently has no support for providing NTP servers to VMs under a fixed link-local address, like AWS and GCP are doing.
113121
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.
117125
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.
118126
Also, OVN's DHCPv6 implementation currently does not support the required option, but that seems to be a relatively straightforward feature to add.
119127
* The alternative to DHCP is of course the metadata service, though there is currently no standard field for providing NTP servers.

0 commit comments

Comments
 (0)