Max Asnaashari

Results 22 issues of Max Asnaashari

This updates the code generated by `lxd-generate` to support filtering on multiple entries of the same field, and adds filter structs to `Config` and `Devices`. This applies only to the...

## Background Considering the comments in #10936, and @markylaing's request for using `lxd-generate` to create some basic boilerplate functions that we can just pass our own statements to, I've been...

This is some work in progress for implementing #10944 Currently this just works for `certificate`, and also changes the naming scheme by prefixing the `objects` statement naming scheme with `select`...

When drawing a prompt, (say, multi select), a go template is used to determine what to render. Currently, the template string as well as additional template functions are exposed as...

Question

Adds a cluster-wide locking mechanism to synchonize actions that shouldn't take place while a particular operation or task is running. It spawns a special `ClusterLock` operation, which is distinct from...

Fixes intermittent issues with the `clustering_image_refresh` tests (potentially among others as well). If we implicitly create the events listener after the operation has fired, then there's a chance the operation...

An issue causing intermittent test failures in the clustering image refresh tests was fixed by https://github.com/canonical/lxd/pull/12754/commits/e7b3c92f2c5ea0b9de9668f06a17a3fa77b239c0 The problem was a race where an operation would complete after setting up the...

Bug

When connecting to a LXD cluster via a remote registered with the `lxc` client, if the particular node whose address corresponds to the remote entry is down, then the cluster...

Feature

Closes #255 As discussed in Riga, this refactors the node removal process to rely on the microcluster API instead of directly implementing removal in the MicroCeph CLI. The main changes...

Currently, node removal is coupled with the CLI here with multiple API calls: https://github.com/canonical/microceph/blob/aae9f94dd349132283b08902b23aee27795e60fe/microceph/cmd/microceph/cluster_remove.go#L49 This means anyone using the MicroCeph API (MicroCloud) must re-implement the logic here, and maintain parity...