ceph-relation-changed RuntimeError: Unexpected crm return code

Bug #1911912 reported by Aurelien Lourot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Manila-Ganesha Charm
New
Undecided
Unassigned

Bug Description

Seen on OSCI on bionic-rocky:

https://review.opendev.org/c/openstack/charm-manila-ganesha/+/770400
https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_full/openstack/charm-manila-ganesha/770400/1/7768/index.html

WARNING ceph-relation-changed File "/var/lib/juju/agents/unit-manila-ganesha-az1-2/.venv/lib/python3.6/site-packages/charms_openstack/charm/core.py", line 950, in render_configs
WARNING ceph-relation-changed _render('_'.join(conf.split(os.path.sep))[1:])
WARNING ceph-relation-changed File "/usr/lib/python3.6/contextlib.py", line 88, in __exit__
WARNING ceph-relation-changed next(self.gen)
WARNING ceph-relation-changed File "/var/lib/juju/agents/unit-manila-ganesha-az1-2/.venv/lib/python3.6/site-packages/charms_openstack/charm/core.py", line 841, in restart_on_change
WARNING ceph-relation-changed self.service_start(service_name)
WARNING ceph-relation-changed File "lib/charm/openstack/manila_ganesha.py", line 284, in service_start
WARNING ceph-relation-changed err_msg)) from e
WARNING ceph-relation-changed RuntimeError: Unexpected crm return code: 1 Call cib_apply_diff failed (-203): Update does not conform to the configured schema
WARNING ceph-relation-changed ERROR: could not patch cib (rc=203)
WARNING ceph-relation-changed INFO: offending xml diff: <diff format="2">
WARNING ceph-relation-changed <change operation="create" path="/cib/configuration/resources/primitive[@id=&apos;res_manila_share_manila_share&apos;]/meta_attributes[@id=&apos;res_manila_share_manila_share-meta_attributes&apos;]" position="2">
WARNING ceph-relation-changed <nvpair id="res_manila_share_manila_share-meta_attributes-target-role" name="target-role" value="Started"/>
WARNING ceph-relation-changed </change>
WARNING ceph-relation-changed </diff>
WARNING ceph-relation-changed
WARNING ceph-relation-changed ERROR: Failed to commit updates to res_manila_share_manila_share
WARNING ceph-relation-changed
ERROR juju.worker.uniter.operation runhook.go:136 hook "ceph-relation-changed" (via explicit, bespoke hook script) failed: exit status 1
INFO juju.worker.uniter resolver.go:143 awaiting error resolution for "relation-changed" hook

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.