Just hit this again with 2.0beta6. MAAS marks the machine as deployed, juju and juju leaves it in pending state with hundreds of failure messages
from juju-2.0 debug-log --include machine-2
machine-2: 2016-05-12 19:07:41 ERROR juju.worker.dependency engine.go:526 "machiner" manifold worker returned unexpected error: setting machine addresses: cannot set machine addresses of machine 2: state changing too quickly; try again soon
...
from juju-2.0 status
[Units]
ID WORKLOAD-STATUS JUJU-STATUS VERSION MACHINE PORTS PUBLIC-ADDRESS MESSAGE
[Machines]
ID STATE DNS INS-ID SERIES AZ
0 started 10.1.100.12 /MAAS/api/1.0/nodes/node-f2f50cc0-0d32-11e6-b381-00163e743f76/ trusty Leonardo
1 started 10.1.100.22 /MAAS/api/1.0/nodes/node-d45a81c4-0d45-11e6-ad89-00163e743f76/ trusty Leonardo
2 pending /MAAS/api/1.0/nodes/node-2d45eb4a-0d30-11e6-9b2e-00163e743f76/ trusty Leonard
Just hit this again with 2.0beta6. MAAS marks the machine as deployed, juju and juju leaves it in pending state with hundreds of failure messages
from juju-2.0 debug-log --include machine-2
machine-2: 2016-05-12 19:07:41 ERROR juju.worker. dependency engine.go:526 "machiner" manifold worker returned unexpected error: setting machine addresses: cannot set machine addresses of machine 2: state changing too quickly; try again soon
...
from juju-2.0 status
[Units]
ID WORKLOAD-STATUS JUJU-STATUS VERSION MACHINE PORTS PUBLIC-ADDRESS MESSAGE
[Machines] 1.0/nodes/ node-f2f50cc0- 0d32-11e6- b381-00163e743f 76/ trusty Leonardo 1.0/nodes/ node-d45a81c4- 0d45-11e6- ad89-00163e743f 76/ trusty Leonardo 1.0/nodes/ node-2d45eb4a- 0d30-11e6- 9b2e-00163e743f 76/ trusty Leonard
ID STATE DNS INS-ID SERIES AZ
0 started 10.1.100.12 /MAAS/api/
1 started 10.1.100.22 /MAAS/api/
2 pending /MAAS/api/