cephadm: Allow users to specify dashboard port and https protocol#35594
cephadm: Allow users to specify dashboard port and https protocol#35594jmolmo wants to merge 1 commit intoceph:masterfrom
Conversation
Added to new parameters to the bootstrap command in order to allow the user select the dashboard port and if it ssl is going to be used or not. Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
|
Details about tests to verify changes in dashboard port/protocol: In all the tests, after cluster creation we have: Dashboard (https using port 8900): Dashboard (http using port 8900): Note: Verified also cluster creation with firewald service not installed, and installed but not enabled or stopped. |
|
Before reviewing this, can split this into multiple commits? Having dedicated commits just for moving code before doing any modifications is good habit. |
This is only the part around the command_bootstrap. Split in several commits will take more time and possibly make more difficult everything ... I know that there are lot of lines, but basically, as you said this is "a code move" so probably not so difficult to review. Would you mind to launch integrations tests for this PR? ( when it would be possible) |
I remember that @tchaikov insisted on splitting my 1-commit PRs this into different commits. |
I was going to make a similar comment. Having multiple commits would make this easier to review .. |
Added to new parameters to the bootstrap command in order to allow the user
select the dashboard port and if it ssl is going to be used or not.
Fixes: https://tracker.ceph.com/issues/44628
Apart of the modification to add the new functionality (fixing the bug) a refactor of the cephadm code has been included.
The command bootstrap has been completely refactored to use objects instead of the procedural approach.
In this moment what we have is basically "code moved", but this modification opens the door to improve the cephadm code in general, to make more easy and less error prone future modifications and to allow to start writing unit tests.
Signed-off-by: Juan Miguel Olmo Martínez jolmomar@redhat.com
-->
Checklist
Details: