juju add-machine still assumes precise (maas)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Ian Booth | ||
1.20 |
Fix Released
|
High
|
Ian Booth |
Bug Description
set up a maas system on Ubuntu 14.04 with 2 nodes, both set with Release = trusty.
environment.yaml is set for basic maas, relevant snippet follows:
# https:/
maas:
type: maas
# maas-server specifies the location of the MAAS server. It must
# specify the base path.
#
# maas-oauth holds the OAuth credentials from MAAS.
#
maas-oauth: 'bhgerCSAq3PbBc
"juju bootstrap --upload-tools --debug" works OK, brings up first machine
subsequent "juju add-machine" commands will try to add a precise node, of which there are none:
test@test-
test@test-
environment: maas
machines:
"0":
agent-state: started
agent-version: 1.18.1.1
dns-name: T110ii.maas
instance-id: /MAAS/api/
series: trusty
"1":
instance-id: pending
series: precise
services: {}
Adding "default-series: trusty" to environment.yaml does not seem to work either.
running: juju add-machine --series="trusty"
will create the right machine, but machine will remain "pending" until the nodes ahead of it are destroyed
with (for example) "juju destroy-machine 1".
Then the trusty machine will come up OK.
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: add-machine maas-provider |
Changed in juju-core: | |
milestone: | none → 1.20.8 |
milestone: | 1.20.8 → 1.21-alpha1 |
Changed in juju-core: | |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
I believe the need to kill the precise machine (destroy-machine 1) is
actually bug #1311676, which should have a fix available. (If we don't
have tools for a machine then it will fail cleanly rather than causing the
provisioner to go into a failure loop).
That fix should be available in 1.18.2, along with the fix so that
"--upload-tools" always provides both Precise and Trusty tools.
That said, I'm not sure what a plain "juju add-machine" without any extra
arguments is going to do, as it may depend on the platform that you are
calling it from.
John
=:->
On Sat, May 3, 2014 at 1:17 AM, Curtis Hovey <email address hidden> wrote:
> ** Changed in: juju-core /bugs.launchpad .net/bugs/ 1315473 /bugs.launchpad .net/juju- core/+bug/ 1315473/ +subscriptions
> Status: New => Triaged
>
> ** Changed in: juju-core
> Importance: Undecided => High
>
> ** Tags added: add-machine maas-provider
>
> --
> You received this bug notification because you are subscribed to juju-
> core.
> https:/
>
> Title:
> juju add-machine still assumes precise (maas)
>
> To manage notifications about this bug go to:
> https:/
>