Ohara: the images checker should not assume all nodes have required images

Created on 8 Nov 2019  ·  6Comments  ·  Source: oharastream/ohara

Describe the bug
在Demo環境測試運行streamapp,在啟動時前端UI呈現該台機器無streamapp image的錯誤訊息,實際確認該台機器已部署streamapp image,就算砍掉該docker image 並重新拉下來仍然無法執行。

To Reproduce
Steps to reproduce the behavior:

  1. 建pipeline
  2. 部署streamapp
  3. 啟動streamapp
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Error msg:
1

Check image:
2

Operation System (please complete the following information):

  • OharaStream Version: v0.8.1
    螢幕快照 2019-11-08 下午3 29 19
  • Backend OS & Version: Ohara Demo Site
  • Frontend OS & Version: Ohara Demo Site
  • Browser & Version :Google Chrome , 版本 75.0.3770.100 (正式版本) (64 位元)

Additional context
Add any other context about the problem here.

bug v0.9.0

All 6 comments

ping 0.8 RM : @konekoya QQ

@HarryChiang143 這是後段檢查邏輯的問題

你要先順利運作的話,就把該image部屬到"所有節點上"

@HarryChiang143 這是後段檢查邏輯的問題
你要先順利運作的話,就把該image部屬到"所有節點上"

意思是 Ohara Demo 環境裡, streamapp image 沒有佈署到所有的 node 嗎?

意思是 Ohara Demo 環境裡, streamapp image 沒有佈署到所有的 node 嗎?

ping @HarryChiang143

@jackyoh the workaround works well so this issue does not touch 0.8

  1. 確認所有k8s環境下的每個節點都有相關的images
  2. 透過k8s APIs /api/v1/nodes/$node 查看是否有相關的images
  3. 如果該節點有images但k8s APIs顯示沒有,則可能是有dangling images,請手動刪除

the workaround works well so this issue does not touch 0.8

OK, 收到。我會再找時間跟你討論這個問題

Was this page helpful?
0 / 5 - 0 ratings