-
Couldn't load subscription status.
- Fork 482
orchestratord test: Introduce upgrade scenario #33461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b218e73 to
cc9e7a8
Compare
ba1a409 to
0f263dc
Compare
|
I had to disable a few checks with |
| definition["materialize2"] = copy.deepcopy(definition["materialize"]) | ||
| definition["materialize2"]["metadata"][ | ||
| "name" | ||
| ] = "12345678-1234-1234-1234-123456789013" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we not need to point at separate backend_secret_name and environment_id in the Materialize object? If we don't, won't they be pointing at the same database?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This metadata name is the backend_secret_name. I added a comment for the pg db.
test/orchestratord/mzcompose.py
Outdated
| definition["operator"]["telemetry"]["enabled"] = self.value | ||
|
|
||
| def validate(self, mods: dict[type[Modification], Any]) -> None: | ||
| return # TODO: Doesn't work with upgrade: Expected no --segment-api-key= in environmentd args, but found it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these all orchestratord bugs? Should we be version gating these args?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know. I was hoping your or @doy-materialize would know!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have now opened https://github.com/MaterializeInc/database-issues/issues/9697
| definition["operator"]["operator"]["tag"] = get_tag(args.tag) | ||
| # makes environmentd -> clusterd connections fail | ||
| # definition["operator"]["networkPolicies"]["enabled"] = True | ||
| # definition["operator"]["networkPolicies"]["internal"]["enabled"] = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a bug report for this? It should work. I typically do my testing using the cloud kind cluster and:
networkPolicies:
enabled: true
internal:
enabled: true
ingress:
enabled: true
egress:
enabled: trueThis usually works for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0f263dc to
13080d9
Compare
e716e34 to
19d83a6
Compare
8deecae to
223edd0
Compare
79403c7 to
9f59ca9
Compare
|
We should get this green and merge this week, I'm giving it another try (at the airport): https://buildkite.com/materialize/nightly/builds/13658 |
86c7870 to
184b911
Compare
184b911 to
aa837e3
Compare
c4af185 to
973e012
Compare
973e012 to
7926862
Compare
It's been a month of significant changes since I reviewed.
|
It's a miracle: https://buildkite.com/materialize/nightly/builds/13835 |
|
Ready for review again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are several Modifications that are disabled for versions they should work on. Lets get this merged, and we can iterate on them after that.

Checklist
$T ⇔ Proto$Tmapping (possibly in a backwards-incompatible way), then it is tagged with aT-protolabel.