Skip to content

refactor(vm): migrate to charmlibs-snap 2 - #409

Merged
oleksii-buhaiov merged 4 commits into
16/edgefrom
migrate-charmlibs-snap-2
Nov 19, 2026
Merged

oleksii-buhaiov merged 4 commits into
16/edgefrom
migrate-charmlibs-snap-2

Conversation

@oleksii-buhaiov

@oleksii-buhaiov oleksii-buhaiov commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Update the PostgreSQL VM kernel to use charmlibs-snap 2.x.

Add helpers for service status and service-specific logs. Keep restore failure timestamps unchanged, and propagate snapd query errors so they aren’t mistaken for stopped services.

Testing:

  • VM;
  • K8s (tests/integration/new_relations/test_new_relations_2.py is failing across all runs right now, the reason is failure in pgvector activation);
  • Watcher;

Related future changes to involve removing of snap.py logic:

Comment thread single_kernel_postgresql/utils/snap.py Resolved
@oleksii-buhaiov
oleksii-buhaiov force-pushed the migrate-charmlibs-snap-2 branch from ce7be13 to d36bfda Compare November 10, 2026 14:40
Comment thread single_kernel_postgresql/utils/snap.py Resolved
Comment thread single_kernel_postgresql/utils/snap.py Resolved
Comment thread single_kernel_postgresql/workload/vm.py Resolved

@taurus-forever taurus-forever left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. LGTM overall. Nice job done!
  2. please add to PR descption the list to VM/K8s tests runs inside perator.

Can we delay merging here for 1 weeks so we will release the next stable for fixing cluster<>cluster and will have more time to test it in edge with unstable snapcraft.io ?

@oleksii-buhaiov
oleksii-buhaiov force-pushed the migrate-charmlibs-snap-2 branch from d36bfda to 95518a4 Compare November 16, 2026 15:27
@oleksii-buhaiov
oleksii-buhaiov force-pushed the migrate-charmlibs-snap-2 branch from 70c0a16 to ce177e2 Compare November 18, 2026 13:46
@oleksii-buhaiov
oleksii-buhaiov merged commit 38e49ec into 16/edge Nov 19, 2026
227 of 241 checks passed
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.

4 participants