harbor 問題處理

harbor 1.8 複製任務的時區不對

現象: 服務器雖然是shanghai,但是定時任務執行時間不對

處理方式: 還沒解決

官方issue
https://github.com/goharbor/harbor/pull/8981

harbor 1.8 複製任務 卡在 InProgress

現象: 無法刪除或停止

處理方式
1、手動改sql

update replication_task set status='Stopped' where status='InProgress' and execution_id=replace_with_your_id

2、升級到harbor1.9
官方issue
https://github.com/goharbor/harbor/issues/8202

harbor 1.8 複製任務因image和tag太多導致失敗

現象 :提示

value too long for type character varying(256)

原因: 因爲postgresql 的2個字段太小
harbor 問題處理

處理方式
1、手動更改字段長度

ALTER TABLE replication_task ALTER COLUMN src_resource TYPE character varying(512);
ALTER TABLE replication_task ALTER COLUMN dst_resource TYPE character varying(512);

2、升級harbor到1.9 最新版(2.0還沒發佈,2.0 修復image 名過長的問題)
官方issue
https://github.com/goharbor/harbor/issues/10786
https://github.com/goharbor/harbor/issues/8281

harbor 1.7 bug, 導致ui 無法刪除歷史tag

https://github.com/goharbor/harbor/issues/6876

解決方式: 升級到1.8

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章