add-machine with vsphere triggers machine-0: panic: juju home hasn't been initialized

Bug #1513492 reported by John George
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Sergey Matyukevich
1.25
Fix Released
Critical
Unassigned

Bug Description

With juju version 1.25.0-trusty-amd64 and the vsphere provider the following two commands will trigger a panic, which can be seen in the attached logs.
    JUJU_DEV_FEATURE_FLAGS="vsphere-provider" juju bootstrap --debug
    juju add-machine

environments.yaml has the following entry:
environments:
    vsphere:
        type: vsphere
        host: '192.168.1.12'
        user: '<email address hidden>'
        password: <password>
        datacenter: 'NUC-DC'
        default-series: trusty
        image-metadata-url: http://192.168.1.104
        authorized-keys: <public key>

Revision history for this message
John George (jog) wrote :
Revision history for this message
John George (jog) wrote :
John George (jog)
Changed in juju-core:
importance: High → Critical
Changed in juju-core:
assignee: nobody → Sergey Matyukevich (s-matyukevich)
Revision history for this message
Sergey Matyukevich (s-matyukevich) wrote :
Changed in juju-core:
status: Triaged → Fix Committed
Revision history for this message
Cheryl Jennings (cherylj) wrote :
Changed in juju-core:
milestone: none → 1.26-alpha2
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
Revision history for this message
John George (jog) wrote :

This bug is fixed in 1.25.1 but not 1.26-alpha2.
Set the status for juju-core back to triaged.

Changed in juju-core:
status: Fix Released → Triaged
milestone: 1.26-alpha2 → 1.26-alpha3
Revision history for this message
Cheryl Jennings (cherylj) wrote :

The PR is still open and just needs to be merged. Unfortunately, master is now blocked.

Changed in juju-core:
status: Triaged → Fix Committed
Changed in juju-core:
milestone: 1.26-alpha3 → 2.0-alpha1
Changed in juju-core:
milestone: 2.0-alpha1 → 1.26-alpha3
Curtis Hovey (sinzui)
Changed in juju-core:
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.