Charm stuck in "Charm configuration in progress"

Hello charmers!

I’m currently writing a charm for our PowerFlex storage systems, the code looks fine and the application and integration with cinder works as expected.

However, after the application got deployed the status get stuck in waiting with a “Charm configuration in progress” although the configuration is complete.

I’m sharing the link to our charm and would appreciate if someone can help me to understand on how to fix it as it can be confusing for the operator. https://github.com/dell-esg/powerflex-cinder-charm/blob/main/src/charm.py

Without knowing how ops-sunbeam works it’s hard to tell. I’d try to figure out who’s setting that status and based on what parameters.

@jproque15130 Seems like you are hitting [1] Can you check if self._stored.is_started is set to True.

[1] https://opendev.org/openstack/charm-ops-openstack/src/commit/54dbb7f0002aff85dde83775838c537120c9498b/ops_openstack/core.py#L202

re what @hemanth-n is saying, you can verify that in three ways:

  • jhack show-stored mycharm/0
  • jhack eval mycharm/0 self._stored._is_started
  • add a print statement to the charm, repack, redeploy
1 Like

Hello, let me check and get back to you.