Windows client needs to make unix paths when working with the bootstrap node

Bug #1226840 reported by Antonio Rosales
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Tim Penhey
1.14
Fix Released
Critical
Tim Penhey

Bug Description

Nate Finch reported seeing \varlogjujumachine-0.log and \var\lib\juju\server.pem as files in the root directory.

cloud-init log: https://pastebin.canonical.com/97613/

Related branches

Revision history for this message
Antonio Rosales (arosales) wrote :
Changed in juju-core:
assignee: Nate Finch (natefinch) → nobody
Curtis Hovey (sinzui)
Changed in juju-core:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Nate Finch (natefinch)
Revision history for this message
Nate Finch (natefinch) wrote :

This is due to using filepath.Join to create paths that are then used on the server. Since the client is Windows, it uses backslashes... but obviously that does not work on linux.

My initial changes to fix it are here:
http://bazaar.launchpad.net/~natefinch/juju-core/014-fix-windows-build/revision/1746

Which seem to fix these problems, but even with the fix, bootstrap seems to never finish (that is to say, juju status after bootstrap never returns without timing out, even after repeated tries for over 30 minutes).

Tim Penhey (thumper)
Changed in juju-core:
status: In Progress → Fix Committed
Tim Penhey (thumper)
Changed in juju-core:
assignee: Nate Finch (natefinch) → Tim Penhey (thumper)
milestone: 1.14.1 → dev-docs
status: Fix Committed → In Progress
Tim Penhey (thumper)
Changed in juju-core:
milestone: dev-docs → 1.15.0
Tim Penhey (thumper)
Changed in juju-core:
status: In Progress → Fix Committed
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.