-
Notifications
You must be signed in to change notification settings - Fork 125
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
Add state to services #356
Conversation
3ef7929
to
ccc5b15
Compare
ccc5b15
to
d6e9034
Compare
Checked commit d-m-u@d6e9034 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@d-m-u there's a retirement_state column already, is this expected to be a more general replacement for that or will they compliment each other? Like state is "retired" and retirement_state is "in progress" ? |
Yeah @agrare we wanted a more general one. I think Madhu said something about phasing out the retirement specific state eventually, or not, but in any case, a general place for state things was asked for. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Booya
Is this something that really needs to be a column?
That sounds like something that belongs more in a method than a net-new piece of data. |
Shouldn't this just be |
I feel like the purpose of this is to evaluate the current state of the whole service, but if the provisioning is still in progress wouldn't that need to be evaluated dynamically? |
@carbonin Thanks for the feedback. Our goal is to eventually use the state column for provisioning |
Okay, that's fine for now I guess. But, unless we're planning that refactoring immediately I would have preferred this have a more specific name like And additionally, when adding something like this to the schema, please try to offer some additional information about the intended design. There's no detail in the BZ about what is trying to be accomplished and the PR/commit also offers no details about why a column is being added. As it stands it's impossible for any developer other than @d-m-u and @tinaafitz to learn what the function of this column should be. |
yanked from gitter: @carbonin @agrare So, the automate team grabbed my ear this morning about #356 and it's use in general |
Per https://bugzilla.redhat.com/show_bug.cgi?id=1677571 services need a state column that we can jack for provisioning n retirement and whatever else might change state of a service. Booya.
Actually I just wanted to see if anyone would read it, that's why there's a booya.