The Ceph charm fails its stop hook with Xenial-Pike (Luminous)
2017-10-25 20:16:08 DEBUG stop no valid command found; 10 closest matches:
2017-10-25 20:16:08 DEBUG stop mon stat
2017-10-25 20:16:08 DEBUG stop mon dump {<int[0-]>}
2017-10-25 20:16:08 DEBUG stop mon remove <name>
2017-10-25 20:16:08 DEBUG stop mon add <name> <IPaddr[:port]>
2017-10-25 20:16:08 DEBUG stop mon getmap {<int[0-]>}
2017-10-25 20:16:08 DEBUG stop Error EINVAL: invalid command
2017-10-25 20:16:08 DEBUG stop Traceback (most recent call last):
2017-10-25 20:16:08 DEBUG stop File "/var/lib/juju/agents/unit-ceph-0/charm/hooks/stop", line 688, in <module>
2017-10-25 20:16:08 DEBUG stop hooks.execute(sys.argv)
2017-10-25 20:16:08 DEBUG stop File "/var/lib/juju/agents/unit-ceph-0/charm/hooks/charmhelpers/core/hookenv.py", line 773, in execute
2017-10-25 20:16:08 DEBUG stop self._hooks[hook_name]()
2017-10-25 20:16:08 DEBUG stop File "/var/lib/juju/agents/unit-ceph-0/charm/hooks/stop", line 671, in stop
2017-10-25 20:16:08 DEBUG stop subprocess.check_call(cmd)
2017-10-25 20:16:08 DEBUG stop File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
2017-10-25 20:16:08 DEBUG stop raise CalledProcessError(retcode, cmd)
2017-10-25 20:16:08 DEBUG stop subprocess.CalledProcessError: Command '['ceph', 'mon', 'rm', 'juju-814f93-auto-osci-sv04-0']' returned non-zero exit status 22
2017-10-25 20:16:08 ERROR juju.worker.uniter.operation runhook.go:107 hook "stop" failed: exit status 1
Fix proposed to branch: master /review. openstack. org/517220
Review: https:/