Skip to content

Fix/block on pebble timeout#156

Open
seb4stien wants to merge 6 commits into
mainfrom
fix/block-on-pebble-timeout
Open

Fix/block on pebble timeout#156
seb4stien wants to merge 6 commits into
mainfrom
fix/block-on-pebble-timeout

Conversation

@seb4stien

Copy link
Copy Markdown
Contributor

Avoid to go in error state on pebble timeout.

@seb4stien seb4stien requested a review from a team as a code owner May 22, 2026 15:12
Comment thread lib/charms/opencti/v0/opencti_connector.py
@seb4stien

Copy link
Copy Markdown
Contributor Author

@weiiwang01 WDYT of this PR?

@weiiwang01

Copy link
Copy Markdown
Collaborator

@weiiwang01 WDYT of this PR?

I don't object to this pull request, but I don't think this pull request solves the fundamental cause of this issue.

Also the pebble timeout problem can't be solved with methods within the typical juju operations, but instead it needs some hack to solve it (for now it needs to clear the pebble storage with juju exec, then a pod deletion with kubectl), so the block state doesn't perfectly fit the situation here.

And, even if we patch this problem in the opencti connector charms, the problem still exists in the opencti charm. And from past experience, this problem not only affects the add_layer api endpoint, but also other pebble endpoints, so it's more difficult to wrap them all with a try catch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants