https://codereview.appspot.com/12333043/diff/1/environs/maas/instance.go#newcode26
environs/maas/instance.go:26: // TODO determine MAAS instance state
On 2013/08/05 07:09:06, axw1 wrote:
> On 2013/08/02 17:30:32, fwereade wrote:
> > Add a bug in LP and note the number here please; and ping bigjools,
or someone
> > else who knows maas, to find out what'll be needed to implement it,
and note
> > that in the bug.
> I had a chat with bigjools on IRC about this. He tells me that the
MAAS server
> does not track the status of nodes after they're allocated, and so any
node that
> juju knows about will always show up as "allocated".
> The TODO should probably be replaced with a note explaining that
status isn't
> available. Sound reasonable?
LGTM with a couple of suggestions.
https:/ /codereview. appspot. com/12333043/ diff/1/ container/ lxc/lxc_ test.go lxc/lxc_ test.go (right):
File container/
https:/ /codereview. appspot. com/12333043/ diff/1/ container/ lxc/lxc_ test.go# newcode130 lxc/lxc_ test.go: 130: c.Assert( instance. State() , gc.Equals, golxc.StateUnkn own))
container/
string(
This is a bit confusing.. should it be "stopped" or something instead?
https:/ /codereview. appspot. com/12333043/ diff/1/ environs/ azure/instance_ test.go azure/instance_ test.go (right):
File environs/
https:/ /codereview. appspot. com/12333043/ diff/1/ environs/ azure/instance_ test.go# newcode28 azure/instance_ test.go: 28: func (*InstanceSuite) TestId(c *C) {
environs/
Thanks for fixing this. Maybe while you're at it, make it instanceState
instead - no need to be exported.
https:/ /codereview. appspot. com/12333043/ diff/1/ environs/ maas/instance. go maas/instance. go (right):
File environs/
https:/ /codereview. appspot. com/12333043/ diff/1/ environs/ maas/instance. go#newcode26 maas/instance. go:26: // TODO determine MAAS instance state
environs/
On 2013/08/05 07:09:06, axw1 wrote:
> On 2013/08/02 17:30:32, fwereade wrote:
> > Add a bug in LP and note the number here please; and ping bigjools,
or someone
> > else who knows maas, to find out what'll be needed to implement it,
and note
> > that in the bug.
> I had a chat with bigjools on IRC about this. He tells me that the
MAAS server
> does not track the status of nodes after they're allocated, and so any
node that
> juju knows about will always show up as "allocated".
> The TODO should probably be replaced with a note explaining that
status isn't
> available. Sound reasonable?
+1
https:/ /codereview. appspot. com/12333043/