New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource agents vs next/ra-api.ng #10
Comments
|
I'm happy to switch to validate-all, we have it almost everywhere |
Should actions be marked with 'replaced-by' as parameters to properly rename migrate_to/migrate_from/status ? |
I guess we'll just update the case statements for the existing agents to e.g. "migrate-to|migrate_to" to avoid issues for users upgrading. |
...and update the metadata to only show the new actions. |
More RA vs OCF1.0 inconsistencies to clear up:
I'm assuming this issue is just for reconciling existing RA usage with the OCF standard, not proposing new features, which would be much longer :) |
Yes, this is only to create version 1.1 without any real extensions which will follow current state as much as possible. Although it is quite likely that we will have to do quite minor changes in order to cover all kind of existing resource agents. |
Can I suggest "primary" and "secondary"? In particular "unpromoted" sounds awkward. |
I'm OK with primary/secondary. The reason I didn't suggest it initially was to avoid terms that were already associated with particular software, to emphasize that the cluster functionality is application-agnostic. (master/slave, master/worker, master/replicant, primary/secondary, primary/backup) I think "promoted" works b/c that's all pacemaker really cares about. "demoted" would be OK but suggests something was actively done whereas it may have just been left in the not-promoted state. "default" or "started" could also work. I'll bring this up on the users@clusterlabs.org mailing list for discussion, since everyone is likely to have an opinion :) |
"promoted" and "started" seem sensible to me, but yes, I'm sure there will be more opinons ;) |
As @oalbrigt tested, all our resource agents work with -next release without any change. |
In order to map inconsistencies, I'm creating this bug to follow what should be fixed:
optional attribute role: master/slave (rename to lowercase)
rename validate-all to existing verify-all
replace status with monitor (pcs handles "monitor" op specially, but (deprecated) "status" is very same pcs#76) (remove from OCF 2.x)
new actions:
@oalbrigt please comment what is useful
The text was updated successfully, but these errors were encountered: