Graceful exit turned badly?

Hi Guys,

I have ran the commands to gracefully exit but I don’t know if something went wrong~ please have a look at the commands below & advise on what should I do?

[root@storage1 ~]# docker exec -it storagenode /app/storagenode exit-satellite --config-dir /app/config --identity-dir /app/identity
2021-08-23T10:16:10.035Z        INFO    Configuration loaded    {"Location": "/app/config/config.yaml"}
2021-08-23T10:16:10.056Z        INFO    Identity loaded.        {"Node ID": "1RzGefXQKD5MG1oo7MiJaiPgRgAg4SYHDuBF6crKpbti1udTEv"}
By starting a graceful exit from a satellite, you will no longer receive new uploads from that satellite.
This action can not be undone.
Are you sure you want to continue? [y/n]
 :y
Domain Name                        Node ID                                              Space Used
us2.storj.io:7777                  12tRQrMTWUWwzwGh18i7Fqs67kmdhH9t6aToeiwbo5mfS2rUmo   0.98 GB
saltlake.tardigrade.io:7777        1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE   88.63 GB
ap1.storj.io:7777                  121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6  53.53 GB
us1.storj.io:7777                  12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S  45.14 GB
eu1.storj.io:7777                  12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs  62.99 GB
europe-north-1.tardigrade.io:7777  12rfG3sh9NCWiX3ivPjq2HtdLmbqCrvHVEzJubnzFzosMuawymB  324.59 GB
Please enter a space delimited list of satellite domain names you would like to gracefully exit. Press enter to continue:
us2.storj.io:7777 saltlake.tardigrade.io:7777 ap1.storj.io:7777 us1.storj.io:7777 eu1.storj.io:7777 europe-north-1.tardigrade.io:7777

Domain Name                        Node ID                                              Percent Complete  Successful  Completion Receipt
us2.storj.io:7777                  12tRQrMTWUWwzwGh18i7Fqs67kmdhH9t6aToeiwbo5mfS2rUmo   0.00%             N           N/A
saltlake.tardigrade.io:7777        1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE   0.00%             N           N/A
ap1.storj.io:7777                  121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6  0.00%             N           N/A
us1.storj.io:7777                  12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S  0.00%             N           N/A
eu1.storj.io:7777                  12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs  0.00%             N           N/A
europe-north-1.tardigrade.io:7777  12rfG3sh9NCWiX3ivPjq2HtdLmbqCrvHVEzJubnzFzosMuawymB  0.00%             N           N/A

[root@storage1 ~]# docker exec -it storagenode /app/storagenode exit-satellite --config-dir /app/config --identity-dir /app/identity
2021-08-23T10:20:39.924Z        INFO    Configuration loaded    {"Location": "/app/config/config.yaml"}
2021-08-23T10:20:39.942Z        INFO    Identity loaded.        {"Node ID": "1RzGefXQKD5MG1oo7MiJaiPgRgAg4SYHDuBF6crKpbti1udTEv"}
By starting a graceful exit from a satellite, you will no longer receive new uploads from that satellite.
This action can not be undone.
Are you sure you want to continue? [y/n]
 :y
Can't find any non-exiting satellites.

[root@storage1 ~]# docker exec -it storagenode /app/storagenode exit-status --config-dir /app/config --identity-dir /app/identity
2021-08-23T10:27:41.620Z        INFO    Configuration loaded    {"Location": "/app/config/config.yaml"}
2021-08-23T10:27:41.635Z        INFO    Identity loaded.        {"Node ID": "1RzGefXQKD5MG1oo7MiJaiPgRgAg4SYHDuBF6crKpbti1udTEv"}

Domain Name                        Node ID                                              Percent Complete  Successful  Completion Receipt
us2.storj.io:7777                  12tRQrMTWUWwzwGh18i7Fqs67kmdhH9t6aToeiwbo5mfS2rUmo   10.08%            N           N/A
saltlake.tardigrade.io:7777        1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE   0.00%             N           N/A
ap1.storj.io:7777                  121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6  0.00%             N           N/A
us1.storj.io:7777                  12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S  0.00%             N           N/A
eu1.storj.io:7777                  12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs  0.00%             N           N/A
europe-north-1.tardigrade.io:7777  12rfG3sh9NCWiX3ivPjq2HtdLmbqCrvHVEzJubnzFzosMuawymB  0.00%             N           N/A

Hello @jcn50 !

This looks exactly right to me, the process of gracefully exiting the network takes time. In the last command you can see that you already made it 10.08% far on US2.
In order to even start the process the satellite needs to collect the full list of pieces that your storagenode needs to transfer, which depending on the timing can take a couple of hours. Only after that you will actually start transfering pieces off of your node.

At this stage just be patient and get some :beer: , :coffee: or :tea: and enjoy your time :stuck_out_tongue:

4 Likes

@stefanbenten : Thanks for your confirmation!

I can see the other nodes’ percentage increasing too. At this rate it will take some days. I will be patient!

What is the command I need to run once I have 100% everywhere?

Run the status command one last time and make sure you save the completion receipts somewhere. They are your proof that the exit was finished successfully. Other than that, nothing left to do after it’s all done.

2 Likes

An update:

  • it took a week to complete
  • since I am running the node in Docker I have to run something like:
docker ps # to list the containers
docker stop # to stop the containers
docker rm $CONTAINDERID1 $CONTAINDERID2 # to delete the containers
docker images # to list the images
docker rmi $IMAGE1 $IMAGE2 # to delete the images

I will do this after the last payment has been done (just in case I still need it).

I have done that thank you!