[ICN-611] 'make kud_bm_deploy_mini' fails with secrets not found Created: 27/Aug/21 Updated: 27/Aug/21 |
|
| Status: | To Do |
| Project: | Integrated Cloud Native NFV |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | Geoffroy Van Cutsem | Assignee: | Kuralamudhan Ramakrishnan |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
After a failed deployment of Akraino ICN, I see the following error coming up when running the 'make kud_bm_deploy_mini' step:
This is happening in the 'verifier' function of the 'deploy/kud/kud_bm_launch.sh' that is called by that Makefile target. Looking up the'serviceaccount', I see
There are three tokens listed in there. BUT, looking up the secrets:
The default token that's listed in there is valid but the logic in the 'verifier' function only tries to use the first one from the default serviceaccount (i.e. .secrets[0].name), whereas the valid token is in third position.
I don not know what is causing these tokens to be added but deleting the extraneous ones so as to keep only the one listed by 'kubectl get secrets' will allow 'make kud_bm_deploy_mini' to succeed. To delete the extra tokens: 'sudo kubectl edit serviceaccount default' and remove the lines with the tokens that are not valid. |