Invoking the command `openstack.terraform` fails with `Failed to load plugin schemas`
Example:
ubuntu@bm0:~/snap/openstack/common/etc/deploy-microk8s$ TF_LOG=DEBUG openstack.terraform plan
2023-08-23T08:28:06.138Z [INFO] Terraform version: 1.3.7
2023-08-23T08:28:06.138Z [DEBUG] using github.com/hashicorp/go-tfe v1.9.0
2023-08-23T08:28:06.138Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.15.0
2023-08-23T08:28:06.138Z [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2023-08-23T08:28:06.138Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2023-08-23T08:28:06.138Z [DEBUG] using github.com/zclconf/go-cty v1.12.1
2023-08-23T08:28:06.138Z [INFO] Go runtime version: go1.20.7
2023-08-23T08:28:06.138Z [INFO] CLI args: []string{"/snap/openstack/x1/bin/terraform", "plan"}
2023-08-23T08:28:06.138Z [DEBUG] Attempting to open CLI config file: /home/ubuntu/snap/openstack/x1/.terraformrc
2023-08-23T08:28:06.138Z [INFO] Loading CLI configuration from /home/ubuntu/snap/openstack/x1/.terraformrc
2023-08-23T08:28:06.138Z [DEBUG] Explicit provider installation configuration is set
2023-08-23T08:28:06.138Z [INFO] CLI command args: []string{"plan"}
2023-08-23T08:28:06.139Z [INFO] Checkpoint disabled. Not running.
2023-08-23T08:28:06.259Z [DEBUG] checking for provisioner in "."
2023-08-23T08:28:06.259Z [DEBUG] checking for provisioner in "/snap/openstack/x1/bin"
2023-08-23T08:28:06.260Z [INFO] backend/local: starting Plan operation
2023-08-23T08:28:06.260Z [DEBUG] PUT https://10.206.54.40:7000/1.0/terraformlock/microk8s-plan
2023-08-23T08:28:06.275Z [DEBUG] GET https://10.206.54.40:7000/1.0/terraformstate/microk8s-plan
2023-08-23T08:28:06.278Z [DEBUG] created provider logger: level=debug
2023-08-23T08:28:06.278Z [INFO] provider: configuring client automatic mTLS
2023-08-23T08:28:06.288Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/juju/juju/0.8.0/linux_amd64/terraform-provider-juju_v0.8.0 args=[.terraform/providers/registry.terraform.io/juju/juju/0.8.0/linux_amd64/terraform-provider-juju_v0.8.0]
2023-08-23T08:28:06.288Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/juju/juju/0.8.0/linux_amd64/terraform-provider-juju_v0.8.0 pid=416886
2023-08-23T08:28:06.288Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/juju/juju/0.8.0/linux_amd64/terraform-provider-juju_v0.8.0
2023-08-23T08:28:06.313Z [ERROR] provider.terraform-provider-juju_v0.8.0: plugin init error: error="listen unix /tmp/plugin1838410243: listen: operation not permitted" timestamp=2023-08-23T08:28:06.312Z
2023-08-23T08:28:06.314Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/juju/juju/0.8.0/linux_amd64/terraform-provider-juju_v0.8.0 pid=416886
2023-08-23T08:28:06.314Z [DEBUG] PUT https://10.206.54.40:7000/1.0/terraformunlock/microk8s-plan
╷
│ Error: Failed to load plugin schemas
│
│ Error while loading schemas for plugin components: Failed to obtain provider schema: Could not load the schema for provider registry.terraform.io/juju/juju: failed to instantiate provider "registry.terraform.io/juju/juju" to obtain schema:
│ Unrecognized remote plugin message:
│
│ This usually means that the plugin is either invalid or simply
│ needs to be recompiled to support the latest protocol...
╵
2023-08-23T08:28:06.321Z [WARN] provider: plugin failed to exit gracefully