removing openstack-integrator unit failed

Bug #1915192 reported by Robert Gildein
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Openstack Integrator Charm
Fix Released
Medium
Robert Gildein

Bug Description

An error 'hook failed: "stop"' occurs while trying to remove the unit.
This error occurs when trying to obtain information about subnet (line [1]) where "BaseLBImpl.subnet" is an empty value.

Log output: [2]

juju version: 2.8.8-groovy-amd64
controller: 2.8.5

How I deployed:
```bash
juju deploy cs:bundle/charmed-kubernetes
juju deploy cs:~containers/openstack-integrator --trust
juju add-relation openstack-integrator kubernetes-master:openstack
juju add-relation openstack-integrator kubernetes-worker:openstack
```

How did I remove the unit:
```bash
juju remove-unit openstack-integrator/0
```

---
[1]: https://github.com/juju-solutions/charm-openstack-integrator/blob/e81840f2a14a2fd6d82eb31cd99c2662d8952346/lib/charms/layer/openstack.py#L705
[2]: https://pastebin.ubuntu.com/p/Dh8sPCfBdw/

George Kraft (cynerva)
Changed in charm-openstack-integrator:
importance: Undecided → Medium
status: New → Triaged
tags: added: review-needed
Changed in charm-openstack-integrator:
assignee: nobody → Robert Gildein (rgildein)
status: Triaged → In Progress
Revision history for this message
Vladimir Grevtsev (vlgrevtsev) wrote :

Hi,

Still actual btw. However, as a workaround, the unit could be removed by forcibly terminating the machine via "juju remove-machine X --force".

Revision history for this message
Robert Gildein (rgildein) wrote :
George Kraft (cynerva)
Changed in charm-openstack-integrator:
status: In Progress → Fix Committed
milestone: none → 1.22+ck1
tags: added: backport-needed
removed: review-needed
Revision history for this message
George Kraft (cynerva) wrote :
tags: removed: backport-needed
George Kraft (cynerva)
Changed in charm-openstack-integrator:
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.