Uh oh!
There was an error while loading. Please reload this page.
add guideline for missing image when running breeze - #35813
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Taragolis
commented
Nov 23, 2023
breeze ci-image pullor breeze ci-image build |
potiuk
commented
Nov 23, 2023
Actually this is not the right solution. The problem is that image should be automatically build if it is missing, there should never be the need to pull it manually. Likely this might be a side effect of some change where not having an image triggers this problem. It might be result of some recent refactors I've done, but user should never need to pull the image of Breeze manually, user should not even have to know the image name, it's merely an implementation detaill Was there any special you've done (cleaning docker etc.? @Lee-W - can you come up withe a scenario where this could happen ? I might try to reproduce it, but if you more ore less know how you got there, it could help to fix it. |
Lee-W
commented
Nov 23, 2023
Yes, |
potiuk
commented
Nov 23, 2023
Ok. I think (maybe you can check) just adding check_and_rebuild_image_if_needed() when the start command run should solve the problem. It I lis for sure done in shell command and default one. Getting to plane now but should be easy to find and fix :) somewhere in 'developer_commands' |
Lee-W
commented
Nov 24, 2023
Sounds good. Let me check where i can add it |
potiuk
commented
Nov 25, 2023
I found the problem and fixed it as part of #35830 The problem is that the check only checked if the image should be upgraded (not whether it was pulled in the first place). I have also found another problem that prevented the image to be automatically build correctly (version suffix was not set to dev0 and there were conflicting requirements). Closing in favour or my PR :). Thanks for raising the problem :D |
Lee-W
commented
Nov 26, 2023
Wow, it's a huge PR. thanks for helping out |
potiuk
commented
Nov 26, 2023
Actually, that fix was separated out to a slightly smaller one #35862 I could split it out even further if reviewers think it makes sense (I thin that would inflate the number of PRs artifficiall but if others think the PR is still too big to review, I am happy to split it out. |
potiuk
commented
Nov 26, 2023
The part that fixes the problem you had is here: But it's done together with renaming of e "image_check" property in the object - that's why it's easier to keep it together with the rename. |
Lee-W
commented
Nov 27, 2023
Yep, I'm saying that just to praise the good work, not to request to split the PR. It just might take sometime for me to take a deeper look |
potiuk
commented
Nov 27, 2023
I am splitting it anyway to make it easier to review in small chunks. The current one is #35875 |
RNHTTR
commented
Jan 5, 2024
I just got the following error... Then I ran Now I'm getting some yarn error :( |
@RNHTTR -> Post on slack the whole output of what you have done. (and whether it was fresh install). Generally speaking you should always: a) rebase to latest main first I recommend to follow a) and b) - and make sure to read what breeze advice you get. If you follow it and still got error - please post me the output of the command you run after adding Unfirtunately seeing just a |
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.