-
Notifications
You must be signed in to change notification settings - Fork 13
Conversation
@juagargi, I reviewed the script and took a dry run. I made some comments below. Reviewed 1 of 1 files at r1. upgrade_infrastructure.sh, line 6 at r1 (raw file):
The upgrade_infrastructure.sh, line 23 at r1 (raw file):
We're not going to write down the sudo pw into the script. upgrade_infrastructure.sh, line 74 at r1 (raw file):
Do we actually need to reload supervisor? I would like to recommend to run zookeeper clean command instead reloading supervisor. Comments from Reviewable |
Review status: all files reviewed at latest revision, 3 unresolved discussions, some commit checks failed. upgrade_infrastructure.sh, line 6 at r1 (raw file): Previously, jonghoonkwon wrote…
And also, it would be nice we can specify the branch name by giving an argument when we run the script, so that we can have more flexibility for the upgrade procedure. upgrade_infrastructure.sh, line 35 at r1 (raw file):
This line only checks if there is a conflict caused by the changes from user side while rebasing. Comments from Reviewable |
Review status: all files reviewed at latest revision, 4 unresolved discussions, some commit checks failed. upgrade_infrastructure.sh, line 53 at r1 (raw file):
As we discussed, we'd better to have a plan B for a case that the upgrade procedure fails. Comments from Reviewable |
70f5d07
to
213af9f
Compare
Review status: all files reviewed at latest revision, 5 unresolved discussions, some commit checks failed. upgrade_infrastructure.sh, line 6 at r1 (raw file): Previously, jonghoonkwon wrote…
Done. upgrade_infrastructure.sh, line 23 at r1 (raw file): Previously, jonghoonkwon wrote…
Done. upgrade_infrastructure.sh, line 35 at r1 (raw file): Previously, jonghoonkwon wrote…
Done. upgrade_infrastructure.sh, line 53 at r1 (raw file): Previously, jonghoonkwon wrote…
Done. upgrade_infrastructure.sh, line 74 at r1 (raw file): Previously, jonghoonkwon wrote…
Done. We run now the zkcleanslate instead of the supervisor reload Comments from Reviewable |
Reviewed 1 of 1 files at r2. upgrade_infrastructure.sh, line 23 at r1 (raw file): Previously, juagargi (Juan A. García Pardo Giménez de los Galanes) wrote…
We need to get rid of this sudo check Comments from Reviewable |
Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion. upgrade_infrastructure.sh, line 23 at r1 (raw file): Previously, jonghoonkwon wrote…
I've fixed to not use -v and it seems to work now. Comments from Reviewable |
Fix repo and branch names. Allow branch as parameter. Don't use sudo with password. Check git status. Backup locally the current branch. Zookeeper clean slate instead of supervisor reload.
8be2b38
to
0975294
Compare
Reviewed 1 of 1 files at r3. Comments from Reviewable |
We'll run this script in every AS from our infrastructure, using ansible or similar client that issues commands via ssh.
This change is