-
Notifications
You must be signed in to change notification settings - Fork 70
Order of OpenShift artifacts in Nulecule file #669
Comments
Right now we don't have a way how to ensure order in which OpenShift artifacts are deployed. One workaround with this would be using List but that is not possible because right now our provider doesn't support it 😢 #612 |
@kadel, given openshift object types, what is the requirement as far as ordering goes? I see you have a deploymentconfig buildconfig service and imagestream. What are the requirements for ordering there? |
When comparing |
@dustymabe right now my concern is mainly about deploying imageStream before buildConfig because of this bug openshift/origin#4518 There another issue that touches ordering issue #18 this case is about creating services first before deploymentConfigs, replicationControllers and pods. |
@kadel @dustymabe we should come up with a rule or chronological order that specifies the order of deployment, for different providers (atleast for Kubernetes and OpenShift). |
Openshift deployement is done via API, so the artifacts are read locally and stored in a dict, which was causing the order of artifacts to change while deployment, using OrderedDict paves a way to keeping that sequence. Fixes issue projectatomic#669
Openshift deployement is done via API, so the artifacts are read locally and stored in a dict, which was causing the order of artifacts to change while deployment, using OrderedDict paves a way to keeping that sequence. Fixes issue projectatomic#669
@kadel @dustymabe are we going ahead with the idea of let user decide the order of artifact or are we gonna embed that intelligence into Atomic App, depending on that this can be closed or I can move forward with implementing that. |
I think we definitely want to have logic within Atomic App to deploy things in the "right" order. The only reason to not do this would be if we clearly identify paths where deploying things in that order is wrong. |
If I remember correctly in previous version we deployed OpenShift artifacts in order which they appear in Nulecule file.
But this is not happening anymore :-(
Problem is that with OpenShift you sometimes need to create some objects before another.
in Nulecule:
debug output:
Here it can bee seen that processing is happening in same order as in Nulecule file, but then deployment is in completely different one :-(
The text was updated successfully, but these errors were encountered: