<p dir="ltr">Fyi</p>
<div class="gmail_quote">On Aug 5, 2014 4:59 AM, "David Britton" <<a href="mailto:david.britton@canonical.com">david.britton@canonical.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I've had three failures now, all three have gotten the same IP addresses (but a<br>
different physical MAAS host each time):<br>
<br>
Waiting for address<br>
Attempting to connect to <hostname here>:22<br>
Attempting to connect to <a href="http://10.1.3.229:22" target="_blank">10.1.3.229:22</a><br>
Attempting to connect to <a href="http://10.1.3.228:22" target="_blank">10.1.3.228:22</a><br>
[...]<br>
<br>
2014-08-05 02:11:32 INFO juju.mongo open.go:95 dialled mongo successfully<br>
2014-08-05 02:11:32 INFO juju.replicaset replicaset.go:67 Initiating replicaset with config replicaset.Config{Name:"juju", Version:1, Members:[]replicaset.Member{replicaset.Member{Id:1, Address:"<a href="http://10.1.3.228:37017" target="_blank">10.1.3.228:37017</a>", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"0"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}}}<br>
2014-08-05 02:11:35 WARNING juju.replicaset replicaset.go:86 Initiate: fetching replication status failed: cannot get replica set status: can't get local.system.replset config from self or any seed (EMPTYCONFIG)<br>
[... lots of this same error/warning pattern ...]<br>
<br>
2014-08-05 00:59:49 WARNING juju.replicaset replicaset.go:86 Initiate: fetching replication status failed: cannot get replica set status: can't get local.system.replset config from self or any seed (EMPTYCONFIG)<br>
2014-08-05 00:59:50 INFO juju.worker.peergrouper initiate.go:94 finished MaybeInitiateMongoServer<br>
2014-08-05 00:59:50 ERROR juju.cmd supercommand.go:323 cannot initiate replica set: cannot get replica set status: can't get local.system.replset config from self or any seed (EMPTYCONFIG)<br>
ERROR bootstrap failed: subprocess encountered error code 1<br>
Stopping instance...<br>
<br>
Notice the following entries are repeated *many* times in the leases<br>
file:<br>
<br>
host 10.1.3.229 {<br>
dynamic;<br>
hardware ethernet ec:a8:6b:fe:13:1b;<br>
fixed-address 10.1.3.229;<br>
}<br>
host 10.1.3.229 {<br>
dynamic;<br>
deleted;<br>
}<br>
<br>
The probme: I seem to be hitting bootstrap problems in this MAAS. I asked the<br>
juju guys a similar question, but not MAAS focused (just looking at that mongo<br>
replication stuff). The frequency with which I'm repeating it now makes me<br>
think there is something in MAAS that is causing Juju to get upset - and Juju<br>
is handling it poorly.<br>
<br>
<br>
I'm not sure if this is related, but notice the very odd ip address allocation<br>
pattern for the 10.1.3.x range here -- this is really weird to me. We have<br>
allocated the whole /24 for the 'static' range in maas. The ":<number>" is how<br>
many times that address appears as a 'host <ip> {' pattern in the leases file.<br>
<br>
<a href="http://10.1.3.1:0" target="_blank">10.1.3.1:0</a><br>
# [.. all zeros ..]<br>
<a href="http://10.1.3.73:0" target="_blank">10.1.3.73:0</a><br>
<a href="http://10.1.3.74:16" target="_blank">10.1.3.74:16</a><br>
<a href="http://10.1.3.75:16" target="_blank">10.1.3.75:16</a><br>
<a href="http://10.1.3.76:0" target="_blank">10.1.3.76:0</a><br>
# [.. all zeros ..]<br>
<a href="http://10.1.3.218:0" target="_blank">10.1.3.218:0</a><br>
<a href="http://10.1.3.219:0" target="_blank">10.1.3.219:0</a><br>
<a href="http://10.1.3.220:42" target="_blank">10.1.3.220:42</a><br>
<a href="http://10.1.3.221:42" target="_blank">10.1.3.221:42</a><br>
<a href="http://10.1.3.222:42" target="_blank">10.1.3.222:42</a><br>
<a href="http://10.1.3.223:42" target="_blank">10.1.3.223:42</a><br>
<a href="http://10.1.3.224:26" target="_blank">10.1.3.224:26</a><br>
<a href="http://10.1.3.225:28" target="_blank">10.1.3.225:28</a><br>
<a href="http://10.1.3.226:18" target="_blank">10.1.3.226:18</a><br>
<a href="http://10.1.3.227:32" target="_blank">10.1.3.227:32</a><br>
<a href="http://10.1.3.228:46" target="_blank">10.1.3.228:46</a><br>
<a href="http://10.1.3.229:42" target="_blank">10.1.3.229:42</a><br>
<a href="http://10.1.3.230:0" target="_blank">10.1.3.230:0</a><br>
# [.. all zeros ..]<br>
<br>
I took this one step further and looked at what MAC address was associated with<br>
which each host stanza. Seems to be many for each. In other words, it's not<br>
that the same host is associated with the same ip each time.<br>
<br>
<a href="http://paste.ubuntu.com/7957417/" target="_blank">http://paste.ubuntu.com/7957417/</a><br>
<br>
Any insigts?<br>
<br>
--<br>
David Britton <<a href="mailto:david.britton@canonical.com">david.britton@canonical.com</a>><br>
<br>
--<br>
Mailing list: <a href="https://launchpad.net/~maas-devel" target="_blank">https://launchpad.net/~maas-devel</a><br>
Post to : <a href="mailto:maas-devel@lists.launchpad.net">maas-devel@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~maas-devel" target="_blank">https://launchpad.net/~maas-devel</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div>