~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/core/description/doc.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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, service, 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 service
 
20
//   - no units with pending charm updates
 
21
// - all units have ResolvedNone for resolved status
 
22
//   - no pending hook execution