Sorry for the late reply, but I was looking into a few MAAS
issues, one was a failed "migrations" using Django South, then
some duplicate node entries, then some complications with adding
new machines. As to the latter I am back to the tools upgrade
problem.
Reminder of versions:
* ULTS 14.
* MAAS 1.5.4 now upgraded in-place to 1.7.6
* Juju:
* 1.23.3 now upgraded in-place to 1.24.5 on the "client"/"controller" node,
* All tools are still 1.23.3 on nodes and units within nodes.
* On the Juju "state" servers the MongoDB package is 2.4.9-0ubuntu3.
> The jujud agent responsible for managing the node (also known as
> the machine agent) is responsible for ensuring tools are
> available on the machine during an upgrade. It does this by
> asking the Juju Server for the requested tools. The Juju Server
> looks in its cache and only goes to streams.canonical.com if the
> tools aren't cached locally.
> $ juju sync-tools --version 1.24
That gives me:
$ juju sync-tools --version 1.24
ERROR invalid binary version "1.24.5--amd64"
I get the same with:
$ juju upgrade-juju
ERROR invalid binary version "1.24.5--amd64"
I get the same error when adding a new node BTW and this is the
outcome:
machine-10: 2015-09-21 12:37:33 ERROR juju.provisioner
provisioner_task.go:564 cannot find tools for machine "28": invalid binary
version "1.24.5--amd64"
$ juju status | grep -A4 '"28":'
"28":
agent-state-info: invalid binary version "1.24.5--amd64"
instance-id: pending
series: trusty
services:
Notes:
* At some point I managed to add a new node, and it installed
tools 1.23.3 even if the Juju "client" packages had been
upgraded to 1.24.5.
* In the above I have forced "series: trusty" after the fact by
editing the MAAS database.
I have attached the current content of the tools metadata
collection in case it might help.
juju:PRIMARY> t = db.toolsmetadata.find().pretty();
{
"_id" : "1.23.2-trusty-amd64",
"version" : "1.23.2-trusty-amd64",
"size" : NumberLong(11555177),
"sha256" :
"acabf7b8f9d9a9d718a083f80355dfbdce228bb2f8c4e9cfab7899c730f7290b",
"path" :
"tools/1.23.2-trusty-amd64-acabf7b8f9d9a9d718a083f80355dfbdce228bb2f8c4e9cfab7899c730f7290b",
"txn-revno" : NumberLong(2),
"txn-queue" : [
"55534945705cc83c16000038_2232d0f1"
]
}
{
"_id" : "1.23.3-trusty-amd64",
"path" :
"tools/1.23.3-trusty-amd64-007c62a742c974c3f082964f37b04c28d46345e4816a926c31f8bdef53000552",
"sha256" :
"007c62a742c974c3f082964f37b04c28d46345e4816a926c31f8bdef53000552",
"size" : NumberLong(11566458),
"txn-queue" : [
"558c54bc705cc881670003fd_9cb7835d",
"558c54bc705cc881670003fe_d9e05d7b"
],
"txn-revno" : NumberLong(2),
"version" : "1.23.3-trusty-amd64"
}
{
"_id" : "1.24.5-trusty-amd64",
"version" : "1.24.5-trusty-amd64",
"size" : NumberLong(16649545),
"sha256" :
"e080a20aed15abb1e131dec2bafa227ac395cfb5710b10c05d82f9c50243a497",
"path" :
"tools/1.24.5-trusty-amd64-e080a20aed15abb1e131dec2bafa227ac395cfb5710b10c05d82f9c50243a497",
"txn-revno" : NumberLong(2),
"txn-queue" : [
"55e0745a705cc8ff13002089_6cf89b22"
]
}
{
"_id" : "1.24.5-centos7-amd64",
"version" : "1.24.5-centos7-amd64",
"size" : NumberLong(16392187),
"sha256" :
"dd34f24cd5da7d46efee4d5df9a2ef880794a2624802ea5245286d45908684df",
"path" :
"tools/1.24.5-centos7-amd64-dd34f24cd5da7d46efee4d5df9a2ef880794a2624802ea5245286d45908684df",
"txn-revno" : NumberLong(2),
"txn-queue" : [
"55fbc6c5705cc87ca6001422_ea7585c0"
]
}
{
"_id" : "1.24.5-precise-amd64",
"version" : "1.24.5-precise-amd64",
"size" : NumberLong(16649539),
"sha256" :
"d31834427dc7399f93bc73d3a788aceaae1c4f1416b8fcd473ded9ca2a2f6df2",
"path" :
"tools/1.24.5-precise-amd64-d31834427dc7399f93bc73d3a788aceaae1c4f1416b8fcd473ded9ca2a2f6df2",
"txn-revno" : NumberLong(2),
"txn-queue" : [
"55fbc6c8705cc87ca600142a_4a4a6137"
]
}
{
"_id" : "1.24.5--amd64",
"path" :
"tools/1.24.5--amd64-dd34f24cd5da7d46efee4d5df9a2ef880794a2624802ea5245286d45908684df",
"sha256" :
"dd34f24cd5da7d46efee4d5df9a2ef880794a2624802ea5245286d45908684df",
"size" : NumberLong(16392187),
"txn-queue" : [ ],
"txn-revno" : NumberLong(2),
"version" : "1.24.5--amd64"
}
juju:PRIMARY>
One strange aspect of that is that there is an entry for
"1.24.5--amd64" and the checksum seems to indicate it is the tools
blob for CentOS (probably randomly).
--
Juju mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/juju