Juju machine service for Windows creates incorrect tools symlinks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Bogdan Teleaga |
Bug Description
On Windows 2012 R2, jujud service creates incorrect symlinks for charm units tools.
All the created symlinks for charm units point to the jujud file of the the first deployed charm.
Steps to reproduce the bug:
1. Deploy on one Windows 2012 R2 machine one unit of two different charms: charm-one and charm-two.
2. Destroy charm-one.
Effects:
The tools directory of charm-one will be deleted, when the charm unit is destroyed.
Every juju command for the charm-two, such as relation-get.exe, will point to a nonexistent file.
For example:
Moreover:
C:
This will cause each command execution to fail.
Tested on Juju version 1.22.
Cause:
The following Go code that handles the symlinks' creation does not support Windows:
https:/
Changed in juju-core: | |
assignee: | nobody → Bogdan Teleaga (bteleaga) |
Changed in juju-core: | |
status: | New → In Progress |
Changed in juju-core: | |
milestone: | none → 1.24-beta2 |
importance: | Undecided → High |
Changed in juju-core: | |
milestone: | 1.24-beta2 → 1.24-beta3 |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
This bug is addressed by:
http:// reviews. vapour. ws/r/1643/ reviews. vapour. ws/r/1644/
http://