Repository navigation
Native Support for Multi-Master HA - #608
Conversation
|
For HA, oauthConfig.sessionConfig.sessionSecretsFile must be set to a shared secret so that sessions work across masters. See https://docs.openshift.org/latest/admin_guide/configuring_authentication.html#session-options |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
cc72dbf to
6941bb4
Compare
|
@liggitt I've added session secret configuration in 4e42db4. Can you make sure that is a sane approach to generating/configuring secrets? Here's an example w/ generated secrets. |
e077012 to
feb04ca
Compare
|
great, thanks |
5286996 to
73ee4a5
Compare
|
I haven't found any issues so far. Tested with 3 machines (each running os-node and etcd, 2 running os-master and the other ha-proxy). Tested with Well, I reported few issues, but they concerned general ansible installation. |
|
ok to test |
|
Pacemaker now uses the regular unit files again. I've tested this branch with:
@brenton If you can verify a 3.0 regression I think this is safe to merge. #796 is required for 3.0 multi-master in my testing. |
|
I locally merged this PR on top of master and I'm hitting this: |
|
@brenton Oof. Changed to this and it continues for single and fails for multi when openshift_master_cluster_ha is unset or incorrect. |
|
@abutcher I don't think we should allow a native ha install for 3.0, since we have not supported it in the past and it hasn't been tested by QE. |
|
@detiber Added a fail for 3.0 native. |
|
@detiber and name swapped |
There was a problem hiding this comment.
Do we still need this workaround and these templates? I thought were were going to move them to packaging...
@sdodson ?
There was a problem hiding this comment.
We need to, it just hasn't gotten done. I'd like to figure out a way that starting 'atomic-openshift-master' either starts the single master service or api + controllers depending on what your deployment is. Perhaps with a drop file that determines which child services to start when you start atomic-openshift-master?
There was a problem hiding this comment.
And master-single-service is mutually exclusive with master-api-servers + master-controllers
There was a problem hiding this comment.
If/when these change we'll need to do some magic with the pacemaker upgrade to update the master service resource.
|
My regression testing for 3.0 is now passing. @abutcher is this ready on your end? |
Native Support for Multi-Master HA
Builds on #502 and has been rebased to target the master branch.