[FOLIO-3354] Vagrant box build failure Created: 01/Dec/21 Updated: 03/Dec/21 Resolved: 03/Dec/21 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Bug | Priority: | TBD |
| Reporter: | Wayne Schneider | Assignee: | Wayne Schneider |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||
| Sprint: | DevOps Sprint 128 | ||||||||
| Development Team: | FOLIO DevOps | ||||||||
| Description |
|
testing-backend box fails to build with this error during tenant deploy: Status code was 400 and not [200]: HTTP Error 400: Bad Request Suspect some issue with implementation of tenant interface in some module. |
| Comments |
| Comment by Wayne Schneider [ 01/Dec/21 ] |
|
Indeed, it appears mod-search is the culprit: 14:11:05 [375883/proxy] [supertenant] [] [] WARN ProxyService POST request for mod-search-1.6.0-SNAPSHOT.160 /_/tenant failed with 500: {"errors":[{"message":"[403 Forbidden] during [POST] to [http://authority-storage/reindex] [ResourceReindexClient#submitReindex(URI)]: [Access requires permission: authority-storage.authority.reindex.post]","type":"Forbidden","code":"unknown_error"}],"total_records":1} org.folio.okapi.common.ErrorTypeException: 500: {"errors":[{"message":"[403 Forbidden] during [POST] to [http://authority-storage/reindex] [ResourceReindexClient#submitReindex(URI)]: [Access requires permission: authority-storage.authority.reindex.post]","type":"Forbidden","code":"unknown_error"}],"total_records":1} 14:11:05 [375883/proxy] [supertenant] [] [] INFO TenantManager job complete 14:11:05 [375883/proxy] [supertenant] [] [] WARN TenantManager job failed org.folio.okapi.util.OkapiError: POST request for mod-search-1.6.0-SNAPSHOT.160 /_/tenant failed with 500: {"errors":[{"message":"[403 Forbidden] during [POST] to [http://authority-storage/reindex] [ResourceReindexClient#submitReindex(URI)]: [Access requires permission: authority-storage.authority.reindex.post]","type":"Forbidden","code":"unknown_error"}],"total_records":1} 14:11:05 [375883/proxy] [supertenant] [] [] INFO ProxyContext 375883/proxy RES 400 509538181us okapi POST request for mod-search-1.6.0-SNAPSHOT.160 /_/tenant failed with 500: {"errors":[{"message":"[403 Forbidden] during [POST] to [http://authority-storage/reindex] [ResourceReindexClient#submitReindex(URI)]: [Access requires permission: authority-storage.authority.reindex.post]","type":"Forbidden","code":"unknown_error"}],"total_records":1} 14:11:05 [375883/proxy] [supertenant] [] [] ERROR HttpResponse HTTP response code=400 msg=POST request for mod-search-1.6.0-SNAPSHOT.160 /_/tenant failed with 500: {"errors":[{"message":"[403 Forbidden] during [POST] to [http://authority-storage/reindex] [ResourceReindexClient#submitReindex(URI)]: [Access requires permission: authority-storage.authority.reindex.post]","type":"Forbidden","code":"unknown_error"}],"total_records":1} Not clear why this does not happen in the EC2 reference environment builds. |
| Comment by Wayne Schneider [ 01/Dec/21 ] |
|
Permissions in mod-search and mod-inventory-storage have gotten a little garbled. This issue is blocked on
|
| Comment by David Crossley [ 01/Dec/21 ] |
|
This issue is also occurring in the reference environments. See yesterday folio-testing-backend/1171 You got further with your investigations than i. |
| Comment by Wayne Schneider [ 03/Dec/21 ] |
|
A fix was made to mod-search as part of
|