Comment 1 for bug 1525280

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

When using juju 1.25.2 (a build I got from juju's CI), the error is shown in juju debug-log:

machine-0: 2015-12-11 15:19:07 WARNING juju.apiserver.client status.go:677 error fetching public address: public no address
machine-0: 2015-12-11 15:19:13 WARNING juju.provisioner lxc-broker.go:113 failed to prepare container "0/lxc/0" network config: failed to allocate an address for "0/lxc/0": failed creating MAAS device for container "juju-machine-0-lxc-0" with MAC address "00:16:3e:ee:e3:aa": gomaasapi: got error back from server: 400 BAD REQUEST ({"hostname": ["Node with this Hostname already exists."]})
machine-0: 2015-12-11 15:19:14 WARNING juju.apiserver.client status.go:677 error fetching public address: public no address

Which corresponds to the api call as seen in this apache log:
10.1.102.146 - - [11/Dec/2015:09:19:13 -0600] "POST /MAAS/api/1.0/devices/?op=new HTTP/1.1" 400 297 "-" "Go 1.1 package http"

Maybe juju should have failed the action in this case instead of happily continuing with the deployment?