-
Notifications
You must be signed in to change notification settings - Fork 43
[minor] Integrate aiservice into mas-install pipeline #1915
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
Conversation
durera
left a comment
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.
At the moment we've basically attached the aiservice pipeline to the side of the existing MAS one, creating duplication in places ... what I'm looking for here is full integration into the pipeline
- sls - we are already installing sls in the pipeline, we shouldn't need a seperate stage, if customer is only installing aiservice, installing mas+aiservice, or just installing mas on it's own then the existing sls stage in the pipeline should be only place we "do sls stuff"
- dro - as above, dro is a cluster scoped install, we don't have a mas dro and an aiservice dro
- mongodb - same, our strategy is one mongodbcluster per ocp cluster, and everything that uses it uses it
I'd expect something like this to be what we are inserting:
- minio (e.g. run after ibm-catalogs)
- db2-aiservice (e.g. run after cert-manager)
- odh (e.g. run after ibm-catalogs)
- aiservice (run after existing sls, existing dro, db2-aiservice, odh)
Also, let's squash aiservice-tenant into a second step in aiservice task, see how I have done this for all mas apps, as we are trying to simplify the pipeline/make it easier for customers to read/understand/process.
|
@durera So I kept two tasks, but only one gets executed depending on the scenario. When we install MAS + AIServices, this is the list of tasks:
Can you please suggest any tips on how we can dynamically set the value of mas_instance_id within a single task depending on the scenario? Also, I will squash aiservice-tenant into the aiservice task. |
|
@durera I have Integrate aiservice-tenant into the aiservice task. |
Assuming we are using mas_instance_id here to generate a "fake" slsfcfg, mongocfg, etc because that's just what the code in the aiservice provision expects then I suggest something like this (e.g. in the sls task): This will make the task use aiservice-instance-id as a "fake" mas-instance-id when the role is ran, so that the MAS config resource file is still generated and can be used later in the pipeline. |
|
Hi @durera |
durera
left a comment
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.
This is ready to merge ... approval pending the readiness of related PRs in python-devops and ansible-devops
@durera For phase-1 we need only python-devops changes in this cli PR, right now python-devops is ready with required changes and I've tested that - can you please merge python-devops and this cli PR. |




Enable mas-install pipeline to install AI Service as well - eventually combining aiservice-install pipeline into mas-install pipeline -> removing aiservice-install pipeline.
Story Link: https://jsw.ibm.com/browse/MASR-6486
Test story: https://jsw.ibm.com/browse/MASR-6487
Related PR:
ibm-mas/python-devops#141
Testing:

