Ошибки импорта артефактов - PullRequest
0 голосов
/ 21 февраля 2020

Я использую статью для переноса артефакта - старый / новый сервер находятся на 6.11.6 rev 61106900.

https://jfrog.com/knowledge-base/what-is-the-best-way-to-migrate-a-large-artifactory-instance-with-minimal-downtime/

Пока я есть ошибка в одном репо - репозиторий helm, который выдает такие ошибки:

2020-02-21 14:54:01,966 [art-import-30] [INFO ] (o.a.r.d.i.DbRepoImportHandler:198) - helm-somerepo-local import finished with: 872 Items imported: (738 files 134 folders). Duration: 13.25 secs IPS: 65.8 Target: 'D:\config_export_20200221\20200221.103533\repositories\helm-somerepo-local'
2020-02-21 14:54:01,971 [art-exec-4] [INFO ] (o.a.a.h.HelmServiceImpl:211) - Starting Helm index calculation for helm-somerepo-local
2020-02-21 14:54:01,971 [art-import-31] [INFO ] (o.a.r.d.i.DbRepoImportHandler:148) - helm-somerepo-saas-local import started D:\config_export_20200221\20200221.103533\repositories\helm-somerepo-saas-local
2020-02-21 14:54:04,887 [art-exec-4] [INFO ] (o.a.a.h.HelmServiceImpl:211) - Starting Helm index calculation for helm-somerepo-local
2020-02-21 14:54:06,095 [art-exec-4] [INFO ] (o.a.a.h.HelmServiceImpl:211) - Starting Helm index calculation for helm-somerepo-local
2020-02-21 14:54:07,125 [art-exec-4] [INFO ] (o.a.a.h.HelmServiceImpl:211) - Starting Helm index calculation for helm-somerepo-local
2020-02-21 14:54:08,157 [art-exec-4] [INFO ] (o.a.a.h.HelmServiceImpl:211) - Starting Helm index calculation for helm-somerepo-local
2020-02-21 14:54:09,205 [art-exec-4] [INFO ] (o.a.a.h.HelmServiceImpl:211) - Starting Helm index calculation for helm-somerepo-local
2020-02-21 14:54:10,295 [art-exec-4] [INFO ] (o.a.a.h.HelmServiceImpl:211) - Starting Helm index calculation for helm-somerepo-local
2020-02-21 14:54:11,127 [art-exec-4] [INFO ] (o.a.a.h.HelmServiceImpl:211) - Starting Helm index calculation for helm-somerepo-local
2020-02-21 14:54:14,388 [art-import-31] [INFO ] (o.a.r.d.i.ImportExportAccumulator:98) - helm-somerepo-saas-local imported 1000 items (950 files 50 folders 80.55 ips) 0 skipped items (0 files 0 folders)...
2020-02-21 14:54:17,254 [art-exec-1] [INFO ] (o.a.a.h.HelmServiceImpl:211) - Starting Helm index calculation for helm-somerepo-saas-local
2020-02-21 14:54:17,981 [art-exec-1] [INFO ] (o.a.a.h.HelmServiceImpl:211) - Starting Helm index calculation for helm-somerepo-saas-local
2020-02-21 14:54:17,993 [art-exec-1] [ERROR] (o.j.r.h.HelmMetadataExtractor:53) - Error while extracting metadata from chart: Failed to retrieve resource helm-somerepo-saas-local:somecompany/someapp2/someapp2-1.0.1.tgz: Could not get resource stream. Path 'somecompany/someapp2/someapp2-1.0.1.tgz' not found in helm-somerepo-saas-local
2020-02-21 14:54:17,994 [art-exec-1] [ERROR] (o.j.r.h.HelmMetadataExtractor:53) - Error while extracting metadata from chart: Failed to retrieve resource helm-somerepo-saas-local:somecompany/some-app/some-app-1.0.169.tgz: Could not get resource stream. Path 'somecompany/some-app/some-app-1.0.169.tgz' not found in helm-somerepo-saas-local
...
...
multiple repeats of the line above with different applications

Я следовал инструкциям к письму, и я на 100% получил все скопированные файлы (использовал robocopy ).

Вопросы ...

  • где именно я должен искать путь somecompany / some-app / some-app-1.0.169.tgz? Я попытался посмотреть в artifactory_home / data / filestore, но не могу найти их там
  • есть ли способ (возможно, через API), что я могу повторно импортировать только вещи в D: \ config_export_20200221 \ 20200221.103533 \ репозитории \ helm-horizons-saas-local ... когда это исправлено. например, через API?

Похоже, в репо Хелма есть какое-то известное состояние расы, см .:

https://www.jfrog.com/jira/browse/RTFACT-20595

https://www.jfrog.com/jira/browse/RTFACT-18179

Итак, я предполагаю, что дополнительный вопрос - есть ли способ импортировать предметы в репозиторий HELM через API, один за другим, чтобы избежать состояния гонки?

Спасибо

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...