You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/02/10 14:22:13 UTC
[GitHub] [ozone] adoroszlai opened a new pull request #3072: HDDS-6293. Allow using custom ozone-runner image
adoroszlai opened a new pull request #3072:
URL: https://github.com/apache/ozone/pull/3072
## What changes were proposed in this pull request?
Acceptance tests currently allow using custom ozone-runner version, but the image name is hard-coded. This changes lets users pass custom image name via `OZONE_RUNNER_IMAGE` variable. The custom image could come from another Docker Hub user or another container repo. This would make testing proposed `ozone-runner` changes easier.
https://issues.apache.org/jira/browse/HDDS-6293
## How was this patch tested?
Added an alias tag for existing `apache/ozone-runner` image, then ran tests with it:
```
docker tag apache/ozone-runner:20211202-1 custom-ozone-runner:20211202-1
export OZONE_RUNNER_IMAGE=custom-ozone-runner
cd hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT/compose/ozone-csi
KEEP_RUNNING=true ./test.sh
docker ps
```
Output shows custom image is being used:
```
...
Csi :: Smoketest Ozone CSI service | PASS |
...
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
99dc2ef7f7a5 custom-ozone-runner:20211202-1 "/usr/local/bin/dumb…" 2 minutes ago Up About a minute ozone-csi_csi_1
4ae69ba2d461 custom-ozone-runner:20211202-1 "/usr/local/bin/dumb…" 2 minutes ago Up About a minute 0.0.0.0:9862->9862/tcp, :::9862->9862/tcp, 0.0.0.0:9874->9874/tcp, :::9874->9874/tcp ozone-csi_om_1
fd427c815ecf custom-ozone-runner:20211202-1 "/usr/local/bin/dumb…" 2 minutes ago Up About a minute 0.0.0.0:63761->9864/tcp, 0.0.0.0:63762->9882/tcp ozone-csi_datanode_1
e52967d41de1 custom-ozone-runner:20211202-1 "/usr/local/bin/dumb…" 2 minutes ago Up About a minute 0.0.0.0:9860->9860/tcp, :::9860->9860/tcp, 0.0.0.0:9876->9876/tcp, :::9876->9876/tcp ozone-csi_scm_1
248db94f54aa custom-ozone-runner:20211202-1 "/usr/local/bin/dumb…" 2 minutes ago Up About a minute 0.0.0.0:63759->9864/tcp, 0.0.0.0:63760->9882/tcp ozone-csi_datanode_2
a6c08a46e05d custom-ozone-runner:20211202-1 "/usr/local/bin/dumb…" 2 minutes ago Up About a minute 0.0.0.0:63757->9864/tcp, 0.0.0.0:63758->9882/tcp ozone-csi_datanode_3
```
CI:
https://github.com/adoroszlai/hadoop-ozone/actions/runs/1823083062
--
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
[GitHub] [ozone] adoroszlai merged pull request #3072: HDDS-6293. Allow using custom ozone-runner image
Posted by GitBox <gi...@apache.org>.
adoroszlai merged pull request #3072:
URL: https://github.com/apache/ozone/pull/3072
--
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
[GitHub] [ozone] adoroszlai commented on pull request #3072: HDDS-6293. Allow using custom ozone-runner image
Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #3072:
URL: https://github.com/apache/ozone/pull/3072#issuecomment-1036997812
Thanks @smengcl for review and testing.
--
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