upgrades are being triggered and failing on fresh installs
Bug #1662943 reported by
Ryan Beisner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Monitor Charm |
Fix Released
|
Critical
|
Unassigned | ||
Ceph OSD Charm |
Fix Released
|
Critical
|
Chris Holcombe | ||
OpenStack Ceph Charm (Retired) |
Fix Released
|
Critical
|
Unassigned | ||
ceph (Juju Charms Collection) |
Invalid
|
Critical
|
Unassigned | ||
ceph-mon (Juju Charms Collection) |
Invalid
|
Critical
|
Unassigned | ||
ceph-osd (Juju Charms Collection) |
Invalid
|
Critical
|
Chris Holcombe |
Bug Description
Ceph upgrades are being triggered and failing on fresh installs. This appears to have started with:
https:/
The following bare metal tests are failing with this:
- trusty-liberty
- trusty-kilo
ceph-osd/0 error idle 1.25.9.1 0 table.maas hook failed: "config-changed"
Changed in ceph-osd (Juju Charms Collection): | |
assignee: | nobody → Chris Holcombe (xfactor973) |
Changed in ceph-osd (Juju Charms Collection): | |
importance: | Undecided → High |
importance: | High → Critical |
status: | New → Triaged |
Changed in ceph-mon (Juju Charms Collection): | |
status: | New → In Progress |
Changed in ceph-osd (Juju Charms Collection): | |
status: | Triaged → In Progress |
Changed in ceph (Juju Charms Collection): | |
status: | New → In Progress |
Changed in ceph-mon (Juju Charms Collection): | |
importance: | Undecided → Critical |
Changed in ceph (Juju Charms Collection): | |
importance: | Undecided → Critical |
Changed in charm-ceph: | |
importance: | Undecided → Critical |
status: | New → Fix Committed |
Changed in ceph (Juju Charms Collection): | |
status: | Fix Committed → Invalid |
Changed in charm-ceph-mon: | |
importance: | Undecided → Critical |
status: | New → Fix Committed |
Changed in ceph-mon (Juju Charms Collection): | |
status: | Fix Committed → Invalid |
Changed in charm-ceph-osd: | |
assignee: | nobody → Chris Holcombe (xfactor973) |
importance: | Undecided → Critical |
status: | New → Fix Committed |
Changed in ceph-osd (Juju Charms Collection): | |
status: | Fix Committed → Invalid |
Changed in charm-ceph: | |
milestone: | none → 17.02 |
Changed in charm-ceph-mon: | |
milestone: | none → 17.02 |
Changed in charm-ceph-osd: | |
milestone: | none → 17.02 |
Changed in charm-ceph: | |
status: | Fix Committed → Fix Released |
Changed in charm-ceph-mon: | |
status: | Fix Committed → Fix Released |
Changed in charm-ceph-osd: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
2017-02-08 09:14:17 INFO install update-initramfs: Generating /boot/initrd. img-3.13. 0-108-generic juju/agents/ unit-ceph- osd-0/charm/ hooks/config- changed" , line 520, in <module> sys.argv) juju/agents/ unit-ceph- osd-0/charm/ hooks/charmhelp ers/core/ hookenv. py", line 731, in execute hook_name] () juju/agents/ unit-ceph- osd-0/charm/ hooks/charmhelp ers/contrib/ hardening/ harden. py", line 79, in _harden_inner2 juju/agents/ unit-ceph- osd-0/charm/ hooks/config- changed" , line 314, in config_changed juju/agents/ unit-ceph- osd-0/charm/ hooks/config- changed" , line 108, in check_for_upgrade key='osd- upgrade' ) __init_ _.py", line 1527, in roll_osd_cluster tree(service= upgrade_ key) __init_ _.py", line 467, in get_osd_tree python2. 7/subprocess. py", line 573, in check_output ror(retcode, cmd, output=output) CalledProcessEr ror: Command '['ceph', '--id', 'osd-upgrade', 'osd', 'tree', '--format=json']' returned non-zero exit status 1 uniter. operation runhook.go:107 hook "config-changed" failed: exit status 1
2017-02-08 09:14:34 INFO juju-log Application Version: 0.94.8
2017-02-08 09:14:35 DEBUG juju-log Hardening function 'install'
2017-02-08 09:14:35 DEBUG juju-log Hardening function 'config_changed'
2017-02-08 09:14:35 DEBUG juju-log Hardening function 'upgrade_charm'
2017-02-08 09:14:35 DEBUG juju-log Hardening function 'update_status'
2017-02-08 09:14:35 DEBUG juju-log No hardening applied to 'config_changed'
2017-02-08 09:14:35 INFO juju-log old_version: firefly
2017-02-08 09:14:35 INFO juju-log new_version: hammer
2017-02-08 09:14:35 INFO juju-log firefly to hammer is a valid upgrade path. Proceeding.
2017-02-08 09:14:35 INFO juju-log roll_osd_cluster called with hammer
2017-02-08 09:14:35 INFO config-changed Error initializing cluster client: Error('error calling conf_read_file: errno EINVAL',)
2017-02-08 09:14:35 INFO juju-log ceph osd tree command failed with message:
2017-02-08 09:14:35 INFO config-changed Traceback (most recent call last):
2017-02-08 09:14:35 INFO config-changed File "/var/lib/
2017-02-08 09:14:35 INFO config-changed hooks.execute(
2017-02-08 09:14:35 INFO config-changed File "/var/lib/
2017-02-08 09:14:35 INFO config-changed self._hooks[
2017-02-08 09:14:35 INFO config-changed File "/var/lib/
2017-02-08 09:14:35 INFO config-changed return f(*args, **kwargs)
2017-02-08 09:14:35 INFO config-changed File "/var/lib/
2017-02-08 09:14:35 INFO config-changed check_for_upgrade()
2017-02-08 09:14:35 INFO config-changed File "/var/lib/
2017-02-08 09:14:35 INFO config-changed upgrade_
2017-02-08 09:14:35 INFO config-changed File "lib/ceph/
2017-02-08 09:14:35 INFO config-changed osd_tree = get_osd_
2017-02-08 09:14:35 INFO config-changed File "lib/ceph/
2017-02-08 09:14:35 INFO config-changed 'osd', 'tree', '--format=json'])
2017-02-08 09:14:35 INFO config-changed File "/usr/lib/
2017-02-08 09:14:35 INFO config-changed raise CalledProcessEr
2017-02-08 09:14:35 INFO config-changed subprocess.
2017-02-08 09:14:35 ERROR juju.worker.