manual provisioning should ignore ssh warnings when detecting presence of /etc/init/juju*

Bug #1223277 reported by Andrew Wilkins
6
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

Andrew Wilkins (axwalk)
Changed in juju-core:
assignee: nobody → Andrew Wilkins (axwalk)
status: New → In Progress
Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.15.0
importance: Undecided → High
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.