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