K8s actions stay in pending with operator framework in Charm without workload

Bug #1868998 reported by Dominik Fleischmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Ian Booth

Bug Description

When deploying a Kubernetes Charm written in the operator framework all the actions executed stay in pending. When executing juju run the command times out.

I'm deploying the following charm:
https://github.com/charmed-osm/charm-simple-k8s

To test it's functionality I create a LXD container and configure it to be accessible via SSH and password.

This is the deploy command:

`juju deploy . --config ssh-hostname=10.186.223.34 --config ssh-username=ubuntu --config ssh-password=ubuntu --resource ubuntu_image=ubuntu/ubuntu:latest`

With ssh-hostname being the IP of the LXD container.

When then running any action like: `juju run-action simple-k8s/0 verify-ssh-credentials` the action stays in pending

Furthermore when running: `juju run simple-k8s --unit simple-k8s/0 touch /home/ubuntu/hello` the command times out.

It's important to point out, that this charm only is an operator, no workload is being deployed.

Tags: k8s
summary: - K8s actions stay in pending with operator framework
+ K8s actions stay in pending with operator framework in Charm without
+ workload
description: updated
Revision history for this message
Ian Booth (wallyworld) wrote :

This was a feature we had not yet got to implement. We've managed to get a POC in behind a feature flag for 2.8 beta. It's experimental so there may likely be bugs :-)

https://discourse.juju.is/t/experimental-new-feature-k8s-charms-as-operators/2849/2

tags: added: k8s
Changed in juju:
milestone: none → 2.8-beta1
assignee: nobody → Ian Booth (wallyworld)
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Dominik Fleischmann (dominik.f) wrote :

This experimental feature was working for me a few weeks ago but this week started giving me the same issues again.

I commented on the discourse thread also:
https://discourse.juju.is/t/experimental-new-feature-k8s-charms-as-operators/2849/2?u=dominik.f

Harry Pidcock (hpidcock)
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.