slipstream / SlipStream

SlipStream open source PaaS, App Store and DevOps engine
sixsq.com/products/slipstream
20 stars 8 forks source link

Convert module to CIMI resource #292

Closed schaubl closed 6 years ago

schaubl commented 6 years ago
loomis commented 6 years ago

See PRs for further details and historical comments.

A full conversion of the modules on Nuvla to a CIMI representation has been performed on a test SlipStream deployment. The full conversion took a bit under 3 hours (167 minutes) with the script running on a laptop separate from Nuvla and the test machine.

The known limitations of the migration script are:

As there are now "project" resources, the module resource implementation needs to check/ensure consistency in the module hierarchy: not allow addition of modules without a parent, check ACL of enclosing project, no duplication of paths, etc.

The errors that arise in the conversions are summarized below:

The character encoding problems need to be fixed in the migration script. The others problems require us to decide what to do with invalid module specifications: try to correct errors, ignore modules, etc.

mebster commented 6 years ago

How are we solving the cloud specific image id issue? Partial update? Something else? The issue shows-up when we add NuvlaBoxes, where the current model requires updating each module targeting the new box.

schaubl commented 6 years ago

@loomis The initial purpose of this issue has been achived (the first version to test). Do you want to track the current work you are doing with @0xbase12 on a separate issue or to continue with this one. If the first one, please make a link to the new issue and close this one.

loomis commented 6 years ago

Continued with slipstream/SlipStreamServer#1611.