github.com/wallyworld/juju@v0.0.0-20161013125918-6cf1bc9d917a/core/description/doc.go (about) 1 // Copyright 2015 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 // The description package defines the structure and representation and 5 // serialisation of models to facilitate the import and export of 6 // models from different controllers. 7 package description 8 9 // NOTES: 10 // 11 // The following prechecks are to be made before attempting migration: 12 // 13 // - no agents in an error state 14 // - nothing dying or dead; machine, application, unit, relation, storage, network etc 15 // - no entries in the assignUnitC collection 16 // - these are units pending assignment 17 // - no units agent status in an error state 18 // - workload error status is probably fine 19 // - all units using the same charm and series as the application 20 // - no units with pending charm updates 21 // - all units have ResolvedNone for resolved status 22 // - no pending hook execution