juju2 manually provisioned units stuck in machine-status pending

Bug #1678981 reported by Laurent Sesquès
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Witold Krecicki

Bug Description

Hi,

When manually provisioning a machine in juju2, it will be reported as "Started" in juju status (tabular format by default), but machine-status will remain forever pending in yaml output.
To reproduce:

$ juju add-machine ssh:10.213.76.211

$ juju status
[...]
Machine State DNS Inst id Series AZ
0 started 10.213.76.211 manual:10.213.76.211 xenial

$ juju status --format=yaml
[...]
model:
  name: default
  controller: local-controller
  cloud: localhost
  region: localhost
  version: 2.1.2.1
machines:
  "0":
    juju-status:
      current: started
      since: 03 Apr 2017 08:15:31Z
      version: 2.1.2.1
    dns-name: 10.213.76.211
    ip-addresses:
    - 10.213.76.211
    instance-id: manual:10.213.76.211
    machine-status:
      current: pending
      since: 31 Mar 2017 08:15:36Z
    series: xenial
    hardware: arch=amd64 cores=2 mem=7881M
applications: {}

This is blocking mojo deployments using juju-check-wait, because 'pending' is not considered a 'ready' state (understandably).

Thanks,
Laurent

Changed in juju:
importance: Undecided → High
status: New → Triaged
Witold Krecicki (wpk)
Changed in juju:
assignee: nobody → Witold Krecicki (wpk)
Revision history for this message
Witold Krecicki (wpk) wrote :
Changed in juju:
status: Triaged → In Progress
Changed in juju:
status: In Progress → Fix Committed
milestone: none → 2.2-beta3
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.