juju-core "state entity not found" bootstrap on ec2
Matthew Williams
matthew.williams at canonical.com
Thu Apr 4 11:12:54 UTC 2013
Hi John,
Thanks for your response, attached is what I get if I try juju status
and deploying wordpress
Thanks
Matt
On 04/04/13 12:00, John Arbash Meinel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2013-04-04 14:46, Matthew Williams wrote:
>> I recently got this error on ec2 after doing a juju-core bootstrap
>> --upload-tools on aws
>>
>> 2013/04/03 15:17:02 ERROR JUJU:jujud:bootstrap-state jujud
>> bootstrap-state command failed: state entity tag not found in
>> configuration
>>
>> I can't see a bug that mentions this. Anyone know what it means?
>> My setup had been working previously
>>
>> Thanks
>>
>> Matt
>>
> Is this error on machine/0 or on one of the machines that you are
> starting to deploy?
>
> The error specifically means that the jujud process is trying to
> connect to the Mongo database as an entity that the database does not
> recognize. I wouldn't be too surprised by it before your first 'juju
> status' or 'juju deploy' after the first bootstrap (since we haven't
> finished giving jujud all of its credentials yet).
>
> John
> =:->
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.13 (Cygwin)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlFdXUAACgkQJdeBCYSNAAN0dACgze9LIx8zU4H+qRbdnU4TfN2g
> e5sAoNVY8ws7TKegKTgeVkSVuqHUyGqP
> =aaLS
> -----END PGP SIGNATURE-----
-------------- next part --------------
jujucore at jujucore-VirtualBox:~/go_code/src/launchpad.net/juju-core$ juju bootstrap --upload-tools
jujucore at jujucore-VirtualBox:~/go_code/src/launchpad.net/juju-core$ juju status -v
2013/04/04 11:45:04 INFO JUJU:juju:status environs/ec2: opening environment "amazon"
2013/04/04 11:45:05 INFO JUJU:juju:status environs/ec2: waiting for DNS name(s) of state server instances [i-50ffe139]
2013/04/04 11:45:06 INFO JUJU:juju:status state: opening state; mongo addresses: ["ec2-54-235-41-46.compute-1.amazonaws.com:37017"]; entity ""
2013/04/04 11:45:06 INFO JUJU:juju:status state: connecting to 54.235.41.46:37017
2013/04/04 11:45:06 ERROR JUJU:juju:status state: connection failed: dial tcp 54.235.41.46:37017: connection refused
2013/04/04 11:45:06 INFO JUJU:juju:status state: connecting to 54.235.41.46:37017
2013/04/04 11:45:06 ERROR JUJU:juju:status state: connection failed: dial tcp 54.235.41.46:37017: connection refused
2013/04/04 11:45:06 INFO JUJU:juju:status state: connecting to 54.235.41.46:37017
2013/04/04 11:45:07 INFO JUJU:juju:status state: connection established
2013/04/04 11:45:07 INFO JUJU:juju:status state: opening state; mongo addresses: ["ec2-54-235-41-46.compute-1.amazonaws.com:37017"]; entity ""
2013/04/04 11:45:07 INFO JUJU:juju:status state: connecting to 54.235.41.46:37017
2013/04/04 11:45:08 INFO JUJU:juju:status state: connection established
2013/04/04 11:45:08 INFO JUJU:juju:status state: opening state; mongo addresses: ["ec2-54-235-41-46.compute-1.amazonaws.com:37017"]; entity ""
2013/04/04 11:45:08 INFO JUJU:juju:status state: connecting to 54.235.41.46:37017
2013/04/04 11:45:09 INFO JUJU:juju:status state: connection established
2013/04/04 11:45:09 INFO JUJU:juju:status state: opening state; mongo addresses: ["ec2-54-235-41-46.compute-1.amazonaws.com:37017"]; entity ""
2013/04/04 11:45:09 INFO JUJU:juju:status state: connecting to 54.235.41.46:37017
2013/04/04 11:45:10 INFO JUJU:juju:status state: connection established
2013/04/04 11:45:10 INFO JUJU:juju:status state: opening state; mongo addresses: ["ec2-54-235-41-46.compute-1.amazonaws.com:37017"]; entity ""
2013/04/04 11:45:10 INFO JUJU:juju:status state: connecting to 54.235.41.46:37017
2013/04/04 11:45:10 INFO JUJU:juju:status state: connection established
^C
jujucore at jujucore-VirtualBox:~/go_code/src/launchpad.net/juju-core$ juju status
^C
jujucore at jujucore-VirtualBox:~/go_code/src/launchpad.net/juju-core$ juju deploy wordpress
error: cannot log in to admin database: auth fails
More information about the Juju
mailing list