manual provisioning should ignore ssh warnings when detecting presence of /etc/init/juju*
Bug #1223277 reported by
Andrew Wilkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Andrew Wilkins |
Bug Description
ahasenack reported an issue with manual provisioning, where juju was incorrectly detecting the presence of a machine agent on the target host.
juju executes 'ssh <host> "ls /etc/init/ | grep juju.*\\.conf || exit 0"'; we are currently checking that both stdout&stderr are non-empty. ssh may log a warning to stderr if it automatically adds a known host. We should ignore stderr.
Related branches
lp://staging/~axwalk/juju-core/lp1223277-check-provisioned-ignore-stderr
- Juju Engineering: Pending requested
-
Diff: 183 lines (+83/-17)4 files modifiedenvirons/manual/agent.go (+4/-6)
environs/manual/detection.go (+10/-6)
environs/manual/detection_test.go (+44/-5)
environs/manual/ssh.go (+25/-0)
Changed in juju-core: | |
assignee: | nobody → Andrew Wilkins (axwalk) |
status: | New → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
milestone: | none → 1.15.0 |
importance: | Undecided → High |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.