You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "dombizita (via GitHub)" <gi...@apache.org> on 2026/04/02 22:06:12 UTC
[PR] HDDS-14896. Use separate container for clients in rolling-upgrade suite [ozone]
dombizita opened a new pull request, #10032:
URL: https://github.com/apache/ozone/pull/10032
## 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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14896. Use separate container for clients in rolling-upgrade suite [ozone]
Posted by "errose28 (via GitHub)" <gi...@apache.org>.
errose28 merged PR #10032:
URL: https://github.com/apache/ozone/pull/10032
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14896. Use separate container for clients in rolling-upgrade suite [ozone]
Posted by "dombizita (via GitHub)" <gi...@apache.org>.
dombizita commented on PR #10032:
URL: https://github.com/apache/ozone/pull/10032#issuecomment-4333970523
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 `hostname: scm` in the client container yaml and once I removed it it started failing. That hostname is used for the kinit with test user principal, so I added `client` to `init-kdc.sh`. After this I realised that if I use the common `rolling_restart_service` it'll generate data during the stopped period, which is not needed for the client container, so I did a simple stop-start.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14896. Use separate container for clients in rolling-upgrade suite [ozone]
Posted by "errose28 (via GitHub)" <gi...@apache.org>.
errose28 commented on code in PR #10032:
URL: https://github.com/apache/ozone/pull/10032#discussion_r3120235015
##########
hadoop-ozone/dist/src/main/compose/upgrade/compose/ha/docker-compose.yaml:
##########
@@ -281,6 +281,29 @@ services:
- *krb5conf
- *ozone-dir
- *transformation
+ upgrade_client:
Review Comment:
Here we are using a fixed new client version for the whole test. Previously with non-rolling upgrade the client and server were upgraded at the same time. The previous rolling upgrade workaround would switch to the new client version partway through when the SCM was upgraded. We do need to end up on the new client version before the server is finalized to test behavior of the new APIs.
I think we may want something in between, where this container starts in the old version, and the driver updates it to the new version after all the server side components are upgraded but before they are finalized.
Suggesting a more generic name since the current one implies that it is only used for upgrade related commands, not all test operations.
```suggestion
client:
```
##########
hadoop-ozone/dist/src/main/compose/upgrade/compose/ha/docker-compose.yaml:
##########
@@ -281,6 +281,29 @@ services:
- *krb5conf
- *ozone-dir
- *transformation
+ upgrade_client:
+ command: ["tail", "-f", "/dev/null"]
Review Comment:
The xcompat tests use `command: ["sleep","1000000"]` to keep the container alive indefinitely. This works too, but we might want to make them consistent. I'm not sure if one would be better than the other.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14896. Use separate container for clients in rolling-upgrade suite [ozone]
Posted by "Russole (via GitHub)" <gi...@apache.org>.
Russole commented on PR #10032:
URL: https://github.com/apache/ozone/pull/10032#issuecomment-4188685074
Thanks @dombizita for working on this. The change looks good, LGTM!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14896. Use separate container for clients in rolling-upgrade suite [ozone]
Posted by "dombizita (via GitHub)" <gi...@apache.org>.
dombizita commented on code in PR #10032:
URL: https://github.com/apache/ozone/pull/10032#discussion_r3137969165
##########
hadoop-ozone/dist/src/main/compose/upgrade/compose/ha/docker-compose.yaml:
##########
@@ -281,6 +281,29 @@ services:
- *krb5conf
- *ozone-dir
- *transformation
+ upgrade_client:
Review Comment:
Thanks for the review, this sounds good, I changed it to use the old image at start and after the rollin restarte of the services the `driver.sh` will upgrade the client too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org