HDDS-14896. Use separate container for clients in rolling-upgrade suite#10032
Conversation
|
Thanks @dombizita for working on this. The change looks good, LGTM! |
errose28
left a comment
There was a problem hiding this comment.
Thanks for adding this. Just a few comments, and there are merge conflicts since the last acceptance test change went in.
errose28
left a comment
There was a problem hiding this comment.
LGTM, but there's a test failure in the networking. Not sure if it's intermittent.
--- RUNNING ROLLING UPGRADE TEST FROM 2.2.0 TO 2.2.0 ---
Using Docker Compose v2
--- SETTING UP OLD VERSION 2.2.0 ---
--- RUNNING WITH OLD VERSION 2.2.0 ---
Error response from daemon: failed to set up container networking: Address already in use
errose28
left a comment
There was a problem hiding this comment.
LGTM, thanks for the updates.
* HDDS-14496-zdu: HDDS-14826. Prepare OM to switch from LayoutVersionManager to ComponentVersionManager (apache#10098) HDDS-14896. Use separate container for clients in rolling-upgrade suite (apache#10032) HDDS-15034. Query SCM status for ozone admin upgrade status command (apache#10084) HDDS-14897. Add multiple S3 gateways to the rolling-upgrade suite (apache#10028) hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMStorage.java hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/TestOMStorage.java hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/upgrade/TestOMUpgradeFinalizer.java
|
Thanks for the review @errose28! Just to have it here for later, one issue was that the IP address for the client was the same as one of the multiple S3 gateways after the merge of that. I also saw that I left |
What changes were proposed in this pull request?
Added a separate container for clients in rolling-upgrade suite, so a workaround can be removed, where we checked to not use for tests the SCM container which is currently restarted. To be able to run in an exact container the commands I added that parameter to the helper methods.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-14896
How was this patch tested?
CI on my fork with running the rolling restart test: https://github.com/dombizita/ozone/actions/runs/23915743686