Renew domains before 10Y deadline #932

Closed
opened 2024-01-25 10:47:21 +00:00 by alexvanin · 5 comments

In 10 years after initial deployment, all system TLDs will be expired. This will break storage network and existing applications on top of it.

Describe the solution you'd like

Call renew method on all domains owned by committee / consensus before its expiration.

Describe alternatives you've considered

Do nothing and renew domains manually from time to time with some tool (e.g. frostfs-adm command)

Additional context

Some history details:

## Is your feature request related to a problem? Please describe. In [10 years](https://git.frostfs.info/TrueCloudLab/frostfs-contract/commit/1a4fa7e421d73afcf7eb4fa5a3208a3391f071cd) after initial deployment, all system TLDs will be expired. This will break storage network and existing applications on top of it. ## Describe the solution you'd like Call [renew](https://git.frostfs.info/TrueCloudLab/frostfs-contract/src/commit/f2a82aa635aa57d9b05092d8cf15b170b53cc324/nns/nns_contract.go#L337) method on all domains owned by committee / consensus before its expiration. ## Describe alternatives you've considered Do nothing and renew domains manually from time to time with some tool (e.g. frostfs-adm command) ## Additional context Some history details: - https://github.com/nspcc-dev/neofs-contract/pull/296 - https://github.com/nspcc-dev/neofs-contract/issues/268
alexvanin added the
frostfs-ir
good first issue
triage
labels 2024-01-25 10:47:21 +00:00

frostfs-adm is not a viable alternative, because it requires having all private keys in one place.
However, we could extend frostfs-cli control ir with domain renewal as the first step.

Let's discuss whether how it could be done automatically.

Another option is to introduce infinite expiration in the NNS contract (also needs discussion):

  1. Some special mark is stored in the contract (+infinity).
  2. For this mark some default value is always returned (+year).
`frostfs-adm` is not a viable alternative, because it requires having all private keys in one place. However, we could extend `frostfs-cli control ir` with domain renewal as the first step. Let's discuss whether how it could be done automatically. Another option is to introduce infinite expiration in the NNS contract (also needs discussion): 1. Some special mark is stored in the contract (+infinity). 2. For this mark some default value is always returned (+year).
fyrchik added the
discussion
label 2024-01-25 16:35:11 +00:00
fyrchik added this to the vNext milestone 2024-01-25 16:37:35 +00:00
acid-ant self-assigned this 2024-01-29 11:11:08 +00:00
Collaborator

Also, it would be nice to have an ability in adm or cli utility register domains.

Also, it would be nice to have an ability in `adm` or `cli` utility register domains.

cli talks with node only, should be in adm

cli talks with node only, should be in adm
Collaborator

In scope of this task also necessary to use rpclicent package from frostfs-contract.

In scope of this task also necessary to use `rpclicent` package from `frostfs-contract`.

Separate package for

  1. nns helpers (contract names, domainOf, hash resolving)
  2. polling (next poll interval -- could be private, awaitTx etc)
  3. sendConsensusTx etc. in another package
  4. separate packages for client
Separate package for 1. nns helpers (contract names, `domainOf`, hash resolving) 2. polling (next poll interval -- could be private, awaitTx etc) 3. sendConsensusTx etc. in another package 4. separate packages for client
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#932
There is no content yet.