Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional LND update to v0.10.0 #1116

Closed
openoms opened this issue Apr 15, 2020 · 19 comments
Closed

Optional LND update to v0.10.0 #1116

openoms opened this issue Apr 15, 2020 · 19 comments
Milestone

Comments

@openoms
Copy link
Collaborator

openoms commented Apr 15, 2020

v0.10.0 RC1 is out.
https://github.com/lightningnetwork/lnd/releases/tag/v0.10.0-beta.rc1

image

Updated with the usual script to test, running good so far.

# download
wget https://raw.githubusercontent.com/openoms/lightning-node-management/master/lnd.updates/lnd.update.v0.10.0-beta.rc1.sh 
# run
bash lnd.update.v0.10.0-beta.rc1.sh
@rootzoll rootzoll added this to the 1.5 Release milestone Apr 15, 2020
@rootzoll
Copy link
Collaborator

OK ... this makes sense then to delay the final v1.5 release until the final LND 0.10.0 is out of the door.

@openoms
Copy link
Collaborator Author

openoms commented Apr 15, 2020

Not sure how other accompanying software like RTL, Zeus, BTCPay (still on lnd 8.2) etc will keep up. Some breaking RPC changes are said to be postponed until lnd 0.11 so the existing functionality should be kept, but needs testing.
Highlights from Optech https://bitcoinops.org/en/newsletters/2020/04/15/:
image

@openoms
Copy link
Collaborator Author

openoms commented Apr 16, 2020

@openoms
Copy link
Collaborator Author

openoms commented Apr 18, 2020

Great recap of the latest lnd developments in v0.10.0 in the video:
https://twitter.com/udiWertheimer/status/1251573484259426304?s=19

@openoms
Copy link
Collaborator Author

openoms commented Apr 20, 2020

Transcript (until the relase notes are out):
https://twitter.com/kanzure/status/1252024800974905350?s=19

@openoms
Copy link
Collaborator Author

openoms commented Apr 22, 2020

@openoms
Copy link
Collaborator Author

openoms commented Apr 23, 2020

I think it should be considered to release 1.5 with LND 0.9.2 (which has the ability even to be downgraded to 0.9.0 if needed for BTCpay for example)
0.10.0 might break some otherwise stable functions working now.
There could be an optional update fro LND only (but one way!)

@frennkie
Copy link
Contributor

Sound like a reasonable approach!

@rootzoll
Copy link
Collaborator

@openoms seems OK to me - any idea when BTCPayServer will work with latest LND again?

@openoms
Copy link
Collaborator Author

openoms commented Apr 23, 2020

@openoms seems OK to me - any idea when BTCPayServer will work with latest LND again?

The issue is linked here: #1104 (comment)
BTCPay is still bundled with lnd 0.8.2 (seem to work with 0.9.0), but the lightning integration is not their priority.

I don't think that BTCpayserver itself should hold us back updating, but I think testing things like RTL and the Loop Service is quite important before engaging with the LND new version.

@openoms
Copy link
Collaborator Author

openoms commented Apr 24, 2020

rootzoll pushed a commit that referenced this issue Apr 25, 2020
rootzoll pushed a commit that referenced this issue Apr 25, 2020
rootzoll pushed a commit that referenced this issue Apr 25, 2020
rootzoll pushed a commit that referenced this issue Apr 25, 2020
@rootzoll rootzoll changed the title LND update to v0.10.0 optional LND update to v0.10.0 Apr 25, 2020
@rootzoll rootzoll changed the title optional LND update to v0.10.0 Optional LND update to v0.10.0 Apr 25, 2020
rootzoll pushed a commit that referenced this issue Apr 25, 2020
rootzoll pushed a commit that referenced this issue Apr 25, 2020
rootzoll pushed a commit that referenced this issue Apr 25, 2020
rootzoll pushed a commit that referenced this issue Apr 25, 2020
rootzoll pushed a commit that referenced this issue Apr 26, 2020
@rootzoll
Copy link
Collaborator

rootzoll commented Apr 26, 2020

I started to add a new script ./config.scripts/lnd.update.sh that will offer "interims LND updates" (between RaspiBlitz releases). There are two modes:

a) "verified" with every RaspiBlitz release we can add a secure optional LND update where we can have one more progressed version that can be installed with all the checks of signatures. This one is for situations like now, where we have a LND update with breaking changes and that is not down-gradable. So after default setup, users can easily decide to make a secure upgrade.

b) "reckless" that will just grab the latest release from the LND releases page and offer that for install (without any further signature checks). This one is for test and development nodes that what quickly test new releases.

I already implemented the basic script (waiting for final 0.10.0 release to test the secure update). If one of the update modes is used it will write a value into the raspiblitz.conf called lndInterimsUpdate so that even when you recover with a new sd card image it will provision with the choosed update again.

TODO: Adding the interim update option to the SSH GUI menus. Most likely to the "UPDATE" section.

rootzoll pushed a commit that referenced this issue Apr 26, 2020
rootzoll pushed a commit that referenced this issue Apr 26, 2020
rootzoll pushed a commit that referenced this issue Apr 26, 2020
rootzoll pushed a commit that referenced this issue Apr 26, 2020
rootzoll pushed a commit that referenced this issue Apr 26, 2020
@rootzoll
Copy link
Collaborator

rootzoll commented Apr 26, 2020

OK - there is now a sub menu when you call "UPDATE" in main menu. There you can choose "LND" and then decide todo a "VERIFIED" or "RECKLESS" update.

Final testing can begin as soon as the final LND 0.10.0 is out.

@rootzoll rootzoll added the final testing was fixed - needs testing label Apr 26, 2020
rootzoll pushed a commit that referenced this issue Apr 28, 2020
@openoms
Copy link
Collaborator Author

openoms commented Apr 29, 2020

@openoms
Copy link
Collaborator Author

openoms commented Apr 30, 2020

Warning about updating on the Zeus TG:
image

@openoms
Copy link
Collaborator Author

openoms commented Apr 30, 2020

Comes with new Loop version too: https://github.com/lightninglabs/loop/releases/tag/v0.6.0-beta

@rootzoll
Copy link
Collaborator

rootzoll commented May 1, 2020

Arg ... the loop version seems to be dependent of the LND update. So if I need to adapt scripts for that.

rootzoll pushed a commit that referenced this issue May 1, 2020
rootzoll pushed a commit that referenced this issue May 1, 2020
@rootzoll
Copy link
Collaborator

rootzoll commented May 1, 2020

OK .. also loop is now updated if LND is updated.
Last TODO for final testing: check if verified LND update and loop update is persistent over recovery.

@openoms
Copy link
Collaborator Author

openoms commented May 3, 2020

RTL v0.7.0 fails the circular rebalances on lnd 0.10 with a failure finding a path.

@rootzoll rootzoll removed the final testing was fixed - needs testing label May 6, 2020
@rootzoll rootzoll closed this as completed May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants