Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

juju.errors.JujuError: ['no actions defined on charm "local:focal/ceilometer-agent-0"'] #780

Open
freyes opened this issue Jun 8, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@freyes
Copy link
Member

freyes commented Jun 8, 2022

patch where this issue was seen: https://review.opendev.org/c/openstack/charm-ceilometer-agent/+/841897
ci run: https://openstack-ci-reports.ubuntu.com/artifacts/902/841897/4/check/focal-wallaby/902528c/

2022-06-01 20:50:29 [INFO] ======================================================================
2022-06-01 20:50:29 [INFO] ERROR: test_901_pause_resume (zaza.openstack.charm_tests.ceilometer.tests.CeilometerTest)
2022-06-01 20:50:29 [INFO] Run pause and resume tests.
2022-06-01 20:50:29 [INFO] ----------------------------------------------------------------------
2022-06-01 20:50:29 [INFO] Traceback (most recent call last):
2022-06-01 20:50:29 [INFO]   File "/home/ubuntu/src/review.opendev.org/openstack/charm-ceilometer-agent/.tox/func-target/lib/python3.8/site-packages/zaza/openstack/charm_tests/ceilometer/tests.py", line 163, in test_901_pause_resume
2022-06-01 20:50:29 [INFO]     with self.pause_resume(self.restartable_services):
2022-06-01 20:50:29 [INFO]   File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
2022-06-01 20:50:29 [INFO]     return next(self.gen)
2022-06-01 20:50:29 [INFO]   File "/home/ubuntu/src/review.opendev.org/openstack/charm-ceilometer-agent/.tox/func-target/lib/python3.8/site-packages/zaza/openstack/charm_tests/test_utils.py", line 500, in pause_resume
2022-06-01 20:50:29 [INFO]     generic_utils.assertActionRanOK(model.run_action(
2022-06-01 20:50:29 [INFO]   File "/home/ubuntu/src/review.opendev.org/openstack/charm-ceilometer-agent/.tox/func-target/lib/python3.8/site-packages/zaza/__init__.py", line 48, in _wrapper
2022-06-01 20:50:29 [INFO]     return run(_run_it())
2022-06-01 20:50:29 [INFO]   File "/home/ubuntu/src/review.opendev.org/openstack/charm-ceilometer-agent/.tox/func-target/lib/python3.8/site-packages/zaza/__init__.py", line 36, in run
2022-06-01 20:50:29 [INFO]     return task.result()
2022-06-01 20:50:29 [INFO]   File "/home/ubuntu/src/review.opendev.org/openstack/charm-ceilometer-agent/.tox/func-target/lib/python3.8/site-packages/zaza/__init__.py", line 47, in _run_it
2022-06-01 20:50:29 [INFO]     return await f(*args, **kwargs)
2022-06-01 20:50:29 [INFO]   File "/home/ubuntu/src/review.opendev.org/openstack/charm-ceilometer-agent/.tox/func-target/lib/python3.8/site-packages/zaza/model.py", line 949, in async_run_action
2022-06-01 20:50:29 [INFO]     action_obj = await unit.run_action(action_name, **action_params)
2022-06-01 20:50:29 [INFO]   File "/home/ubuntu/src/review.opendev.org/openstack/charm-ceilometer-agent/.tox/func-target/lib/python3.8/site-packages/juju/unit.py", line 166, in run_action
2022-06-01 20:50:29 [INFO]     res = await action_facade.Enqueue(actions=[client.Action(
2022-06-01 20:50:29 [INFO]   File "/home/ubuntu/src/review.opendev.org/openstack/charm-ceilometer-agent/.tox/func-target/lib/python3.8/site-packages/juju/client/facade.py", line 482, in wrapper
2022-06-01 20:50:29 [INFO]     reply = await f(*args, **kwargs)
2022-06-01 20:50:29 [INFO]   File "/home/ubuntu/src/review.opendev.org/openstack/charm-ceilometer-agent/.tox/func-target/lib/python3.8/site-packages/juju/client/_client2.py", line 244, in Enqueue
2022-06-01 20:50:29 [INFO]     reply = await self.rpc(msg)
2022-06-01 20:50:29 [INFO]   File "/home/ubuntu/src/review.opendev.org/openstack/charm-ceilometer-agent/.tox/func-target/lib/python3.8/site-packages/juju/client/facade.py", line 655, in rpc
2022-06-01 20:50:29 [INFO]     result = await self.connection.rpc(msg, encoder=TypeEncoder)
2022-06-01 20:50:29 [INFO]   File "/home/ubuntu/src/review.opendev.org/openstack/charm-ceilometer-agent/.tox/func-target/lib/python3.8/site-packages/juju/client/connection.py", line 644, in rpc
2022-06-01 20:50:29 [INFO]     raise errors.JujuError(err_results)
2022-06-01 20:50:29 [INFO] juju.errors.JujuError: ['no actions defined on charm "local:focal/ceilometer-agent-0"']
2022-06-01 20:50:29 [INFO] ----------------------------------------------------------------------
@freyes freyes added the bug Something isn't working label Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant