Consul upgrade failing from 1.14.4 to 1.16.4, 1.17.0, 1.18.0, 1.19.0
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 39
Description
Hi Team,
While doing upgrade from 1.14.4 to latest versions we are facing issue during an upgrade.
```
2024-06-24T07:06:12.448Z [ERROR] agent.server.raft: failed to restore snapshot: id=42-2883921626-1719211233575 last-index=2883921626 last-term=42 size-in-bytes=21776199 error="failed inserting acl token: missing value for index 'accessor'"
```
Tokens are master and anonymous. They are not legacy tokens.
acl is enabled initially by bootstraping and then disabled(permanently).
Due to this master and anonymous are part of data/snapshots.
Issue persist for 1.17.0,1.18.0,19.0 versions too.
Can you please guide.
Regards,
Anil P
Contributor guide
Research direction
Start by reproducing the Consul upgrade with the reported snapshot and ACL configuration, then trace snapshot restoration at the point that reports the missing 'accessor' index. Done means the snapshot restores successfully across the affected upgrade versions without the ACL token error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- distributed-systems, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100